[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 \
|
---|
[c0bccb] | 9 | ../Patterns/unittests
|
---|
| 10 |
|
---|
[b9907c] | 11 | INCLUDES = -I$(top_srcdir)/src
|
---|
| 12 |
|
---|
[831a14] | 13 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
| 14 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
[d5240d] | 15 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
[be90f1] | 16 |
|
---|
[9fb860] | 17 | TESTS = \
|
---|
| 18 | AnalysisBondsUnitTests \
|
---|
| 19 | AnalysisCorrelationToPointUnitTest \
|
---|
| 20 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
| 21 | AnalysisPairCorrelationUnitTest \
|
---|
| 22 | BondGraphUnitTest \
|
---|
[77bc4f] | 23 | BoxUnittest \
|
---|
[dfe8ef] | 24 | CountBondsUnitTest \
|
---|
[9f632c] | 25 | FormulaUnittest \
|
---|
[45ef76] | 26 | LineUnittest \
|
---|
[dcea0f] | 27 | LinkedCellUnitTest \
|
---|
[9fb860] | 28 | ListOfBondsUnitTest \
|
---|
| 29 | LogUnitTest \
|
---|
[57adc7] | 30 | manipulateAtomsTest \
|
---|
[8bcf3f] | 31 | MenuDescriptionUnitTest \
|
---|
[57adc7] | 32 | MoleculeDescriptorTest \
|
---|
| 33 | ObserverTest \
|
---|
[4fbca9c] | 34 | ParserCommonUnitTest \
|
---|
| 35 | ParserTremoloUnitTest \
|
---|
[4eb4fe] | 36 | periodentafelTest \
|
---|
| 37 | PlaneUnittest \
|
---|
[e4afb4] | 38 | Registry \
|
---|
[997784] | 39 | ShapeUnittest \
|
---|
[b4cf2b] | 40 | SubspaceFactorizerUnitTest \
|
---|
[9fb860] | 41 | TesselationUnitTest \
|
---|
[e9c677] | 42 | Tesselation_BoundaryTriangleUnitTest \
|
---|
| 43 | Tesselation_InOutsideUnitTest \
|
---|
[bbf1bd] | 44 | VectorContentUnitTest \
|
---|
[112f90] | 45 | VectorUnitTest
|
---|
[4fbca9c] | 46 |
|
---|
| 47 |
|
---|
[63c1f6] | 48 | check_PROGRAMS = $(TESTS)
|
---|
[9b6b2f] | 49 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
[b9907c] | 50 |
|
---|
[d5240d] | 51 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[952f38] | 52 | GSLLIBS = \
|
---|
| 53 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 54 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 55 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 56 | $(BOOST_LIB)
|
---|
[f4b5b7] | 57 | ALLLIBS = \
|
---|
[9ee38b] | 58 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[f4b5b7] | 59 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 60 | ${PARSERLIBS} \
|
---|
[255971] | 61 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 62 | ${GSLLIBS}
|
---|
| 63 |
|
---|
[b37436] | 64 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
| 65 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
[4d9c01] | 66 |
|
---|
[9b6b2f] | 67 | TESTSOURCES = \
|
---|
[deddf6] | 68 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
[f7c0c4] | 69 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
[9b6b2f] | 70 | analysisbondsunittest.cpp \
|
---|
| 71 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 72 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 73 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[d766b5] | 74 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
[3c8e8b] | 75 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
[9b6b2f] | 76 | bondgraphunittest.cpp \
|
---|
[77bc4f] | 77 | BoxUnittest.cpp \
|
---|
[e7da1f] | 78 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
[5f612ee] | 79 | CountBondsUnitTest.cpp \
|
---|
[9f632c] | 80 | FormulaUnittest.cpp \
|
---|
[fff54f] | 81 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
[78b593] | 82 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
[45ef76] | 83 | LineUnittest.cpp \
|
---|
[5f612ee] | 84 | LinkedCellUnitTest.cpp \
|
---|
[9b6b2f] | 85 | listofbondsunittest.cpp \
|
---|
| 86 | logunittest.cpp \
|
---|
[fff54f] | 87 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
| 88 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
| 89 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
[57adc7] | 90 | manipulateAtomsTest.cpp \
|
---|
[8bcf3f] | 91 | MenuDescriptionUnitTest.cpp \
|
---|
[57adc7] | 92 | MoleculeDescriptorTest.cpp \
|
---|
| 93 | ObserverTest.cpp \
|
---|
[4fbca9c] | 94 | ParserCommonUnitTest.cpp \
|
---|
| 95 | ParserTremoloUnitTest.cpp \
|
---|
[4eb4fe] | 96 | periodentafelTest.cpp \
|
---|
| 97 | PlaneUnittest.cpp \
|
---|
[e4afb4] | 98 | RegistryUnitTest.cpp \
|
---|
[997784] | 99 | ShapeUnittest.cpp \
|
---|
[c0bccb] | 100 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
[9b6b2f] | 101 | tesselationunittest.cpp \
|
---|
| 102 | tesselation_boundarytriangleunittest.cpp \
|
---|
| 103 | tesselation_insideoutsideunittest.cpp \
|
---|
[bbf1bd] | 104 | VectorContentUnittest.cpp \
|
---|
[57adc7] | 105 | vectorunittest.cpp
|
---|
[9b6b2f] | 106 |
|
---|
| 107 | TESTHEADERS = \
|
---|
[deddf6] | 108 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 109 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[5f612ee] | 110 | analysisbondsunittest.hpp \
|
---|
| 111 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 112 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 113 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 114 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 115 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[5f612ee] | 116 | bondgraphunittest.hpp \
|
---|
[77bc4f] | 117 | BoxUnittest.hpp \
|
---|
[e7da1f] | 118 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
[5f612ee] | 119 | CountBondsUnitTest.hpp \
|
---|
[9f632c] | 120 | FormulaUnittest.hpp \
|
---|
[78b593] | 121 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
| 122 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
[45ef76] | 123 | LineUnittest.hpp \
|
---|
[5f612ee] | 124 | LinkedCellUnitTest.hpp \
|
---|
| 125 | listofbondsunittest.hpp \
|
---|
| 126 | logunittest.hpp \
|
---|
| 127 | manipulateAtomsTest.hpp \
|
---|
[fff54f] | 128 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
| 129 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
| 130 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
[8bcf3f] | 131 | MenuDescriptionUnitTest.hpp \
|
---|
[5f612ee] | 132 | MoleculeDescriptorTest.hpp \
|
---|
[e4afb4] | 133 | ObserverTest.hpp \
|
---|
[4eb4fe] | 134 | periodentafelTest.hpp \
|
---|
[4fbca9c] | 135 | ParserCommonUnitTest.hpp \
|
---|
| 136 | ParserTremoloUnitTest.hpp \
|
---|
[fa5a6a] | 137 | PlaneUnittest.hpp \
|
---|
[e4afb4] | 138 | RegistryUnitTest.hpp \
|
---|
[c0bccb] | 139 | ShapeUnittest.hpp \
|
---|
| 140 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
| 141 | stackclassunittest.hpp \
|
---|
[5f612ee] | 142 | tesselationunittest.hpp \
|
---|
| 143 | tesselation_boundarytriangleunittest.hpp \
|
---|
| 144 | tesselation_insideoutsideunittest.hpp \
|
---|
[bbf1bd] | 145 | VectorContentUnittest.hpp \
|
---|
[5f612ee] | 146 | vectorunittest.hpp
|
---|
[9fb860] | 147 |
|
---|
[9b6b2f] | 148 |
|
---|
| 149 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
[4d9c01] | 150 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
[96c961] | 151 |
|
---|
[9b6b2f] | 152 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 153 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 154 |
|
---|
[9b6b2f] | 155 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 156 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 157 |
|
---|
[9b6b2f] | 158 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 159 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 160 |
|
---|
[9b6b2f] | 161 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
[4d9c01] | 162 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 163 |
|
---|
[77bc4f] | 164 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
| 165 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
| 166 |
|
---|
[5f612ee] | 167 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
| 168 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 169 |
|
---|
[9f632c] | 170 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
| 171 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 172 |
|
---|
[45ef76] | 173 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
| 174 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
| 175 |
|
---|
[4fbca9c] | 176 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 177 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 178 |
|
---|
[9b6b2f] | 179 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
[4d9c01] | 180 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 181 |
|
---|
[4fbca9c] | 182 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
[4d9c01] | 183 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
[7326b2] | 184 |
|
---|
[18eecf] | 185 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
[b37436] | 186 | manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[18eecf] | 187 |
|
---|
[8bcf3f] | 188 | MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
|
---|
| 189 | MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
|
---|
| 190 |
|
---|
[57adc7] | 191 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
| 192 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
| 193 |
|
---|
[18eecf] | 194 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
| 195 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
| 196 |
|
---|
[4fbca9c] | 197 | ParserCommonUnitTest_SOURCES = UnitTestMain.cpp ParserCommonUnitTest.cpp ParserCommonUnitTest.hpp
|
---|
| 198 | ParserCommonUnitTest_LDADD = ${ALLLIBS}
|
---|
| 199 |
|
---|
| 200 | ParserTremoloUnitTest_SOURCES = UnitTestMain.cpp ParserTremoloUnitTest.cpp ParserTremoloUnitTest.hpp
|
---|
| 201 | ParserTremoloUnitTest_LDADD = ${ALLLIBS}
|
---|
[18eecf] | 202 |
|
---|
[4eb4fe] | 203 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
| 204 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
| 205 |
|
---|
[fa5a6a] | 206 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
| 207 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
| 208 |
|
---|
[e4afb4] | 209 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
| 210 | Registry_LDADD = ${ALLLIBS}
|
---|
| 211 |
|
---|
[997784] | 212 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
| 213 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
| 214 |
|
---|
[b4cf2b] | 215 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
[5eec98] | 216 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
[b4cf2b] | 217 |
|
---|
[9b6b2f] | 218 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
[4d9c01] | 219 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 220 |
|
---|
[9b6b2f] | 221 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
[4d9c01] | 222 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 223 |
|
---|
[9b6b2f] | 224 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
[4d9c01] | 225 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 226 |
|
---|
[36166d] | 227 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 228 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 229 |
|
---|
[bbf1bd] | 230 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
| 231 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
| 232 |
|
---|
[18eecf] | 233 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
| 234 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
[7326b2] | 235 |
|
---|
[18eecf] | 236 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|