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