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_PYOBJECT |
---|
4 | noinst_LTLIBRARIES = pyobject.la |
---|
5 | ## moduledir = $(libdir)/singular |
---|
6 | P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION |
---|
7 | P_PROCS_MODULE_LDFLAGS = -module |
---|
8 | else !SI_BUILTIN_PYOBJECT |
---|
9 | module_LTLIBRARIES = pyobject.la |
---|
10 | moduledir = $(libexecdir)/singular/MOD |
---|
11 | P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION |
---|
12 | # Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
13 | P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
14 | ### -export-dynamic -shared -module -avoid-version (add to all DMs?) |
---|
15 | endif !SI_BUILTIN_PYOBJECT |
---|
16 | |
---|
17 | ########################################################################## |
---|
18 | AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(FACTORY_INCLUDES) $(GMP_CFLAGS) $(NTL_CFLAGS) $(FLINT_CFLAGS) |
---|
19 | |
---|
20 | pyobject_la_SOURCES = pyobject.cc |
---|
21 | |
---|
22 | ### if HAVE_PYTHON??? |
---|
23 | pyobject_la_CXXFLAGS = $(PYTHON_CSPEC) |
---|
24 | pyobject_la_CPPFLAGS = $(PYTHON_CPPFLAGS) ${AM_CPPFLAGS} ${P_PROCS_CPPFLAGS_COMMON} |
---|
25 | |
---|
26 | pyobject_la_LDFLAGS = $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) ${P_PROCS_MODULE_LDFLAGS} $(SINGULAR_LDFLAGS) |
---|
27 | pyobject_la_LIBADD = $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) ${top_builddir}/Singular/libSingular.la |
---|
Note: See
TracBrowser
for help on using the repository browser.