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