spielwiese
Last change
on this file since 3b7b36 was
3b7b36,
checked in by Erik M. Bray <erik.bray@…>, 7 years ago
|
Updated configure.ac and Makefile.am files to work on Windows, taking
advantage of the new SING_WIN_FLAGS macro.
* In configure.ac use SING_WIN_FLAGS, and also use LT_INIT([win32-dll])
to tell libtool to build DLLs.
* In Makefile.am add $(SINGULAR_LDFLAGS) to _la_LDFLAGS variables--on
most platforms $(SINGULAR_LDFLAGS) will be empty, currently, but this
is used on Windows to pass the required -no-undefined flag to
libtool.
* In some Makefile.am files add/update _la_LIBADD variables to ensure
that libSingular.la is found by modules that need symbols from
libSingular.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | if SI_BUILTIN_SINGMATHIC |
---|
4 | noinst_LTLIBRARIES=singmathic.la |
---|
5 | P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION |
---|
6 | P_PROCS_MODULE_LDFLAGS = -module |
---|
7 | else |
---|
8 | module_LTLIBRARIES=singmathic.la |
---|
9 | moduledir = $(libexecdir)/singular/MOD |
---|
10 | P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION |
---|
11 | P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
12 | # Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
13 | endif |
---|
14 | |
---|
15 | MYINCLUDES = -I${top_srcdir} -I${top_builddir} \ |
---|
16 | -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \ |
---|
17 | $(FACTORY_INCLUDES) $(RESOURCES_INCLUDES) $(OMALLOC_INCLUDES) \ |
---|
18 | $(FLINT_CFLAGS) $(NTL_CFLAGS) $(GMP_CFLAGS) $(CPPFLAGS) |
---|
19 | |
---|
20 | singmathic_la_SOURCES = singmathic.cc |
---|
21 | singmathic_la_CPPFLAGS = ${MYINCLUDES} ${P_PROCS_CPPFLAGS_COMMON} |
---|
22 | singmathic_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} ${MATHIC_LIBS} $(SINGULAR_LDFLAGS) |
---|
23 | |
---|
24 | # AM_COLOR_TESTS=always |
---|
25 | # |
---|
26 | # 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}' |
---|
27 | # TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}' |
---|
28 | # TESTS_ENVIRONMENT += SINGULAR_BIN_DIR='${abs_top_builddir}/Singular' |
---|
29 | # |
---|
30 | # TESTS=test_release.sh |
---|
31 | # |
---|
32 | # EXTRA_DIST = test.sh $(TESTS) |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.