[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 |
|
---|
[79de12] | 6 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl $(BOOST_EXCEPTION_LDFLAGS)
|
---|
[a0064e] | 7 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
[fff54f] | 8 |
|
---|
| 9 | TESTS = \
|
---|
[78b593] | 10 | LinearSystemOfEquationsUnitTest \
|
---|
[f89024] | 11 | LineUnitTest \
|
---|
[fff54f] | 12 | MatrixContentSymmetricUnitTest \
|
---|
| 13 | MatrixContentUnitTest \
|
---|
[5bc8229] | 14 | MatrixUnitTest \
|
---|
[dfafe7] | 15 | PlaneUnitTest \
|
---|
| 16 | VectorContentUnitTest \
|
---|
| 17 | VectorUnitTest
|
---|
[fff54f] | 18 |
|
---|
| 19 |
|
---|
| 20 | check_PROGRAMS = $(TESTS)
|
---|
[bf4b9f] | 21 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
[fff54f] | 22 |
|
---|
| 23 | GSLLIBS = \
|
---|
[bf4b9f] | 24 | ../LinearAlgebra/libLinearAlgebra.la \
|
---|
[a0064e] | 25 | ${CodePatterns_LIBS} \
|
---|
[79de12] | 26 | $(BOOST_EXCEPTION_LIBS)
|
---|
[fff54f] | 27 |
|
---|
[bf4b9f] | 28 | TESTSOURCES = \
|
---|
| 29 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
| 30 | LineUnitTest.cpp \
|
---|
| 31 | MatrixContentSymmetricUnitTest.cpp \
|
---|
| 32 | MatrixContentUnitTest.cpp \
|
---|
| 33 | MatrixUnitTest.cpp \
|
---|
| 34 | PlaneUnitTest.cpp \
|
---|
| 35 | VectorContentUnitTest.cpp \
|
---|
| 36 | VectorUnitTest.cpp
|
---|
| 37 |
|
---|
| 38 | TESTHEADERS = \
|
---|
| 39 | LinearSystemOfEquationsUnitTest.hpp \
|
---|
| 40 | LineUnitTest.hpp \
|
---|
| 41 | MatrixContentSymmetricUnitTest.hpp \
|
---|
| 42 | MatrixContentUnitTest.hpp \
|
---|
| 43 | MatrixUnitTest.hpp \
|
---|
| 44 | PlaneUnitTest.hpp \
|
---|
| 45 | VectorContentUnitTest.hpp \
|
---|
| 46 | VectorUnitTest.hpp
|
---|
| 47 |
|
---|
| 48 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[78b593] | 49 | LinearSystemOfEquationsUnitTest.cpp \
|
---|
| 50 | LinearSystemOfEquationsUnitTest.hpp
|
---|
| 51 | LinearSystemOfEquationsUnitTest_LDADD = ${GSLLIBS}
|
---|
| 52 |
|
---|
[bf4b9f] | 53 | LineUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[f89024] | 54 | LineUnitTest.cpp \
|
---|
| 55 | LineUnitTest.hpp
|
---|
| 56 | LineUnitTest_LDADD = ${GSLLIBS}
|
---|
| 57 |
|
---|
[bf4b9f] | 58 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[fff54f] | 59 | MatrixContentSymmetricUnitTest.cpp \
|
---|
| 60 | MatrixContentSymmetricUnitTest.hpp
|
---|
| 61 | MatrixContentSymmetricUnitTest_LDADD = ${GSLLIBS}
|
---|
| 62 |
|
---|
[bf4b9f] | 63 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[fff54f] | 64 | MatrixContentUnitTest.cpp \
|
---|
| 65 | MatrixContentUnitTest.hpp
|
---|
| 66 | MatrixContentUnitTest_LDADD = ${GSLLIBS}
|
---|
| 67 |
|
---|
[bf4b9f] | 68 | MatrixUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[fff54f] | 69 | MatrixUnitTest.cpp \
|
---|
| 70 | MatrixUnitTest.hpp
|
---|
| 71 | MatrixUnitTest_LDADD = ${GSLLIBS}
|
---|
| 72 |
|
---|
[bf4b9f] | 73 | PlaneUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[5bc8229] | 74 | PlaneUnitTest.cpp \
|
---|
| 75 | PlaneUnitTest.hpp
|
---|
| 76 | PlaneUnitTest_LDADD = ${GSLLIBS}
|
---|
| 77 |
|
---|
[bf4b9f] | 78 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[dfafe7] | 79 | VectorContentUnitTest.cpp \
|
---|
| 80 | VectorContentUnitTest.hpp
|
---|
| 81 | VectorContentUnitTest_LDADD = ${GSLLIBS}
|
---|
| 82 |
|
---|
[bf4b9f] | 83 | VectorUnitTest_SOURCES = UnitTestMain.cpp \
|
---|
[dfafe7] | 84 | VectorUnitTest.cpp \
|
---|
| 85 | VectorUnitTest.hpp
|
---|
| 86 | VectorUnitTest_LDADD = ${GSLLIBS}
|
---|
| 87 |
|
---|
[fff54f] | 88 |
|
---|
[bf4b9f] | 89 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
| 90 | TestRunner_LDADD = ${GSLLIBS}
|
---|
| 91 |
|
---|
[fff54f] | 92 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|