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 | ../LinearAlgebra/unittests \
|
---|
8 | ../Parser/unittests \
|
---|
9 | ../RandomNumbers/unittests \
|
---|
10 | ../Shapes/unittests \
|
---|
11 | ../UIElements/CommandLineUI/unittests \
|
---|
12 | ../UIElements/Menu/unittests
|
---|
13 |
|
---|
14 | INCLUDES = -I$(top_srcdir)/src
|
---|
15 |
|
---|
16 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
18 |
|
---|
19 | TESTS = \
|
---|
20 | AnalysisBondsUnitTest \
|
---|
21 | AnalysisCorrelationToPointUnitTest \
|
---|
22 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
23 | AnalysisPairCorrelationUnitTest \
|
---|
24 | BondGraphUnitTest \
|
---|
25 | BoxUnitTest \
|
---|
26 | CountBondsUnitTest \
|
---|
27 | FormulaUnittest \
|
---|
28 | LinkedCellUnitTest \
|
---|
29 | ListOfBondsUnitTest \
|
---|
30 | PeriodentafelUnitTest \
|
---|
31 | SubspaceFactorizerUnitTest \
|
---|
32 | TesselationUnitTest \
|
---|
33 | Tesselation_BoundaryTriangleUnitTest \
|
---|
34 | Tesselation_InOutsideUnitTest \
|
---|
35 | WorldTimeUnitTest
|
---|
36 |
|
---|
37 |
|
---|
38 | check_PROGRAMS = $(TESTS)
|
---|
39 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
40 |
|
---|
41 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
42 | GSLLIBS = \
|
---|
43 | ../Shapes/libMolecuilderShapes.la \
|
---|
44 | ../LinearAlgebra/libMolecuilderLinearAlgebra.la \
|
---|
45 | ../Exceptions/libMolecuilderExceptions.la \
|
---|
46 | ../RandomNumbers/libMolecuilderRandomNumbers.la \
|
---|
47 | $(BOOST_LIB)
|
---|
48 | ALLLIBS = \
|
---|
49 | ../UIElements/libMolecuilderUI.la \
|
---|
50 | ../Actions/libMolecuilderActions.la \
|
---|
51 | ${PARSERLIBS} \
|
---|
52 | ../libMolecuilder.la \
|
---|
53 | ${GSLLIBS}
|
---|
54 |
|
---|
55 | PARSERLIBS = ../Parser/libMolecuilderParser.la
|
---|
56 | UILIBS = ../UIElements/libMolecuilderUI.la
|
---|
57 |
|
---|
58 | TESTSOURCES = \
|
---|
59 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
60 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
61 | AnalysisBondsUnitTest.cpp \
|
---|
62 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
63 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
64 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
65 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
66 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
67 | BondGraphUnitTest.cpp \
|
---|
68 | BoxUnitTest.cpp \
|
---|
69 | CountBondsUnitTest.cpp \
|
---|
70 | FormulaUnitTest.cpp \
|
---|
71 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
72 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
73 | LinkedCellUnitTest.cpp \
|
---|
74 | ListOfBondsUnitTest.cpp \
|
---|
75 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
76 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
77 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
78 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
79 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.cpp \
|
---|
80 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
81 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
82 | ../Parser/unittests/ParserMpqcUnitTest.cpp \
|
---|
83 | ../Parser/unittests/ParserPcpUnitTest.cpp \
|
---|
84 | ../Parser/unittests/ParserPdbUnitTest.cpp \
|
---|
85 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
86 | ../Parser/unittests/ParserXyzUnitTest.cpp \
|
---|
87 | PeriodentafelUnitTest.cpp \
|
---|
88 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
89 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
90 | TesselationUnitTest.cpp \
|
---|
91 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
92 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
93 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
94 | ../LinearAlgebra/unittests/VectorUnitTest.cpp \
|
---|
95 | WorldTimeUnitTest.cpp
|
---|
96 |
|
---|
97 | TESTHEADERS = \
|
---|
98 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
99 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
100 | AnalysisBondsUnitTest.hpp \
|
---|
101 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
102 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
103 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
104 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
105 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
106 | BondGraphUnitTest.hpp \
|
---|
107 | BoxUnitTest.hpp \
|
---|
108 | CountBondsUnitTest.hpp \
|
---|
109 | FormulaUnitTest.hpp \
|
---|
110 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
111 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
112 | LinkedCellUnitTest.hpp \
|
---|
113 | ListOfBondsUnitTest.hpp \
|
---|
114 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
115 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
116 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
117 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
118 | ../UIElements/CommandLineUI/unittests/CommandLineParser_ActionRegistry_ConsistenyUnitTest.hpp \
|
---|
119 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
120 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
121 | ../Parser/unittests/ParserMpqcUnitTest.hpp \
|
---|
122 | ../Parser/unittests/ParserPcpUnitTest.hpp \
|
---|
123 | ../Parser/unittests/ParserPdbUnitTest.hpp \
|
---|
124 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
125 | ../Parser/unittests/ParserXyzUnitTest.hpp \
|
---|
126 | PeriodentafelUnitTest.hpp \
|
---|
127 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
128 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
129 | TesselationUnitTest.hpp \
|
---|
130 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
131 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
132 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
133 | ../LinearAlgebra/unittests/VectorUnitTest.hpp \
|
---|
134 | WorldTimeUnitTest.hpp
|
---|
135 |
|
---|
136 |
|
---|
137 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
138 | AnalysisBondsUnitTest.cpp \
|
---|
139 | AnalysisBondsUnitTest.hpp
|
---|
140 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
141 |
|
---|
142 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
143 | analysis_correlation.hpp \
|
---|
144 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
145 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
146 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
147 |
|
---|
148 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
149 | analysis_correlation.hpp \
|
---|
150 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
151 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
152 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
153 |
|
---|
154 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
155 | analysis_correlation.hpp \
|
---|
156 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
157 | AnalysisPairCorrelationUnitTest.hpp
|
---|
158 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
159 |
|
---|
160 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
161 | BondGraphUnitTest.cpp \
|
---|
162 | BondGraphUnitTest.hpp
|
---|
163 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
164 |
|
---|
165 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
166 | BoxUnitTest.cpp \
|
---|
167 | BoxUnitTest.hpp
|
---|
168 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
169 |
|
---|
170 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
171 | CountBondsUnitTest.cpp \
|
---|
172 | CountBondsUnitTest.hpp
|
---|
173 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
174 |
|
---|
175 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
176 | FormulaUnitTest.cpp \
|
---|
177 | FormulaUnitTest.hpp
|
---|
178 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
179 |
|
---|
180 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
181 | LinkedCellUnitTest.cpp \
|
---|
182 | LinkedCellUnitTest.hpp
|
---|
183 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
184 |
|
---|
185 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
186 | ListOfBondsUnitTest.cpp \
|
---|
187 | ListOfBondsUnitTest.hpp
|
---|
188 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
189 |
|
---|
190 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
191 | PeriodentafelUnitTest.cpp \
|
---|
192 | PeriodentafelUnitTest.hpp
|
---|
193 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
194 |
|
---|
195 | SubspaceFactorizerUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
196 | SubspaceFactorizerUnitTest.cpp \
|
---|
197 | SubspaceFactorizerUnitTest.hpp
|
---|
198 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
199 |
|
---|
200 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
201 | TesselationUnitTest.cpp \
|
---|
202 | TesselationUnitTest.hpp
|
---|
203 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
204 |
|
---|
205 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
206 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
207 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
208 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
209 |
|
---|
210 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
211 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
212 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
213 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
214 |
|
---|
215 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
216 | WorldTimeUnitTest.cpp \
|
---|
217 | WorldTimeUnitTest.hpp \
|
---|
218 | ../WorldTime.cpp \
|
---|
219 | ../WorldTime.hpp
|
---|
220 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
221 |
|
---|
222 |
|
---|
223 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
224 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
225 |
|
---|
226 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|