source: git/libpolys/tests/Makefile.am @ 25a7cf

spielwiese
Last change on this file since 25a7cf was 25a7cf, checked in by Hans Schönemann <hannes@…>, 5 years ago
removed NTL_CPPFLAGS, if unused
  • 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} ${GMP_CPPFLAGS}
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
25simple_test_LDADD = ${top_builddir}/polys/libpolys.la $(coeffs_test_LDADD)
26polys_test_LDADD = ${top_builddir}/polys/libpolys.la $(coeffs_test_LDADD)
27rings_test_LDADD = $(polys_test_LDADD)
28
29BUILT_SOURCES = gftables MOD \
30        simple_test_runner.cpp coeffs_test_runner.cpp polys_test_runner.cpp rings_test_runner.cpp
31
32gftables: ${top_srcdir}/../factory/gftables
33        ln -snf ${top_srcdir}/../factory/gftables ${builddir}
34
35MOD:
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
41simple_test_runner.cpp: simple_test.h
42        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/simple_test.h
43
44coeffs_test_runner.cpp: coeffs_test.h
45        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/coeffs_test.h
46
47polys_test_runner.cpp: polys_test.h
48        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/polys_test.h
49
50rings_test_runner.cpp: rings_test.h
51        ${srcdir}/cxxtestgen.pl --no-eh -o $@ --error-printer ${srcdir}/rings_test.h
52
53CLEANFILES = $(BUILT_SOURCES)
54
55EXTRA_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
Note: See TracBrowser for help on using the repository browser.