[cgma-dev] r5759 - in cgm/trunk: cgm_apps/examples/facetdriver geom/testing test
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Thu Sep 27 18:28:30 CDT 2012
Author: iulian
Date: 2012-09-27 18:28:29 -0500 (Thu, 27 Sep 2012)
New Revision: 5759
Modified:
cgm/trunk/cgm_apps/examples/facetdriver/Makefile.am
cgm/trunk/geom/testing/Makefile.am
cgm/trunk/test/Makefile.am
Log:
ubuntu 12 (gcc 463) is more explicit about linking.
This is the so called golden rule, which allows for faster optimizations,
because the libraries to be linked with, have to be explicitly defined.
Modified: cgm/trunk/cgm_apps/examples/facetdriver/Makefile.am
===================================================================
--- cgm/trunk/cgm_apps/examples/facetdriver/Makefile.am 2012-09-27 20:29:19 UTC (rev 5758)
+++ cgm/trunk/cgm_apps/examples/facetdriver/Makefile.am 2012-09-27 23:28:29 UTC (rev 5759)
@@ -11,4 +11,4 @@
-I$(top_srcdir)/geom/Cholla \
-I$(top_srcdir)/geom/facet
-LDADD = $(top_builddir)/libcgm.la $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS)
+LDADD = $(top_builddir)/libcgm.la $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS) $(CGM_EXT_LIBS)
Modified: cgm/trunk/geom/testing/Makefile.am
===================================================================
--- cgm/trunk/geom/testing/Makefile.am 2012-09-27 20:29:19 UTC (rev 5758)
+++ cgm/trunk/geom/testing/Makefile.am 2012-09-27 23:28:29 UTC (rev 5759)
@@ -14,7 +14,7 @@
endif
AM_CPPFLAGS += -I$(top_srcdir)/util -I$(top_srcdir)/geom -I.
-LDADD = libcgm_test.la ../../libcgm.la $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS)
+LDADD = libcgm_test.la ../../libcgm.la $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS) $(CGM_EXT_LIBS)
check_PROGRAMS = $(BASE_TESTS:.engine=)
check_SCRIPT = $(TESTS)
Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am 2012-09-27 20:29:19 UTC (rev 5758)
+++ cgm/trunk/test/Makefile.am 2012-09-27 23:28:29 UTC (rev 5759)
@@ -27,7 +27,7 @@
check_PROGRAMS = $(TESTS)
-LDADD = ../libcgm.la
+LDADD = ../libcgm.la $(CGM_EXT_LIBS)
AM_LDFLAGS += $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS)
webcut_SOURCES = webcut.cpp
More information about the cgma-dev
mailing list