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
RevLine 
[f476eb]1ACLOCAL_AMFLAGS = -I ../../m4
2
[a3aecc]3if SI_BUILTIN_PYOBJECT
4  noinst_LTLIBRARIES = pyobject.la
5##  moduledir = $(libdir)/singular
6  P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION
[8025d4]7  P_PROCS_MODULE_LDFLAGS  = -module
[a3aecc]8else !SI_BUILTIN_PYOBJECT
9  module_LTLIBRARIES = pyobject.la
[f476eb]10  moduledir = $(libexecdir)/singular/MOD
[75f460]11  P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
[830069]12  P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version
[f476eb]13###  -export-dynamic -shared -module -avoid-version (add to all DMs?)
[a3aecc]14endif !SI_BUILTIN_PYOBJECT
[02a9da]15pyobject_la_SOURCES = pyobject.cc
16
[f476eb]17
18##########################################################################
[54561a]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)
[f476eb]20
21
[a3aecc]22### if HAVE_PYTHON???
[f476eb]23pyobject_la_CXXFLAGS = $(PYTHON_CSPEC)
24pyobject_la_CPPFLAGS = $(PYTHON_CPPFLAGS)  ${AM_CPPFLAGS} ${P_PROCS_CPPFLAGS_COMMON}
25
[3b7b36]26pyobject_la_LDFLAGS = $(PYTHON_EXTRA_LIBS)  $(PYTHON_LSPEC) ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) ${P_PROCS_MODULE_LDFLAGS} $(SINGULAR_LDFLAGS)
[f6e134]27pyobject_la_LIBADD = $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS)
[2617fca]28
[f6e134]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.