[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 \
|
---|
[41396a] | 7 | ../Parser/unittests \
|
---|
[3f9eba] | 8 | ../RandomNumbers/unittests \
|
---|
[6d2207] | 9 | ../Shapes/unittests \
|
---|
[19290f] | 10 | ../UIElements/CommandLineUI/unittests \
|
---|
[0e2031] | 11 | ../UIElements/Menu/unittests
|
---|
[c0bccb] | 12 |
|
---|
[bf4b9f] | 13 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
---|
[b9907c] | 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 \
|
---|
[9fb860] | 30 | TesselationUnitTest \
|
---|
[e9c677] | 31 | Tesselation_BoundaryTriangleUnitTest \
|
---|
[f649de] | 32 | Tesselation_InOutsideUnitTest \
|
---|
| 33 | WorldTimeUnitTest
|
---|
[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 \
|
---|
[bf4b9f] | 42 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
[1ee3b8d] | 43 | ../RandomNumbers/libMolecuilderRandomNumbers.la \
|
---|
[e4decc] | 44 | $(BOOST_LIB)
|
---|
[f4b5b7] | 45 | ALLLIBS = \
|
---|
[acbe1b] | 46 | ../UIElements/libMolecuilderUI.la \
|
---|
| 47 | ../Actions/libMolecuilderActions.la \
|
---|
[952f38] | 48 | ${PARSERLIBS} \
|
---|
[acbe1b] | 49 | ../libMolecuilder.la \
|
---|
[e4decc] | 50 | ${GSLLIBS}
|
---|
| 51 |
|
---|
[acbe1b] | 52 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
---|
| 53 | UILIBS = ../UIElements/libMolecuilderUI.la
|
---|
[4d9c01] | 54 |
|
---|
[9b6b2f] | 55 | TESTSOURCES = \
|
---|
[deddf6] | 56 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
[f7c0c4] | 57 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
[f844ef] | 58 | AnalysisBondsUnitTest.cpp \
|
---|
[9b6b2f] | 59 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 60 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 61 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[d766b5] | 62 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
[3c8e8b] | 63 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
[f844ef] | 64 | BondGraphUnitTest.cpp \
|
---|
| 65 | BoxUnitTest.cpp \
|
---|
[5f612ee] | 66 | CountBondsUnitTest.cpp \
|
---|
[f844ef] | 67 | FormulaUnitTest.cpp \
|
---|
[5f612ee] | 68 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 69 | ListOfBondsUnitTest.cpp \
|
---|
[efd61b] | 70 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
[19290f] | 71 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.cpp \
|
---|
[0e2031] | 72 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
[6c9adc] | 73 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
[9e4fd1] | 74 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
---|
| 75 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
---|
| 76 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
---|
[41396a] | 77 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
[9e4fd1] | 78 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
---|
[f844ef] | 79 | PeriodentafelUnitTest.cpp \
|
---|
[0b3cbdf] | 80 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
[f844ef] | 81 | TesselationUnitTest.cpp \
|
---|
| 82 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 83 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[f649de] | 84 | WorldTimeUnitTest.cpp
|
---|
[9b6b2f] | 85 |
|
---|
| 86 | TESTHEADERS = \
|
---|
[deddf6] | 87 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 88 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[f844ef] | 89 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 90 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 91 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 92 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[d766b5] | 93 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
[3c8e8b] | 94 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
[f844ef] | 95 | BondGraphUnitTest.hpp \
|
---|
| 96 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 97 | CountBondsUnitTest.hpp \
|
---|
[f844ef] | 98 | FormulaUnitTest.hpp \
|
---|
[5f612ee] | 99 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 100 | ListOfBondsUnitTest.hpp \
|
---|
[efd61b] | 101 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
[19290f] | 102 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.hpp \
|
---|
[0e2031] | 103 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
[6c9adc] | 104 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
[9e4fd1] | 105 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
---|
| 106 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
---|
| 107 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
---|
[41396a] | 108 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
[9e4fd1] | 109 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
---|
[f844ef] | 110 | PeriodentafelUnitTest.hpp \
|
---|
[0b3cbdf] | 111 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
[f844ef] | 112 | TesselationUnitTest.hpp \
|
---|
| 113 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 114 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[bf4b9f] | 115 | WorldTimeUnitTest.hpp
|
---|
[9fb860] | 116 |
|
---|
[9b6b2f] | 117 |
|
---|
[f844ef] | 118 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 119 | AnalysisBondsUnitTest.cpp \
|
---|
| 120 | AnalysisBondsUnitTest.hpp
|
---|
| 121 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 122 |
|
---|
[f844ef] | 123 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 124 | analysis_correlation.hpp \
|
---|
| 125 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 126 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 127 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 128 |
|
---|
[f844ef] | 129 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 130 | analysis_correlation.hpp \
|
---|
| 131 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 132 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 133 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 134 |
|
---|
[f844ef] | 135 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 136 | analysis_correlation.hpp \
|
---|
| 137 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 138 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 139 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 140 |
|
---|
[f844ef] | 141 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 142 | BondGraphUnitTest.cpp \
|
---|
| 143 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 144 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 145 |
|
---|
[f844ef] | 146 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 147 | BoxUnitTest.cpp \
|
---|
| 148 | BoxUnitTest.hpp
|
---|
| 149 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 150 |
|
---|
[f844ef] | 151 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 152 | CountBondsUnitTest.cpp \
|
---|
| 153 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 154 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 155 |
|
---|
[f844ef] | 156 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 157 | FormulaUnitTest.cpp \
|
---|
| 158 | FormulaUnitTest.hpp
|
---|
[9f632c] | 159 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 160 |
|
---|
[f844ef] | 161 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 162 | LinkedCellUnitTest.cpp \
|
---|
| 163 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 164 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 165 |
|
---|
[f844ef] | 166 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 167 | ListOfBondsUnitTest.cpp \
|
---|
| 168 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 169 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 170 |
|
---|
[f844ef] | 171 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 172 | PeriodentafelUnitTest.cpp \
|
---|
| 173 | PeriodentafelUnitTest.hpp
|
---|
| 174 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 175 |
|
---|
[f844ef] | 176 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 177 | TesselationUnitTest.cpp \
|
---|
| 178 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 179 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 180 |
|
---|
[f844ef] | 181 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 182 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 183 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 184 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 185 |
|
---|
[f844ef] | 186 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 187 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 188 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 189 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 190 |
|
---|
[f649de] | 191 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 192 | WorldTimeUnitTest.cpp \
|
---|
| 193 | WorldTimeUnitTest.hpp \
|
---|
| 194 | ../WorldTime.cpp \
|
---|
| 195 | ../WorldTime.hpp
|
---|
| 196 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
| 197 |
|
---|
| 198 |
|
---|
[36166d] | 199 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 200 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 201 |
|
---|
[18eecf] | 202 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|