source: git/libpolys/coeffs/Makefile.am @ 560a3d

spielwiese
Last change on this file since 560a3d was 98474f, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
Abstract iterator/enumerator interfaces + dummies for ClearContent and ClearDenominators
  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[ebf138]1CXXTEMPLFLAGS = 
[86b7aca]2## -fno-implicit-templates
[6bec87]3
[4bc0ab9]4AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} -I${top_srcdir}/../factory/include -I${top_builddir}/../factory/include ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS}
5
[9f524d]6lib_LTLIBRARIES = libcoeffs.la libcoeffs_g.la
7libcoeffsdir = $(libdir)/singular
8
[6d672b4]9libcoeffs_la_CFLAGS   = -O3 -fomit-frame-pointer ${PIPE}
10libcoeffs_g_la_CFLAGS = ${PIPE}
[630ca9]11
[ebf138]12libcoeffs_la_CXXFLAGS   = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
[6d672b4]13libcoeffs_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
[630ca9]14# -fdiagnostics-show-option
[014b65]15
[4bc0ab9]16libcoeffs_la_CPPFLAGS   = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
17libcoeffs_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
[630ca9]18
19
[1b8a19]20# noinst_HEADERS= \
21#       gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \
22#       rintegers.h rmodulo2m.h rmodulon.h shortfl.h \
23#       mpr_complex.h mpr_global.h
[014b65]24
[b7d64b]25
[630ca9]26SOURCES = \
27        numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc \
28        gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \
[84fc1f]29        modulop.cc mpr_complex.cc \
30  bigintmat.cc
[d44785]31
[6d672b4]32libcoeffs_la_SOURCES   = $(SOURCES)
33libcoeffs_g_la_SOURCES = $(SOURCES)
[630ca9]34
[c2eb2e]35libcoeffs_includedir  =$(includedir)/singular/coeffs
[84fc1f]36libcoeffs_include_HEADERS = coeffs.h numbers.h si_gmp.h gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h rintegers.h rmodulo2m.h rmodulon.h shortfl.h mpr_complex.h mpr_global.h \
[98474f]37  bigintmat.h Enumerator.h
[1b8a19]38
[630ca9]39
[3b8a6e]40## for testing...
[8872ef]41if ENABLE_FACTORY
42  USE_FACTORY = -L${top_builddir}/../factory
43else
44  USE_FACTORY =
45endif
[630ca9]46
[3b8a6e]47AMLDFLAGS = -L${abs_top_builddir}/coeffs -L${abs_top_builddir}/reporter -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${abs_top_builddir}/../findexec
[86b7aca]48
49TESTS_ENVIRONMENT = SINGULARPATH='${top_srcdir}/../factory:${top_builddir}/../factory'
50TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='$(top_builddir)'
51
52
[a250e1]53TESTS = test_s_g test_s_r test_d_g test_d_r
[8872ef]54check_PROGRAMS = $(TESTS)
55
[a250e1]56test_s_r_SOURCES = test.cc
57test_s_g_SOURCES = test.cc
[86b7aca]58
[a250e1]59test_d_r_SOURCES = test.cc
60test_d_g_SOURCES = test.cc
[014b65]61
62
[b4a676]63test_s_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
64test_s_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
[8fee84]65
[b4a676]66test_d_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lfindexec ${NTL_LIBS} ${GMP_LIBS}
67test_d_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lfindexec_g ${NTL_LIBS} ${GMP_LIBS}
[014b65]68
[a250e1]69
70test_s_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
71test_s_g_CFLAGS = ${PIPE}
72
73test_d_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
74test_d_g_CFLAGS = ${PIPE}
75
[bd948c]76
77
[ebf138]78test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
[86b7aca]79# -fimplicit-templates
[a250e1]80test_s_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
[86b7aca]81# -fimplicit-templates
[630ca9]82# -fdiagnostics-show-option
[ebf138]83test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS}
[a250e1]84test_d_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS}
85
86
[1d3be3]87
[4bc0ab9]88test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
89test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
90
91test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
92test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
[1d3be3]93
[8872ef]94
[3b8a6e]95test_s_r_LDFLAGS = -static ${AMLDFLAGS}
96test_s_g_LDFLAGS = -static ${AMLDFLAGS}
[0ff203]97
[3b8a6e]98test_d_r_LDFLAGS = ${AMLDFLAGS}
99test_d_g_LDFLAGS = ${AMLDFLAGS}
Note: See TracBrowser for help on using the repository browser.