source: git/Singular/dyn_modules/Order/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.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../m4
2
3SOURCES = nforder.cpp nforder.h \
4          singular.cc \
5          nforder_elt.cc nforder_elt.h \
6          nforder_ideal.cc nforder_ideal.h
7
8MYINCLUDES =  -I${top_srcdir} -I${top_builddir} -I${srcdir} \
9-I${top_srcdir}/libpolys -I${top_builddir}/libpolys \
10-I${top_srcdir}/factory/include -I${top_builddir}/factory/include \
11$(FACTORY_CFLAGS) $(NTL_CFLAGS) $(GMP_CFLAGS) $(GOOGLE_PERFTOOLS_CFLAGS)
12
13if SI_BUILTIN_ORDER
14  noinst_LTLIBRARIES=Order.la
15  P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION
16  P_PROCS_MODULE_LDFLAGS = -module
17else
18  module_LTLIBRARIES=Order.la
19  moduledir = $(libexecdir)/singular/MOD
20  P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
21# Add under Mac OS X: -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup
22  P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version -flat_namespace -weak_reference_mismatches weak -undefined dynamic_lookup
23endif
24
25Order_la_SOURCES   = $(SOURCES)
26Order_la_CPPFLAGS  = ${MYINCLUDES} ${P_PROCS_CPPFLAGS_COMMON}
27Order_la_LDFLAGS   = ${AM_LDFLAGS} ${P_PROCS_MODULE_LDFLAGS} ${GOOGLE_PERFTOOL_LDFLAGS} $(SINGULAR_LDFLAGS)
28if SING_WIN
29if !SI_BUILTIN_ORDER
30Order_la_LIBADD    = ${top_builddir}/Singular/libSingular.la
31endif
32endif
33
34# AM_COLOR_TESTS=always
35#
36# 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}'
37# TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='${abs_top_builddir}'
38# TESTS_ENVIRONMENT += SINGULAR_BIN_DIR='${abs_top_builddir}/Singular'
39#
40# TESTS=test_release.sh
41#
42# EXTRA_DIST = nforder.tst test.sh $(TESTS)
Note: See TracBrowser for help on using the repository browser.