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