jengelh-datetimespielwiese
Last change
on this file since 17bdb2 was
17bdb2,
checked in by Oleksandr Motsak <motsak@…>, 9 years ago
|
Don't use -release PKG_VER for all libraries
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | moduledir = $(libexecdir)/singular/MOD |
---|
4 | |
---|
5 | if SING_HAVE_POLYMAKE |
---|
6 | if ENABLE_P_PROCS_DYNAMIC |
---|
7 | module_LTLIBRARIES=polymake.la |
---|
8 | endif |
---|
9 | endif |
---|
10 | |
---|
11 | # forcefully enable exceptions for polymake |
---|
12 | POLYMAKE_CFLAGS = -fexceptions -frtti |
---|
13 | |
---|
14 | AM_LDFLAGS = ${PM_LDFLAGS} |
---|
15 | # -release ${PACKAGE_VERSION} |
---|
16 | |
---|
17 | SOURCES = polymake_conversion.cc polymake_documentation.cc polymake_wrapper.cc |
---|
18 | |
---|
19 | CXXFLAGS += $(POLYMAKE_CXXFLAGS) |
---|
20 | |
---|
21 | polymake_la_SOURCES = $(SOURCES) |
---|
22 | |
---|
23 | MYINCLUDES = -I${top_srcdir} -I${top_builddir} -I${srcdir} \ |
---|
24 | -I${top_srcdir}/libpolys -I${top_builddir}/libpolys \ |
---|
25 | -I${top_builddir}/factory/include $(GMP_CFLAGS) $(PM_INC) $(PM_CFLAGS) \ |
---|
26 | $(POLYMAKE_CFLAGS) $(FACTORY_CFLAGS) |
---|
27 | |
---|
28 | P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION |
---|
29 | |
---|
30 | polymake_la_CPPFLAGS = ${MYINCLUDES} ${P_PROCS_CPPFLAGS_COMMON} ${POLYMAKE_CFLAGS} |
---|
31 | polymake_la_CXXFLAGS = ${POLYMAKE_CFLAGS} |
---|
32 | polymake_la_CFLAGS = ${POLYMAKE_CFLAGS} |
---|
33 | |
---|
34 | if ENABLE_P_PROCS_DYNAMIC |
---|
35 | P_PROCS_MODULE_LDFLAGS = ${AM_LDFLAGS} -shared -module |
---|
36 | else |
---|
37 | P_PROCS_MODULE_LDFLAGS = ${AM_LDFLAGS} |
---|
38 | endif |
---|
39 | |
---|
40 | # Add under Mac OS X: -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup |
---|
41 | polymake_la_LDFLAGS = ${P_PROCS_MODULE_LDFLAGS} |
---|
42 | polymake_la_LIBADD = ${PM_LIBS} |
---|
Note: See
TracBrowser
for help on using the repository browser.