| 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 | ../Helpers/unittests \
|
|---|
| 8 | ../LinearAlgebra/unittests \
|
|---|
| 9 | ../Parser/unittests \
|
|---|
| 10 | ../Patterns/unittests \
|
|---|
| 11 | ../UIElements/Menu/unittests
|
|---|
| 12 |
|
|---|
| 13 | INCLUDES = -I$(top_srcdir)/src
|
|---|
| 14 |
|
|---|
| 15 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
|---|
| 16 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
|---|
| 17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
|---|
| 18 |
|
|---|
| 19 | TESTS = \
|
|---|
| 20 | AnalysisBondsUnitTests \
|
|---|
| 21 | AnalysisCorrelationToPointUnitTest \
|
|---|
| 22 | AnalysisCorrelationToSurfaceUnitTest \
|
|---|
| 23 | AnalysisPairCorrelationUnitTest \
|
|---|
| 24 | BondGraphUnitTest \
|
|---|
| 25 | BoxUnittest \
|
|---|
| 26 | CountBondsUnitTest \
|
|---|
| 27 | FormulaUnittest \
|
|---|
| 28 | LinkedCellUnitTest \
|
|---|
| 29 | ListOfBondsUnitTest \
|
|---|
| 30 | periodentafelTest \
|
|---|
| 31 | SubspaceFactorizerUnitTest \
|
|---|
| 32 | TesselationUnitTest \
|
|---|
| 33 | Tesselation_BoundaryTriangleUnitTest \
|
|---|
| 34 | Tesselation_InOutsideUnitTest
|
|---|
| 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 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 43 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 44 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 45 | $(BOOST_LIB)
|
|---|
| 46 | ALLLIBS = \
|
|---|
| 47 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 48 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 49 | ${PARSERLIBS} \
|
|---|
| 50 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
|---|
| 51 | ${GSLLIBS}
|
|---|
| 52 |
|
|---|
| 53 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
|---|
| 54 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.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 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
|---|
| 68 | CountBondsUnitTest.cpp \
|
|---|
| 69 | FormulaUnittest.cpp \
|
|---|
| 70 | ../Helpers/unittests/InfoUnitTest.cpp \
|
|---|
| 71 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
|---|
| 72 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
|---|
| 73 | LinkedCellUnitTest.cpp \
|
|---|
| 74 | listofbondsunittest.cpp \
|
|---|
| 75 | ../Helpers/unittests/LogUnitTest.cpp \
|
|---|
| 76 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
|---|
| 77 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
|---|
| 78 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
|---|
| 79 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
|---|
| 80 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
|---|
| 81 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
|---|
| 82 | ../Patterns/unittests/ObserverUnitTest.cpp \
|
|---|
| 83 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
|---|
| 84 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
|---|
| 85 | periodentafelTest.cpp \
|
|---|
| 86 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
|---|
| 87 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
|---|
| 88 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
|---|
| 89 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
|---|
| 90 | tesselationunittest.cpp \
|
|---|
| 91 | tesselation_boundarytriangleunittest.cpp \
|
|---|
| 92 | tesselation_insideoutsideunittest.cpp \
|
|---|
| 93 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
|---|
| 94 | ../LinearAlgebra/unittests/VectorUnitTest.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 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
|---|
| 108 | CountBondsUnitTest.hpp \
|
|---|
| 109 | FormulaUnittest.hpp \
|
|---|
| 110 | ../Helpers/unittests/InfoUnitTest.hpp \
|
|---|
| 111 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
|---|
| 112 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
|---|
| 113 | LinkedCellUnitTest.hpp \
|
|---|
| 114 | listofbondsunittest.hpp \
|
|---|
| 115 | ../Helpers/unittests/LogUnitTest.hpp \
|
|---|
| 116 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
|---|
| 117 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
|---|
| 118 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
|---|
| 119 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
|---|
| 120 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
|---|
| 121 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
|---|
| 122 | ../Patterns/unittests/ObserverUnitTest.hpp \
|
|---|
| 123 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
|---|
| 124 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
|---|
| 125 | periodentafelTest.hpp \
|
|---|
| 126 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
|---|
| 127 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
|---|
| 128 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
|---|
| 129 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
|---|
| 130 | stackclassunittest.hpp \
|
|---|
| 131 | tesselationunittest.hpp \
|
|---|
| 132 | tesselation_boundarytriangleunittest.hpp \
|
|---|
| 133 | tesselation_insideoutsideunittest.hpp \
|
|---|
| 134 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
|---|
| 135 | ../LinearAlgebra/unittests/VectorUnitTest.hpp
|
|---|
| 136 |
|
|---|
| 137 |
|
|---|
| 138 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
|---|
| 139 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
|---|
| 140 |
|
|---|
| 141 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
|---|
| 142 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 143 |
|
|---|
| 144 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
|---|
| 145 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 146 |
|
|---|
| 147 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
|---|
| 148 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 149 |
|
|---|
| 150 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
|---|
| 151 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 152 |
|
|---|
| 153 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
|---|
| 154 | BoxUnittest_LDADD = ${ALLLIBS}
|
|---|
| 155 |
|
|---|
| 156 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
|---|
| 157 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 158 |
|
|---|
| 159 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
|---|
| 160 | FormulaUnittest_LDADD = ${ALLLIBS}
|
|---|
| 161 |
|
|---|
| 162 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
|---|
| 163 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 164 |
|
|---|
| 165 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
|---|
| 166 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 167 |
|
|---|
| 168 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
|---|
| 169 | periodentafelTest_LDADD = ${ALLLIBS}
|
|---|
| 170 |
|
|---|
| 171 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
|---|
| 172 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
|---|
| 173 |
|
|---|
| 174 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
|---|
| 175 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 176 |
|
|---|
| 177 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
|---|
| 178 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 179 |
|
|---|
| 180 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
|---|
| 181 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
|---|
| 182 |
|
|---|
| 183 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
|---|
| 184 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
|---|
| 185 |
|
|---|
| 186 | #AUTOMAKE_OPTIONS = parallel-tests
|
|---|