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 | ../Parser/unittests \
|
---|
10 | ../Patterns/unittests \
|
---|
11 | ../UIElements/Menu/unittests
|
---|
12 |
|
---|
13 | INCLUDES = -I$(top_srcdir)/src
|
---|
14 |
|
---|
15 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
16 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
17 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
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 |
|
---|
36 |
|
---|
37 | check_PROGRAMS = $(TESTS)
|
---|
38 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
39 |
|
---|
40 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
41 | GSLLIBS = \
|
---|
42 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
43 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
44 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
45 | $(BOOST_LIB)
|
---|
46 | ALLLIBS = \
|
---|
47 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
48 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
49 | ${PARSERLIBS} \
|
---|
50 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
51 | ${GSLLIBS}
|
---|
52 |
|
---|
53 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
54 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
55 |
|
---|
56 | TESTSOURCES = \
|
---|
57 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
58 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
59 | AnalysisBondsUnitTest.cpp \
|
---|
60 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
61 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
62 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
63 | ../Descriptors/unittests/AtomDescriptorUnitTest.cpp \
|
---|
64 | ../Actions/unittests/AtomsCalculationUnitTest.cpp \
|
---|
65 | BondGraphUnitTest.cpp \
|
---|
66 | BoxUnitTest.cpp \
|
---|
67 | ../Patterns/unittests/CacheableUnitTest.cpp \
|
---|
68 | CountBondsUnitTest.cpp \
|
---|
69 | FormulaUnitTest.cpp \
|
---|
70 | ../Helpers/unittests/InfoUnitTest.cpp \
|
---|
71 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.cpp \
|
---|
72 | ../LinearAlgebra/unittests/LineUnitTest.cpp \
|
---|
73 | LinkedCellUnitTest.cpp \
|
---|
74 | ListOfBondsUnitTest.cpp \
|
---|
75 | ../Helpers/unittests/LogUnitTest.cpp \
|
---|
76 | ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
|
---|
77 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.cpp \
|
---|
78 | ../LinearAlgebra/unittests/MatrixContentUnitTest.cpp \
|
---|
79 | ../LinearAlgebra/unittests/MatrixUnitTest.cpp \
|
---|
80 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.cpp \
|
---|
81 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.cpp \
|
---|
82 | ../Patterns/unittests/ObserverUnitTest.cpp \
|
---|
83 | ../Parser/unittests/ParserCommonUnitTest.cpp \
|
---|
84 | ../Parser/unittests/ParserTremoloUnitTest.cpp \
|
---|
85 | PeriodentafelUnitTest.cpp \
|
---|
86 | ../LinearAlgebra/unittests/PlaneUnitTest.cpp \
|
---|
87 | ../Patterns/unittests/RegistryUnitTest.cpp \
|
---|
88 | ../Shapes/unittests/ShapeUnitTest.cpp \
|
---|
89 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
90 | TesselationUnitTest.cpp \
|
---|
91 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
92 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
93 | ../LinearAlgebra/unittests/VectorContentUnitTest.cpp \
|
---|
94 | ../LinearAlgebra/unittests/VectorUnitTest.cpp
|
---|
95 |
|
---|
96 | TESTHEADERS = \
|
---|
97 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
98 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
99 | AnalysisBondsUnitTest.hpp \
|
---|
100 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
101 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
102 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
103 | ../Descriptors/unittests/AtomDescriptorUnitTest.hpp \
|
---|
104 | ../Actions/unittests/AtomsCalculationUnitTest.hpp \
|
---|
105 | BondGraphUnitTest.hpp \
|
---|
106 | BoxUnitTest.hpp \
|
---|
107 | ../Patterns/unittests/CacheableUnitTest.hpp \
|
---|
108 | CountBondsUnitTest.hpp \
|
---|
109 | FormulaUnitTest.hpp \
|
---|
110 | ../Helpers/unittests/InfoUnitTest.hpp \
|
---|
111 | ../LinearAlgebra/unittests/LinearSystemOfEquationsUnitTest.hpp \
|
---|
112 | ../LinearAlgebra/unittests/LineUnitTest.hpp \
|
---|
113 | LinkedCellUnitTest.hpp \
|
---|
114 | ListOfBondsUnitTest.hpp \
|
---|
115 | ../Helpers/unittests/LogUnitTest.hpp \
|
---|
116 | ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
|
---|
117 | ../LinearAlgebra/unittests/MatrixContentSymmetricUnitTest.hpp \
|
---|
118 | ../LinearAlgebra/unittests/MatrixContentUnitTest.hpp \
|
---|
119 | ../LinearAlgebra/unittests/MatrixUnitTest.hpp \
|
---|
120 | ../UIElements/Menu/unittests/MenuDescriptionUnitTest.hpp \
|
---|
121 | ../Descriptors/unittests/MoleculeDescriptorUnitTest.hpp \
|
---|
122 | ../Patterns/unittests/ObserverUnitTest.hpp \
|
---|
123 | ../Parser/unittests/ParserCommonUnitTest.hpp \
|
---|
124 | ../Parser/unittests/ParserTremoloUnitTest.hpp \
|
---|
125 | PeriodentafelUnitTest.hpp \
|
---|
126 | ../LinearAlgebra/unittests/PlaneUnitTest.hpp \
|
---|
127 | ../Patterns/unittests/RegistryUnitTest.hpp \
|
---|
128 | ../Shapes/unittests/ShapeUnitTest.hpp \
|
---|
129 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
130 | TesselationUnitTest.hpp \
|
---|
131 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
132 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
133 | ../LinearAlgebra/unittests/VectorContentUnitTest.hpp \
|
---|
134 | ../LinearAlgebra/unittests/VectorUnitTest.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 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
216 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
217 |
|
---|
218 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|