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