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