source: git/Singular/dyn_modules/bigintm/Makefile.am @ f6e134

spielwiese
Last change on this file since f6e134 was f6e134, checked in by Erik M. Bray <erik.bray@…>, 7 years ago
Make modules in dyn_modules require libSingular to be built first on Windows only, and only for modules that are not being built as built-in modules.
  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[9ba92b]1ACLOCAL_AMFLAGS = -I ../../m4
2
[a3aecc]3if SI_BUILTIN_BIGINTM
[75f460]4  noinst_LTLIBRARIES=bigintm.la
5#  check_LTLIBRARIES=bigintm.la
[a3aecc]6  P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION
[8025d4]7  P_PROCS_MODULE_LDFLAGS  = -module
[a3aecc]8else
[75f460]9  module_LTLIBRARIES=bigintm.la
[a3aecc]10  moduledir = $(libexecdir)/singular/MOD
[75f460]11  P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
[a3aecc]12  P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup
13  # Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup
[1114d2]14endif
15
[38750a]16MYINCLUDES =  -I${top_srcdir} -I${top_builddir} \
[1114d2]17-I${top_srcdir}/libpolys -I${top_builddir}/libpolys \
[37e66f]18$(FACTORY_INCLUDES) $(RESOURCES_INCLUDES) $(OMALLOC_INCLUDES) \
[75f460]19$(FLINT_CFLAGS) $(NTL_CFLAGS) $(GMP_CFLAGS)
[1114d2]20
[a3aecc]21bigintm_la_SOURCES  = mod_main.cc bigintm.cc bigintm.h
22bigintm_la_CPPFLAGS = ${MYINCLUDES} ${P_PROCS_CPPFLAGS_COMMON}
[3b7b36]23bigintm_la_LDFLAGS  = ${P_PROCS_MODULE_LDFLAGS} $(SINGULAR_LDFLAGS)
[f6e134]24if SING_WIN
25if !SI_BUILTIN_BIGINTM
[3b7b36]26bigintm_la_LIBADD   = ${top_builddir}/Singular/libSingular.la
[f6e134]27endif
28endif
[1114d2]29
[9e24ef]30# AM_COLOR_TESTS=always
31#
32# 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}'
[c70920]33# TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'
[9e24ef]34# TESTS_ENVIRONMENT += SINGULAR_BIN_DIR='${abs_top_builddir}/Singular'
35#
36# TESTS=test_release.sh
37#
38# EXTRA_DIST = test.sh $(TESTS)
[1114d2]39
Note: See TracBrowser for help on using the repository browser.