[18eecf] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[455573] | 4 | check_PROGRAMS =
|
---|
| 5 | noinst_PROGRAMS =
|
---|
| 6 | TESTS =
|
---|
| 7 |
|
---|
| 8 | include ../../src/Actions/unittests/Makefile.am
|
---|
| 9 | include ../../src/Descriptors/unittests/Makefile.am
|
---|
[feb7df] | 10 | include ../../src/Fragmentation/unittests/Makefile.am
|
---|
[455573] | 11 | include ../../src/Parser/unittests/Makefile.am
|
---|
| 12 | include ../../src/RandomNumbers/unittests/Makefile.am
|
---|
| 13 | include ../../src/Shapes/unittests/Makefile.am
|
---|
| 14 | include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
|
---|
| 15 | include ../../src/UIElements/Menu/unittests/Makefile.am
|
---|
[c0bccb] | 16 |
|
---|
[bf4b9f] | 17 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
---|
[b9907c] | 18 |
|
---|
[f08ae7] | 19 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
[a0064e] | 20 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
[be90f1] | 21 |
|
---|
[455573] | 22 | GENERALTESTS = \
|
---|
[f844ef] | 23 | AnalysisBondsUnitTest \
|
---|
[9fb860] | 24 | AnalysisCorrelationToPointUnitTest \
|
---|
| 25 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
| 26 | AnalysisPairCorrelationUnitTest \
|
---|
| 27 | BondGraphUnitTest \
|
---|
[f844ef] | 28 | BoxUnitTest \
|
---|
[dfe8ef] | 29 | CountBondsUnitTest \
|
---|
[d7d022] | 30 | ElementUnitTest \
|
---|
[9f632c] | 31 | FormulaUnittest \
|
---|
[dcea0f] | 32 | LinkedCellUnitTest \
|
---|
[9fb860] | 33 | ListOfBondsUnitTest \
|
---|
[f844ef] | 34 | PeriodentafelUnitTest \
|
---|
[9fb860] | 35 | TesselationUnitTest \
|
---|
[e9c677] | 36 | Tesselation_BoundaryTriangleUnitTest \
|
---|
[f649de] | 37 | Tesselation_InOutsideUnitTest \
|
---|
| 38 | WorldTimeUnitTest
|
---|
[4fbca9c] | 39 |
|
---|
[455573] | 40 | # these ones are checked
|
---|
| 41 | TESTS += $(GENERALTESTS)
|
---|
| 42 | # these ones are built for checking only
|
---|
| 43 | check_PROGRAMS += $(GENERALTESTS)
|
---|
| 44 | # ... and not installed
|
---|
| 45 | noinst_PROGRAMS += $(GENERALTESTS) TestRunner
|
---|
[b9907c] | 46 |
|
---|
[f08ae7] | 47 | BOOST_LIB = \
|
---|
| 48 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
[d7d022] | 49 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
|
---|
| 50 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
[455573] | 51 |
|
---|
[f4b5b7] | 52 | ALLLIBS = \
|
---|
[455573] | 53 | ../libMolecuilderUI.la \
|
---|
[acbe1b] | 54 | ../libMolecuilder.la \
|
---|
[455573] | 55 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
| 56 | ${CodePatterns_LIBS} \
|
---|
| 57 | $(BOOST_LIB)
|
---|
[4d9c01] | 58 |
|
---|
[9b6b2f] | 59 | TESTSOURCES = \
|
---|
[455573] | 60 | ${ACTIONTESTSSOURCES} \
|
---|
| 61 | ${DESCRIPTORTESTSSOURCES} \
|
---|
[feb7df] | 62 | ${FRAGMENTATIONTESTSSOURCES} \
|
---|
[455573] | 63 | ${LINEARALGEBRATESTSSOURCES} \
|
---|
| 64 | ${PARSERTESTSSOURCES} \
|
---|
| 65 | ${RANDOMNUMBERTESTSSOURCES} \
|
---|
| 66 | ${SHAPETESTSSOURCES} \
|
---|
| 67 | $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
|
---|
| 68 | ${UIELEMENTSMENUTESTSSOURCES} \
|
---|
[f844ef] | 69 | AnalysisBondsUnitTest.cpp \
|
---|
[9b6b2f] | 70 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 71 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 72 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[f844ef] | 73 | BondGraphUnitTest.cpp \
|
---|
| 74 | BoxUnitTest.cpp \
|
---|
[5f612ee] | 75 | CountBondsUnitTest.cpp \
|
---|
[d7d022] | 76 | ElementUnitTest.cpp \
|
---|
[f844ef] | 77 | FormulaUnitTest.cpp \
|
---|
[5f612ee] | 78 | LinkedCellUnitTest.cpp \
|
---|
[f844ef] | 79 | ListOfBondsUnitTest.cpp \
|
---|
| 80 | PeriodentafelUnitTest.cpp \
|
---|
| 81 | TesselationUnitTest.cpp \
|
---|
| 82 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 83 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
[f649de] | 84 | WorldTimeUnitTest.cpp
|
---|
[9b6b2f] | 85 |
|
---|
| 86 | TESTHEADERS = \
|
---|
[455573] | 87 | ${ACTIONTESTSHEADERS} \
|
---|
| 88 | ${DESCRIPTORTESTSHEADERS} \
|
---|
[feb7df] | 89 | ${FRAGMENTATIONTESTSHEADERS} \
|
---|
[455573] | 90 | ${LINEARALGEBRATESTSHEADERS} \
|
---|
| 91 | ${PARSERTESTSHEADERS} \
|
---|
| 92 | ${RANDOMNUMBERTESTSHEADERS} \
|
---|
| 93 | ${SHAPETESTSHEADERS} \
|
---|
| 94 | $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
|
---|
| 95 | ${UIELEMENTSMENUTESTSHEADERS} \
|
---|
[f844ef] | 96 | AnalysisBondsUnitTest.hpp \
|
---|
[5f612ee] | 97 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 98 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 99 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
[f844ef] | 100 | BondGraphUnitTest.hpp \
|
---|
| 101 | BoxUnitTest.hpp \
|
---|
[5f612ee] | 102 | CountBondsUnitTest.hpp \
|
---|
[d7d022] | 103 | ElementUnitTest.hpp \
|
---|
[f844ef] | 104 | FormulaUnitTest.hpp \
|
---|
[5f612ee] | 105 | LinkedCellUnitTest.hpp \
|
---|
[f844ef] | 106 | ListOfBondsUnitTest.hpp \
|
---|
| 107 | PeriodentafelUnitTest.hpp \
|
---|
| 108 | TesselationUnitTest.hpp \
|
---|
| 109 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
| 110 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
[bf4b9f] | 111 | WorldTimeUnitTest.hpp
|
---|
[9fb860] | 112 |
|
---|
[9b6b2f] | 113 |
|
---|
[f844ef] | 114 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 115 | AnalysisBondsUnitTest.cpp \
|
---|
| 116 | AnalysisBondsUnitTest.hpp
|
---|
| 117 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[96c961] | 118 |
|
---|
[f844ef] | 119 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 120 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 121 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 122 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 123 |
|
---|
[f844ef] | 124 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 125 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 126 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 127 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 128 |
|
---|
[f844ef] | 129 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 130 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 131 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 132 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 133 |
|
---|
[f844ef] | 134 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 135 | BondGraphUnitTest.cpp \
|
---|
| 136 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 137 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 138 |
|
---|
[f844ef] | 139 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 140 | BoxUnitTest.cpp \
|
---|
| 141 | BoxUnitTest.hpp
|
---|
| 142 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 143 |
|
---|
[f844ef] | 144 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 145 | CountBondsUnitTest.cpp \
|
---|
| 146 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 147 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 148 |
|
---|
[d7d022] | 149 | ElementUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 150 | ElementUnitTest.cpp \
|
---|
| 151 | ../element.cpp \
|
---|
| 152 | ElementUnitTest.hpp \
|
---|
| 153 | ../element.hpp
|
---|
| 154 | ElementUnitTest_LDADD = \
|
---|
| 155 | $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
|
---|
| 156 |
|
---|
[f844ef] | 157 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 158 | FormulaUnitTest.cpp \
|
---|
| 159 | FormulaUnitTest.hpp
|
---|
[9f632c] | 160 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 161 |
|
---|
[f844ef] | 162 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 163 | LinkedCellUnitTest.cpp \
|
---|
| 164 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 165 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 166 |
|
---|
[f844ef] | 167 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 168 | ListOfBondsUnitTest.cpp \
|
---|
| 169 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 170 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 171 |
|
---|
[f844ef] | 172 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 173 | PeriodentafelUnitTest.cpp \
|
---|
| 174 | PeriodentafelUnitTest.hpp
|
---|
| 175 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 176 |
|
---|
[f844ef] | 177 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 178 | TesselationUnitTest.cpp \
|
---|
| 179 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 180 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 181 |
|
---|
[f844ef] | 182 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 183 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 184 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 185 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 186 |
|
---|
[f844ef] | 187 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 188 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 189 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 190 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 191 |
|
---|
[f649de] | 192 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 193 | WorldTimeUnitTest.cpp \
|
---|
| 194 | WorldTimeUnitTest.hpp \
|
---|
| 195 | ../WorldTime.cpp \
|
---|
| 196 | ../WorldTime.hpp
|
---|
| 197 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
| 198 |
|
---|
| 199 |
|
---|
[36166d] | 200 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 201 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 202 |
|
---|
[18eecf] | 203 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|