[18eecf] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[c0bccb] | 4 | SUBDIRS = \
|
---|
[deddf6] | 5 | ../Actions/unittests \
|
---|
[d766b5] | 6 | ../Descriptors/unittests \
|
---|
[fff54f] | 7 | ../Helpers/unittests \
|
---|
| 8 | ../LinearAlgebra/unittests \
|
---|
[41396a] | 9 | ../Parser/unittests \
|
---|
[0e2031] | 10 | ../Patterns/unittests \
|
---|
| 11 | ../UIElements/Menu/unittests
|
---|
[c0bccb] | 12 |
|
---|
[b9907c] | 13 | INCLUDES = -I$(top_srcdir)/src
|
---|
| 14 |
|
---|
[831a14] | 15 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
| 16 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
[d5240d] | 17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
[be90f1] | 18 |
|
---|
[9fb860] | 19 | TESTS = \
|
---|
[f844ef] | 20 | AnalysisBondsUnitTest \
|
---|
[9fb860] | 21 | AnalysisCorrelationToPointUnitTest \
|
---|
| 22 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
| 23 | AnalysisPairCorrelationUnitTest \
|
---|
| 24 | BondGraphUnitTest \
|
---|
[f844ef] | 25 | BoxUnitTest \
|
---|
[dfe8ef] | 26 | CountBondsUnitTest \
|
---|
[9f632c] | 27 | FormulaUnittest \
|
---|
[dcea0f] | 28 | LinkedCellUnitTest \
|
---|
[9fb860] | 29 | ListOfBondsUnitTest \
|
---|
[f844ef] | 30 | PeriodentafelUnitTest \
|
---|
[b4cf2b] | 31 | SubspaceFactorizerUnitTest \
|
---|
[9fb860] | 32 | TesselationUnitTest \
|
---|
[e9c677] | 33 | Tesselation_BoundaryTriangleUnitTest \
|
---|
[dfafe7] | 34 | Tesselation_InOutsideUnitTest
|
---|
[4fbca9c] | 35 |
|
---|
| 36 |
|
---|
[63c1f6] | 37 | check_PROGRAMS = $(TESTS)
|
---|
[9b6b2f] | 38 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
[b9907c] | 39 |
|
---|
[d5240d] | 40 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[952f38] | 41 | GSLLIBS = \
|
---|
| 42 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 43 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 44 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 45 | $(BOOST_LIB)
|
---|
[f4b5b7] | 46 | ALLLIBS = \
|
---|
[9ee38b] | 47 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[f4b5b7] | 48 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 49 | ${PARSERLIBS} \
|
---|
[255971] | 50 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 51 | ${GSLLIBS}
|
---|
| 52 |
|
---|
[b37436] | 53 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
| 54 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
[4d9c01] | 55 |
|
---|
[9b6b2f] | 56 | TESTSOURCES = \
|
---|
[deddf6] | 57 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
[f7c0c4] | 58 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
[f844ef] | 59 | AnalysisBondsUnitTest.cpp \
|
---|
[9b6b2f] | 60 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 61 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 62 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[d766b5] | 63 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
[3c8e8b] | 64 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
[f844ef] | 65 | BondGraphUnitTest.cpp \
|
---|
| 66 | BoxUnitTest.cpp \
|
---|
[e7da1f] | 67 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
[5f612ee] | 68 | CountBondsUnitTest.cpp \
|
---|
[f844ef] | 69 | FormulaUnitTest.cpp \
|
---|
[fff54f] | 70 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
[78b593] | 71 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
[f89024] | 72 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
[5f612ee] | 73 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 74 | ListOfBondsUnitTest.cpp \
|
---|
[4076fcc] | 75 | ../Helpers/unittests/LogUnitTest.cpp \
|
---|
[efd61b] | 76 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
[fff54f] | 77 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
| 78 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
| 79 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
[0e2031] | 80 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
[6c9adc] | 81 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
[a2c4f3] | 82 | ../Patterns/unittests/ObserverUnitTest.cpp \
|
---|
[41396a] | 83 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
---|
| 84 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
[f844ef] | 85 | PeriodentafelUnitTest.cpp \
|
---|
[5bc8229] | 86 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
[57d976] | 87 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
---|
[0b3cbdf] | 88 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
[c0bccb] | 89 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
[f844ef] | 90 | TesselationUnitTest.cpp \
|
---|
| 91 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 92 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[dfafe7] | 93 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
| 94 | ../LinearAlgebra/unittests/VectorUnitTest.cpp
|
---|
[9b6b2f] | 95 |
|
---|
| 96 | TESTHEADERS = \
|
---|
[deddf6] | 97 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 98 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[f844ef] | 99 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 100 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 101 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 102 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 103 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 104 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[f844ef] | 105 | BondGraphUnitTest.hpp \
|
---|
| 106 | BoxUnitTest.hpp \
|
---|
[e7da1f] | 107 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
[5f612ee] | 108 | CountBondsUnitTest.hpp \
|
---|
[f844ef] | 109 | FormulaUnitTest.hpp \
|
---|
[78b593] | 110 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
| 111 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
[f89024] | 112 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
[5f612ee] | 113 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 114 | ListOfBondsUnitTest.hpp \
|
---|
[4076fcc] | 115 | ../Helpers/unittests/LogUnitTest.hpp \
|
---|
[efd61b] | 116 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
[fff54f] | 117 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
| 118 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
| 119 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
[0e2031] | 120 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
[6c9adc] | 121 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
[a2c4f3] | 122 | ../Patterns/unittests/ObserverUnitTest.hpp \
|
---|
[41396a] | 123 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
---|
| 124 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
[f844ef] | 125 | PeriodentafelUnitTest.hpp \
|
---|
[5bc8229] | 126 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
[57d976] | 127 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
---|
[0b3cbdf] | 128 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
[c0bccb] | 129 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
[f844ef] | 130 | TesselationUnitTest.hpp \
|
---|
| 131 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 132 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[dfafe7] | 133 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
| 134 | ../LinearAlgebra/unittests/VectorUnitTest.hpp
|
---|
[9fb860] | 135 |
|
---|
[9b6b2f] | 136 |
|
---|
[f844ef] | 137 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 138 | AnalysisBondsUnitTest.cpp \
|
---|
| 139 | AnalysisBondsUnitTest.hpp
|
---|
| 140 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 141 |
|
---|
[f844ef] | 142 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 143 | analysis_correlation.hpp \
|
---|
| 144 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 145 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 146 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 147 |
|
---|
[f844ef] | 148 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 149 | analysis_correlation.hpp \
|
---|
| 150 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 151 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 152 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 153 |
|
---|
[f844ef] | 154 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 155 | analysis_correlation.hpp \
|
---|
| 156 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 157 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 158 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 159 |
|
---|
[f844ef] | 160 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 161 | BondGraphUnitTest.cpp \
|
---|
| 162 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 163 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 164 |
|
---|
[f844ef] | 165 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 166 | BoxUnitTest.cpp \
|
---|
| 167 | BoxUnitTest.hpp
|
---|
| 168 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 169 |
|
---|
[f844ef] | 170 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 171 | CountBondsUnitTest.cpp \
|
---|
| 172 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 173 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 174 |
|
---|
[f844ef] | 175 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 176 | FormulaUnitTest.cpp \
|
---|
| 177 | FormulaUnitTest.hpp
|
---|
[9f632c] | 178 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 179 |
|
---|
[f844ef] | 180 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 181 | LinkedCellUnitTest.cpp \
|
---|
| 182 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 183 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 184 |
|
---|
[f844ef] | 185 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 186 | ListOfBondsUnitTest.cpp \
|
---|
| 187 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 188 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 189 |
|
---|
[f844ef] | 190 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 191 | PeriodentafelUnitTest.cpp \
|
---|
| 192 | PeriodentafelUnitTest.hpp
|
---|
| 193 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 194 |
|
---|
[f844ef] | 195 | SubspaceFactorizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 196 | SubspaceFactorizerUnitTest.cpp \
|
---|
| 197 | SubspaceFactorizerUnitTest.hpp
|
---|
[5eec98] | 198 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
[b4cf2b] | 199 |
|
---|
[f844ef] | 200 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 201 | TesselationUnitTest.cpp \
|
---|
| 202 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 203 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 204 |
|
---|
[f844ef] | 205 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 206 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 207 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 208 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 209 |
|
---|
[f844ef] | 210 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 211 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 212 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 213 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 214 |
|
---|
[36166d] | 215 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 216 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 217 |
|
---|
[18eecf] | 218 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|