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