[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 \
|
---|
[dfafe7] | 33 | Tesselation_InOutsideUnitTest
|
---|
[4fbca9c] | 34 |
|
---|
| 35 |
|
---|
[63c1f6] | 36 | check_PROGRAMS = $(TESTS)
|
---|
[9b6b2f] | 37 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
[b9907c] | 38 |
|
---|
[d5240d] | 39 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[952f38] | 40 | GSLLIBS = \
|
---|
[6d2207] | 41 | ../Shapes/libMolecuilderShapes.la \
|
---|
[acbe1b] | 42 | ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
|
---|
| 43 | ../Exceptions/libMolecuilderExceptions.la \
|
---|
[1ee3b8d] | 44 | ../RandomNumbers/libMolecuilderRandomNumbers.la \
|
---|
[e4decc] | 45 | $(BOOST_LIB)
|
---|
[f4b5b7] | 46 | ALLLIBS = \
|
---|
[acbe1b] | 47 | ../UIElements/libMolecuilderUI.la \
|
---|
| 48 | ../Actions/libMolecuilderActions.la \
|
---|
[952f38] | 49 | ${PARSERLIBS} \
|
---|
[acbe1b] | 50 | ../libMolecuilder.la \
|
---|
[e4decc] | 51 | ${GSLLIBS}
|
---|
| 52 |
|
---|
[acbe1b] | 53 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
---|
| 54 | UILIBS = ../UIElements/libMolecuilderUI.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 \
|
---|
[5f612ee] | 67 | CountBondsUnitTest.cpp \
|
---|
[f844ef] | 68 | FormulaUnitTest.cpp \
|
---|
[78b593] | 69 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
[f89024] | 70 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
[5f612ee] | 71 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 72 | ListOfBondsUnitTest.cpp \
|
---|
[efd61b] | 73 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
[fff54f] | 74 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
| 75 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
| 76 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
[0e2031] | 77 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
[6c9adc] | 78 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
[9e4fd1] | 79 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
---|
| 80 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
---|
| 81 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
---|
[41396a] | 82 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
[9e4fd1] | 83 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
---|
[f844ef] | 84 | PeriodentafelUnitTest.cpp \
|
---|
[5bc8229] | 85 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
[0b3cbdf] | 86 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
[f844ef] | 87 | TesselationUnitTest.cpp \
|
---|
| 88 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 89 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[dfafe7] | 90 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
| 91 | ../LinearAlgebra/unittests/VectorUnitTest.cpp
|
---|
[9b6b2f] | 92 |
|
---|
| 93 | TESTHEADERS = \
|
---|
[deddf6] | 94 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 95 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[f844ef] | 96 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 97 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 98 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 99 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 100 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 101 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[f844ef] | 102 | BondGraphUnitTest.hpp \
|
---|
| 103 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 104 | CountBondsUnitTest.hpp \
|
---|
[f844ef] | 105 | FormulaUnitTest.hpp \
|
---|
[78b593] | 106 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
[f89024] | 107 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
[5f612ee] | 108 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 109 | ListOfBondsUnitTest.hpp \
|
---|
[efd61b] | 110 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
[fff54f] | 111 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
| 112 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
| 113 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
[0e2031] | 114 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
[6c9adc] | 115 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
[9e4fd1] | 116 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
---|
| 117 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
---|
| 118 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
---|
[41396a] | 119 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
[9e4fd1] | 120 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
---|
[f844ef] | 121 | PeriodentafelUnitTest.hpp \
|
---|
[5bc8229] | 122 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
[0b3cbdf] | 123 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
[f844ef] | 124 | TesselationUnitTest.hpp \
|
---|
| 125 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 126 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[dfafe7] | 127 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
| 128 | ../LinearAlgebra/unittests/VectorUnitTest.hpp
|
---|
[9fb860] | 129 |
|
---|
[9b6b2f] | 130 |
|
---|
[f844ef] | 131 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 132 | AnalysisBondsUnitTest.cpp \
|
---|
| 133 | AnalysisBondsUnitTest.hpp
|
---|
| 134 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 135 |
|
---|
[f844ef] | 136 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 137 | analysis_correlation.hpp \
|
---|
| 138 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 139 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 140 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 141 |
|
---|
[f844ef] | 142 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 143 | analysis_correlation.hpp \
|
---|
| 144 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 145 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 146 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 147 |
|
---|
[f844ef] | 148 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 149 | analysis_correlation.hpp \
|
---|
| 150 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 151 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 152 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 153 |
|
---|
[f844ef] | 154 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 155 | BondGraphUnitTest.cpp \
|
---|
| 156 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 157 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 158 |
|
---|
[f844ef] | 159 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 160 | BoxUnitTest.cpp \
|
---|
| 161 | BoxUnitTest.hpp
|
---|
| 162 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 163 |
|
---|
[f844ef] | 164 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 165 | CountBondsUnitTest.cpp \
|
---|
| 166 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 167 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 168 |
|
---|
[f844ef] | 169 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 170 | FormulaUnitTest.cpp \
|
---|
| 171 | FormulaUnitTest.hpp
|
---|
[9f632c] | 172 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 173 |
|
---|
[f844ef] | 174 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 175 | LinkedCellUnitTest.cpp \
|
---|
| 176 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 177 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 178 |
|
---|
[f844ef] | 179 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 180 | ListOfBondsUnitTest.cpp \
|
---|
| 181 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 182 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 183 |
|
---|
[f844ef] | 184 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 185 | PeriodentafelUnitTest.cpp \
|
---|
| 186 | PeriodentafelUnitTest.hpp
|
---|
| 187 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 188 |
|
---|
[f844ef] | 189 | SubspaceFactorizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 190 | SubspaceFactorizerUnitTest.cpp \
|
---|
| 191 | SubspaceFactorizerUnitTest.hpp
|
---|
[5eec98] | 192 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
[b4cf2b] | 193 |
|
---|
[f844ef] | 194 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 195 | TesselationUnitTest.cpp \
|
---|
| 196 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 197 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 198 |
|
---|
[f844ef] | 199 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 200 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 201 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 202 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 203 |
|
---|
[f844ef] | 204 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 205 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 206 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 207 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 208 |
|
---|
[36166d] | 209 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 210 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 211 |
|
---|
[18eecf] | 212 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|