aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2010-06-10 15:56:32 +0000
committerknarf <knarf@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2010-06-10 15:56:32 +0000
commit0044cd7ed1b74aadf40553998c9c4dec412457a2 (patch)
tree22fef884046abcd2d2b1a5881636f5965c762c36
parent0197a78a14cd0932b3cb7d9ef5284e65fa429517 (diff)
Also don't build the export-debug-library if disabled
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@16 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
-rw-r--r--dist/makesystem.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dist/makesystem.patch b/dist/makesystem.patch
index ce6b5c9..737f656 100644
--- a/dist/makesystem.patch
+++ b/dist/makesystem.patch
@@ -2961,6 +2961,30 @@ diff -ur Lorene.orig/Export/C++/Makefile Lorene/Export/C++/Makefile
-$(BIN_TOOLS)/pointCpointo:
- $(CXX) $(CXXFLAGS) -o $@ $(HOME_LORENE)/Inst_tools/pointCpointo.C
-
+diff -ur Lorene.orig/Export/C++/Source/Makefile Lorene/Export/C++/Source/Makefile
+--- Lorene.orig/Export/C++/Source/Makefile 2009-11-19 10:15:21.000000000 -0600
++++ Lorene/Export/C++/Source/Makefile 2010-06-09 08:38:17.000000000 -0500
+@@ -9,10 +9,12 @@
+ install: $(SRC) Objects Objects_g
+ mkdir -p $(DEPDIR)
+ echo *C | $(BIN_TOOLS)/pointCpointo > List_obj # list of *.o files
++ifndef DONTBUILDDEBUGLIB
+ mv Objects_g/*.o .
+ mv _rien.o Objects_g
+ $(MAKE) -f Makefile_lib_g
+ mv *.o Objects_g
++endif
+ mv Objects/*.o .
+ mv _rien.o Objects
+ $(MAKE) -f Makefile_lib
+@@ -30,5 +32,7 @@
+ touch Objects/_rien.o
+
+ Objects_g:
++ifndef DONTBUILDDEBUGLIB
+ mkdir Objects_g
+ touch Objects_g/_rien.o
++endif
diff -ur Lorene.orig/F77/Makefile Lorene/F77/Makefile
--- Lorene.orig/F77/Makefile 2001-11-20 09:19:30.000000000 -0600
+++ Lorene/F77/Makefile 2010-06-09 08:22:50.000000000 -0500