lib_LIBRARIES=libcoeffs.a libcoeffs_g.a CXXTEMPLFLAGS = -fno-implicit-templates --no-exceptions libcoeffs_a_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} libcoeffs_g_a_CFLAGS = ${PIPE} libcoeffs_a_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS} libcoeffs_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} # -fdiagnostics-show-option libcoeffs_a_CPPFLAGS = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H libcoeffs_g_a_CPPFLAGS = -DHAVE_CONFIG_H noinst_HEADERS= \ gnumpc.h gnumpfl.h longrat.h modulop.h ffields.h \ rintegers.h rmodulo2m.h rmodulon.h shortfl.h \ mpr_complex.h mpr_global.h INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${top_builddir}/.. -I${srcdir} ${FACTORY_CFLAGS} ${GMP_CFLAGS} ${NTL_CFLAGS} SOURCES = \ numbers.cc rintegers.cc rmodulo2m.cc rmodulon.cc shortfl.cc \ gnumpc.cc gnumpfl.cc longrat.cc longrat0.cc ffields.cc \ modulop.cc mpr_complex.cc libcoeffs_a_SOURCES = $(SOURCES) libcoeffs_g_a_SOURCES = $(SOURCES) ## include_HEADERS = coeffs.h numbers.h libcoeffs_a_includedir =$(includedir)/libpolys/coeffs libcoeffs_g_a_includedir=$(includedir)/libpolys/coeffs COEFFSHEADERS = coeffs.h numbers.h si_gmp.h libcoeffs_a_include_HEADERS = $(COEFFSHEADERS) libcoeffs_g_a_include_HEADERS = $(COEFFSHEADERS) if ENABLE_FACTORY USE_FACTORY = -L${top_builddir}/../factory else USE_FACTORY = endif ## for testing... AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc TESTS = tt-g tt-r check_PROGRAMS = $(TESTS) tt_r_SOURCES = test.cc tt_g_SOURCES = test.cc tt_r_LDADD = -lcoeffs ${GMP_LIBS} -lresources -lreporter -lmisc ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc tt_g_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc_g tt_r: gftables tt_g: gftables tt_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} tt_g_CFLAGS = ${PIPE} tt_r_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates tt_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates # -fdiagnostics-show-option tt_r_CPPFLAGS = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H tt_g_CPPFLAGS = -DHAVE_CONFIG_H gftables: ${top_srcdir}/../factory/gftables ln -snf ${top_srcdir}/../factory/gftables ${builddir}