1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
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
|
---|
15 |
|
---|
16 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
---|
17 |
|
---|
18 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
19 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
20 |
|
---|
21 | GENERALTESTS = \
|
---|
22 | AnalysisBondsUnitTest \
|
---|
23 | AnalysisCorrelationToPointUnitTest \
|
---|
24 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
25 | AnalysisPairCorrelationUnitTest \
|
---|
26 | BondGraphUnitTest \
|
---|
27 | BoxUnitTest \
|
---|
28 | CountBondsUnitTest \
|
---|
29 | FormulaUnittest \
|
---|
30 | LinkedCellUnitTest \
|
---|
31 | ListOfBondsUnitTest \
|
---|
32 | PeriodentafelUnitTest \
|
---|
33 | TesselationUnitTest \
|
---|
34 | Tesselation_BoundaryTriangleUnitTest \
|
---|
35 | Tesselation_InOutsideUnitTest \
|
---|
36 | WorldTimeUnitTest
|
---|
37 |
|
---|
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
|
---|
44 |
|
---|
45 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
46 |
|
---|
47 | ALLLIBS = \
|
---|
48 | ../libMolecuilderUI.la \
|
---|
49 | ../libMolecuilder.la \
|
---|
50 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
51 | ${CodePatterns_LIBS} \
|
---|
52 | $(BOOST_LIB)
|
---|
53 |
|
---|
54 | TESTSOURCES = \
|
---|
55 | ${ACTIONTESTSSOURCES} \
|
---|
56 | ${DESCRIPTORTESTSSOURCES} \
|
---|
57 | ${LINEARALGEBRATESTSSOURCES} \
|
---|
58 | ${PARSERTESTSSOURCES} \
|
---|
59 | ${RANDOMNUMBERTESTSSOURCES} \
|
---|
60 | ${SHAPETESTSSOURCES} \
|
---|
61 | $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
|
---|
62 | ${UIELEMENTSMENUTESTSSOURCES} \
|
---|
63 | AnalysisBondsUnitTest.cpp \
|
---|
64 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
65 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
66 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
67 | BondGraphUnitTest.cpp \
|
---|
68 | BoxUnitTest.cpp \
|
---|
69 | CountBondsUnitTest.cpp \
|
---|
70 | FormulaUnitTest.cpp \
|
---|
71 | LinkedCellUnitTest.cpp \
|
---|
72 | ListOfBondsUnitTest.cpp \
|
---|
73 | PeriodentafelUnitTest.cpp \
|
---|
74 | TesselationUnitTest.cpp \
|
---|
75 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
76 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
77 | WorldTimeUnitTest.cpp
|
---|
78 |
|
---|
79 | TESTHEADERS = \
|
---|
80 | ${ACTIONTESTSHEADERS} \
|
---|
81 | ${DESCRIPTORTESTSHEADERS} \
|
---|
82 | ${LINEARALGEBRATESTSHEADERS} \
|
---|
83 | ${PARSERTESTSHEADERS} \
|
---|
84 | ${RANDOMNUMBERTESTSHEADERS} \
|
---|
85 | ${SHAPETESTSHEADERS} \
|
---|
86 | $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
|
---|
87 | ${UIELEMENTSMENUTESTSHEADERS} \
|
---|
88 | AnalysisBondsUnitTest.hpp \
|
---|
89 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
90 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
91 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
92 | BondGraphUnitTest.hpp \
|
---|
93 | BoxUnitTest.hpp \
|
---|
94 | CountBondsUnitTest.hpp \
|
---|
95 | FormulaUnitTest.hpp \
|
---|
96 | LinkedCellUnitTest.hpp \
|
---|
97 | ListOfBondsUnitTest.hpp \
|
---|
98 | PeriodentafelUnitTest.hpp \
|
---|
99 | TesselationUnitTest.hpp \
|
---|
100 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
101 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
102 | WorldTimeUnitTest.hpp
|
---|
103 |
|
---|
104 |
|
---|
105 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
106 | AnalysisBondsUnitTest.cpp \
|
---|
107 | AnalysisBondsUnitTest.hpp
|
---|
108 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
109 |
|
---|
110 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
111 | analysis_correlation.hpp \
|
---|
112 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
113 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
114 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
115 |
|
---|
116 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
117 | analysis_correlation.hpp \
|
---|
118 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
119 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
120 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
121 |
|
---|
122 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
123 | analysis_correlation.hpp \
|
---|
124 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
125 | AnalysisPairCorrelationUnitTest.hpp
|
---|
126 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
127 |
|
---|
128 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
129 | BondGraphUnitTest.cpp \
|
---|
130 | BondGraphUnitTest.hpp
|
---|
131 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
132 |
|
---|
133 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
134 | BoxUnitTest.cpp \
|
---|
135 | BoxUnitTest.hpp
|
---|
136 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
137 |
|
---|
138 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
139 | CountBondsUnitTest.cpp \
|
---|
140 | CountBondsUnitTest.hpp
|
---|
141 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
142 |
|
---|
143 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
144 | FormulaUnitTest.cpp \
|
---|
145 | FormulaUnitTest.hpp
|
---|
146 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
147 |
|
---|
148 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
149 | LinkedCellUnitTest.cpp \
|
---|
150 | LinkedCellUnitTest.hpp
|
---|
151 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
152 |
|
---|
153 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
154 | ListOfBondsUnitTest.cpp \
|
---|
155 | ListOfBondsUnitTest.hpp
|
---|
156 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
157 |
|
---|
158 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
159 | PeriodentafelUnitTest.cpp \
|
---|
160 | PeriodentafelUnitTest.hpp
|
---|
161 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
162 |
|
---|
163 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
164 | TesselationUnitTest.cpp \
|
---|
165 | TesselationUnitTest.hpp
|
---|
166 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
167 |
|
---|
168 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
169 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
170 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
171 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
172 |
|
---|
173 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
174 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
175 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
176 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
177 |
|
---|
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 |
|
---|
186 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
187 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
188 |
|
---|
189 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|