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