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