| 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
|---|
| 2 | # Also indentation by a single tab
|
|---|
| 3 |
|
|---|
| 4 | SUBDIRS = \
|
|---|
| 5 | ../Actions/unittests \
|
|---|
| 6 | ../Descriptors/unittests \
|
|---|
| 7 | ../LinearAlgebra/unittests \
|
|---|
| 8 | ../Parser/unittests \
|
|---|
| 9 | ../RandomNumbers/unittests \
|
|---|
| 10 | ../Shapes/unittests \
|
|---|
| 11 | ../UIElements/CommandLineUI/unittests \
|
|---|
| 12 | ../UIElements/Menu/unittests
|
|---|
| 13 |
|
|---|
| 14 | INCLUDES = -I$(top_srcdir)/src
|
|---|
| 15 |
|
|---|
| 16 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
|---|
| 17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
|---|
| 18 |
|
|---|
| 19 | TESTS = \
|
|---|
| 20 | AnalysisBondsUnitTest \
|
|---|
| 21 | AnalysisCorrelationToPointUnitTest \
|
|---|
| 22 | AnalysisCorrelationToSurfaceUnitTest \
|
|---|
| 23 | AnalysisPairCorrelationUnitTest \
|
|---|
| 24 | BondGraphUnitTest \
|
|---|
| 25 | BoxUnitTest \
|
|---|
| 26 | CountBondsUnitTest \
|
|---|
| 27 | FormulaUnittest \
|
|---|
| 28 | LinkedCellUnitTest \
|
|---|
| 29 | ListOfBondsUnitTest \
|
|---|
| 30 | PeriodentafelUnitTest \
|
|---|
| 31 | TesselationUnitTest \
|
|---|
| 32 | Tesselation_BoundaryTriangleUnitTest \
|
|---|
| 33 | Tesselation_InOutsideUnitTest \
|
|---|
| 34 | WorldTimeUnitTest
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | check_PROGRAMS = $(TESTS)
|
|---|
| 38 | noinst_PROGRAMS = $(TESTS) TestRunner
|
|---|
| 39 |
|
|---|
| 40 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
|---|
| 41 | GSLLIBS = \
|
|---|
| 42 | ../Shapes/libMolecuilderShapes.la \
|
|---|
| 43 | ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
|
|---|
| 44 | ../Exceptions/libMolecuilderExceptions.la \
|
|---|
| 45 | ../RandomNumbers/libMolecuilderRandomNumbers.la \
|
|---|
| 46 | $(BOOST_LIB)
|
|---|
| 47 | ALLLIBS = \
|
|---|
| 48 | ../UIElements/libMolecuilderUI.la \
|
|---|
| 49 | ../Actions/libMolecuilderActions.la \
|
|---|
| 50 | ${PARSERLIBS} \
|
|---|
| 51 | ../libMolecuilder.la \
|
|---|
| 52 | ${GSLLIBS}
|
|---|
| 53 |
|
|---|
| 54 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
|---|
| 55 | UILIBS = ../UIElements/libMolecuilderUI.la
|
|---|
| 56 |
|
|---|
| 57 | TESTSOURCES = \
|
|---|
| 58 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
|---|
| 59 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
|---|
| 60 | AnalysisBondsUnitTest.cpp \
|
|---|
| 61 | AnalysisCorrelationToPointUnitTest.cpp \
|
|---|
| 62 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
|---|
| 63 | AnalysisPairCorrelationUnitTest.cpp \
|
|---|
| 64 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
|---|
| 65 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
|---|
| 66 | BondGraphUnitTest.cpp \
|
|---|
| 67 | BoxUnitTest.cpp \
|
|---|
| 68 | CountBondsUnitTest.cpp \
|
|---|
| 69 | FormulaUnitTest.cpp \
|
|---|
| 70 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
|---|
| 71 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
|---|
| 72 | LinkedCellUnitTest.cpp \
|
|---|
| 73 | ListOfBondsUnitTest.cpp \
|
|---|
| 74 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
|---|
| 75 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
|---|
| 76 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
|---|
| 77 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
|---|
| 78 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.cpp \
|
|---|
| 79 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
|---|
| 80 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
|---|
| 81 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
|---|
| 82 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
|---|
| 83 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
|---|
| 84 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
|---|
| 85 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
|---|
| 86 | PeriodentafelUnitTest.cpp \
|
|---|
| 87 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
|---|
| 88 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
|---|
| 89 | TesselationUnitTest.cpp \
|
|---|
| 90 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
|---|
| 91 | Tesselation_InsideOutsideUnitTest.cpp \
|
|---|
| 92 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
|---|
| 93 | ../LinearAlgebra/unittests/VectorUnitTest.cpp \
|
|---|
| 94 | WorldTimeUnitTest.cpp
|
|---|
| 95 |
|
|---|
| 96 | TESTHEADERS = \
|
|---|
| 97 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
|---|
| 98 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
|---|
| 99 | AnalysisBondsUnitTest.hpp \
|
|---|
| 100 | AnalysisCorrelationToPointUnitTest.hpp \
|
|---|
| 101 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
|---|
| 102 | AnalysisPairCorrelationUnitTest.hpp \
|
|---|
| 103 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
|---|
| 104 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
|---|
| 105 | BondGraphUnitTest.hpp \
|
|---|
| 106 | BoxUnitTest.hpp \
|
|---|
| 107 | CountBondsUnitTest.hpp \
|
|---|
| 108 | FormulaUnitTest.hpp \
|
|---|
| 109 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
|---|
| 110 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
|---|
| 111 | LinkedCellUnitTest.hpp \
|
|---|
| 112 | ListOfBondsUnitTest.hpp \
|
|---|
| 113 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
|---|
| 114 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
|---|
| 115 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
|---|
| 116 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
|---|
| 117 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.hpp \
|
|---|
| 118 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
|---|
| 119 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
|---|
| 120 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
|---|
| 121 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
|---|
| 122 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
|---|
| 123 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
|---|
| 124 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
|---|
| 125 | PeriodentafelUnitTest.hpp \
|
|---|
| 126 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
|---|
| 127 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
|---|
| 128 | TesselationUnitTest.hpp \
|
|---|
| 129 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
|---|
| 130 | Tesselation_InsideOutsideUnitTest.hpp \
|
|---|
| 131 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
|---|
| 132 | ../LinearAlgebra/unittests/VectorUnitTest.hpp \
|
|---|
| 133 | WorldTimeUnitTest.hpp
|
|---|
| 134 |
|
|---|
| 135 |
|
|---|
| 136 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 137 | AnalysisBondsUnitTest.cpp \
|
|---|
| 138 | AnalysisBondsUnitTest.hpp
|
|---|
| 139 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 140 |
|
|---|
| 141 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 142 | analysis_correlation.hpp \
|
|---|
| 143 | AnalysisCorrelationToPointUnitTest.cpp \
|
|---|
| 144 | AnalysisCorrelationToPointUnitTest.hpp
|
|---|
| 145 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 146 |
|
|---|
| 147 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 148 | analysis_correlation.hpp \
|
|---|
| 149 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
|---|
| 150 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
|---|
| 151 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 152 |
|
|---|
| 153 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 154 | analysis_correlation.hpp \
|
|---|
| 155 | AnalysisPairCorrelationUnitTest.cpp \
|
|---|
| 156 | AnalysisPairCorrelationUnitTest.hpp
|
|---|
| 157 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 158 |
|
|---|
| 159 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 160 | BondGraphUnitTest.cpp \
|
|---|
| 161 | BondGraphUnitTest.hpp
|
|---|
| 162 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 163 |
|
|---|
| 164 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 165 | BoxUnitTest.cpp \
|
|---|
| 166 | BoxUnitTest.hpp
|
|---|
| 167 | BoxUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 168 |
|
|---|
| 169 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 170 | CountBondsUnitTest.cpp \
|
|---|
| 171 | CountBondsUnitTest.hpp
|
|---|
| 172 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 173 |
|
|---|
| 174 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 175 | FormulaUnitTest.cpp \
|
|---|
| 176 | FormulaUnitTest.hpp
|
|---|
| 177 | FormulaUnittest_LDADD = ${ALLLIBS}
|
|---|
| 178 |
|
|---|
| 179 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 180 | LinkedCellUnitTest.cpp \
|
|---|
| 181 | LinkedCellUnitTest.hpp
|
|---|
| 182 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 183 |
|
|---|
| 184 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 185 | ListOfBondsUnitTest.cpp \
|
|---|
| 186 | ListOfBondsUnitTest.hpp
|
|---|
| 187 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 188 |
|
|---|
| 189 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 190 | PeriodentafelUnitTest.cpp \
|
|---|
| 191 | PeriodentafelUnitTest.hpp
|
|---|
| 192 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 193 |
|
|---|
| 194 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 195 | TesselationUnitTest.cpp \
|
|---|
| 196 | TesselationUnitTest.hpp
|
|---|
| 197 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 198 |
|
|---|
| 199 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 200 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
|---|
| 201 | Tesselation_BoundaryTriangleUnitTest.hpp
|
|---|
| 202 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 203 |
|
|---|
| 204 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 205 | Tesselation_InsideOutsideUnitTest.cpp \
|
|---|
| 206 | Tesselation_InsideOutsideUnitTest.hpp
|
|---|
| 207 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 208 |
|
|---|
| 209 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
|---|
| 210 | WorldTimeUnitTest.cpp \
|
|---|
| 211 | WorldTimeUnitTest.hpp \
|
|---|
| 212 | ../WorldTime.cpp \
|
|---|
| 213 | ../WorldTime.hpp
|
|---|
| 214 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
|---|
| 215 |
|
|---|
| 216 |
|
|---|
| 217 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 218 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
|---|
| 219 |
|
|---|
| 220 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|