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 | ../Patterns/unittests
|
---|
10 |
|
---|
11 | INCLUDES = -I$(top_srcdir)/src
|
---|
12 |
|
---|
13 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
14 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
15 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
16 |
|
---|
17 | TESTS = \
|
---|
18 | AnalysisBondsUnitTests \
|
---|
19 | AnalysisCorrelationToPointUnitTest \
|
---|
20 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
21 | AnalysisPairCorrelationUnitTest \
|
---|
22 | BondGraphUnitTest \
|
---|
23 | BoxUnittest \
|
---|
24 | CountBondsUnitTest \
|
---|
25 | FormulaUnittest \
|
---|
26 | LinearSystemOfEquationsUnitTest \
|
---|
27 | LineUnittest \
|
---|
28 | LinkedCellUnitTest \
|
---|
29 | ListOfBondsUnitTest \
|
---|
30 | LogUnitTest \
|
---|
31 | manipulateAtomsTest \
|
---|
32 | MenuDescriptionUnitTest \
|
---|
33 | MoleculeDescriptorTest \
|
---|
34 | ObserverTest \
|
---|
35 | ParserCommonUnitTest \
|
---|
36 | ParserTremoloUnitTest \
|
---|
37 | periodentafelTest \
|
---|
38 | PlaneUnittest \
|
---|
39 | Registry \
|
---|
40 | ShapeUnittest \
|
---|
41 | SubspaceFactorizerUnitTest \
|
---|
42 | TesselationUnitTest \
|
---|
43 | Tesselation_BoundaryTriangleUnitTest \
|
---|
44 | Tesselation_InOutsideUnitTest \
|
---|
45 | VectorContentUnitTest \
|
---|
46 | VectorUnitTest
|
---|
47 |
|
---|
48 |
|
---|
49 | check_PROGRAMS = $(TESTS)
|
---|
50 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
51 |
|
---|
52 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
53 | GSLLIBS = \
|
---|
54 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
55 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
56 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
57 | $(BOOST_LIB)
|
---|
58 | ALLLIBS = \
|
---|
59 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
60 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
61 | ${PARSERLIBS} \
|
---|
62 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
63 | ${GSLLIBS}
|
---|
64 |
|
---|
65 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
66 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
67 |
|
---|
68 | TESTSOURCES = \
|
---|
69 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
70 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
71 | analysisbondsunittest.cpp \
|
---|
72 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
73 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
74 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
75 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
76 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
77 | bondgraphunittest.cpp \
|
---|
78 | BoxUnittest.cpp \
|
---|
79 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
80 | CountBondsUnitTest.cpp \
|
---|
81 | FormulaUnittest.cpp \
|
---|
82 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
83 | linearsystemofequationsunittest.cpp \
|
---|
84 | LineUnittest.cpp \
|
---|
85 | LinkedCellUnitTest.cpp \
|
---|
86 | listofbondsunittest.cpp \
|
---|
87 | logunittest.cpp \
|
---|
88 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
89 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
90 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
91 | manipulateAtomsTest.cpp \
|
---|
92 | MenuDescriptionUnitTest.cpp \
|
---|
93 | MoleculeDescriptorTest.cpp \
|
---|
94 | ObserverTest.cpp \
|
---|
95 | ParserCommonUnitTest.cpp \
|
---|
96 | ParserTremoloUnitTest.cpp \
|
---|
97 | periodentafelTest.cpp \
|
---|
98 | PlaneUnittest.cpp \
|
---|
99 | RegistryUnitTest.cpp \
|
---|
100 | ShapeUnittest.cpp \
|
---|
101 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
102 | tesselationunittest.cpp \
|
---|
103 | tesselation_boundarytriangleunittest.cpp \
|
---|
104 | tesselation_insideoutsideunittest.cpp \
|
---|
105 | VectorContentUnittest.cpp \
|
---|
106 | vectorunittest.cpp
|
---|
107 |
|
---|
108 | TESTHEADERS = \
|
---|
109 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
110 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
111 | analysisbondsunittest.hpp \
|
---|
112 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
113 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
114 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
115 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
116 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
117 | bondgraphunittest.hpp \
|
---|
118 | BoxUnittest.hpp \
|
---|
119 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
120 | CountBondsUnitTest.hpp \
|
---|
121 | FormulaUnittest.hpp \
|
---|
122 | ../Helpers/unittests/InfoUnitTest.h00pp \
|
---|
123 | linearsystemofequationsunittest.hpp \
|
---|
124 | LineUnittest.hpp \
|
---|
125 | LinkedCellUnitTest.hpp \
|
---|
126 | listofbondsunittest.hpp \
|
---|
127 | logunittest.hpp \
|
---|
128 | manipulateAtomsTest.hpp \
|
---|
129 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
130 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
131 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
132 | MenuDescriptionUnitTest.hpp \
|
---|
133 | MoleculeDescriptorTest.hpp \
|
---|
134 | ObserverTest.hpp \
|
---|
135 | periodentafelTest.hpp \
|
---|
136 | ParserCommonUnitTest.hpp \
|
---|
137 | ParserTremoloUnitTest.hpp \
|
---|
138 | PlaneUnittest.hpp \
|
---|
139 | RegistryUnitTest.hpp \
|
---|
140 | ShapeUnittest.hpp \
|
---|
141 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
142 | stackclassunittest.hpp \
|
---|
143 | tesselationunittest.hpp \
|
---|
144 | tesselation_boundarytriangleunittest.hpp \
|
---|
145 | tesselation_insideoutsideunittest.hpp \
|
---|
146 | VectorContentUnittest.hpp \
|
---|
147 | vectorunittest.hpp
|
---|
148 |
|
---|
149 |
|
---|
150 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
151 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
152 |
|
---|
153 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
154 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
155 |
|
---|
156 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
157 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
158 |
|
---|
159 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
160 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
161 |
|
---|
162 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
163 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
164 |
|
---|
165 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
166 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
167 |
|
---|
168 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
169 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
170 |
|
---|
171 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
172 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
173 |
|
---|
174 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
---|
175 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
---|
176 |
|
---|
177 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
178 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
179 |
|
---|
180 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
181 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
182 |
|
---|
183 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
184 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
185 |
|
---|
186 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
187 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
188 |
|
---|
189 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
190 | manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
191 |
|
---|
192 | MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
|
---|
193 | MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
|
---|
194 |
|
---|
195 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
196 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
197 |
|
---|
198 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
199 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
200 |
|
---|
201 | ParserCommonUnitTest_SOURCES = UnitTestMain.cpp ParserCommonUnitTest.cpp ParserCommonUnitTest.hpp
|
---|
202 | ParserCommonUnitTest_LDADD = ${ALLLIBS}
|
---|
203 |
|
---|
204 | ParserTremoloUnitTest_SOURCES = UnitTestMain.cpp ParserTremoloUnitTest.cpp ParserTremoloUnitTest.hpp
|
---|
205 | ParserTremoloUnitTest_LDADD = ${ALLLIBS}
|
---|
206 |
|
---|
207 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
208 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
209 |
|
---|
210 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
211 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
212 |
|
---|
213 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
214 | Registry_LDADD = ${ALLLIBS}
|
---|
215 |
|
---|
216 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
217 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
218 |
|
---|
219 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
220 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
221 |
|
---|
222 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
223 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
224 |
|
---|
225 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
226 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
227 |
|
---|
228 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
229 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
230 |
|
---|
231 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
232 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
233 |
|
---|
234 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
235 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
236 |
|
---|
237 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
238 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
239 |
|
---|
240 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|