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