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