source: git/Singular/dyn_modules/pyobject/Makefile.am

spielwiese
Last change on this file was 830069, checked in by Hans Schoenemann <hannes@…>, 22 months ago
omit -flat_namespace (OsX) from dyn. modules
  • Property mode set to 100644
File size: 1.4 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../m4
2
3if 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
8else !SI_BUILTIN_PYOBJECT
9  module_LTLIBRARIES = pyobject.la
10  moduledir = $(libexecdir)/singular/MOD
11  P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
12  P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version
13###  -export-dynamic -shared -module -avoid-version (add to all DMs?)
14endif !SI_BUILTIN_PYOBJECT
15pyobject_la_SOURCES = pyobject.cc
16
17
18##########################################################################
19AM_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_CPPFLAGS) $(NTL_CXXFLAGS) $(NTL_CPPFLAGS) $(FLINT_CFLAGS)
20
21
22### if HAVE_PYTHON???
23pyobject_la_CXXFLAGS = $(PYTHON_CSPEC)
24pyobject_la_CPPFLAGS = $(PYTHON_CPPFLAGS)  ${AM_CPPFLAGS} ${P_PROCS_CPPFLAGS_COMMON}
25
26pyobject_la_LDFLAGS = $(PYTHON_EXTRA_LIBS)  $(PYTHON_LSPEC) ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) ${P_PROCS_MODULE_LDFLAGS} $(SINGULAR_LDFLAGS)
27pyobject_la_LIBADD = $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS)
28
29if SING_WIN
30if !SI_BUILTIN_PYOBJECT
31  pyobject_la_LIBADD += ${top_builddir}/Singular/libSingular.la
32endif
33endif
Note: See TracBrowser for help on using the repository browser.