source: git/factory/libfac/Makefile.am @ ebf138

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 
1noinst_LTLIBRARIES=libfac.la libfac_g.la
2
3CXXTEMPLFLAGS =  ## -fno-implicit-templates
4
5libfac_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
6libfac_g_la_CFLAGS = ${PIPE}
7
8libfac_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
9libfac_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
10# -fdiagnostics-show-option
11
12AM_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
14libfac_la_CPPFLAGS   = ${AM_CPPFLAGS} -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
15libfac_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
16
17FACTORSRC1 =    factor/SqrFree.cc factor/Factor.cc \
18                factor/MVMultiHensel.cc factor/Truefactor.cc \
19                factor/helpstuff.cc factor/homogfactor.cc factor/version.cc
20
21FACTORSRC2 =    factor/tmpl_inst.cc 
22
23FACTORSRC =     $(FACTORSRC1) $(FACTORSRC2)
24
25
26CHARSETSRC1 =   charset/csutil.cc charset/charset.cc charset/reorder.cc charset/alg_factor.cc charset/algfactor.cc
27
28CHARSETSRC =    $(CHARSETSRC1)
29
30
31SOURCES  = $(FACTORSRC) $(CHARSETSRC)
32libfac_la_SOURCES   = $(SOURCES)
33libfac_g_la_SOURCES = $(SOURCES)
34
35
36libfac_includedir=$(includedir)/factory/libfac
37
38libfac_include_HEADERS   = factor.h
39
40
41
Note: See TracBrowser for help on using the repository browser.