[9ba92b] | 1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
| 2 | |
---|
| 3 | # CXXTEMPLFLAGS =-ftrapv |
---|
[86b7aca] | 4 | ## -fno-implicit-templates |
---|
[6bec87] | 5 | |
---|
[9ba92b] | 6 | AM_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} -DHAVE_CONFIG_H |
---|
[4bc0ab9] | 7 | |
---|
[9ba92b] | 8 | # if WANT_DEBUG |
---|
| 9 | # LIB_G=libcoeffs_g.la |
---|
| 10 | # else |
---|
| 11 | # LIB_G= |
---|
| 12 | # endif |
---|
[2b43ac] | 13 | |
---|
[9ba92b] | 14 | libcoeffs_LTLIBRARIES = libcoeffs.la |
---|
| 15 | # ${LIB_G} |
---|
[9f524d] | 16 | libcoeffsdir = $(libdir)/singular |
---|
| 17 | |
---|
[9ba92b] | 18 | # libcoeffs_la_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} |
---|
| 19 | # libcoeffs_g_la_CFLAGS = ${PIPE} |
---|
| 20 | # |
---|
| 21 | # libcoeffs_la_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} |
---|
| 22 | # libcoeffs_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} |
---|
| 23 | # # -fdiagnostics-show-option |
---|
| 24 | # |
---|
| 25 | # libcoeffs_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG |
---|
| 26 | # libcoeffs_g_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
[630ca9] | 27 | |
---|
[9ba92b] | 28 | # libcoeffs_la_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
[17bdb2] | 29 | ### libcoeffs_la_LDFLAGS = -release ${PACKAGE_VERSION} |
---|
[630ca9] | 30 | |
---|
| 31 | |
---|
[1b8a19] | 32 | # noinst_HEADERS= \ |
---|
| 33 | # gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \ |
---|
| 34 | # rintegers.h rmodulo2m.h rmodulon.h shortfl.h \ |
---|
| 35 | # mpr_complex.h mpr_global.h |
---|
[014b65] | 36 | |
---|
[b7d64b] | 37 | |
---|
[630ca9] | 38 | SOURCES = \ |
---|
| 39 | numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc \ |
---|
| 40 | gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \ |
---|
[84fc1f] | 41 | modulop.cc mpr_complex.cc \ |
---|
[0bfec5] | 42 | bigintmat.cc AE.cc OPAE.cc AEp.cc OPAEp.cc AEQ.cc OPAEQ.cc |
---|
[d44785] | 43 | |
---|
[6d672b4] | 44 | libcoeffs_la_SOURCES = $(SOURCES) |
---|
[9ba92b] | 45 | # libcoeffs_g_la_SOURCES = $(SOURCES) |
---|
[630ca9] | 46 | |
---|
[c2eb2e] | 47 | libcoeffs_includedir =$(includedir)/singular/coeffs |
---|
[84fc1f] | 48 | libcoeffs_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 \ |
---|
[0bfec5] | 49 | bigintmat.h Enumerator.h AE.h OPAE.h AEp.h OPAEp.h AEQ.h OPAEQ.h |
---|
[1b8a19] | 50 | |
---|
[630ca9] | 51 | |
---|
[3b8a6e] | 52 | ## for testing... |
---|
[8872ef] | 53 | if ENABLE_FACTORY |
---|
| 54 | USE_FACTORY = -L${top_builddir}/../factory |
---|
| 55 | else |
---|
| 56 | USE_FACTORY = |
---|
| 57 | endif |
---|
[630ca9] | 58 | |
---|
[eb76e8] | 59 | AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc -L${top_builddir}/../resources |
---|
[86b7aca] | 60 | |
---|
| 61 | TESTS_ENVIRONMENT = SINGULARPATH='${top_srcdir}/../factory:${top_builddir}/../factory' |
---|
| 62 | TESTS_ENVIRONMENT += SINGULAR_ROOT_DIR='$(top_builddir)' |
---|
| 63 | |
---|
[9ba92b] | 64 | # if WANT_DEBUG |
---|
| 65 | # TESTS = test_s_g test_s_r test_d_g test_d_r |
---|
| 66 | # else |
---|
[17228e] | 67 | TESTS = test_s_r test_d_r |
---|
[9ba92b] | 68 | # endif |
---|
| 69 | |
---|
[8872ef] | 70 | check_PROGRAMS = $(TESTS) |
---|
| 71 | |
---|
[a250e1] | 72 | test_s_r_SOURCES = test.cc |
---|
[9ba92b] | 73 | # test_s_g_SOURCES = test.cc |
---|
[86b7aca] | 74 | |
---|
[a250e1] | 75 | test_d_r_SOURCES = test.cc |
---|
[9ba92b] | 76 | # test_d_g_SOURCES = test.cc |
---|
[014b65] | 77 | |
---|
| 78 | |
---|
[2c889f] | 79 | test_s_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lresources ${NTL_LIBS} ${GMP_LIBS} |
---|
[9ba92b] | 80 | # test_s_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lresources_g ${NTL_LIBS} ${GMP_LIBS} |
---|
[8fee84] | 81 | |
---|
[2c889f] | 82 | test_d_r_LDADD = -lcoeffs -lreporter -lmisc ${FACTORY_LIBS} -lomalloc -lresources ${NTL_LIBS} ${GMP_LIBS} |
---|
[9ba92b] | 83 | # test_d_g_LDADD = -lcoeffs_g -lreporter_g -lmisc_g ${FACTORY_LIBS} -lomalloc_g -lresources_g ${NTL_LIBS} ${GMP_LIBS} |
---|
[a250e1] | 84 | |
---|
| 85 | |
---|
[9ba92b] | 86 | # test_s_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} |
---|
| 87 | # #test_s_g_CFLAGS = ${PIPE} |
---|
| 88 | # |
---|
| 89 | # test_d_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} |
---|
| 90 | # #test_d_g_CFLAGS = ${PIPE} |
---|
[bd948c] | 91 | |
---|
| 92 | |
---|
[a250e1] | 93 | |
---|
[9ba92b] | 94 | # test_s_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} |
---|
| 95 | # # -fimplicit-templates |
---|
| 96 | # test_s_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} |
---|
| 97 | # # -fimplicit-templates |
---|
| 98 | # # -fdiagnostics-show-option |
---|
| 99 | # test_d_r_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} |
---|
| 100 | # test_d_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} |
---|
[a250e1] | 101 | |
---|
[1d3be3] | 102 | |
---|
[4bc0ab9] | 103 | |
---|
[9ba92b] | 104 | # test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG |
---|
| 105 | # test_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
| 106 | # |
---|
| 107 | # test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG |
---|
| 108 | # test_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
| 109 | # test_s_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
| 110 | # test_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H |
---|
[1d3be3] | 111 | |
---|
[8872ef] | 112 | |
---|
[eb76e8] | 113 | test_s_r_LDFLAGS = -static ${AM_LDFLAGS} |
---|
| 114 | # test_s_g_LDFLAGS = -static ${AM_LDFLAGS} |
---|
[0ff203] | 115 | |
---|
[eb76e8] | 116 | test_d_r_LDFLAGS = ${AM_LDFLAGS} |
---|
| 117 | # test_d_g_LDFLAGS = ${AM_LDFLAGS} |
---|