spielwiese
Last change
on this file since 2b43ac was
2b43ac,
checked in by François Bissey <francois.bissey@…>, 12 years ago
|
Make debuging objects (_g) a configure option.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | if WANT_DEBUG |
---|
2 | LIB_G=libnumeric_g.la |
---|
3 | else |
---|
4 | LIB_G= |
---|
5 | endif |
---|
6 | |
---|
7 | libnumeric_LTLIBRARIES = libnumeric.la ${LIB_G} |
---|
8 | libnumericdir = $(libdir)/singular |
---|
9 | |
---|
10 | CXXTEMPLFLAGS = ## -fno-implicit-templates |
---|
11 | |
---|
12 | libnumeric_la_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} |
---|
13 | libnumeric_g_la_CFLAGS = ${PIPE} |
---|
14 | |
---|
15 | libnumeric_la_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} |
---|
16 | libnumeric_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} |
---|
17 | # -fdiagnostics-show-option |
---|
18 | |
---|
19 | AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} -I${top_srcdir}/libpolys -I${top_builddir}/libpolys ${GMP_CFLAGS} -I${top_srcdir}/factory/include -I${top_builddir}/factory/include ${FACTORY_CFLAGS} ${NTL_CFLAGS} |
---|
20 | |
---|
21 | libnumeric_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG |
---|
22 | libnumeric_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
23 | |
---|
24 | SOURCES = mpr_base.cc mpr_inout.cc mpr_numeric.cc |
---|
25 | libnumeric_la_SOURCES = $(SOURCES) |
---|
26 | libnumeric_g_la_SOURCES = $(SOURCES) |
---|
27 | |
---|
28 | libnumeric_includedir =$(includedir)/singular/numeric/ |
---|
29 | |
---|
30 | libnumeric_include_HEADERS = mpr_base.h mpr_inout.h mpr_numeric.h |
---|
31 | |
---|
32 | |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.