[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 \
|
---|
[41396a] | 79 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
---|
| 80 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
[f844ef] | 81 | PeriodentafelUnitTest.cpp \
|
---|
[5bc8229] | 82 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
[0b3cbdf] | 83 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
[f844ef] | 84 | TesselationUnitTest.cpp \
|
---|
| 85 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 86 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[dfafe7] | 87 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
| 88 | ../LinearAlgebra/unittests/VectorUnitTest.cpp
|
---|
[9b6b2f] | 89 |
|
---|
| 90 | TESTHEADERS = \
|
---|
[deddf6] | 91 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 92 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[f844ef] | 93 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 94 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 95 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 96 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 97 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 98 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[f844ef] | 99 | BondGraphUnitTest.hpp \
|
---|
| 100 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 101 | CountBondsUnitTest.hpp \
|
---|
[f844ef] | 102 | FormulaUnitTest.hpp \
|
---|
[78b593] | 103 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
[f89024] | 104 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
[5f612ee] | 105 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 106 | ListOfBondsUnitTest.hpp \
|
---|
[efd61b] | 107 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
[fff54f] | 108 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
| 109 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
| 110 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
[0e2031] | 111 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
[6c9adc] | 112 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
[41396a] | 113 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
---|
| 114 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
[f844ef] | 115 | PeriodentafelUnitTest.hpp \
|
---|
[5bc8229] | 116 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
[0b3cbdf] | 117 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
[f844ef] | 118 | TesselationUnitTest.hpp \
|
---|
| 119 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 120 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[dfafe7] | 121 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
| 122 | ../LinearAlgebra/unittests/VectorUnitTest.hpp
|
---|
[9fb860] | 123 |
|
---|
[9b6b2f] | 124 |
|
---|
[f844ef] | 125 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 126 | AnalysisBondsUnitTest.cpp \
|
---|
| 127 | AnalysisBondsUnitTest.hpp
|
---|
| 128 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 129 |
|
---|
[f844ef] | 130 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 131 | analysis_correlation.hpp \
|
---|
| 132 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 133 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 134 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 135 |
|
---|
[f844ef] | 136 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 137 | analysis_correlation.hpp \
|
---|
| 138 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 139 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 140 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 141 |
|
---|
[f844ef] | 142 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 143 | analysis_correlation.hpp \
|
---|
| 144 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 145 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 146 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 147 |
|
---|
[f844ef] | 148 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 149 | BondGraphUnitTest.cpp \
|
---|
| 150 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 151 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 152 |
|
---|
[f844ef] | 153 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 154 | BoxUnitTest.cpp \
|
---|
| 155 | BoxUnitTest.hpp
|
---|
| 156 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 157 |
|
---|
[f844ef] | 158 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 159 | CountBondsUnitTest.cpp \
|
---|
| 160 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 161 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 162 |
|
---|
[f844ef] | 163 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 164 | FormulaUnitTest.cpp \
|
---|
| 165 | FormulaUnitTest.hpp
|
---|
[9f632c] | 166 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 167 |
|
---|
[f844ef] | 168 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 169 | LinkedCellUnitTest.cpp \
|
---|
| 170 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 171 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 172 |
|
---|
[f844ef] | 173 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 174 | ListOfBondsUnitTest.cpp \
|
---|
| 175 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 176 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 177 |
|
---|
[f844ef] | 178 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 179 | PeriodentafelUnitTest.cpp \
|
---|
| 180 | PeriodentafelUnitTest.hpp
|
---|
| 181 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 182 |
|
---|
[f844ef] | 183 | SubspaceFactorizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 184 | SubspaceFactorizerUnitTest.cpp \
|
---|
| 185 | SubspaceFactorizerUnitTest.hpp
|
---|
[5eec98] | 186 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
[b4cf2b] | 187 |
|
---|
[f844ef] | 188 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 189 | TesselationUnitTest.cpp \
|
---|
| 190 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 191 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 192 |
|
---|
[f844ef] | 193 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 194 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 195 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 196 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 197 |
|
---|
[f844ef] | 198 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 199 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 200 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 201 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 202 |
|
---|
[36166d] | 203 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 204 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 205 |
|
---|
[18eecf] | 206 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|