[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 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 112 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 113 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 114 |
|
---|
[f844ef] | 115 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 116 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 117 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 118 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 119 |
|
---|
[f844ef] | 120 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 121 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
| 122 | AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 123 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 124 |
|
---|
[f844ef] | 125 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 126 | BondGraphUnitTest.cpp \
|
---|
| 127 | BondGraphUnitTest.hpp
|
---|
[4d9c01] | 128 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 129 |
|
---|
[f844ef] | 130 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 131 | BoxUnitTest.cpp \
|
---|
| 132 | BoxUnitTest.hpp
|
---|
| 133 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
[77bc4f] | 134 |
|
---|
[f844ef] | 135 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 136 | CountBondsUnitTest.cpp \
|
---|
| 137 | CountBondsUnitTest.hpp
|
---|
[5f612ee] | 138 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 139 |
|
---|
[f844ef] | 140 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 141 | FormulaUnitTest.cpp \
|
---|
| 142 | FormulaUnitTest.hpp
|
---|
[9f632c] | 143 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 144 |
|
---|
[f844ef] | 145 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 146 | LinkedCellUnitTest.cpp \
|
---|
| 147 | LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 148 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 149 |
|
---|
[f844ef] | 150 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 151 | ListOfBondsUnitTest.cpp \
|
---|
| 152 | ListOfBondsUnitTest.hpp
|
---|
[4d9c01] | 153 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 154 |
|
---|
[f844ef] | 155 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 156 | PeriodentafelUnitTest.cpp \
|
---|
| 157 | PeriodentafelUnitTest.hpp
|
---|
| 158 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
[4eb4fe] | 159 |
|
---|
[f844ef] | 160 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 161 | TesselationUnitTest.cpp \
|
---|
| 162 | TesselationUnitTest.hpp
|
---|
[4d9c01] | 163 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 164 |
|
---|
[f844ef] | 165 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 166 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
| 167 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
[4d9c01] | 168 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 169 |
|
---|
[f844ef] | 170 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 171 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
| 172 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
[4d9c01] | 173 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 174 |
|
---|
[f649de] | 175 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
| 176 | WorldTimeUnitTest.cpp \
|
---|
| 177 | WorldTimeUnitTest.hpp \
|
---|
| 178 | ../WorldTime.cpp \
|
---|
| 179 | ../WorldTime.hpp
|
---|
| 180 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
| 181 |
|
---|
| 182 |
|
---|
[36166d] | 183 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 184 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 185 |
|
---|
[18eecf] | 186 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|