| 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 | if CONDCPPUNIT
|
|---|
| 10 |
|
|---|
| 11 | TESTS = \
|
|---|
| 12 | LinearSystemOfEquationsUnitTest \
|
|---|
| 13 | LineUnitTest \
|
|---|
| 14 | MatrixContentSymmetricUnitTest \
|
|---|
| 15 | MatrixContentUnitTest \
|
|---|
| 16 | PlaneUnitTest \
|
|---|
| 17 | RealSpaceMatrixUnitTest \
|
|---|
| 18 | VectorContentUnitTest \
|
|---|
| 19 | VectorUnitTest \
|
|---|
| 20 | VectorSetUnitTest
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | check_PROGRAMS = $(TESTS)
|
|---|
| 24 | noinst_PROGRAMS = $(TESTS)
|
|---|
| 25 |
|
|---|
| 26 | if CONDECUT
|
|---|
| 27 | noinst_PROGRAMS += TestRunner
|
|---|
| 28 | endif
|
|---|
| 29 |
|
|---|
| 30 | GSLLIBS = \
|
|---|
| 31 | ../LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 32 | ${CodePatterns_LIBS}
|
|---|
| 33 |
|
|---|
| 34 | TESTSOURCES = \
|
|---|
| 35 | LinearSystemOfEquationsUnitTest.cpp \
|
|---|
| 36 | LineUnitTest.cpp \
|
|---|
| 37 | MatrixContentSymmetricUnitTest.cpp \
|
|---|
| 38 | MatrixContentUnitTest.cpp \
|
|---|
| 39 | PlaneUnitTest.cpp \
|
|---|
| 40 | RealSpaceMatrixUnitTest.cpp \
|
|---|
| 41 | VectorContentUnitTest.cpp \
|
|---|
| 42 | VectorUnitTest.cpp \
|
|---|
| 43 | VectorSetUnitTest.cpp
|
|---|
| 44 |
|
|---|
| 45 | TESTHEADERS = \
|
|---|
| 46 | LinearSystemOfEquationsUnitTest.hpp \
|
|---|
| 47 | LineUnitTest.hpp \
|
|---|
| 48 | MatrixContentSymmetricUnitTest.hpp \
|
|---|
| 49 | MatrixContentUnitTest.hpp \
|
|---|
| 50 | PlaneUnitTest.hpp \
|
|---|
| 51 | RealSpaceMatrixUnitTest.hpp \
|
|---|
| 52 | VectorContentUnitTest.hpp \
|
|---|
| 53 | VectorUnitTest.hpp \
|
|---|
| 54 | VectorSetUnitTest.hpp
|
|---|
| 55 |
|
|---|
| 56 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 57 | LinearSystemOfEquationsUnitTest.cpp \
|
|---|
| 58 | LinearSystemOfEquationsUnitTest.hpp
|
|---|
| 59 | LinearSystemOfEquationsUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 60 |
|
|---|
| 61 | LineUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 62 | LineUnitTest.cpp \
|
|---|
| 63 | LineUnitTest.hpp
|
|---|
| 64 | LineUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 65 |
|
|---|
| 66 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 67 | MatrixContentSymmetricUnitTest.cpp \
|
|---|
| 68 | MatrixContentSymmetricUnitTest.hpp
|
|---|
| 69 | MatrixContentSymmetricUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 70 |
|
|---|
| 71 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 72 | MatrixContentUnitTest.cpp \
|
|---|
| 73 | MatrixContentUnitTest.hpp
|
|---|
| 74 | MatrixContentUnitTest_LDADD = ${GSLLIBS} \
|
|---|
| 75 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
|---|
| 76 |
|
|---|
| 77 | PlaneUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 78 | PlaneUnitTest.cpp \
|
|---|
| 79 | PlaneUnitTest.hpp
|
|---|
| 80 | PlaneUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 81 |
|
|---|
| 82 | RealSpaceMatrixUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 83 | RealSpaceMatrixUnitTest.cpp \
|
|---|
| 84 | RealSpaceMatrixUnitTest.hpp
|
|---|
| 85 | RealSpaceMatrixUnitTest_LDADD = ${GSLLIBS} \
|
|---|
| 86 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
|---|
| 87 |
|
|---|
| 88 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 89 | VectorContentUnitTest.cpp \
|
|---|
| 90 | VectorContentUnitTest.hpp
|
|---|
| 91 | VectorContentUnitTest_LDADD = ${GSLLIBS} \
|
|---|
| 92 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
|---|
| 93 |
|
|---|
| 94 | VectorUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 95 | VectorUnitTest.cpp \
|
|---|
| 96 | VectorUnitTest.hpp
|
|---|
| 97 | VectorUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 98 |
|
|---|
| 99 | VectorSetUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 100 | VectorSetUnitTest.cpp \
|
|---|
| 101 | VectorSetUnitTest.hpp
|
|---|
| 102 | VectorSetUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 106 | TestRunner_LDADD = ${GSLLIBS} \
|
|---|
| 107 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
|---|
| 108 |
|
|---|
| 109 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|
| 110 |
|
|---|
| 111 | endif
|
|---|