Changeset 1684c3 in git for Singular/Makefile.am
- Timestamp:
- Nov 15, 2013, 5:09:41 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- bbeddf73180e5a0b82609d4054f2cf3d3de40a27
- Parents:
- c6f0451f6fc744c2dac1401c4d9346c784f6b28b
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-15 17:09:41+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-15 17:17:40+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/Makefile.am
rc6f0451 r1684c3 19 19 GIT_VERSION := $(shell $(top_srcdir)/git-version-gen $(top_srcdir)/.tarball-git-version) 20 20 21 AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS) $(FLINT_CFLAGS) -DHAVE_CONFIG_H -DGIT_VERSION='"$(GIT_VERSION)"' 22 21 23 if ENABLE_FACTORY 22 24 USE_FACTORY = -L${top_builddir}/factory … … 25 27 endif 26 28 27 AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/numeric -I${top_builddir}/numeric -I${top_srcdir}/kernel -I${top_builddir}/kernel -I${top_srcdir}/libpolys -I${top_builddir}/libpolys $(GMP_CFLAGS) -I${top_srcdir}/factory/include -I${top_builddir}/factory/include $(FACTORY_CFLAGS) $(NTL_CFLAGS) $(FLINT_CFLAGS) -DHAVE_CONFIG_H -DGIT_VERSION='"$(GIT_VERSION)"' 29 if HAVE_GFANLIB 30 USE_GFANLIB = ${top_builddir}/dyn_modules/callgfanlib/gfanlib.la ${abs_top_builddir}/gfanlib/libgfan.la ${CDDGMPLDFLAGS} 31 else 32 USE_GFANLIB = 33 endif 34 28 35 AM_LDFLAGS = -L${top_builddir}/Singular -L${top_builddir}/numeric -L${top_builddir}/kernel -L${top_builddir}/libpolys/polys -L${top_builddir}/libpolys/coeffs -L${top_builddir}/libpolys/reporter -L${top_builddir}/libpolys/misc $(USE_FACTORY) -L${top_builddir}/omalloc -L${top_builddir}/resources 29 36 … … 35 42 endif !ENABLE_P_PROCS_DYNAMIC 36 43 44 ########################################################################## 45 module_LTLIBRARIES = pyobject.la 46 47 pyobject_la_SOURCES = pyobject.cc 48 49 pyobject_la_CXXFLAGS = $(PYTHON_CSPEC) 50 pyobject_la_CPPFLAGS = $(PYTHON_CPPFLAGS) ${AM_CPPFLAGS} 51 52 pyobject_la_LDFLAGS = $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup 53 ### -export-dynamic -shared -module -avoid-version (add to all DMs?) 54 55 ########################################################################## 37 56 if PYTHON_USE 38 PY=pyobject.la 57 PY=pyobject.la $(PYTHON_EXTRA_LIBS) $(PYTHON_LSPEC) ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) 39 58 else !PYTHON_USE 40 59 PY= … … 42 61 43 62 if SI_EMBED_PYTHON 44 EMBED_PYOBJECT = ${PY} ${top_builddir}/dyn_modules/syzextra/syzextra.la63 EMBED_PYOBJECT = ${PY} ${top_builddir}/dyn_modules/syzextra/syzextra.la ${USE_GFANLIB} 45 64 else !SI_EMBED_PYTHON 46 65 EMBED_PYOBJECT = 47 66 endif !SI_EMBED_PYTHON 48 49 ##########################################################################50 module_LTLIBRARIES = pyobject.la51 52 pyobject_la_SOURCES = pyobject.cc53 54 pyobject_la_CXXFLAGS = $(PYTHON_CSPEC)55 pyobject_la_CPPFLAGS = $(PYTHON_CPPFLAGS) ${AM_CPPFLAGS}56 57 pyobject_la_LIBS = $(PYTHON_EXTRA_LIBS)58 pyobject_la_LDFLAGS = ${AM_LDFLAGS} $(PYTHON_EXTRA_LDFLAGS) $(PYTHON_LDFLAGS) $(PYTHON_LSPEC) -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup59 ### -export-dynamic -shared -module -avoid-version (add to all DMs?)60 61 62 ########################### libSingular* #########################63 67 64 68 # if WANT_DEBUG … … 206 210 207 211 # plural_cmd.inc 208 nodist_libSingular_la_SOURCES = feOpt.inc iparith.inc ${EMBED_PYOBJECT} 209 # nodist_libSingular_g_la_SOURCES = iparith.inc 212 nodist_libSingular_la_SOURCES = feOpt.inc iparith.inc 210 213 211 214 # -release ${PACKAGE_VERSION} … … 279 282 # Singularg_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc utils.h 280 283 281 Singular_LDADD = libSingular.la 282 284 Singular_LDADD = libSingular.la ${EMBED_PYOBJECT} 285 286 Singular_LDFLAGS = -static ${AM_LDFLAGS} ${EMBED_PYOBJECT} 283 287 # Singularg_LDADD = libSingular_g.la ${top_builddir}/numeric/libnumeric_g.la ${top_builddir}/kernel/libkernel_g.la ${top_builddir}/libpolys/polys/libpolys_g.la -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lresources_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS} 284 288 … … 288 292 # Singular_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 289 293 290 Singular_LDFLAGS = -static ${AM_LDFLAGS}291 294 # Singularg_LDFLAGS = -static ${AM_LDFLAGS} 292 295 … … 305 308 306 309 # ${EMBED_PYOBJECT_LDFLAGS} ${EMBED_PYOBJECT_LDFLAGS} 307 Singulard_LDADD = libSingular.la 308 310 Singulard_LDADD = libSingular.la ${EMBED_PYOBJECT} 309 311 # Singulardg_LDADD = libSingular_g.la -lnumeric_g -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g $(FACTORY_LIBS) -lomalloc_g -lresources_g $(FLINT_LIBS) $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} ${EMBED_PYOBJECT_LDFLAGS} 310 312 … … 315 317 # Singulard_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H 316 318 317 Singulard_LDFLAGS = ${AM_LDFLAGS} 318 # Singulardg_LDFLAGS = ${AM_LDFLAGS} 319 Singulard_LDFLAGS = ${AM_LDFLAGS} ${EMBED_PYOBJECT} 319 320 320 321
Note: See TracChangeset
for help on using the changeset viewer.