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