spielwiese
Last change
on this file since ebf138 was
ebf138,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
adaptation to clang + disable a GMP hack
CHG: removed gcc-specific flags --no-rtti --no-exceptions (since not available in clang)
CHG: tricks with __cpluplus (around include gmp.h) lead can to errors (e.g. in clang)
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | noinst_LTLIBRARIES=libfac.la libfac_g.la |
---|
2 | |
---|
3 | CXXTEMPLFLAGS = ## -fno-implicit-templates |
---|
4 | |
---|
5 | libfac_la_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} |
---|
6 | libfac_g_la_CFLAGS = ${PIPE} |
---|
7 | |
---|
8 | libfac_la_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} |
---|
9 | libfac_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} |
---|
10 | # -fdiagnostics-show-option |
---|
11 | |
---|
12 | AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${builddir} -I${srcdir}/.. -I${builddir}/.. -I${srcdir}/../include -I${builddir}/../include -I${srcdir}/factor -I${builddir}/factor -I${srcdir}/charset -I${builddir}/charset ${GMP_CFLAGS} ${NTL_CFLAGS} |
---|
13 | |
---|
14 | libfac_la_CPPFLAGS = ${AM_CPPFLAGS} -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H |
---|
15 | libfac_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
16 | |
---|
17 | FACTORSRC1 = factor/SqrFree.cc factor/Factor.cc \ |
---|
18 | factor/MVMultiHensel.cc factor/Truefactor.cc \ |
---|
19 | factor/helpstuff.cc factor/homogfactor.cc factor/version.cc |
---|
20 | |
---|
21 | FACTORSRC2 = factor/tmpl_inst.cc |
---|
22 | |
---|
23 | FACTORSRC = $(FACTORSRC1) $(FACTORSRC2) |
---|
24 | |
---|
25 | |
---|
26 | CHARSETSRC1 = charset/csutil.cc charset/charset.cc charset/reorder.cc charset/alg_factor.cc charset/algfactor.cc |
---|
27 | |
---|
28 | CHARSETSRC = $(CHARSETSRC1) |
---|
29 | |
---|
30 | |
---|
31 | SOURCES = $(FACTORSRC) $(CHARSETSRC) |
---|
32 | libfac_la_SOURCES = $(SOURCES) |
---|
33 | libfac_g_la_SOURCES = $(SOURCES) |
---|
34 | |
---|
35 | |
---|
36 | libfac_includedir=$(includedir)/factory/libfac |
---|
37 | |
---|
38 | libfac_include_HEADERS = factor.h |
---|
39 | |
---|
40 | |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.