From b4d791829992fa5d56cd3a7dd5305ff1b5b6c668 Mon Sep 17 00:00:00 2001
From: Tomas Oberhuber <tomas.oberhuber@fjfi.cvut.cz>
Date: Fri, 30 Apr 2010 18:05:27 +0000
Subject: [PATCH] Fixing core/Makefile.am to work without CUDA.

---
 COPYING              | 1 -
 INSTALL              | 1 -
 TODO.txt => TODO     | 0
 src/core/Makefile.am | 4 ++--
 4 files changed, 2 insertions(+), 4 deletions(-)
 delete mode 120000 COPYING
 delete mode 120000 INSTALL
 rename TODO.txt => TODO (100%)

diff --git a/COPYING b/COPYING
deleted file mode 120000
index 6168a397eb..0000000000
--- a/COPYING
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/automake-1.11/COPYING
\ No newline at end of file
diff --git a/INSTALL b/INSTALL
deleted file mode 120000
index cbd1c80d27..0000000000
--- a/INSTALL
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/automake-1.11/INSTALL
\ No newline at end of file
diff --git a/TODO.txt b/TODO
similarity index 100%
rename from TODO.txt
rename to TODO
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index f3d3cb3d19..65952a7d3b 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -54,7 +54,6 @@ sources = tnlConfigDescription.cpp \
 	  tnlString.cpp \
 	  tnlConfigDescriptionScanner.cpp \
 	  tnlConfigDescriptionParser.cpp \
-	  tnlLongVectorCUDA.cu \
 	  tnlParameterContainer.cpp \
 	  tnlTimerCPU.cpp \
 	  tnlTimerRT.cpp \
@@ -65,7 +64,8 @@ sources = tnlConfigDescription.cpp \
 	  parse.cc
 	  
 if BUILD_CUDA
-sources += tnl-cuda-kernels.cu 
+sources += tnlLongVectorCUDA.cu \
+           tnl-cuda-kernels.cu 
 endif
 
 libmcoreincludedir = $(TNL_INCLUDE_DIR)/core
-- 
GitLab