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