summaryrefslogtreecommitdiff
blob: 6cd8c93e49f6abf8ccfdb52aa7b3cccc5c77a623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 src/aaa_lib/Makefile.am |   17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am
index de1d7c3..83e2e5c 100644
--- a/src/aaa_lib/Makefile.am
+++ b/src/aaa_lib/Makefile.am
@@ -22,31 +22,20 @@ BASE_LIBS   = ../base/libbase.la
 BIOM_LIBS   = ../biom/libbiom.la
 
 TRIANGLE_LIBS = ../triangle/libtriangle.la
-#if BUILD_TRIANGLE
-LIBTRIANGLE   = libtriangle.la
-#else
-#LIBTRIANGLE   = 
-#endif
 
 TETGEN_LIBS = ../tetgen/libtetgen.la
-#if BUILD_TETGEN
-LIBTETGEN   = libtetgen.la
-#else
-#LIBTETGEN   = 
-#endif
 
-libdir = ${prefix}/lib
 lib_LTLIBRARIES = libgamer.la ${LIBTRIANGLE} ${LIBTETGEN}
 
 libgamer_la_SOURCES = 
-libgamer_la_LIBADD  = ${BASE_LIBS} ${BIOM_LIBS}
+libgamer_la_LIBADD  = ${BASE_LIBS} ${BIOM_LIBS} -lm -lstdc++ ${LIBTETGEN}
 libgamer_la_LDFLAGS = -version-info ${FETK_VERSION}
 
 libtriangle_la_SOURCES = 
-libtriangle_la_LIBADD  = ${TRIANGLE_LIBS}
+libtriangle_la_LIBADD  = ${TRIANGLE_LIBS} -lm
 libtriangle_la_LDFLAGS = -version-info ${FETK_VERSION}
 
 libtetgen_la_SOURCES = 
-libtetgen_la_LIBADD  = ${TETGEN_LIBS}
+libtetgen_la_LIBADD  = ${TETGEN_LIBS} -lm -lstdc++
 libtetgen_la_LDFLAGS = -version-info ${FETK_VERSION}