[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 \
|
---|
[19290f] | 11 | ../UIElements/CommandLineUI/unittests \
|
---|
[0e2031] | 12 | ../UIElements/Menu/unittests
|
---|
[c0bccb] | 13 |
|
---|
[b9907c] | 14 | INCLUDES = -I$(top_srcdir)/src
|
---|
| 15 |
|
---|
[a0064e] | 16 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
| 17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
[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 \
|
---|
[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 \
|
---|
[dda246] | 46 | ../Helpers/libMolecuilderHelpers.la \
|
---|
[e4decc] | 47 | $(BOOST_LIB)
|
---|
[f4b5b7] | 48 | ALLLIBS = \
|
---|
[acbe1b] | 49 | ../UIElements/libMolecuilderUI.la \
|
---|
| 50 | ../Actions/libMolecuilderActions.la \
|
---|
[952f38] | 51 | ${PARSERLIBS} \
|
---|
[acbe1b] | 52 | ../libMolecuilder.la \
|
---|
[e4decc] | 53 | ${GSLLIBS}
|
---|
| 54 |
|
---|
[acbe1b] | 55 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
---|
| 56 | UILIBS = ../UIElements/libMolecuilderUI.la
|
---|
[4d9c01] | 57 |
|
---|
[9b6b2f] | 58 | TESTSOURCES = \
|
---|
[deddf6] | 59 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
[f7c0c4] | 60 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
[f844ef] | 61 | AnalysisBondsUnitTest.cpp \
|
---|
[9b6b2f] | 62 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 63 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 64 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[d766b5] | 65 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
[3c8e8b] | 66 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
[f844ef] | 67 | BondGraphUnitTest.cpp \
|
---|
| 68 | BoxUnitTest.cpp \
|
---|
[5f612ee] | 69 | CountBondsUnitTest.cpp \
|
---|
[f844ef] | 70 | FormulaUnitTest.cpp \
|
---|
[78b593] | 71 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
[f89024] | 72 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
[5f612ee] | 73 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 74 | ListOfBondsUnitTest.cpp \
|
---|
[efd61b] | 75 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
[fff54f] | 76 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
| 77 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
| 78 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
[19290f] | 79 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.cpp \
|
---|
[0e2031] | 80 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
[6c9adc] | 81 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
[9e4fd1] | 82 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
---|
| 83 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
---|
| 84 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
---|
[41396a] | 85 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
[9e4fd1] | 86 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
---|
[f844ef] | 87 | PeriodentafelUnitTest.cpp \
|
---|
[5bc8229] | 88 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
[0b3cbdf] | 89 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
[f844ef] | 90 | TesselationUnitTest.cpp \
|
---|
| 91 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 92 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[dfafe7] | 93 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
[f649de] | 94 | ../LinearAlgebra/unittests/VectorUnitTest.cpp \
|
---|
| 95 | WorldTimeUnitTest.cpp
|
---|
[9b6b2f] | 96 |
|
---|
| 97 | TESTHEADERS = \
|
---|
[deddf6] | 98 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 99 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[f844ef] | 100 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 101 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 102 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 103 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 104 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 105 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[f844ef] | 106 | BondGraphUnitTest.hpp \
|
---|
| 107 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 108 | CountBondsUnitTest.hpp \
|
---|
[f844ef] | 109 | FormulaUnitTest.hpp \
|
---|
[78b593] | 110 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
[f89024] | 111 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
[5f612ee] | 112 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 113 | ListOfBondsUnitTest.hpp \
|
---|
[efd61b] | 114 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
[fff54f] | 115 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
| 116 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
| 117 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
[19290f] | 118 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.hpp \
|
---|
[0e2031] | 119 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
[6c9adc] | 120 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
[9e4fd1] | 121 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
---|
| 122 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
---|
| 123 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
---|
[41396a] | 124 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
[9e4fd1] | 125 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
---|
[f844ef] | 126 | PeriodentafelUnitTest.hpp \
|
---|
[5bc8229] | 127 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
[0b3cbdf] | 128 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
[f844ef] | 129 | TesselationUnitTest.hpp \
|
---|
| 130 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 131 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[dfafe7] | 132 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
[f649de] | 133 | ../LinearAlgebra/unittests/VectorUnitTest.hpp \
|
---|
| 134 | WorldTimeUnitTest.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 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 196 | TesselationUnitTest.cpp \
|
---|
| 197 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 198 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 199 |
|
---|
[f844ef] | 200 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 201 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 202 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 203 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 204 |
|
---|
[f844ef] | 205 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 206 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 207 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 208 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 209 |
|
---|
[f649de] | 210 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 211 | WorldTimeUnitTest.cpp \
|
---|
| 212 | WorldTimeUnitTest.hpp \
|
---|
| 213 | ../WorldTime.cpp \
|
---|
| 214 | ../WorldTime.hpp
|
---|
| 215 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
| 216 |
|
---|
| 217 |
|
---|
[36166d] | 218 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 219 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 220 |
|
---|
[18eecf] | 221 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|