source: git/libpolys/tests/Makefile.am @ 75f460

spielwiese
Last change on this file since 75f460 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 2.8 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../m4
2
3AM_CPPFLAGS = -I${top_srcdir} -I${top_builddir} \
4${FACTORY_INCLUDES} ${RESOURCES_INCLUDES} ${OMALLOC_INCLUDES} \
5${FLINT_CFLAGS} ${NTL_CFLAGS} ${GMP_CFLAGS}
6
7TESTS = simple_test \
8    coeffs_test \
9    polys_test \
10    rings_test
11
12check_PROGRAMS = $(TESTS)
13
14nodist_simple_test_SOURCES = simple_test_runner.cpp
15
16nodist_coeffs_test_SOURCES = coeffs_test_runner.cpp
17nodist_polys_test_SOURCES = polys_test_runner.cpp
18nodist_rings_test_SOURCES = rings_test_runner.cpp
19
20coeffs_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
25polys_test_LDADD = ${top_builddir}/polys/libpolys.la $(coeffs_test_LDADD)
26rings_test_LDADD = $(polys_test_LDADD)
27
28BUILT_SOURCES = gftables MOD \
29        simple_test_runner.cpp coeffs_test_runner.cpp polys_test_runner.cpp rings_test_runner.cpp
30
31gftables: ${top_srcdir}/../factory/gftables
32        ln -snf ${top_srcdir}/../factory/gftables ${builddir}
33
34MOD:
35        if [ -d "${top_builddir}/libpolys/polys/.libs" ]; then \
36          ln -snf ${top_builddir}/libpolys/polys/.libs/ ${abs_builddir}/MOD; \
37        fi
38
39# How to generate *_runner.cpp
40simple_test_runner.cpp: simple_test.h
41        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/simple_test.h
42
43coeffs_test_runner.cpp: coeffs_test.h
44        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/coeffs_test.h
45
46polys_test_runner.cpp: polys_test.h
47        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/polys_test.h
48
49rings_test_runner.cpp: rings_test.h
50        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/rings_test.h
51
52CLEANFILES = $(BUILT_SOURCES)
53
54EXTRA_DIST = cxxtestgen.pl simple_test.h coeffs_test.h polys_test.h rings_test.h common.h \
55    cxxtest/Descriptions.h       cxxtest/ParenPrinter.h      cxxtest/TestListener.h     \
56    cxxtest/DummyDescriptions.h  cxxtest/QtGui.h             cxxtest/TestRunner.h       \
57    cxxtest/ErrorFormatter.h     cxxtest/RealDescriptions.h  cxxtest/TestSuite.h        \
58    cxxtest/ErrorPrinter.h       cxxtest/SelfTest.h          cxxtest/TestTracker.h      \
59    cxxtest/Flags.h              cxxtest/StdHeaders.h        cxxtest/ValueTraits.h      \
60    cxxtest/GlobalFixture.h      cxxtest/StdioFilePrinter.h  cxxtest/Win32Gui.h         \
61    cxxtest/Gui.h                cxxtest/StdioPrinter.h      cxxtest/X11Gui.h           \
62    cxxtest/LinkedList.h         cxxtest/StdValueTraits.h    cxxtest/YesNoRunner.h      \
63    cxxtest/Mock.h               cxxtest/TeeListener.h                                  \
64    cxxtest/Descriptions.cpp     cxxtest/LinkedList.cpp      cxxtest/TestSuite.cpp      \
65    cxxtest/DummyDescriptions.cpp cxxtest/RealDescriptions.cpp  cxxtest/TestTracker.cpp \
66    cxxtest/GlobalFixture.cpp    cxxtest/Root.cpp            cxxtest/ValueTraits.cpp
Note: See TracBrowser for help on using the repository browser.