spielwiese
Last change
on this file since f6e134 was
f6e134,
checked in by Erik M. Bray <erik.bray@…>, 7 years ago
|
Make modules in dyn_modules require libSingular to be built first on
Windows only, and only for modules that are not being built as built-in
modules.
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | SOURCES = customstd.cc |
---|
4 | |
---|
5 | MY_CPPFLAGS = -I${srcdir} -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_CUSTOMSTD |
---|
11 | noinst_LTLIBRARIES=customstd.la |
---|
12 | P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION |
---|
13 | P_PROCS_MODULE_LDFLAGS = -module |
---|
14 | else |
---|
15 | module_LTLIBRARIES=customstd.la |
---|
16 | moduledir = $(libexecdir)/singular/MOD |
---|
17 | P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION |
---|
18 | # Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
19 | P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
20 | endif |
---|
21 | |
---|
22 | customstd_la_SOURCES = $(SOURCES) |
---|
23 | |
---|
24 | customstd_la_CPPFLAGS = ${MY_CPPFLAGS} ${P_PROCS_CPPFLAGS_COMMON} ${CDDGMPCPPFLAGS} |
---|
25 | customstd_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} $(SINGULAR_LDFLAGS) |
---|
26 | if SING_WIN |
---|
27 | if !SI_BUILTIN_CUSTOMSTD |
---|
28 | customstd_la_LIBADD = ${top_builddir}/Singular/libSingular.la |
---|
29 | endif |
---|
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 = customstd.tst test.sh $(TESTS) |
---|
Note: See
TracBrowser
for help on using the repository browser.