1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | INCLUDES = -I$(top_srcdir)/src/LinearAlgebra
|
---|
5 |
|
---|
6 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
7 | AM_CPPFLAGS = $(CPPUNIT_CFLAGS) $(BOOST_CPPFLAGS) ${CodePatterns_CFLAGS}
|
---|
8 |
|
---|
9 | TESTS = \
|
---|
10 | LinearSystemOfEquationsUnitTest \
|
---|
11 | LineUnitTest \
|
---|
12 | MatrixContentSymmetricUnitTest \
|
---|
13 | MatrixContentUnitTest \
|
---|
14 | PlaneUnitTest \
|
---|
15 | RealSpaceMatrixUnitTest \
|
---|
16 | VectorContentUnitTest \
|
---|
17 | VectorUnitTest \
|
---|
18 | VectorSetUnitTest
|
---|
19 |
|
---|
20 |
|
---|
21 | check_PROGRAMS = $(TESTS)
|
---|
22 | noinst_PROGRAMS = $(TESTS)
|
---|
23 |
|
---|
24 | if CONDECUT
|
---|
25 | noinst_PROGRAMS += TestRunner
|
---|
26 | endif
|
---|
27 |
|
---|
28 | GSLLIBS = \
|
---|
29 | ../LinearAlgebra/libLinearAlgebra.la \
|
---|
30 | ${CodePatterns_LIBS}
|
---|
31 |
|
---|
32 | TESTSOURCES = \
|
---|
33 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
34 | LineUnitTest.cpp \
|
---|
35 | MatrixContentSymmetricUnitTest.cpp \
|
---|
36 | MatrixContentUnitTest.cpp \
|
---|
37 | PlaneUnitTest.cpp \
|
---|
38 | RealSpaceMatrixUnitTest.cpp \
|
---|
39 | VectorContentUnitTest.cpp \
|
---|
40 | VectorUnitTest.cpp \
|
---|
41 | VectorSetUnitTest.cpp
|
---|
42 |
|
---|
43 | TESTHEADERS = \
|
---|
44 | LinearSystemOfEquationsUnitTest.hpp \
|
---|
45 | LineUnitTest.hpp \
|
---|
46 | MatrixContentSymmetricUnitTest.hpp \
|
---|
47 | MatrixContentUnitTest.hpp \
|
---|
48 | PlaneUnitTest.hpp \
|
---|
49 | RealSpaceMatrixUnitTest.hpp \
|
---|
50 | VectorContentUnitTest.hpp \
|
---|
51 | VectorUnitTest.hpp \
|
---|
52 | VectorSetUnitTest.hpp
|
---|
53 |
|
---|
54 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
55 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
56 | LinearSystemOfEquationsUnitTest.hpp
|
---|
57 | LinearSystemOfEquationsUnitTest_LDADD = ${GSLLIBS}
|
---|
58 |
|
---|
59 | LineUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
60 | LineUnitTest.cpp \
|
---|
61 | LineUnitTest.hpp
|
---|
62 | LineUnitTest_LDADD = ${GSLLIBS}
|
---|
63 |
|
---|
64 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
65 | MatrixContentSymmetricUnitTest.cpp \
|
---|
66 | MatrixContentSymmetricUnitTest.hpp
|
---|
67 | MatrixContentSymmetricUnitTest_LDADD = ${GSLLIBS}
|
---|
68 |
|
---|
69 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
70 | MatrixContentUnitTest.cpp \
|
---|
71 | MatrixContentUnitTest.hpp
|
---|
72 | MatrixContentUnitTest_LDADD = ${GSLLIBS} \
|
---|
73 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
74 |
|
---|
75 | PlaneUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
76 | PlaneUnitTest.cpp \
|
---|
77 | PlaneUnitTest.hpp
|
---|
78 | PlaneUnitTest_LDADD = ${GSLLIBS}
|
---|
79 |
|
---|
80 | RealSpaceMatrixUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
81 | RealSpaceMatrixUnitTest.cpp \
|
---|
82 | RealSpaceMatrixUnitTest.hpp
|
---|
83 | RealSpaceMatrixUnitTest_LDADD = ${GSLLIBS} \
|
---|
84 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
85 |
|
---|
86 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
87 | VectorContentUnitTest.cpp \
|
---|
88 | VectorContentUnitTest.hpp
|
---|
89 | VectorContentUnitTest_LDADD = ${GSLLIBS} \
|
---|
90 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
91 |
|
---|
92 | VectorUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
93 | VectorUnitTest.cpp \
|
---|
94 | VectorUnitTest.hpp
|
---|
95 | VectorUnitTest_LDADD = ${GSLLIBS}
|
---|
96 |
|
---|
97 | VectorSetUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
98 | VectorSetUnitTest.cpp \
|
---|
99 | VectorSetUnitTest.hpp
|
---|
100 | VectorSetUnitTest_LDADD = ${GSLLIBS}
|
---|
101 |
|
---|
102 |
|
---|
103 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
104 | TestRunner_LDADD = ${GSLLIBS} \
|
---|
105 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
106 |
|
---|
107 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|