[cig-commits] r13589 - cs/cigma/trunk

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:15:18 PST 2008


Author: luis
Date: 2008-12-09 18:15:18 -0800 (Tue, 09 Dec 2008)
New Revision: 13589

Modified:
   cs/cigma/trunk/Makefile.am
Log:
Keep source and flags in lowercase vars to avoid errors when _cigma.so is not built

Modified: cs/cigma/trunk/Makefile.am
===================================================================
--- cs/cigma/trunk/Makefile.am	2008-12-10 02:15:16 UTC (rev 13588)
+++ cs/cigma/trunk/Makefile.am	2008-12-10 02:15:18 UTC (rev 13589)
@@ -274,6 +274,9 @@
 
 # XXX: uncomment
 #pyexec_PROGRAMS = _cigma.so
+#_cigma_so_CXXFLAGS = _cigma_so_cxxflags
+#_cigma_so_LDADD    = _cigma_so_ldadd
+#_cigma_so_SOURCES  = _cigma_so_sources
 
 # _cigma.so extension {{{
 
@@ -288,15 +291,14 @@
 	ARCHFLAGS="$(ARCHFLAGS)" PYLIBS="$(PYLIBS)" \
 	$(PYTHON_BIN) src/py_cigma_setup.py build --build-lib=$$BUILD_DIR/ --build-temp=$$BUILD_DIR/pybuild -f)
 
+_cigma_so_cxxflags =
+_cigma_so_cxxflags += -I$(top_srcdir)/src
 
-_cigma_so_CXXFLAGS =
-_cigma_so_CXXFLAGS += -I$(top_srcdir)/src
+_cigma_so_ldadd =
+_cigma_so_ldadd += libcigma.a
+_cigma_so_ldadd += libann.a
 
-_cigma_so_LDADD =
-_cigma_so_LDADD += libcigma.a
-_cigma_so_LDADD += libann.a
-
-_cigma_so_SOURCES = \
+_cigma_so_sources = \
 	src/numpy_util.h \
 	src/numpy_util.cpp \
 	src/py_Common.h \



More information about the CIG-COMMITS mailing list