1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
2 | # Also indentation by a single tab
|
---|
3 |
|
---|
4 | check_PROGRAMS =
|
---|
5 | noinst_PROGRAMS =
|
---|
6 | TESTS =
|
---|
7 |
|
---|
8 | include ../../src/Actions/unittests/Makefile.am
|
---|
9 | include ../../src/Descriptors/unittests/Makefile.am
|
---|
10 | include ../../src/Parser/unittests/Makefile.am
|
---|
11 | include ../../src/RandomNumbers/unittests/Makefile.am
|
---|
12 | include ../../src/Shapes/unittests/Makefile.am
|
---|
13 | include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
|
---|
14 | include ../../src/UIElements/Menu/unittests/Makefile.am
|
---|
15 |
|
---|
16 | INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
|
---|
17 |
|
---|
18 | AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
|
---|
19 | AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
|
---|
20 |
|
---|
21 | GENERALTESTS = \
|
---|
22 | AnalysisBondsUnitTest \
|
---|
23 | AnalysisCorrelationToPointUnitTest \
|
---|
24 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
25 | AnalysisPairCorrelationUnitTest \
|
---|
26 | BondGraphUnitTest \
|
---|
27 | BoxUnitTest \
|
---|
28 | CountBondsUnitTest \
|
---|
29 | FormulaUnittest \
|
---|
30 | LinkedCellUnitTest \
|
---|
31 | ListOfBondsUnitTest \
|
---|
32 | PeriodentafelUnitTest \
|
---|
33 | TesselationUnitTest \
|
---|
34 | Tesselation_BoundaryTriangleUnitTest \
|
---|
35 | Tesselation_InOutsideUnitTest \
|
---|
36 | WorldTimeUnitTest
|
---|
37 |
|
---|
38 | # these ones are checked
|
---|
39 | TESTS += $(GENERALTESTS)
|
---|
40 | # these ones are built for checking only
|
---|
41 | check_PROGRAMS += $(GENERALTESTS)
|
---|
42 | # ... and not installed
|
---|
43 | noinst_PROGRAMS += $(GENERALTESTS) TestRunner
|
---|
44 |
|
---|
45 | BOOST_LIB = \
|
---|
46 | $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
|
---|
47 | $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS)
|
---|
48 |
|
---|
49 | ALLLIBS = \
|
---|
50 | ../libMolecuilderUI.la \
|
---|
51 | ../libMolecuilder.la \
|
---|
52 | $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
|
---|
53 | ${CodePatterns_LIBS} \
|
---|
54 | $(BOOST_LIB)
|
---|
55 |
|
---|
56 | TESTSOURCES = \
|
---|
57 | ${ACTIONTESTSSOURCES} \
|
---|
58 | ${DESCRIPTORTESTSSOURCES} \
|
---|
59 | ${LINEARALGEBRATESTSSOURCES} \
|
---|
60 | ${PARSERTESTSSOURCES} \
|
---|
61 | ${RANDOMNUMBERTESTSSOURCES} \
|
---|
62 | ${SHAPETESTSSOURCES} \
|
---|
63 | $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
|
---|
64 | ${UIELEMENTSMENUTESTSSOURCES} \
|
---|
65 | AnalysisBondsUnitTest.cpp \
|
---|
66 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
67 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
68 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
69 | BondGraphUnitTest.cpp \
|
---|
70 | BoxUnitTest.cpp \
|
---|
71 | CountBondsUnitTest.cpp \
|
---|
72 | FormulaUnitTest.cpp \
|
---|
73 | LinkedCellUnitTest.cpp \
|
---|
74 | ListOfBondsUnitTest.cpp \
|
---|
75 | PeriodentafelUnitTest.cpp \
|
---|
76 | TesselationUnitTest.cpp \
|
---|
77 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
78 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
79 | WorldTimeUnitTest.cpp
|
---|
80 |
|
---|
81 | TESTHEADERS = \
|
---|
82 | ${ACTIONTESTSHEADERS} \
|
---|
83 | ${DESCRIPTORTESTSHEADERS} \
|
---|
84 | ${LINEARALGEBRATESTSHEADERS} \
|
---|
85 | ${PARSERTESTSHEADERS} \
|
---|
86 | ${RANDOMNUMBERTESTSHEADERS} \
|
---|
87 | ${SHAPETESTSHEADERS} \
|
---|
88 | $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
|
---|
89 | ${UIELEMENTSMENUTESTSHEADERS} \
|
---|
90 | AnalysisBondsUnitTest.hpp \
|
---|
91 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
92 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
93 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
94 | BondGraphUnitTest.hpp \
|
---|
95 | BoxUnitTest.hpp \
|
---|
96 | CountBondsUnitTest.hpp \
|
---|
97 | FormulaUnitTest.hpp \
|
---|
98 | LinkedCellUnitTest.hpp \
|
---|
99 | ListOfBondsUnitTest.hpp \
|
---|
100 | PeriodentafelUnitTest.hpp \
|
---|
101 | TesselationUnitTest.hpp \
|
---|
102 | Tesselation_BoundaryTriangleUnitTest.hpp \
|
---|
103 | Tesselation_InsideOutsideUnitTest.hpp \
|
---|
104 | WorldTimeUnitTest.hpp
|
---|
105 |
|
---|
106 |
|
---|
107 | AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
108 | AnalysisBondsUnitTest.cpp \
|
---|
109 | AnalysisBondsUnitTest.hpp
|
---|
110 | AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
111 |
|
---|
112 | AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
113 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
114 | AnalysisCorrelationToPointUnitTest.hpp
|
---|
115 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
116 |
|
---|
117 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
118 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
119 | AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
120 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
121 |
|
---|
122 | AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
123 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
124 | AnalysisPairCorrelationUnitTest.hpp
|
---|
125 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
126 |
|
---|
127 | BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
128 | BondGraphUnitTest.cpp \
|
---|
129 | BondGraphUnitTest.hpp
|
---|
130 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
131 |
|
---|
132 | BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
133 | BoxUnitTest.cpp \
|
---|
134 | BoxUnitTest.hpp
|
---|
135 | BoxUnitTest_LDADD = ${ALLLIBS}
|
---|
136 |
|
---|
137 | CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
138 | CountBondsUnitTest.cpp \
|
---|
139 | CountBondsUnitTest.hpp
|
---|
140 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
141 |
|
---|
142 | FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
143 | FormulaUnitTest.cpp \
|
---|
144 | FormulaUnitTest.hpp
|
---|
145 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
146 |
|
---|
147 | LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
148 | LinkedCellUnitTest.cpp \
|
---|
149 | LinkedCellUnitTest.hpp
|
---|
150 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
151 |
|
---|
152 | ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
153 | ListOfBondsUnitTest.cpp \
|
---|
154 | ListOfBondsUnitTest.hpp
|
---|
155 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
156 |
|
---|
157 | PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
158 | PeriodentafelUnitTest.cpp \
|
---|
159 | PeriodentafelUnitTest.hpp
|
---|
160 | PeriodentafelUnitTest_LDADD = ${ALLLIBS}
|
---|
161 |
|
---|
162 | TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
163 | TesselationUnitTest.cpp \
|
---|
164 | TesselationUnitTest.hpp
|
---|
165 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
166 |
|
---|
167 | Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
168 | Tesselation_BoundaryTriangleUnitTest.cpp \
|
---|
169 | Tesselation_BoundaryTriangleUnitTest.hpp
|
---|
170 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
171 |
|
---|
172 | Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
173 | Tesselation_InsideOutsideUnitTest.cpp \
|
---|
174 | Tesselation_InsideOutsideUnitTest.hpp
|
---|
175 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
176 |
|
---|
177 | WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
|
---|
178 | WorldTimeUnitTest.cpp \
|
---|
179 | WorldTimeUnitTest.hpp \
|
---|
180 | ../WorldTime.cpp \
|
---|
181 | ../WorldTime.hpp
|
---|
182 | WorldTimeUnitTest_LDADD = ${BOOST_LIB}
|
---|
183 |
|
---|
184 |
|
---|
185 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
186 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
187 |
|
---|
188 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|