source: git/Singular/dyn_modules/cohomo/Makefile.am @ 82410d

fieker-DuValspielwiese
Last change on this file since 82410d was 830069, checked in by Hans Schoenemann <hannes@…>, 2 years ago
omit -flat_namespace (OsX) from dyn. modules
  • Property mode set to 100644
File size: 967 bytes
Line 
1ACLOCAL_AMFLAGS = -I ../../m4
2
3MYINCLUDES =  -I${top_srcdir} -I${top_builddir} \
4-I${top_srcdir}/libpolys -I${top_builddir}/libpolys \
5$(FACTORY_INCLUDES) $(RESOURCES_INCLUDES) $(OMALLOC_INCLUDES) \
6$(FLINT_CFLAGS) $(NTL_CXXFLAGS) $(NTL_CPPFLAGS) $(GMP_CPPFLAGS) $(GOOGLE_PERFTOOLS_CFLAGS)
7
8if SI_BUILTIN_INTERVAL
9  noinst_LTLIBRARIES=cohomo.la
10  P_PROCS_CPPFLAGS_COMMON = -DSTATIC_VERSION
11  P_PROCS_MODULE_LDFLAGS = -module
12else
13  module_LTLIBRARIES=cohomo.la
14  moduledir = $(libexecdir)/singular/MOD
15  P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
16  P_PROCS_MODULE_LDFLAGS = -module -export-dynamic -avoid-version
17endif
18
19SOURCES = cohomo.cc cohomo.h
20cohomo_la_SOURCES   = $(SOURCES)
21cohomo_la_CPPFLAGS  = ${MYINCLUDES} ${P_PROCS_CPPFLAGS_COMMON}
22cohomo_la_LDFLAGS   = ${AM_LDFLAGS} ${P_PROCS_MODULE_LDFLAGS} ${GOOGLE_PERFTOOL_LDFLAGS} $(SINGULAR_LDFLAGS)
23
24if SING_WIN
25if !SI_BUILTIN_INTERVAL
26cohomo_la_LIBADD    = ${top_builddir}/Singular/libSingular.la
27endif
28endif
29
Note: See TracBrowser for help on using the repository browser.