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