1 | ACLOCAL_AMFLAGS = -I ../../m4 |
---|
2 | |
---|
3 | AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} \ |
---|
4 | ${FACTORY_INCLUDES} ${RESOURCES_INCLUDES} ${OMALLOC_INCLUDES} \ |
---|
5 | ${FLINT_CFLAGS} ${GMP_CPPFLAGS} |
---|
6 | |
---|
7 | TESTS = simple_test \ |
---|
8 | coeffs_test \ |
---|
9 | polys_test \ |
---|
10 | rings_test |
---|
11 | |
---|
12 | check_PROGRAMS = $(TESTS) |
---|
13 | |
---|
14 | nodist_simple_test_SOURCES = simple_test_runner.cpp |
---|
15 | |
---|
16 | nodist_coeffs_test_SOURCES = coeffs_test_runner.cpp |
---|
17 | nodist_polys_test_SOURCES = polys_test_runner.cpp |
---|
18 | nodist_rings_test_SOURCES = rings_test_runner.cpp |
---|
19 | |
---|
20 | coeffs_test_LDADD = ${top_builddir}/coeffs/libcoeffs.la \ |
---|
21 | ${top_builddir}/reporter/libreporter.la ${top_builddir}/misc/libmisc.la \ |
---|
22 | $(FACTORY_LIBS) $(RESOURCES_LIBS) $(OMALLOC_LIBS) \ |
---|
23 | $(FLINT_LIBS) $(GMP_LIBS) $(NTL_LIBS) |
---|
24 | |
---|
25 | simple_test_LDADD = ${top_builddir}/polys/libpolys.la $(coeffs_test_LDADD) |
---|
26 | polys_test_LDADD = ${top_builddir}/polys/libpolys.la $(coeffs_test_LDADD) |
---|
27 | rings_test_LDADD = $(polys_test_LDADD) |
---|
28 | |
---|
29 | BUILT_SOURCES = gftables MOD \ |
---|
30 | simple_test_runner.cpp coeffs_test_runner.cpp polys_test_runner.cpp rings_test_runner.cpp |
---|
31 | |
---|
32 | gftables: ${top_srcdir}/../factory/gftables |
---|
33 | ln -snf ${top_srcdir}/../factory/gftables ${builddir} |
---|
34 | |
---|
35 | MOD: |
---|
36 | if [ -d "${top_builddir}/libpolys/polys/.libs" ]; then \ |
---|
37 | ln -snf ${top_builddir}/libpolys/polys/.libs/ ${abs_builddir}/MOD; \ |
---|
38 | fi |
---|
39 | |
---|
40 | # How to generate *_runner.cpp |
---|
41 | simple_test_runner.cpp: simple_test.h |
---|
42 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/simple_test.h |
---|
43 | |
---|
44 | coeffs_test_runner.cpp: coeffs_test.h |
---|
45 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/coeffs_test.h |
---|
46 | |
---|
47 | polys_test_runner.cpp: polys_test.h |
---|
48 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/polys_test.h |
---|
49 | |
---|
50 | rings_test_runner.cpp: rings_test.h |
---|
51 | ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/rings_test.h |
---|
52 | |
---|
53 | CLEANFILES = $(BUILT_SOURCES) |
---|
54 | |
---|
55 | EXTRA_DIST = cxxtestgen.pl simple_test.h coeffs_test.h polys_test.h rings_test.h common.h \ |
---|
56 | cxxtest/Descriptions.h cxxtest/ParenPrinter.h cxxtest/TestListener.h \ |
---|
57 | cxxtest/DummyDescriptions.h cxxtest/QtGui.h cxxtest/TestRunner.h \ |
---|
58 | cxxtest/ErrorFormatter.h cxxtest/RealDescriptions.h cxxtest/TestSuite.h \ |
---|
59 | cxxtest/ErrorPrinter.h cxxtest/SelfTest.h cxxtest/TestTracker.h \ |
---|
60 | cxxtest/Flags.h cxxtest/StdHeaders.h cxxtest/ValueTraits.h \ |
---|
61 | cxxtest/GlobalFixture.h cxxtest/StdioFilePrinter.h cxxtest/Win32Gui.h \ |
---|
62 | cxxtest/Gui.h cxxtest/StdioPrinter.h cxxtest/X11Gui.h \ |
---|
63 | cxxtest/LinkedList.h cxxtest/StdValueTraits.h cxxtest/YesNoRunner.h \ |
---|
64 | cxxtest/Mock.h cxxtest/TeeListener.h \ |
---|
65 | cxxtest/Descriptions.cpp cxxtest/LinkedList.cpp cxxtest/TestSuite.cpp \ |
---|
66 | cxxtest/DummyDescriptions.cpp cxxtest/RealDescriptions.cpp cxxtest/TestTracker.cpp \ |
---|
67 | cxxtest/GlobalFixture.cpp cxxtest/Root.cpp cxxtest/ValueTraits.cpp |
---|