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