1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | SOURCES = gfanlib_exceptions.h callgfanlib_conversion.cc callgfanlib_conversion.h bbcone.cc bbcone.h bbfan.cc bbfan.h bbpolytope.cc bbpolytope.h gfan.h gitfan.cc gitfan.h tropicalVarietyOfPolynomials.h tropicalVarietyOfPolynomials.cc ppinitialReduction.cc ppinitialReduction.h ttinitialReduction.cc ttinitialReduction.h containsMonomial.cc containsMonomial.h adjustWeights.cc adjustWeights.h tropicalStrategy.cc tropicalStrategy.h initial.cc initial.h witness.cc witness.h tropicalCurves.cc tropicalCurves.h groebnerCone.cc groebnerCone.h neighbours.cc neighbours.h startingCone.cc startingCone.h tropical.cc tropical.h gfanlib.cc |
---|
4 | |
---|
5 | MY_CPPFLAGS = -I${top_srcdir} -I${top_builddir} \ |
---|
6 | -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \ |
---|
7 | ${FACTORY_INCLUDES} ${RESOURCES_INCLUDES} ${OMALLOC_INCLUDES} \ |
---|
8 | ${FLINT_CFLAGS} ${NTL_CFLAGS} ${GMP_CFLAGS} |
---|
9 | |
---|
10 | if SI_BUILTIN_GFANLIB |
---|
11 | noinst_LTLIBRARIES=gfanlib.la |
---|
12 | ## moduledir = $(libdir)/singular |
---|
13 | P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION |
---|
14 | P_PROCS_MODULE_LDFLAGS = -module |
---|
15 | else |
---|
16 | module_LTLIBRARIES=gfanlib.la |
---|
17 | moduledir = $(libexecdir)/singular/MOD |
---|
18 | P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION |
---|
19 | # Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
20 | P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
21 | endif |
---|
22 | |
---|
23 | gfanlib_la_SOURCES = $(SOURCES) |
---|
24 | |
---|
25 | gfanlib_la_CPPFLAGS = ${MY_CPPFLAGS} ${P_PROCS_CPPFLAGS_COMMON} ${CDDGMPCPPFLAGS} |
---|
26 | gfanlib_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} |
---|
27 | |
---|
28 | if HAVE_GFANLIB |
---|
29 | gfanlib_la_LIBADD = ${abs_top_builddir}/gfanlib/libgfan.la ${CDDGMPLDFLAGS} |
---|
30 | endif |
---|
31 | |
---|
32 | #AM_COLOR_TESTS=always |
---|
33 | # |
---|
34 | #TESTS_ENVIRONMENT = SINGULARPATH='${abs_top_builddir}/Singular/LIB:${abs_top_srcdir}/Singular/LIB:${abs_top_builddir}/libpolys/polys/.libs:${abs_top_builddir}/factory/gftables:${abs_builddir}/.libs:${abs_srcdir}' |
---|
35 | #TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}' |
---|
36 | #TESTS_ENVIRONMENT += SINGULAR_BIN_DIR='${abs_top_builddir}/Singular' $(SHELL) -x |
---|
37 | # |
---|
38 | #if WANT_DEBUG |
---|
39 | # TESTS=test_release.sh test_debug.sh |
---|
40 | #else |
---|
41 | # TESTS=test_release.sh |
---|
42 | #endif |
---|
43 | # |
---|
44 | # EXTRA_DIST = gfanlib.tst test.sh $(TESTS) |
---|