source: git/libpolys/tests/Makefile.am @ 69181b3

spielwiese
Last change on this file since 69181b3 was 69181b3, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: initializeGMP is needed when linking against factory ADD: NTL should be used when linking against factory
  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[b27c052]1CXXTEMPLFLAGS = -O0 --no-exceptions ## -fno-implicit-templates
[4aa8610]2
3## for testing...
[7d73857]4AM_LDFLAGS = -L${top_builddir}/polys -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc -L${top_builddir}/../factory -L${top_builddir}/../omalloc
[1820e7]5
[4aa8610]6
7AM_CFLAGS = -g -Wextra -Wall -Wno-long-long ${PIPE}
8## -pedantic
9
10AM_CXXFLAGS = $(AM_CFLAGS) ${CXXTEMPLFLAGS}
11
12AM_CPPFLAGS = -DHAVE_CONFIG_H
13
[69181b3]14INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS}  ${NTL_CFLAGS}
[4aa8610]15
[4f684a]16
[b27c052]17TESTS = simple_test coeffs_test rings_test polys_test
[4aa8610]18check_PROGRAMS = $(TESTS)
19
20simple_test_SOURCES = simple_test_runner.cpp
[1820e7]21coeffs_test_SOURCES = coeffs_test_runner.cpp
[4f684a]22polys_test_SOURCES = polys_test_runner.cpp
[b27c052]23rings_test_SOURCES = rings_test_runner.cpp
[1820e7]24
[c5412f]25
[84c376]26polys_test_LDFLAGS = ${AM_LDFLAGS} ${USEPPROCSDYNAMICLDFLAGS}
[b27c052]27rings_test_LDFLAGS = $(polys_test_LDFLAGS)
[8480db]28
[69181b3]29coeffs_test_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} -lresources_g -lreporter_g -lmisc_g -lfactory_g -lomalloc_debug
[84c376]30polys_test_LDADD = -lpolys_g ${USEPPROCSDYNAMICLD} $(coeffs_test_LDADD)
[b27c052]31rings_test_LDADD = $(polys_test_LDADD)
[c5412f]32
[1820e7]33
34
[b27c052]35BUILT_SOURCES = $(simple_test_SOURCES) $(coeffs_test_SOURCES) $(rings_test_SOURCES) $(polys_test_SOURCES)
[1820e7]36
[4aa8610]37
[84c376]38# How to generate *_runner.cpp
[4aa8610]39simple_test_runner.cpp: simple_test.h
[84c376]40        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer simple_test.h
[4aa8610]41
[1820e7]42coeffs_test_runner.cpp: coeffs_test.h
[84c376]43        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer coeffs_test.h
[4f684a]44
45polys_test_runner.cpp: polys_test.h
[84c376]46        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer polys_test.h
[b27c052]47
48rings_test_runner.cpp: rings_test.h
[84c376]49        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer rings_test.h
Note: See TracBrowser for help on using the repository browser.