| 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 $(BOOST_EXCEPTION_LDFLAGS)
|
|---|
| 7 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
|---|
| 8 |
|
|---|
| 9 | TESTS = \
|
|---|
| 10 | LinearSystemOfEquationsUnitTest \
|
|---|
| 11 | LineUnitTest \
|
|---|
| 12 | MatrixContentSymmetricUnitTest \
|
|---|
| 13 | MatrixContentUnitTest \
|
|---|
| 14 | MatrixUnitTest \
|
|---|
| 15 | PlaneUnitTest \
|
|---|
| 16 | VectorContentUnitTest \
|
|---|
| 17 | VectorUnitTest
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | check_PROGRAMS = $(TESTS)
|
|---|
| 21 | noinst_PROGRAMS = $(TESTS) TestRunner
|
|---|
| 22 |
|
|---|
| 23 | GSLLIBS = \
|
|---|
| 24 | ../LinearAlgebra/libLinearAlgebra.la \
|
|---|
| 25 | ${CodePatterns_LIBS} \
|
|---|
| 26 | $(BOOST_EXCEPTION_LIBS)
|
|---|
| 27 |
|
|---|
| 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 \
|
|---|
| 49 | LinearSystemOfEquationsUnitTest.cpp \
|
|---|
| 50 | LinearSystemOfEquationsUnitTest.hpp
|
|---|
| 51 | LinearSystemOfEquationsUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 52 |
|
|---|
| 53 | LineUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 54 | LineUnitTest.cpp \
|
|---|
| 55 | LineUnitTest.hpp
|
|---|
| 56 | LineUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 57 |
|
|---|
| 58 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 59 | MatrixContentSymmetricUnitTest.cpp \
|
|---|
| 60 | MatrixContentSymmetricUnitTest.hpp
|
|---|
| 61 | MatrixContentSymmetricUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 62 |
|
|---|
| 63 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 64 | MatrixContentUnitTest.cpp \
|
|---|
| 65 | MatrixContentUnitTest.hpp
|
|---|
| 66 | MatrixContentUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 67 |
|
|---|
| 68 | MatrixUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 69 | MatrixUnitTest.cpp \
|
|---|
| 70 | MatrixUnitTest.hpp
|
|---|
| 71 | MatrixUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 72 |
|
|---|
| 73 | PlaneUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 74 | PlaneUnitTest.cpp \
|
|---|
| 75 | PlaneUnitTest.hpp
|
|---|
| 76 | PlaneUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 77 |
|
|---|
| 78 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 79 | VectorContentUnitTest.cpp \
|
|---|
| 80 | VectorContentUnitTest.hpp
|
|---|
| 81 | VectorContentUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 82 |
|
|---|
| 83 | VectorUnitTest_SOURCES = UnitTestMain.cpp \
|
|---|
| 84 | VectorUnitTest.cpp \
|
|---|
| 85 | VectorUnitTest.hpp
|
|---|
| 86 | VectorUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 90 | TestRunner_LDADD = ${GSLLIBS}
|
|---|
| 91 |
|
|---|
| 92 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|