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