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