1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | INCLUDES = -I$(top_srcdir)/src
|
---|
5 |
|
---|
6 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
7 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
8 |
|
---|
9 | MENUTESTS = \
|
---|
10 | ActionSequenceTest
|
---|
11 |
|
---|
12 | TESTS = \
|
---|
13 | ActOnAllUnitTest \
|
---|
14 | AnalysisBondsUnitTests \
|
---|
15 | AnalysisCorrelationToPointUnitTest \
|
---|
16 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
17 | AnalysisPairCorrelationUnitTest \
|
---|
18 | atomsCalculationTest \
|
---|
19 | AtomDescriptorTest \
|
---|
20 | BondGraphUnitTest \
|
---|
21 | CacheableTest \
|
---|
22 | CountBondsUnitTest \
|
---|
23 | GSLMatrixSymmetricUnitTest \
|
---|
24 | GSLMatrixUnitTest \
|
---|
25 | GSLVectorUnitTest \
|
---|
26 | InfoUnitTest \
|
---|
27 | LinearSystemOfEquationsUnitTest \
|
---|
28 | LineUnittest \
|
---|
29 | LinkedCellUnitTest \
|
---|
30 | ListOfBondsUnitTest \
|
---|
31 | LogUnitTest \
|
---|
32 | manipulateAtomsTest \
|
---|
33 | MemoryUsageObserverUnitTest \
|
---|
34 | MemoryAllocatorUnitTest \
|
---|
35 | MoleculeDescriptorTest \
|
---|
36 | ObserverTest \
|
---|
37 | ParserUnitTest \
|
---|
38 | periodentafelTest \
|
---|
39 | PlaneUnittest \
|
---|
40 | SingletonTest \
|
---|
41 | StackClassUnitTest \
|
---|
42 | TesselationUnitTest \
|
---|
43 | Tesselation_BoundaryTriangleUnitTest \
|
---|
44 | Tesselation_InOutsideUnitTest \
|
---|
45 | VectorUnitTest \
|
---|
46 | ${MENUTESTS}
|
---|
47 |
|
---|
48 |
|
---|
49 | check_PROGRAMS = $(TESTS)
|
---|
50 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
51 |
|
---|
52 | GSLLIBS = ../libgslwrapper.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
53 | ALLLIBS = ../libmolecuilder.a ${GSLLIBS}
|
---|
54 | PARSERLIBS = ../libparser.a ${ALLLIBS}
|
---|
55 |
|
---|
56 | TESTSOURCES = \
|
---|
57 | ActOnAllUnitTest.cpp \
|
---|
58 | ActionSequenceTest.cpp \
|
---|
59 | analysisbondsunittest.cpp \
|
---|
60 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
61 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
62 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
63 | AtomDescriptorTest.cpp \
|
---|
64 | atomsCalculationTest.cpp \
|
---|
65 | bondgraphunittest.cpp \
|
---|
66 | CacheableTest.cpp \
|
---|
67 | CountBondsUnitTest.cpp \
|
---|
68 | gslmatrixsymmetricunittest.cpp \
|
---|
69 | gslmatrixunittest.cpp \
|
---|
70 | gslvectorunittest.cpp \
|
---|
71 | infounittest.cpp \
|
---|
72 | linearsystemofequationsunittest.cpp \
|
---|
73 | LineUnittest.cpp \
|
---|
74 | LinkedCellUnitTest.cpp \
|
---|
75 | listofbondsunittest.cpp \
|
---|
76 | logunittest.cpp \
|
---|
77 | manipulateAtomsTest.cpp \
|
---|
78 | memoryallocatorunittest.cpp \
|
---|
79 | memoryusageobserverunittest.cpp \
|
---|
80 | MoleculeDescriptorTest.cpp \
|
---|
81 | ObserverTest.cpp \
|
---|
82 | ParserUnitTest.cpp \
|
---|
83 | periodentafelTest.cpp \
|
---|
84 | PlaneUnittest.cpp \
|
---|
85 | SingletonTest.cpp \
|
---|
86 | stackclassunittest.cpp \
|
---|
87 | tesselationunittest.cpp \
|
---|
88 | tesselation_boundarytriangleunittest.cpp \
|
---|
89 | tesselation_insideoutsideunittest.cpp \
|
---|
90 | vectorunittest.cpp
|
---|
91 |
|
---|
92 | TESTHEADERS = \
|
---|
93 | ActOnAllUnitTest.hpp \
|
---|
94 | ActionSequenceTest.hpp \
|
---|
95 | analysisbondsunittest.hpp \
|
---|
96 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
97 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
98 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
99 | AtomDescriptorTest.hpp \
|
---|
100 | atomsCalculationTest.hpp \
|
---|
101 | bondgraphunittest.hpp \
|
---|
102 | CacheableTest.hpp \
|
---|
103 | CountBondsUnitTest.hpp \
|
---|
104 | gslmatrixsymmetricunittest.hpp \
|
---|
105 | gslmatrixunittest.hpp \
|
---|
106 | gslvectorunittest.hpp \
|
---|
107 | infounittest.hpp \
|
---|
108 | linearsystemofequationsunittest.hpp \
|
---|
109 | LineUnittest.hpp \
|
---|
110 | LinkedCellUnitTest.hpp \
|
---|
111 | listofbondsunittest.hpp \
|
---|
112 | logunittest.hpp \
|
---|
113 | manipulateAtomsTest.hpp \
|
---|
114 | memoryallocatorunittest.hpp \
|
---|
115 | memoryusageobserverunittest.hpp \
|
---|
116 | MoleculeDescriptorTest.hpp \
|
---|
117 | periodentafelTest.hpp \
|
---|
118 | PlaneUnittest.hpp \
|
---|
119 | ObserverTest.hpp \
|
---|
120 | SingletonTest.hpp \
|
---|
121 | stackclassunittest.hpp \
|
---|
122 | tesselationunittest.hpp \
|
---|
123 | tesselation_boundarytriangleunittest.hpp \
|
---|
124 | tesselation_insideoutsideunittest.hpp \
|
---|
125 | vectorunittest.hpp
|
---|
126 |
|
---|
127 |
|
---|
128 | ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
|
---|
129 | ActionSequenceTest_LDADD = ${ALLLIBS}
|
---|
130 |
|
---|
131 | ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
|
---|
132 | ActOnAllUnitTest_LDADD = ${ALLLIBS}
|
---|
133 |
|
---|
134 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
135 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
136 |
|
---|
137 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
138 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
139 |
|
---|
140 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
141 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
142 |
|
---|
143 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
144 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
145 |
|
---|
146 | atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
|
---|
147 | atomsCalculationTest_LDADD = ${ALLLIBS}
|
---|
148 |
|
---|
149 | AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
|
---|
150 | AtomDescriptorTest_LDADD = ${ALLLIBS}
|
---|
151 |
|
---|
152 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
153 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
154 |
|
---|
155 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
---|
156 | CacheableTest_LDADD = ${ALLLIBS}
|
---|
157 |
|
---|
158 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
159 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
160 |
|
---|
161 | GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
|
---|
162 | GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
|
---|
163 |
|
---|
164 | GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
|
---|
165 | GSLMatrixUnitTest_LDADD = ${GSLLIBS}
|
---|
166 |
|
---|
167 | GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
|
---|
168 | GSLVectorUnitTest_LDADD = ${GSLLIBS}
|
---|
169 |
|
---|
170 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
---|
171 | InfoUnitTest_LDADD = ${ALLLIBS}
|
---|
172 |
|
---|
173 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
---|
174 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
---|
175 |
|
---|
176 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
177 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
178 |
|
---|
179 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
180 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
181 |
|
---|
182 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
183 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
184 |
|
---|
185 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
186 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
187 |
|
---|
188 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
189 | manipulateAtomsTest_LDADD = ${ALLLIBS}
|
---|
190 |
|
---|
191 | MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp ../memoryallocator.hpp ../memoryallocator.cpp ../memoryusageobserver.cpp ../memoryusageobserver.hpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
|
---|
192 | MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
|
---|
193 |
|
---|
194 | MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp ../memoryallocator.hpp ../memoryusageobserver.cpp ../memoryusageobserver.hpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
|
---|
195 | MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
|
---|
196 |
|
---|
197 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
198 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
199 |
|
---|
200 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
201 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
202 |
|
---|
203 | ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
|
---|
204 | ParserUnitTest_LDADD = ${PARSERLIBS}
|
---|
205 |
|
---|
206 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
207 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
208 |
|
---|
209 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
210 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
211 |
|
---|
212 | SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
|
---|
213 | SingletonTest_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
214 |
|
---|
215 | StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
|
---|
216 | StackClassUnitTest_LDADD = ${ALLLIBS}
|
---|
217 |
|
---|
218 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
219 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
220 |
|
---|
221 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
222 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
223 |
|
---|
224 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
225 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
226 |
|
---|
227 | TestRunner_SOURCES = TestRunnerMain.cpp ../memoryallocator.hpp ../memoryallocator.cpp ../memoryusageobserver.cpp ../memoryusageobserver.hpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
228 | TestRunner_LDADD = ${ALLLIBS}
|
---|
229 |
|
---|
230 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
231 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
232 |
|
---|
233 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|