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 |
|
---|
19 |
|
---|
20 | check_PROGRAMS = $(TESTS)
|
---|
21 | noinst_PROGRAMS = $(TESTS)
|
---|
22 |
|
---|
23 | if CONDECUT
|
---|
24 | noinst_PROGRAMS += TestRunner
|
---|
25 | endif
|
---|
26 |
|
---|
27 | GSLLIBS = \
|
---|
28 | ../LinearAlgebra/libLinearAlgebra.la \
|
---|
29 | ${CodePatterns_LIBS}
|
---|
30 |
|
---|
31 | TESTSOURCES = \
|
---|
32 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
33 | LineUnitTest.cpp \
|
---|
34 | MatrixContentSymmetricUnitTest.cpp \
|
---|
35 | MatrixContentUnitTest.cpp \
|
---|
36 | PlaneUnitTest.cpp \
|
---|
37 | RealSpaceMatrixUnitTest.cpp \
|
---|
38 | VectorContentUnitTest.cpp \
|
---|
39 | VectorUnitTest.cpp
|
---|
40 |
|
---|
41 | TESTHEADERS = \
|
---|
42 | LinearSystemOfEquationsUnitTest.hpp \
|
---|
43 | LineUnitTest.hpp \
|
---|
44 | MatrixContentSymmetricUnitTest.hpp \
|
---|
45 | MatrixContentUnitTest.hpp \
|
---|
46 | PlaneUnitTest.hpp \
|
---|
47 | RealSpaceMatrixUnitTest.hpp \
|
---|
48 | VectorContentUnitTest.hpp \
|
---|
49 | VectorUnitTest.hpp
|
---|
50 |
|
---|
51 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
52 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
53 | LinearSystemOfEquationsUnitTest.hpp
|
---|
54 | LinearSystemOfEquationsUnitTest_LDADD = ${GSLLIBS}
|
---|
55 |
|
---|
56 | LineUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
57 | LineUnitTest.cpp \
|
---|
58 | LineUnitTest.hpp
|
---|
59 | LineUnitTest_LDADD = ${GSLLIBS}
|
---|
60 |
|
---|
61 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
62 | MatrixContentSymmetricUnitTest.cpp \
|
---|
63 | MatrixContentSymmetricUnitTest.hpp
|
---|
64 | MatrixContentSymmetricUnitTest_LDADD = ${GSLLIBS}
|
---|
65 |
|
---|
66 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
67 | MatrixContentUnitTest.cpp \
|
---|
68 | MatrixContentUnitTest.hpp
|
---|
69 | MatrixContentUnitTest_LDADD = ${GSLLIBS} \
|
---|
70 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
71 |
|
---|
72 | PlaneUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
73 | PlaneUnitTest.cpp \
|
---|
74 | PlaneUnitTest.hpp
|
---|
75 | PlaneUnitTest_LDADD = ${GSLLIBS}
|
---|
76 |
|
---|
77 | RealSpaceMatrixUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
78 | RealSpaceMatrixUnitTest.cpp \
|
---|
79 | RealSpaceMatrixUnitTest.hpp
|
---|
80 | RealSpaceMatrixUnitTest_LDADD = ${GSLLIBS} \
|
---|
81 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
82 |
|
---|
83 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
84 | VectorContentUnitTest.cpp \
|
---|
85 | VectorContentUnitTest.hpp
|
---|
86 | VectorContentUnitTest_LDADD = ${GSLLIBS} \
|
---|
87 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
88 |
|
---|
89 | VectorUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
90 | VectorUnitTest.cpp \
|
---|
91 | VectorUnitTest.hpp
|
---|
92 | VectorUnitTest_LDADD = ${GSLLIBS}
|
---|
93 |
|
---|
94 |
|
---|
95 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
96 | TestRunner_LDADD = ${GSLLIBS} \
|
---|
97 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
98 |
|
---|
99 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|