Merge tag 'v6.5.1'
[xcsoar.git] / build / test.mk
blob1ce8cc4fc6a2dbf67ffc55dd41fd81197a3671f5
1 name-to-bin = $(patsubst %,$(TARGET_BIN_DIR)/%$(TARGET_EXEEXT),$(1))
3 TESTFAST = \
4 test_normalise \
5 test_fixed \
6 TestWaypoints \
7 test_pressure \
8 test_mc \
9 test_task \
10 test_modes \
11 test_automc \
12 test_acfilter \
13 test_trees \
14 test_vopt
16 TESTSLOW = \
17 test_bestcruisetrack \
18 test_airspace \
19 test_effectivemc \
20 test_cruiseefficiency \
21 test_highterrain \
22 test_randomtask \
23 test_flight \
24 test_aat \
25 test_replay_olc
27 HARNESS_PROGRAMS = $(TESTFAST) $(TESTSLOW)
29 build-harness: $(call name-to-bin,$(HARNESS_PROGRAMS))
31 testslow: $(call name-to-bin,$(TESTSLOW))
32 $(Q)perl $(TEST_SRC_DIR)/testall.pl $(TESTSLOW)
34 testfast: $(call name-to-bin,$(TESTFAST))
35 $(Q)perl $(TEST_SRC_DIR)/testall.pl $(TESTFAST)
37 TEST1_LDADD = $(HARNESS_LIBS) \
38 $(TASK_LIBS) \
39 $(ROUTE_LIBS) \
40 $(GLIDE_LIBS) \
41 $(CONTEST_LIBS) \
42 $(WAYPOINT_LIBS) \
43 $(AIRSPACE_LIBS) \
44 $(IO_LIBS) \
45 $(OS_LIBS) \
46 $(THREAD_LIBS) \
47 $(ZZIP_LDADD) \
48 $(GEO_LIBS) \
49 $(TIME_LIBS) \
50 $(MATH_LIBS) \
51 $(UTIL_LIBS)
52 TEST1_LDLIBS = \
53 $(ZZIP_LDLIBS)
55 define link-harness-program
56 $(1)_SOURCES = \
57 $(SRC)/Engine/Trace/Point.cpp \
58 $(SRC)/Engine/Trace/Trace.cpp \
59 $(SRC)/Engine/Trace/Vector.cpp \
60 $(SRC)/Engine/Navigation/Aircraft.cpp \
61 $(SRC)/Engine/Util/Gradient.cpp \
62 $(SRC)/NMEA/FlyingState.cpp \
63 $(SRC)/Atmosphere/AirDensity.cpp \
64 $(SRC)/Atmosphere/Pressure.cpp \
65 $(SRC)/Formatter/AirspaceFormatter.cpp \
66 $(TEST_SRC_DIR)/FakeTerrain.cpp \
67 $(TEST_SRC_DIR)/$(1).cpp
68 $(1)_LDADD = $(TEST1_LDADD)
69 $(1)_LDLIBS = $(TEST1_LDLIBS)
70 $(call link-program,$(1),$(1))
71 endef
73 $(foreach name,$(HARNESS_PROGRAMS),$(eval $(call link-harness-program,$(name))))
75 TEST_NAMES = \
76 test_fixed \
77 test_normalise \
78 TestWaypoints \
79 test_pressure \
80 test_task \
81 TestOverwritingRingBuffer \
82 TestDateTime TestRoughTime \
83 TestMathTables \
84 TestAngle TestUnits TestEarth TestSunEphemeris \
85 TestValidity TestUTM TestProfile \
86 TestRadixTree TestGeoBounds TestGeoClip \
87 TestLogger TestGRecord TestDriver TestClimbAvCalc \
88 TestWaypointReader TestThermalBase \
89 TestFlarmNet \
90 TestColorRamp TestGeoPoint TestDiffFilter \
91 TestFileUtil TestPolars TestCSVLine TestGlidePolar \
92 test_replay_task TestProjection TestFlatPoint TestFlatLine TestFlatGeoPoint \
93 TestMacCready TestOrderedTask TestAATPoint \
94 TestPlanes \
95 TestTaskPoint \
96 TestTaskWaypoint \
97 TestTeamCode \
98 TestZeroFinder \
99 TestAirspaceParser \
100 TestMETARParser \
101 TestIGCParser \
102 TestByteOrder \
103 TestByteOrder2 \
104 TestStrings \
105 TestCRC \
106 TestUnitsFormatter \
107 TestGeoPointFormatter \
108 TestHexColorFormatter \
109 TestByteSizeFormatter \
110 TestTimeFormatter \
111 TestIGCFilenameFormatter \
112 TestLXNToIGC
114 TESTS = $(call name-to-bin,$(TEST_NAMES))
116 TEST_CRC_SOURCES = \
117 $(SRC)/Util/CRC.cpp \
118 $(TEST_SRC_DIR)/tap.c \
119 $(TEST_SRC_DIR)/TestCRC.cpp
120 $(eval $(call link-program,TestCRC,TEST_CRC))
122 TEST_OVERWRITING_RING_BUFFER_SOURCES = \
123 $(TEST_SRC_DIR)/tap.c \
124 $(TEST_SRC_DIR)/TestOverwritingRingBuffer.cpp
125 TEST_OVERWRITING_RING_BUFFER_DEPENDS = MATH
126 $(eval $(call link-program,TestOverwritingRingBuffer,TEST_OVERWRITING_RING_BUFFER))
128 TEST_IGC_PARSER_SOURCES = \
129 $(SRC)/IGC/IGCParser.cpp \
130 $(TEST_SRC_DIR)/tap.c \
131 $(TEST_SRC_DIR)/TestIGCParser.cpp
132 TEST_IGC_PARSER_DEPENDS = MATH UTIL
133 $(eval $(call link-program,TestIGCParser,TEST_IGC_PARSER))
135 TEST_BYTE_ORDER_SOURCES = \
136 $(TEST_SRC_DIR)/tap.c \
137 $(TEST_SRC_DIR)/TestByteOrder.cpp
138 $(eval $(call link-program,TestByteOrder,TEST_BYTE_ORDER))
140 TEST_BYTE_ORDER2_SOURCES = \
141 $(TEST_SRC_DIR)/tap.c \
142 $(TEST_SRC_DIR)/TestByteOrder2.cpp
143 $(eval $(call link-program,TestByteOrder2,TEST_BYTE_ORDER2))
145 TEST_METAR_PARSER_SOURCES = \
146 $(SRC)/Weather/METARParser.cpp \
147 $(SRC)/Units/Descriptor.cpp \
148 $(SRC)/Units/System.cpp \
149 $(SRC)/Atmosphere/Pressure.cpp \
150 $(TEST_SRC_DIR)/tap.c \
151 $(TEST_SRC_DIR)/TestMETARParser.cpp
152 TEST_METAR_PARSER_DEPENDS = MATH UTIL
153 $(eval $(call link-program,TestMETARParser,TEST_METAR_PARSER))
155 TEST_AIRSPACE_PARSER_SOURCES = \
156 $(SRC)/Airspace/AirspaceParser.cpp \
157 $(SRC)/Units/Descriptor.cpp \
158 $(SRC)/Units/System.cpp \
159 $(SRC)/Operation/Operation.cpp \
160 $(SRC)/Atmosphere/Pressure.cpp \
161 $(TEST_SRC_DIR)/FakeDialogs.cpp \
162 $(TEST_SRC_DIR)/FakeTerrain.cpp \
163 $(TEST_SRC_DIR)/FakeLanguage.cpp \
164 $(TEST_SRC_DIR)/tap.c \
165 $(TEST_SRC_DIR)/TestAirspaceParser.cpp
166 TEST_AIRSPACE_PARSER_LDADD = $(FAKE_LIBS)
167 TEST_AIRSPACE_PARSER_DEPENDS = IO OS AIRSPACE ZZIP GEO MATH UTIL
168 $(eval $(call link-program,TestAirspaceParser,TEST_AIRSPACE_PARSER))
170 TEST_DATE_TIME_SOURCES = \
171 $(TEST_SRC_DIR)/tap.c \
172 $(TEST_SRC_DIR)/TestDateTime.cpp
173 TEST_DATE_TIME_DEPENDS = MATH TIME
174 $(eval $(call link-program,TestDateTime,TEST_DATE_TIME))
176 TEST_ROUGH_TIME_SOURCES = \
177 $(TEST_SRC_DIR)/tap.c \
178 $(TEST_SRC_DIR)/TestRoughTime.cpp
179 TEST_ROUGH_TIME_DEPENDS = MATH TIME
180 $(eval $(call link-program,TestRoughTime,TEST_ROUGH_TIME))
182 TEST_PROFILE_SOURCES = \
183 $(SRC)/LocalPath.cpp \
184 $(SRC)/Profile/Profile.cpp \
185 $(SRC)/Profile/ProfileMap.cpp \
186 $(TEST_SRC_DIR)/tap.c \
187 $(TEST_SRC_DIR)/FakeLogFile.cpp \
188 $(TEST_SRC_DIR)/TestProfile.cpp
189 TEST_PROFILE_DEPENDS = MATH IO OS UTIL
190 $(eval $(call link-program,TestProfile,TEST_PROFILE))
192 TEST_MAC_CREADY_SOURCES = \
193 $(TEST_SRC_DIR)/tap.c \
194 $(TEST_SRC_DIR)/TestMacCready.cpp
195 TEST_MAC_CREADY_OBJS = $(call SRC_TO_OBJ,$(TEST_MAC_CREADY_SOURCES))
196 TEST_MAC_CREADY_DEPENDS = GLIDE GEO MATH UTIL
197 $(eval $(call link-program,TestMacCready,TEST_MAC_CREADY))
199 TEST_ORDERED_TASK_SOURCES = \
200 $(SRC)/Engine/Navigation/Aircraft.cpp \
201 $(SRC)/Engine/Util/Gradient.cpp \
202 $(SRC)/NMEA/FlyingState.cpp \
203 $(TEST_SRC_DIR)/tap.c \
204 $(TEST_SRC_DIR)/TestOrderedTask.cpp
205 TEST_ORDERED_TASK_OBJS = $(call SRC_TO_OBJ,$(TEST_ORDERED_TASK_SOURCES))
206 TEST_ORDERED_TASK_DEPENDS = TASK ROUTE GLIDE WAYPOINT GEO MATH UTIL
207 $(eval $(call link-program,TestOrderedTask,TEST_ORDERED_TASK))
209 TEST_AAT_POINT_SOURCES = \
210 $(SRC)/Engine/Util/Gradient.cpp \
211 $(SRC)/Engine/Navigation/Aircraft.cpp \
212 $(TEST_SRC_DIR)/tap.c \
213 $(TEST_SRC_DIR)/TestAATPoint.cpp
214 TEST_AAT_POINT_OBJS = $(call SRC_TO_OBJ,$(TEST_AAT_POINT_SOURCES))
215 TEST_AAT_POINT_DEPENDS = TASK ROUTE GLIDE WAYPOINT GEO MATH UTIL
216 $(eval $(call link-program,TestAATPoint,TEST_AAT_POINT))
218 TEST_PLANES_SOURCES = \
219 $(SRC)/Polar/Parser.cpp \
220 $(SRC)/Plane/PlaneFileGlue.cpp \
221 $(SRC)/Units/Descriptor.cpp \
222 $(SRC)/Units/System.cpp \
223 $(TEST_SRC_DIR)/tap.c \
224 $(TEST_SRC_DIR)/TestPlanes.cpp
225 TEST_PLANES_DEPENDS = IO OS MATH UTIL
226 $(eval $(call link-program,TestPlanes,TEST_PLANES))
228 TEST_ZEROFINDER_SOURCES = \
229 $(TEST_SRC_DIR)/tap.c \
230 $(TEST_SRC_DIR)/TestZeroFinder.cpp
231 TEST_ZEROFINDER_DEPENDS = IO OS MATH
232 $(eval $(call link-program,TestZeroFinder,TEST_ZEROFINDER))
234 TEST_TASKPOINT_SOURCES = \
235 $(TEST_SRC_DIR)/tap.c \
236 $(TEST_SRC_DIR)/TestTaskPoint.cpp
237 TEST_TASKPOINT_DEPENDS = IO OS TASK GEO MATH
238 $(eval $(call link-program,TestTaskPoint,TEST_TASKPOINT))
240 TEST_TASKWAYPOINT_SOURCES = \
241 $(ENGINE_SRC_DIR)/Waypoint/Waypoint.cpp \
242 $(TEST_SRC_DIR)/tap.c \
243 $(TEST_SRC_DIR)/TestTaskWaypoint.cpp
244 TEST_TASKWAYPOINT_DEPENDS = IO OS TASK GEO MATH UTIL
245 $(eval $(call link-program,TestTaskWaypoint,TEST_TASKWAYPOINT))
247 TEST_TEAM_CODE_SOURCES = \
248 $(SRC)/TeamCode.cpp \
249 $(TEST_SRC_DIR)/tap.c \
250 $(TEST_SRC_DIR)/TestTeamCode.cpp
251 TEST_TEAM_CODE_DEPENDS = GEO MATH UTIL
252 $(eval $(call link-program,TestTeamCode,TEST_TEAM_CODE))
254 TEST_TROUTE_SOURCES = \
255 $(SRC)/XML/Node.cpp \
256 $(SRC)/Operation/Operation.cpp \
257 $(TEST_SRC_DIR)/Printing.cpp \
258 $(TEST_SRC_DIR)/tap.c \
259 $(TEST_SRC_DIR)/test_troute.cpp
260 TEST_TROUTE_DEPENDS = TERRAIN IO ZZIP OS ROUTE GLIDE GEO MATH UTIL
261 $(eval $(call link-program,test_troute,TEST_TROUTE))
263 TEST_REACH_SOURCES = \
264 $(SRC)/XML/Node.cpp \
265 $(SRC)/Operation/Operation.cpp \
266 $(TEST_SRC_DIR)/Printing.cpp \
267 $(TEST_SRC_DIR)/tap.c \
268 $(TEST_SRC_DIR)/test_reach.cpp
269 TEST_REACH_DEPENDS = TERRAIN IO ZZIP OS ROUTE GLIDE GEO MATH UTIL
270 $(eval $(call link-program,test_reach,TEST_REACH))
272 TEST_ROUTE_SOURCES = \
273 $(SRC)/Engine/Navigation/Aircraft.cpp \
274 $(SRC)/Engine/Util/Gradient.cpp \
275 $(SRC)/NMEA/FlyingState.cpp \
276 $(SRC)/XML/Node.cpp \
277 $(SRC)/Formatter/AirspaceFormatter.cpp \
278 $(SRC)/Operation/Operation.cpp \
279 $(SRC)/Atmosphere/Pressure.cpp \
280 $(TEST_SRC_DIR)/Printing.cpp \
281 $(TEST_SRC_DIR)/AirspacePrinting.cpp \
282 $(TEST_SRC_DIR)/harness_airspace.cpp \
283 $(TEST_SRC_DIR)/tap.c \
284 $(TEST_SRC_DIR)/test_route.cpp
285 TEST_ROUTE_DEPENDS = TERRAIN IO ZZIP OS ROUTE AIRSPACE GLIDE GEO MATH UTIL
286 $(eval $(call link-program,test_route,TEST_ROUTE))
288 TEST_REPLAY_TASK_SOURCES = \
289 $(SRC)/NMEA/Info.cpp \
290 $(SRC)/NMEA/ExternalSettings.cpp \
291 $(SRC)/NMEA/Attitude.cpp \
292 $(SRC)/NMEA/Acceleration.cpp \
293 $(SRC)/NMEA/SwitchState.cpp \
294 $(SRC)/Computer/FlyingComputer.cpp \
295 $(SRC)/Engine/Navigation/Aircraft.cpp \
296 $(SRC)/Engine/Util/Gradient.cpp \
297 $(SRC)/NMEA/FlyingState.cpp \
298 $(SRC)/Task/Serialiser.cpp \
299 $(SRC)/Task/Deserialiser.cpp \
300 $(SRC)/XML/Node.cpp \
301 $(SRC)/XML/Parser.cpp \
302 $(SRC)/XML/Writer.cpp \
303 $(SRC)/XML/DataNode.cpp \
304 $(SRC)/XML/DataNodeXML.cpp \
305 $(SRC)/Atmosphere/AirDensity.cpp \
306 $(SRC)/Atmosphere/Pressure.cpp \
307 $(SRC)/IGC/IGCParser.cpp \
308 $(SRC)/Replay/IgcReplay.cpp \
309 $(SRC)/Replay/TaskAutoPilot.cpp \
310 $(SRC)/Units/Descriptor.cpp \
311 $(SRC)/Units/System.cpp \
312 $(TEST_SRC_DIR)/tap.c \
313 $(TEST_SRC_DIR)/Printing.cpp \
314 $(TEST_SRC_DIR)/TaskPrinting.cpp \
315 $(TEST_SRC_DIR)/TaskEventsPrint.cpp \
316 $(TEST_SRC_DIR)/harness_task.cpp \
317 $(TEST_SRC_DIR)/test_debug.cpp \
318 $(TEST_SRC_DIR)/test_replay_task.cpp
319 TEST_REPLAY_TASK_DEPENDS = TASK ROUTE WAYPOINT GLIDE GEO MATH IO OS UTIL TIME
320 $(eval $(call link-program,test_replay_task,TEST_REPLAY_TASK))
322 TEST_MATH_TABLES_SOURCES = \
323 $(TEST_SRC_DIR)/tap.c \
324 $(TEST_SRC_DIR)/TestMathTables.cpp
325 TEST_MATH_TABLES_DEPENDS = MATH
326 $(eval $(call link-program,TestMathTables,TEST_MATH_TABLES))
328 TEST_ANGLE_SOURCES = \
329 $(TEST_SRC_DIR)/tap.c \
330 $(TEST_SRC_DIR)/TestAngle.cpp
331 TEST_ANGLE_DEPENDS = MATH
332 $(eval $(call link-program,TestAngle,TEST_ANGLE))
334 TEST_CSV_LINE_SOURCES = \
335 $(SRC)/IO/CSVLine.cpp \
336 $(TEST_SRC_DIR)/tap.c \
337 $(TEST_SRC_DIR)/TestCSVLine.cpp
338 TEST_CSV_LINE_DEPENDS = MATH
339 $(eval $(call link-program,TestCSVLine,TEST_CSV_LINE))
341 TEST_GEO_BOUNDS_SOURCES = \
342 $(TEST_SRC_DIR)/tap.c \
343 $(TEST_SRC_DIR)/TestGeoBounds.cpp
344 TEST_GEO_BOUNDS_DEPENDS = GEO MATH
345 $(eval $(call link-program,TestGeoBounds,TEST_GEO_BOUNDS))
347 TEST_FLARM_NET_SOURCES = \
348 $(SRC)/FLARM/FlarmNetReader.cpp \
349 $(SRC)/FLARM/FlarmId.cpp \
350 $(SRC)/FLARM/FlarmNetRecord.cpp \
351 $(SRC)/FLARM/FlarmNetDatabase.cpp \
352 $(TEST_SRC_DIR)/tap.c \
353 $(TEST_SRC_DIR)/TestFlarmNet.cpp
354 TEST_FLARM_NET_DEPENDS = IO OS MATH UTIL
355 $(eval $(call link-program,TestFlarmNet,TEST_FLARM_NET))
357 TEST_GEO_CLIP_SOURCES = \
358 $(TEST_SRC_DIR)/tap.c \
359 $(TEST_SRC_DIR)/TestGeoClip.cpp
360 TEST_GEO_CLIP_DEPENDS = GEO MATH
361 $(eval $(call link-program,TestGeoClip,TEST_GEO_CLIP))
363 TEST_CLIMB_AV_CALC_SOURCES = \
364 $(SRC)/Computer/ClimbAverageCalculator.cpp \
365 $(TEST_SRC_DIR)/tap.c \
366 $(TEST_SRC_DIR)/TestClimbAvCalc.cpp
367 TEST_CLIMB_AV_CALC_DEPENDS = MATH
368 $(eval $(call link-program,TestClimbAvCalc,TEST_CLIMB_AV_CALC))
370 TEST_PROJECTION_SOURCES = \
371 $(SRC)/Projection/Projection.cpp \
372 $(TEST_SRC_DIR)/tap.c \
373 $(TEST_SRC_DIR)/TestProjection.cpp
374 TEST_PROJECTION_DEPENDS = MATH
375 TEST_PROJECTION_CPPFLAGS = $(SCREEN_CPPFLAGS)
376 $(eval $(call link-program,TestProjection,TEST_PROJECTION))
378 TEST_UNITS_SOURCES = \
379 $(SRC)/Units/Units.cpp \
380 $(SRC)/Units/Settings.cpp \
381 $(SRC)/Units/Descriptor.cpp \
382 $(SRC)/Units/System.cpp \
383 $(TEST_SRC_DIR)/tap.c \
384 $(TEST_SRC_DIR)/TestUnits.cpp
385 TEST_UNITS_DEPENDS = MATH
386 $(eval $(call link-program,TestUnits,TEST_UNITS))
388 TEST_UNITS_FORMATTER_SOURCES = \
389 $(SRC)/Formatter/Units.cpp \
390 $(SRC)/Units/Descriptor.cpp \
391 $(SRC)/Units/System.cpp \
392 $(TEST_SRC_DIR)/tap.c \
393 $(TEST_SRC_DIR)/TestUnitsFormatter.cpp
394 TEST_UNITS_FORMATTER_DEPENDS = MATH UTIL
395 $(eval $(call link-program,TestUnitsFormatter,TEST_UNITS_FORMATTER))
397 TEST_GEO_POINT_FORMATTER_SOURCES = \
398 $(SRC)/Formatter/GeoPointFormatter.cpp \
399 $(TEST_SRC_DIR)/tap.c \
400 $(TEST_SRC_DIR)/TestGeoPointFormatter.cpp
401 TEST_GEO_POINT_FORMATTER_DEPENDS = GEO MATH UTIL
402 $(eval $(call link-program,TestGeoPointFormatter,TEST_GEO_POINT_FORMATTER))
404 TEST_HEX_COLOR_FORMATTER_SOURCES = \
405 $(SRC)/Formatter/HexColor.cpp \
406 $(TEST_SRC_DIR)/tap.c \
407 $(TEST_SRC_DIR)/TestHexColorFormatter.cpp
408 TEST_HEX_COLOR_FORMATTER_DEPENDS = MATH SCREEN EVENT UTIL
409 $(eval $(call link-program,TestHexColorFormatter,TEST_HEX_COLOR_FORMATTER))
411 TEST_BYTE_SIZE_FORMATTER_SOURCES = \
412 $(SRC)/Formatter/ByteSizeFormatter.cpp \
413 $(TEST_SRC_DIR)/tap.c \
414 $(TEST_SRC_DIR)/TestByteSizeFormatter.cpp
415 TEST_BYTE_SIZE_FORMATTER_DEPENDS = MATH UTIL
416 $(eval $(call link-program,TestByteSizeFormatter,TEST_BYTE_SIZE_FORMATTER))
418 TEST_TIME_FORMATTER_SOURCES = \
419 $(SRC)/Formatter/TimeFormatter.cpp \
420 $(TEST_SRC_DIR)/tap.c \
421 $(TEST_SRC_DIR)/TestTimeFormatter.cpp
422 TEST_TIME_FORMATTER_DEPENDS = MATH UTIL TIME
423 $(eval $(call link-program,TestTimeFormatter,TEST_TIME_FORMATTER))
425 TEST_IGC_FILENAME_FORMATTER_SOURCES = \
426 $(SRC)/Formatter/IGCFilenameFormatter.cpp \
427 $(TEST_SRC_DIR)/tap.c \
428 $(TEST_SRC_DIR)/TestIGCFilenameFormatter.cpp
429 TEST_IGC_FILENAME_FORMATTER_DEPENDS = MATH UTIL TIME
430 $(eval $(call link-program,TestIGCFilenameFormatter,TEST_IGC_FILENAME_FORMATTER))
432 TEST_STRINGS_SOURCES = \
433 $(TEST_SRC_DIR)/tap.c \
434 $(TEST_SRC_DIR)/TestStrings.cpp
435 TEST_STRINGS_DEPENDS = UTIL
436 $(eval $(call link-program,TestStrings,TEST_STRINGS))
438 TEST_POLARS_SOURCES = \
439 $(SRC)/Profile/ProfileKeys.cpp \
440 $(SRC)/Units/Descriptor.cpp \
441 $(SRC)/Units/System.cpp \
442 $(SRC)/Polar/Shape.cpp \
443 $(SRC)/Polar/Polar.cpp \
444 $(SRC)/Polar/Parser.cpp \
445 $(ENGINE_SRC_DIR)/GlideSolvers/PolarCoefficients.cpp \
446 $(ENGINE_SRC_DIR)/GlideSolvers/GlidePolar.cpp \
447 $(ENGINE_SRC_DIR)/GlideSolvers/GlideResult.cpp \
448 $(SRC)/Polar/PolarFileGlue.cpp \
449 $(SRC)/Polar/PolarStore.cpp \
450 $(TEST_SRC_DIR)/tap.c \
451 $(TEST_SRC_DIR)/TestPolars.cpp
452 TEST_POLARS_DEPENDS = IO OS MATH UTIL
453 $(eval $(call link-program,TestPolars,TEST_POLARS))
455 TEST_GLIDE_POLAR_SOURCES = \
456 $(ENGINE_SRC_DIR)/GlideSolvers/GlidePolar.cpp \
457 $(ENGINE_SRC_DIR)/GlideSolvers/PolarCoefficients.cpp \
458 $(ENGINE_SRC_DIR)/GlideSolvers/GlideResult.cpp \
459 $(ENGINE_SRC_DIR)/GlideSolvers/GlideState.cpp \
460 $(ENGINE_SRC_DIR)/GlideSolvers/MacCready.cpp \
461 $(SRC)/Units/Descriptor.cpp \
462 $(SRC)/Units/System.cpp \
463 $(TEST_SRC_DIR)/tap.c \
464 $(TEST_SRC_DIR)/TestGlidePolar.cpp
465 TEST_GLIDE_POLAR_DEPENDS = GEO MATH IO
466 $(eval $(call link-program,TestGlidePolar,TEST_GLIDE_POLAR))
468 TEST_FILE_UTIL_SOURCES = \
469 $(SRC)/OS/FileUtil.cpp \
470 $(TEST_SRC_DIR)/tap.c \
471 $(TEST_SRC_DIR)/TestFileUtil.cpp
472 TEST_FILE_UTIL_DEPENDS = UTIL
473 $(eval $(call link-program,TestFileUtil,TEST_FILE_UTIL))
475 TEST_GEO_POINT_SOURCES = \
476 $(TEST_SRC_DIR)/tap.c \
477 $(TEST_SRC_DIR)/TestGeoPoint.cpp
478 TEST_GEO_POINT_DEPENDS = GEO MATH
479 $(eval $(call link-program,TestGeoPoint,TEST_GEO_POINT))
481 TEST_DIFF_FILTER_SOURCES = \
482 $(TEST_SRC_DIR)/tap.c \
483 $(TEST_SRC_DIR)/TestDiffFilter.cpp
484 TEST_DIFF_FILTER_DEPENDS = MATH
485 $(eval $(call link-program,TestDiffFilter,TEST_DIFF_FILTER))
487 TEST_FLAT_POINT_SOURCES = \
488 $(TEST_SRC_DIR)/tap.c \
489 $(TEST_SRC_DIR)/TestFlatPoint.cpp
490 TEST_FLAT_POINT_DEPENDS = GEO MATH
491 $(eval $(call link-program,TestFlatPoint,TEST_FLAT_POINT))
493 TEST_FLAT_GEO_POINT_SOURCES = \
494 $(TEST_SRC_DIR)/tap.c \
495 $(TEST_SRC_DIR)/TestFlatGeoPoint.cpp
496 TEST_FLAT_GEO_POINT_DEPENDS = GEO MATH
497 $(eval $(call link-program,TestFlatGeoPoint,TEST_FLAT_GEO_POINT))
499 TEST_FLAT_LINE_SOURCES = \
500 $(TEST_SRC_DIR)/tap.c \
501 $(TEST_SRC_DIR)/TestFlatLine.cpp
502 TEST_FLAT_LINE_DEPENDS = GEO MATH
503 $(eval $(call link-program,TestFlatLine,TEST_FLAT_LINE))
505 TEST_THERMALBASE_SOURCES = \
506 $(SRC)/Computer/ThermalBase.cpp \
507 $(TEST_SRC_DIR)/tap.c \
508 $(TEST_SRC_DIR)/TestThermalBase.cpp \
509 $(TEST_SRC_DIR)/FakeTerrain.cpp
510 TEST_THERMALBASE_DEPENDS = GEO MATH THREAD
511 $(eval $(call link-program,TestThermalBase,TEST_THERMALBASE))
513 TEST_EARTH_SOURCES = \
514 $(TEST_SRC_DIR)/tap.c \
515 $(TEST_SRC_DIR)/TestEarth.cpp
516 TEST_EARTH_DEPENDS = GEO MATH
517 $(eval $(call link-program,TestEarth,TEST_EARTH))
519 TEST_COLOR_RAMP_SOURCES = \
520 $(SRC)/Screen/Ramp.cpp \
521 $(TEST_SRC_DIR)/tap.c \
522 $(TEST_SRC_DIR)/TestColorRamp.cpp
523 TEST_COLOR_RAMP_CPPFLAGS = $(SCREEN_CPPFLAGS)
524 $(eval $(call link-program,TestColorRamp,TEST_COLOR_RAMP))
526 TEST_SUN_EPHEMERIS_SOURCES = \
527 $(SRC)/Math/SunEphemeris.cpp \
528 $(TEST_SRC_DIR)/tap.c \
529 $(TEST_SRC_DIR)/TestSunEphemeris.cpp
530 TEST_SUN_EPHEMERIS_DEPENDS = MATH
531 $(eval $(call link-program,TestSunEphemeris,TEST_SUN_EPHEMERIS))
533 TEST_UTM_SOURCES = \
534 $(TEST_SRC_DIR)/tap.c \
535 $(TEST_SRC_DIR)/TestUTM.cpp
536 TEST_UTM_DEPENDS = GEO MATH
537 $(eval $(call link-program,TestUTM,TEST_UTM))
539 TEST_VALIDITY_SOURCES = \
540 $(TEST_SRC_DIR)/tap.c \
541 $(TEST_SRC_DIR)/TestValidity.cpp
542 $(eval $(call link-program,TestValidity,TEST_VALIDITY))
544 TEST_RADIX_TREE_SOURCES = \
545 $(TEST_SRC_DIR)/tap.c \
546 $(TEST_SRC_DIR)/TestRadixTree.cpp
547 TEST_RADIX_TREE_DEPENDS = UTIL
548 $(eval $(call link-program,TestRadixTree,TEST_RADIX_TREE))
550 TEST_LOGGER_SOURCES = \
551 $(SRC)/IGC/IGCFix.cpp \
552 $(SRC)/IGC/IGCWriter.cpp \
553 $(SRC)/IGC/IGCString.cpp \
554 $(SRC)/Logger/LoggerFRecord.cpp \
555 $(SRC)/Logger/GRecord.cpp \
556 $(SRC)/Logger/LoggerEPE.cpp \
557 $(SRC)/Logger/MD5.cpp \
558 $(SRC)/Version.cpp \
559 $(SRC)/Atmosphere/Pressure.cpp \
560 $(TEST_SRC_DIR)/tap.c \
561 $(TEST_SRC_DIR)/TestLogger.cpp
562 TEST_LOGGER_DEPENDS = IO OS GEO MATH UTIL
563 $(eval $(call link-program,TestLogger,TEST_LOGGER))
565 TEST_GRECORD_SOURCES = \
566 $(SRC)/Logger/GRecord.cpp \
567 $(SRC)/Logger/MD5.cpp \
568 $(SRC)/Version.cpp \
569 $(TEST_SRC_DIR)/tap.c \
570 $(TEST_SRC_DIR)/TestGRecord.cpp
571 TEST_GRECORD_DEPENDS = IO OS UTIL
572 $(eval $(call link-program,TestGRecord,TEST_GRECORD))
574 TEST_DRIVER_SOURCES = \
575 $(SRC)/Device/Port/NullPort.cpp \
576 $(SRC)/Device/Parser.cpp \
577 $(SRC)/Device/Internal.cpp \
578 $(SRC)/Device/Declaration.cpp \
579 $(SRC)/Device/Driver.cpp \
580 $(SRC)/FLARM/Traffic.cpp \
581 $(SRC)/FLARM/FlarmId.cpp \
582 $(SRC)/FLARM/FlarmCalculations.cpp \
583 $(SRC)/NMEA/Info.cpp \
584 $(SRC)/NMEA/Attitude.cpp \
585 $(SRC)/NMEA/Acceleration.cpp \
586 $(SRC)/NMEA/ExternalSettings.cpp \
587 $(SRC)/NMEA/SwitchState.cpp \
588 $(SRC)/NMEA/InputLine.cpp \
589 $(SRC)/NMEA/Checksum.cpp \
590 $(SRC)/FLARM/List.cpp \
591 $(SRC)/Units/Descriptor.cpp \
592 $(SRC)/Units/System.cpp \
593 $(SRC)/IGC/IGCParser.cpp \
594 $(SRC)/Computer/ClimbAverageCalculator.cpp \
595 $(SRC)/Operation/Operation.cpp \
596 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
597 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
598 $(SRC)/Atmosphere/Pressure.cpp \
599 $(SRC)/Atmosphere/AirDensity.cpp \
600 $(ENGINE_SRC_DIR)/Waypoint/Waypoint.cpp \
601 $(TEST_SRC_DIR)/tap.c \
602 $(TEST_SRC_DIR)/FakeMessage.cpp \
603 $(TEST_SRC_DIR)/FakeGeoid.cpp \
604 $(TEST_SRC_DIR)/TestDriver.cpp
605 TEST_DRIVER_DEPENDS = DRIVER GEO MATH IO OS THREAD UTIL TIME
606 $(eval $(call link-program,TestDriver,TEST_DRIVER))
608 TEST_WAY_POINT_FILE_SOURCES = \
609 $(SRC)/Units/Descriptor.cpp \
610 $(SRC)/Units/System.cpp \
611 $(SRC)/Waypoint/WaypointFileType.cpp \
612 $(SRC)/Waypoint/WaypointReaderBase.cpp \
613 $(SRC)/Waypoint/WaypointReader.cpp \
614 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
615 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
616 $(SRC)/Waypoint/WaypointReaderZander.cpp \
617 $(SRC)/Waypoint/WaypointReaderFS.cpp \
618 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
619 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
620 $(SRC)/Waypoint/WaypointWriter.cpp \
621 $(SRC)/Operation/Operation.cpp \
622 $(SRC)/RadioFrequency.cpp \
623 $(TEST_SRC_DIR)/FakeTerrain.cpp \
624 $(TEST_SRC_DIR)/tap.c \
625 $(TEST_SRC_DIR)/TestWaypointReader.cpp
626 TEST_WAY_POINT_FILE_DEPENDS = WAYPOINT GEO MATH IO UTIL ZZIP OS THREAD
627 $(eval $(call link-program,TestWaypointReader,TEST_WAY_POINT_FILE))
629 TEST_TRACE_SOURCES = \
630 $(TEST_SRC_DIR)/tap.c \
631 $(SRC)/Engine/Trace/Point.cpp \
632 $(SRC)/Engine/Trace/Trace.cpp \
633 $(SRC)/IGC/IGCParser.cpp \
634 $(TEST_SRC_DIR)/FakeTerrain.cpp \
635 $(TEST_SRC_DIR)/Printing.cpp \
636 $(TEST_SRC_DIR)/TestTrace.cpp
637 TEST_TRACE_DEPENDS = IO OS GEO MATH UTIL
638 $(eval $(call link-program,TestTrace,TEST_TRACE))
640 FLIGHT_TABLE_SOURCES = \
641 $(SRC)/IGC/IGCParser.cpp \
642 $(TEST_SRC_DIR)/FlightTable.cpp
643 FLIGHT_TABLE_DEPENDS = GEO MATH IO OS UTIL
644 $(eval $(call link-program,FlightTable,FLIGHT_TABLE))
646 build-check: $(TESTS)
648 check: $(TESTS) | $(OUT)/test/dirstamp
649 @$(NQ)echo " TEST $(notdir $(patsubst %$(TARGET_EXEEXT),%,$^))"
650 $(Q)$(PERL) $(TEST_SRC_DIR)/testall.pl $(TESTS)
652 DEBUG_PROGRAM_NAMES = \
653 test_reach \
654 test_route \
655 test_troute \
656 TestTrace \
657 FlightTable \
658 RunTrace \
659 RunOLCAnalysis \
660 FlightPath \
661 BenchmarkProjection \
662 BenchmarkFAITriangleSector \
663 DumpTextFile DumpTextZip WriteTextFile RunTextWriter \
664 DumpHexColor \
665 RunXMLParser \
666 ReadMO \
667 ReadProfileString ReadProfileInt \
668 WriteProfileString WriteProfileInt \
669 RunMD5 \
670 ReadGRecord VerifyGRecord AppendGRecord FixGRecord \
671 AddChecksum \
672 KeyCodeDumper \
673 LoadTopography LoadTerrain \
674 RunHeightMatrix \
675 RunInputParser \
676 RunWaypointParser RunAirspaceParser \
677 ReadPort RunPortHandler LogPort \
678 RunDeviceDriver RunDeclare RunFlightList RunDownloadFlight \
679 RunEnableNMEA \
680 CAI302Tool \
681 lxn2igc \
682 RunIGCWriter \
683 RunFlightLogger \
684 RunCirclingWind RunWindZigZag RunWindEKF \
685 RunTask \
686 ViewImage \
687 RunCanvas RunMapWindow \
688 RunDialog RunListControl \
689 RunTextEntry RunNumberEntry RunTimeEntry RunAngleEntry \
690 RunTerminal \
691 RunRenderOZ \
692 RunChartRenderer \
693 RunWindArrowRenderer \
694 RunHorizonRenderer \
695 RunFinalGlideBarRenderer \
696 RunFAITriangleSectorRenderer \
697 RunProgressWindow \
698 RunJobDialog \
699 RunAnalysis \
700 RunAirspaceWarningDialog \
701 TestNotify \
702 FeedNMEA \
703 FeedVega EmulateDevice \
704 DebugDisplay \
705 RunVegaSettings \
706 RunFlarmUtils \
707 RunLX1600Utils \
708 TaskInfo DumpTaskFile \
709 DumpFlarmNet \
710 RunRepositoryParser \
711 IGC2NMEA \
712 NearestWaypoints \
713 RunKalmanFilter1d \
714 ArcApprox
716 ifeq ($(TARGET),UNIX)
717 DEBUG_PROGRAM_NAMES += \
718 AnalyseFlight \
719 FeedTCP \
720 FeedFlyNetData
721 endif
723 ifeq ($(TARGET),PC)
724 DEBUG_PROGRAM_NAMES += FeedTCP \
725 FeedFlyNetData
726 endif
728 ifeq ($(HAVE_HTTP),y)
729 DEBUG_PROGRAM_NAMES += DownloadFile RunDownloadToFile RunNOAADownloader RunSkyLinesTracking RunLiveTrack24
730 endif
732 ifeq ($(HAVE_PCM_PLAYER),y)
733 DEBUG_PROGRAM_NAMES += PlayTone PlayVario DumpVario
734 endif
736 ifeq ($(HAVE_CE)$(findstring $(TARGET),ALTAIR),y)
737 DEBUG_PROGRAM_NAMES += TodayInstall
738 endif
740 DEBUG_PROGRAMS = $(call name-to-bin,$(DEBUG_PROGRAM_NAMES))
742 DEBUG_REPLAY_SOURCES = \
743 $(SRC)/Device/Port/Port.cpp \
744 $(SRC)/Device/Port/NullPort.cpp \
745 $(SRC)/Device/Driver.cpp \
746 $(SRC)/Device/Register.cpp \
747 $(SRC)/Device/Parser.cpp \
748 $(SRC)/Device/Internal.cpp \
749 $(SRC)/IGC/IGCParser.cpp \
750 $(SRC)/Units/Descriptor.cpp \
751 $(SRC)/Units/System.cpp \
752 $(ENGINE_SRC_DIR)/Airspace/AirspaceWarningConfig.cpp \
753 $(SRC)/NMEA/InputLine.cpp \
754 $(SRC)/NMEA/Info.cpp \
755 $(SRC)/NMEA/MoreData.cpp \
756 $(SRC)/NMEA/SwitchState.cpp \
757 $(SRC)/NMEA/Attitude.cpp \
758 $(SRC)/NMEA/Acceleration.cpp \
759 $(SRC)/NMEA/ExternalSettings.cpp \
760 $(SRC)/NMEA/Checksum.cpp \
761 $(SRC)/NMEA/Derived.cpp \
762 $(SRC)/NMEA/VarioInfo.cpp \
763 $(SRC)/NMEA/ClimbInfo.cpp \
764 $(SRC)/NMEA/ClimbHistory.cpp \
765 $(SRC)/NMEA/CirclingInfo.cpp \
766 $(SRC)/NMEA/ThermalBand.cpp \
767 $(SRC)/NMEA/ThermalLocator.cpp \
768 $(SRC)/NMEA/FlyingState.cpp \
769 $(SRC)/Operation/Operation.cpp \
770 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
771 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
772 $(SRC)/Engine/Navigation/TraceHistory.cpp \
773 $(SRC)/FLARM/FlarmId.cpp \
774 $(SRC)/FLARM/Traffic.cpp \
775 $(SRC)/FLARM/List.cpp \
776 $(SRC)/Computer/BasicComputer.cpp \
777 $(SRC)/Computer/FlyingComputer.cpp \
778 $(SRC)/Atmosphere/AirDensity.cpp \
779 $(SRC)/Atmosphere/Pressure.cpp \
780 $(SRC)/Engine/Navigation/Aircraft.cpp \
781 $(SRC)/Engine/GlideSolvers/GlidePolar.cpp \
782 $(SRC)/Engine/GlideSolvers/PolarCoefficients.cpp \
783 $(SRC)/Engine/GlideSolvers/GlideResult.cpp \
784 $(SRC)/Engine/Route/Config.cpp \
785 $(SRC)/Engine/Task/Stats/TaskStats.cpp \
786 $(SRC)/Engine/Task/Stats/CommonStats.cpp \
787 $(SRC)/Engine/Task/Stats/ElementStat.cpp \
788 $(SRC)/Engine/Task/Stats/DistanceStat.cpp \
789 $(SRC)/Engine/Task/Stats/TaskVario.cpp \
790 $(TEST_SRC_DIR)/FakeMessage.cpp \
791 $(TEST_SRC_DIR)/FakeGeoid.cpp \
792 $(TEST_SRC_DIR)/DebugReplayIGC.cpp \
793 $(TEST_SRC_DIR)/DebugReplayNMEA.cpp \
794 $(TEST_SRC_DIR)/DebugReplay.cpp
795 DEBUG_REPLAY_LDADD = \
796 $(DRIVER_LDADD) \
797 $(IO_LIBS) \
798 $(THREAD_LIBS) \
799 $(OS_LIBS)
801 BENCHMARK_PROJECTION_SOURCES = \
802 $(SRC)/Projection/Projection.cpp \
803 $(TEST_SRC_DIR)/BenchmarkProjection.cpp
804 BENCHMARK_PROJECTION_DEPENDS = MATH
805 BENCHMARK_PROJECTION_CPPFLAGS = $(SCREEN_CPPFLAGS)
806 $(eval $(call link-program,BenchmarkProjection,BENCHMARK_PROJECTION))
808 BENCHMARK_FAI_TRIANGLE_SECTOR_SOURCES = \
809 $(ENGINE_SRC_DIR)/Task/Shapes/FAITriangleArea.cpp \
810 $(TEST_SRC_DIR)/BenchmarkFAITriangleSector.cpp
811 BENCHMARK_FAI_TRIANGLE_SECTOR_DEPENDS = GEO MATH
812 $(eval $(call link-program,BenchmarkFAITriangleSector,BENCHMARK_FAI_TRIANGLE_SECTOR))
814 DUMP_TEXT_FILE_SOURCES = \
815 $(TEST_SRC_DIR)/DumpTextFile.cpp
816 DUMP_TEXT_FILE_DEPENDS = IO OS ZZIP UTIL
817 $(eval $(call link-program,DumpTextFile,DUMP_TEXT_FILE))
819 RUN_KALMAN_FILTER_1D_SOURCES = \
820 $(TEST_SRC_DIR)/RunKalmanFilter1d.cpp
821 RUN_KALMAN_FILTER_1D_DEPENDS = IO OS MATH UTIL
822 $(eval $(call link-program,RunKalmanFilter1d,RUN_KALMAN_FILTER_1D))
824 ARC_APPROX_SOURCES = \
825 $(SRC)/Formatter/GeoPointFormatter.cpp \
826 $(TEST_SRC_DIR)/ArcApprox.cpp
827 ARC_APPROX_DEPENDS = UTIL GEO MATH
828 $(eval $(call link-program,ArcApprox,ARC_APPROX))
830 DUMP_TEXT_ZIP_SOURCES = \
831 $(TEST_SRC_DIR)/DumpTextZip.cpp
832 DUMP_TEXT_ZIP_DEPENDS = IO ZZIP UTIL
833 $(eval $(call link-program,DumpTextZip,DUMP_TEXT_ZIP))
835 DUMP_HEX_COLOR_SOURCES = \
836 $(SRC)/Formatter/HexColor.cpp \
837 $(TEST_SRC_DIR)/DumpHexColor.cpp
838 DUMP_HEX_COLOR_DEPENDS = SCREEN EVENT UTIL
839 $(eval $(call link-program,DumpHexColor,DUMP_HEX_COLOR))
841 DEBUG_DISPLAY_SOURCES = \
842 $(SRC)/Hardware/Display.cpp \
843 $(TEST_SRC_DIR)/FakeAsset.cpp \
844 $(TEST_SRC_DIR)/DebugDisplay.cpp
845 DEBUG_DISPLAY_DEPENDS = IO
846 $(eval $(call link-program,DebugDisplay,DEBUG_DISPLAY))
848 WRITE_TEXT_FILE_SOURCES = \
849 $(TEST_SRC_DIR)/WriteTextFile.cpp
850 WRITE_TEXT_FILE_DEPENDS = IO ZZIP
851 $(eval $(call link-program,WriteTextFile,WRITE_TEXT_FILE))
853 RUN_TEXT_WRITER_SOURCES = \
854 $(TEST_SRC_DIR)/RunTextWriter.cpp
855 RUN_TEXT_WRITER_DEPENDS = IO ZZIP
856 $(eval $(call link-program,RunTextWriter,RUN_TEXT_WRITER))
858 DOWNLOAD_FILE_SOURCES = \
859 $(SRC)/Version.cpp \
860 $(TEST_SRC_DIR)/DownloadFile.cpp
861 DOWNLOAD_FILE_DEPENDS = IO LIBNET UTIL
862 $(eval $(call link-program,DownloadFile,DOWNLOAD_FILE))
864 RUN_DOWNLOAD_TO_FILE_SOURCES = \
865 $(SRC)/Version.cpp \
866 $(SRC)/Logger/MD5.cpp \
867 $(SRC)/OS/FileUtil.cpp \
868 $(SRC)/Operation/Operation.cpp \
869 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
870 $(TEST_SRC_DIR)/RunDownloadToFile.cpp
871 RUN_DOWNLOAD_TO_FILE_DEPENDS = LIBNET UTIL
872 $(eval $(call link-program,RunDownloadToFile,RUN_DOWNLOAD_TO_FILE))
874 RUN_NOAA_DOWNLOADER_SOURCES = \
875 $(SRC)/Version.cpp \
876 $(SRC)/Weather/NOAADownloader.cpp \
877 $(SRC)/Weather/NOAAStore.cpp \
878 $(SRC)/Weather/NOAAUpdater.cpp \
879 $(SRC)/Weather/METARParser.cpp \
880 $(SRC)/Atmosphere/Pressure.cpp \
881 $(SRC)/Formatter/GeoPointFormatter.cpp \
882 $(SRC)/Formatter/Units.cpp \
883 $(SRC)/Formatter/UserUnits.cpp \
884 $(SRC)/Units/Units.cpp \
885 $(SRC)/Units/Settings.cpp \
886 $(SRC)/Units/Descriptor.cpp \
887 $(SRC)/Units/System.cpp \
888 $(SRC)/Operation/Operation.cpp \
889 $(TEST_SRC_DIR)/ConsoleJobRunner.cpp \
890 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
891 $(TEST_SRC_DIR)/RunNOAADownloader.cpp
892 RUN_NOAA_DOWNLOADER_DEPENDS = GEO IO MATH LIBNET UTIL TIME
893 $(eval $(call link-program,RunNOAADownloader,RUN_NOAA_DOWNLOADER))
895 RUN_SL_TRACKING_SOURCES = \
896 $(DEBUG_REPLAY_SOURCES) \
897 $(SRC)/NMEA/Info.cpp \
898 $(SRC)/NMEA/ExternalSettings.cpp \
899 $(SRC)/NMEA/Attitude.cpp \
900 $(SRC)/NMEA/Acceleration.cpp \
901 $(SRC)/Tracking/SkyLines/Client.cpp \
902 $(TEST_SRC_DIR)/RunSkyLinesTracking.cpp
903 RUN_SL_TRACKING_LDADD = $(ASYNC_LDADD) $(DEBUG_REPLAY_LDADD)
904 RUN_SL_TRACKING_DEPENDS = LIBNET OS GEO MATH UTIL TIME
905 $(eval $(call link-program,RunSkyLinesTracking,RUN_SL_TRACKING))
907 RUN_LIVETRACK24_SOURCES = \
908 $(DEBUG_REPLAY_SOURCES) \
909 $(SRC)/Tracking/LiveTrack24.cpp \
910 $(SRC)/Version.cpp \
911 $(SRC)/Units/Units.cpp \
912 $(SRC)/Units/Settings.cpp \
913 $(SRC)/Units/Descriptor.cpp \
914 $(TEST_SRC_DIR)/RunLiveTrack24.cpp
915 RUN_LIVETRACK24_LDADD = $(DEBUG_REPLAY_LDADD)
916 RUN_LIVETRACK24_DEPENDS = LIBNET GEO MATH UTIL TIME
917 $(eval $(call link-program,RunLiveTrack24,RUN_LIVETRACK24))
919 RUN_REPOSITORY_PARSER_SOURCES = \
920 $(SRC)/Repository/FileRepository.cpp \
921 $(SRC)/Repository/Parser.cpp \
922 $(TEST_SRC_DIR)/RunRepositoryParser.cpp
923 RUN_REPOSITORY_PARSER_DEPENDS = LIBNET IO OS UTIL
924 $(eval $(call link-program,RunRepositoryParser,RUN_REPOSITORY_PARSER))
926 RUN_XML_PARSER_SOURCES = \
927 $(SRC)/XML/Node.cpp \
928 $(SRC)/XML/Parser.cpp \
929 $(SRC)/XML/Writer.cpp \
930 $(TEST_SRC_DIR)/RunXMLParser.cpp
931 RUN_XML_PARSER_DEPENDS = IO OS UTIL
932 $(eval $(call link-program,RunXMLParser,RUN_XML_PARSER))
934 READ_MO_SOURCES = \
935 $(SRC)/Language/MOFile.cpp \
936 $(SRC)/OS/FileMapping.cpp \
937 $(TEST_SRC_DIR)/ReadMO.cpp
938 READ_MO_DEPENDS = UTIL
939 $(eval $(call link-program,ReadMO,READ_MO))
941 READ_PROFILE_STRING_SOURCES = \
942 $(SRC)/LocalPath.cpp \
943 $(SRC)/Profile/Profile.cpp \
944 $(TEST_SRC_DIR)/FakeLogFile.cpp \
945 $(TEST_SRC_DIR)/ReadProfileString.cpp
946 READ_PROFILE_STRING_DEPENDS = PROFILE IO OS UTIL
947 $(eval $(call link-program,ReadProfileString,READ_PROFILE_STRING))
949 READ_PROFILE_INT_SOURCES = \
950 $(SRC)/LocalPath.cpp \
951 $(SRC)/Profile/Profile.cpp \
952 $(TEST_SRC_DIR)/FakeLogFile.cpp \
953 $(TEST_SRC_DIR)/ReadProfileInt.cpp
954 READ_PROFILE_INT_DEPENDS = PROFILE IO OS UTIL
955 $(eval $(call link-program,ReadProfileInt,READ_PROFILE_INT))
957 WRITE_PROFILE_STRING_SOURCES = \
958 $(SRC)/LocalPath.cpp \
959 $(SRC)/Profile/Profile.cpp \
960 $(TEST_SRC_DIR)/FakeLogFile.cpp \
961 $(TEST_SRC_DIR)/WriteProfileString.cpp
962 WRITE_PROFILE_STRING_DEPENDS = PROFILE IO OS UTIL
963 $(eval $(call link-program,WriteProfileString,WRITE_PROFILE_STRING))
965 WRITE_PROFILE_INT_SOURCES = \
966 $(SRC)/LocalPath.cpp \
967 $(SRC)/Profile/Profile.cpp \
968 $(TEST_SRC_DIR)/FakeLogFile.cpp \
969 $(TEST_SRC_DIR)/WriteProfileInt.cpp
970 WRITE_PROFILE_INT_DEPENDS = PROFILE IO OS UTIL
971 $(eval $(call link-program,WriteProfileInt,WRITE_PROFILE_INT))
973 RUN_MD5_SOURCES = \
974 $(SRC)/Logger/MD5.cpp \
975 $(TEST_SRC_DIR)/RunMD5.cpp
976 $(eval $(call link-program,RunMD5,RUN_MD5))
978 READ_GRECORD_SOURCES = \
979 $(SRC)/Logger/GRecord.cpp \
980 $(SRC)/Logger/MD5.cpp \
981 $(TEST_SRC_DIR)/ReadGRecord.cpp
982 READ_GRECORD_DEPENDS = IO OS UTIL
983 $(eval $(call link-program,ReadGRecord,READ_GRECORD))
985 VERIFY_GRECORD_SOURCES = \
986 $(SRC)/Logger/GRecord.cpp \
987 $(SRC)/Logger/MD5.cpp \
988 $(TEST_SRC_DIR)/VerifyGRecord.cpp
989 VERIFY_GRECORD_DEPENDS = IO OS UTIL
990 $(eval $(call link-program,VerifyGRecord,VERIFY_GRECORD))
992 APPEND_GRECORD_SOURCES = \
993 $(SRC)/Logger/GRecord.cpp \
994 $(SRC)/Logger/MD5.cpp \
995 $(TEST_SRC_DIR)/AppendGRecord.cpp
996 APPEND_GRECORD_DEPENDS = IO OS UTIL
997 $(eval $(call link-program,AppendGRecord,APPEND_GRECORD))
999 FIX_GRECORD_SOURCES = \
1000 $(SRC)/Logger/GRecord.cpp \
1001 $(SRC)/Logger/MD5.cpp \
1002 $(TEST_SRC_DIR)/FixGRecord.cpp
1003 FIX_GRECORD_DEPENDS = IO OS UTIL
1004 $(eval $(call link-program,FixGRecord,FIX_GRECORD))
1006 ADD_CHECKSUM_SOURCES = \
1007 $(TEST_SRC_DIR)/AddChecksum.cpp
1008 ADD_CHECKSUM_DEPENDS = IO
1009 $(eval $(call link-program,AddChecksum,ADD_CHECKSUM))
1011 KEY_CODE_DUMPER_SOURCES = \
1012 $(SRC)/Hardware/Display.cpp \
1013 $(SRC)/Screen/Layout.cpp \
1014 $(SRC)/Compatibility/fmode.c \
1015 $(SRC)/ResourceLoader.cpp \
1016 $(TEST_SRC_DIR)/Fonts.cpp \
1017 $(TEST_SRC_DIR)/FakeAsset.cpp \
1018 $(TEST_SRC_DIR)/FakeBlank.cpp \
1019 $(TEST_SRC_DIR)/KeyCodeDumper.cpp
1020 KEY_CODE_DUMPER_LDADD = $(FAKE_LIBS)
1021 KEY_CODE_DUMPER_DEPENDS = SCREEN EVENT OS THREAD MATH UTIL
1022 $(eval $(call link-program,KeyCodeDumper,KEY_CODE_DUMPER))
1024 LOAD_TOPOGRAPHY_SOURCES = \
1025 $(SRC)/Topography/TopographyStore.cpp \
1026 $(SRC)/Topography/TopographyFile.cpp \
1027 $(SRC)/Topography/XShape.cpp \
1028 $(SRC)/Projection/Projection.cpp \
1029 $(SRC)/Projection/WindowProjection.cpp \
1030 $(SRC)/Operation/Operation.cpp \
1031 $(TEST_SRC_DIR)/LoadTopography.cpp
1032 ifeq ($(OPENGL),y)
1033 LOAD_TOPOGRAPHY_SOURCES += \
1034 $(SCREEN_SRC_DIR)/OpenGL/Triangulate.cpp
1035 endif
1036 LOAD_TOPOGRAPHY_DEPENDS = GEO MATH IO UTIL SHAPELIB ZZIP
1037 LOAD_TOPOGRAPHY_CPPFLAGS = $(SCREEN_CPPFLAGS)
1038 $(eval $(call link-program,LoadTopography,LOAD_TOPOGRAPHY))
1040 LOAD_TERRAIN_SOURCES = \
1041 $(SRC)/Operation/Operation.cpp \
1042 $(TEST_SRC_DIR)/LoadTerrain.cpp
1043 LOAD_TERRAIN_CPPFLAGS = $(SCREEN_CPPFLAGS)
1044 LOAD_TERRAIN_DEPENDS = TERRAIN GEO MATH IO OS ZZIP UTIL
1045 $(eval $(call link-program,LoadTerrain,LOAD_TERRAIN))
1047 RUN_HEIGHT_MATRIX_SOURCES = \
1048 $(SRC)/Projection/Projection.cpp \
1049 $(SRC)/Projection/WindowProjection.cpp \
1050 $(SRC)/Operation/Operation.cpp \
1051 $(TEST_SRC_DIR)/RunHeightMatrix.cpp
1052 RUN_HEIGHT_MATRIX_CPPFLAGS = $(SCREEN_CPPFLAGS)
1053 RUN_HEIGHT_MATRIX_DEPENDS = TERRAIN GEO MATH IO OS ZZIP UTIL
1054 $(eval $(call link-program,RunHeightMatrix,RUN_HEIGHT_MATRIX))
1056 RUN_INPUT_PARSER_SOURCES = \
1057 $(SRC)/Input/InputKeys.cpp \
1058 $(SRC)/Input/InputConfig.cpp \
1059 $(SRC)/Input/InputParser.cpp \
1060 $(SRC)/Menu/MenuData.cpp \
1061 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1062 $(TEST_SRC_DIR)/RunInputParser.cpp
1063 RUN_INPUT_PARSER_DEPENDS = IO OS UTIL
1064 $(eval $(call link-program,RunInputParser,RUN_INPUT_PARSER))
1066 RUN_WAY_POINT_PARSER_SOURCES = \
1067 $(SRC)/Waypoint/WaypointFileType.cpp \
1068 $(SRC)/Waypoint/WaypointReaderBase.cpp \
1069 $(SRC)/Waypoint/WaypointReader.cpp \
1070 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
1071 $(SRC)/Waypoint/WaypointReaderFS.cpp \
1072 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
1073 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
1074 $(SRC)/Waypoint/WaypointReaderZander.cpp \
1075 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
1076 $(SRC)/Waypoint/WaypointWriter.cpp \
1077 $(SRC)/Units/Descriptor.cpp \
1078 $(SRC)/Units/System.cpp \
1079 $(SRC)/Compatibility/fmode.c \
1080 $(SRC)/Operation/Operation.cpp \
1081 $(SRC)/RadioFrequency.cpp \
1082 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1083 $(TEST_SRC_DIR)/RunWaypointParser.cpp
1084 RUN_WAY_POINT_PARSER_LDADD = $(FAKE_LIBS)
1085 RUN_WAY_POINT_PARSER_DEPENDS = WAYPOINT IO OS THREAD ZZIP GEO MATH UTIL
1086 $(eval $(call link-program,RunWaypointParser,RUN_WAY_POINT_PARSER))
1088 NEAREST_WAYPOINTS_SOURCES = \
1089 $(SRC)/Waypoint/WaypointFileType.cpp \
1090 $(SRC)/Waypoint/WaypointReaderBase.cpp \
1091 $(SRC)/Waypoint/WaypointReader.cpp \
1092 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
1093 $(SRC)/Waypoint/WaypointReaderFS.cpp \
1094 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
1095 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
1096 $(SRC)/Waypoint/WaypointReaderZander.cpp \
1097 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
1098 $(SRC)/Waypoint/WaypointWriter.cpp \
1099 $(SRC)/Units/Descriptor.cpp \
1100 $(SRC)/Units/System.cpp \
1101 $(SRC)/Compatibility/fmode.c \
1102 $(SRC)/Operation/Operation.cpp \
1103 $(SRC)/RadioFrequency.cpp \
1104 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1105 $(TEST_SRC_DIR)/NearestWaypoints.cpp
1106 NEAREST_WAYPOINTS_LDADD = $(FAKE_LIBS)
1107 NEAREST_WAYPOINTS_DEPENDS = WAYPOINT IO OS THREAD ZZIP GEO MATH UTIL
1108 $(eval $(call link-program,NearestWaypoints,NEAREST_WAYPOINTS))
1110 RUN_AIRSPACE_PARSER_SOURCES = \
1111 $(SRC)/Airspace/AirspaceParser.cpp \
1112 $(SRC)/Units/Descriptor.cpp \
1113 $(SRC)/Units/System.cpp \
1114 $(SRC)/Operation/Operation.cpp \
1115 $(SRC)/Atmosphere/Pressure.cpp \
1116 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1117 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1118 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1119 $(TEST_SRC_DIR)/RunAirspaceParser.cpp
1120 RUN_AIRSPACE_PARSER_LDADD = $(FAKE_LIBS)
1121 RUN_AIRSPACE_PARSER_DEPENDS = IO OS AIRSPACE ZZIP GEO MATH UTIL
1122 $(eval $(call link-program,RunAirspaceParser,RUN_AIRSPACE_PARSER))
1124 READ_PORT_SOURCES = \
1125 $(SRC)/Device/Port/ConfiguredPort.cpp \
1126 $(SRC)/OS/LogError.cpp \
1127 $(SRC)/Operation/Operation.cpp \
1128 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1129 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1130 $(TEST_SRC_DIR)/DebugPort.cpp \
1131 $(TEST_SRC_DIR)/ReadPort.cpp
1132 READ_PORT_DEPENDS = PORT ASYNC OS THREAD UTIL
1133 $(eval $(call link-program,ReadPort,READ_PORT))
1135 RUN_PORT_HANDLER_SOURCES = \
1136 $(SRC)/Device/Port/ConfiguredPort.cpp \
1137 $(SRC)/OS/LogError.cpp \
1138 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1139 $(TEST_SRC_DIR)/DebugPort.cpp \
1140 $(TEST_SRC_DIR)/RunPortHandler.cpp
1141 RUN_PORT_HANDLER_DEPENDS = PORT ASYNC OS THREAD UTIL
1142 $(eval $(call link-program,RunPortHandler,RUN_PORT_HANDLER))
1144 LOG_PORT_SOURCES = \
1145 $(SRC)/Device/Port/ConfiguredPort.cpp \
1146 $(SRC)/OS/LogError.cpp \
1147 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1148 $(TEST_SRC_DIR)/DebugPort.cpp \
1149 $(TEST_SRC_DIR)/LogPort.cpp
1150 LOG_PORT_DEPENDS = PORT ASYNC OS THREAD UTIL
1151 $(eval $(call link-program,LogPort,LOG_PORT))
1153 RUN_DEVICE_DRIVER_SOURCES = \
1154 $(SRC)/FLARM/FlarmId.cpp \
1155 $(SRC)/Units/Descriptor.cpp \
1156 $(SRC)/Units/System.cpp \
1157 $(SRC)/Device/Port/Port.cpp \
1158 $(SRC)/Device/Port/NullPort.cpp \
1159 $(SRC)/Device/Driver.cpp \
1160 $(SRC)/Device/Register.cpp \
1161 $(SRC)/Device/Parser.cpp \
1162 $(SRC)/Device/Internal.cpp \
1163 $(SRC)/FLARM/Traffic.cpp \
1164 $(SRC)/FLARM/List.cpp \
1165 $(SRC)/NMEA/Info.cpp \
1166 $(SRC)/NMEA/Acceleration.cpp \
1167 $(SRC)/NMEA/Attitude.cpp \
1168 $(SRC)/NMEA/ExternalSettings.cpp \
1169 $(SRC)/NMEA/SwitchState.cpp \
1170 $(SRC)/NMEA/InputLine.cpp \
1171 $(SRC)/NMEA/Checksum.cpp \
1172 $(SRC)/IGC/IGCParser.cpp \
1173 $(SRC)/FLARM/FlarmCalculations.cpp \
1174 $(SRC)/Computer/ClimbAverageCalculator.cpp \
1175 $(SRC)/Operation/Operation.cpp \
1176 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1177 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1178 $(SRC)/Atmosphere/AirDensity.cpp \
1179 $(SRC)/Atmosphere/Pressure.cpp \
1180 $(TEST_SRC_DIR)/FakeMessage.cpp \
1181 $(TEST_SRC_DIR)/FakeGeoid.cpp \
1182 $(TEST_SRC_DIR)/RunDeviceDriver.cpp
1183 RUN_DEVICE_DRIVER_DEPENDS = DRIVER IO OS THREAD GEO MATH UTIL TIME
1184 $(eval $(call link-program,RunDeviceDriver,RUN_DEVICE_DRIVER))
1186 RUN_DECLARE_SOURCES = \
1187 $(SRC)/Device/Port/ConfiguredPort.cpp \
1188 $(SRC)/Units/Descriptor.cpp \
1189 $(SRC)/Units/System.cpp \
1190 $(SRC)/Device/Driver.cpp \
1191 $(SRC)/Device/Register.cpp \
1192 $(SRC)/Device/Internal.cpp \
1193 $(SRC)/Device/Declaration.cpp \
1194 $(SRC)/NMEA/InputLine.cpp \
1195 $(SRC)/NMEA/Checksum.cpp \
1196 $(SRC)/NMEA/ExternalSettings.cpp \
1197 $(SRC)/NMEA/Info.cpp \
1198 $(SRC)/NMEA/SwitchState.cpp \
1199 $(SRC)/NMEA/Attitude.cpp \
1200 $(SRC)/NMEA/Acceleration.cpp \
1201 $(SRC)/IGC/IGCParser.cpp \
1202 $(SRC)/OS/LogError.cpp \
1203 $(SRC)/Operation/Operation.cpp \
1204 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1205 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1206 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1207 $(SRC)/Atmosphere/AirDensity.cpp \
1208 $(SRC)/Atmosphere/Pressure.cpp \
1209 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1210 $(TEST_SRC_DIR)/FakeGeoid.cpp \
1211 $(TEST_SRC_DIR)/FakeMessage.cpp \
1212 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1213 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1214 $(TEST_SRC_DIR)/DebugPort.cpp \
1215 $(TEST_SRC_DIR)/RunDeclare.cpp
1216 RUN_DECLARE_DEPENDS = DRIVER PORT ASYNC IO OS THREAD WAYPOINT GEO TIME MATH UTIL
1217 $(eval $(call link-program,RunDeclare,RUN_DECLARE))
1219 RUN_ENABLE_NMEA_SOURCES = \
1220 $(SRC)/OS/LogError.cpp \
1221 $(SRC)/Device/Port/ConfiguredPort.cpp \
1222 $(SRC)/Units/Descriptor.cpp \
1223 $(SRC)/Units/System.cpp \
1224 $(SRC)/Device/Driver.cpp \
1225 $(SRC)/Device/Register.cpp \
1226 $(SRC)/Device/Internal.cpp \
1227 $(SRC)/Device/Declaration.cpp \
1228 $(SRC)/NMEA/InputLine.cpp \
1229 $(SRC)/NMEA/Checksum.cpp \
1230 $(SRC)/NMEA/ExternalSettings.cpp \
1231 $(SRC)/NMEA/Info.cpp \
1232 $(SRC)/NMEA/SwitchState.cpp \
1233 $(SRC)/NMEA/Attitude.cpp \
1234 $(SRC)/NMEA/Acceleration.cpp \
1235 $(SRC)/IGC/IGCParser.cpp \
1236 $(SRC)/Operation/Operation.cpp \
1237 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1238 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1239 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1240 $(SRC)/Atmosphere/AirDensity.cpp \
1241 $(SRC)/Atmosphere/Pressure.cpp \
1242 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1243 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1244 $(TEST_SRC_DIR)/FakeGeoid.cpp \
1245 $(TEST_SRC_DIR)/FakeMessage.cpp \
1246 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1247 $(TEST_SRC_DIR)/DebugPort.cpp \
1248 $(TEST_SRC_DIR)/RunEnableNMEA.cpp
1249 RUN_ENABLE_NMEA_DEPENDS = DRIVER PORT TIME MATH UTIL ASYNC IO OS THREAD
1250 $(eval $(call link-program,RunEnableNMEA,RUN_ENABLE_NMEA))
1252 RUN_VEGA_SETTINGS_SOURCES = \
1253 $(VEGA_SOURCES) \
1254 $(SRC)/Device/Driver.cpp \
1255 $(SRC)/Device/Internal.cpp \
1256 $(SRC)/Device/Port/ConfiguredPort.cpp \
1257 $(SRC)/NMEA/InputLine.cpp \
1258 $(SRC)/NMEA/ExternalSettings.cpp \
1259 $(SRC)/OS/LogError.cpp \
1260 $(SRC)/Operation/Operation.cpp \
1261 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1262 $(TEST_SRC_DIR)/FakeMessage.cpp \
1263 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1264 $(TEST_SRC_DIR)/DebugPort.cpp \
1265 $(TEST_SRC_DIR)/RunVegaSettings.cpp
1266 RUN_VEGA_SETTINGS_DEPENDS = PORT ASYNC IO OS THREAD MATH UTIL
1267 $(eval $(call link-program,RunVegaSettings,RUN_VEGA_SETTINGS))
1269 RUN_FLARM_UTILS_SOURCES = \
1270 $(SRC)/Device/Port/ConfiguredPort.cpp \
1271 $(SRC)/Device/Driver.cpp \
1272 $(SRC)/Device/Internal.cpp \
1273 $(SRC)/Device/Declaration.cpp \
1274 $(SRC)/OS/LogError.cpp \
1275 $(SRC)/Operation/Operation.cpp \
1276 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1277 $(SRC)/NMEA/InputLine.cpp \
1278 $(SRC)/NMEA/Checksum.cpp \
1279 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1280 $(TEST_SRC_DIR)/DebugPort.cpp \
1281 $(TEST_SRC_DIR)/RunFlarmUtils.cpp
1282 RUN_FLARM_UTILS_DEPENDS = DRIVER PORT ASYNC IO OS THREAD GEO MATH UTIL
1283 $(eval $(call link-program,RunFlarmUtils,RUN_FLARM_UTILS))
1285 RUN_LX1600_UTILS_SOURCES = \
1286 $(SRC)/Device/Port/ConfiguredPort.cpp \
1287 $(SRC)/Device/Driver.cpp \
1288 $(SRC)/Device/Internal.cpp \
1289 $(SRC)/Device/Declaration.cpp \
1290 $(SRC)/OS/LogError.cpp \
1291 $(SRC)/Operation/Operation.cpp \
1292 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1293 $(SRC)/NMEA/InputLine.cpp \
1294 $(SRC)/NMEA/Checksum.cpp \
1295 $(SRC)/Atmosphere/Pressure.cpp \
1296 $(SRC)/Units/Descriptor.cpp \
1297 $(SRC)/Units/System.cpp \
1298 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1299 $(TEST_SRC_DIR)/DebugPort.cpp \
1300 $(TEST_SRC_DIR)/RunLX1600Utils.cpp
1301 RUN_LX1600_UTILS_DEPENDS = DRIVER PORT ASYNC IO OS THREAD GEO MATH UTIL
1302 $(eval $(call link-program,RunLX1600Utils,RUN_LX1600_UTILS))
1304 RUN_FLIGHT_LIST_SOURCES = \
1305 $(SRC)/Device/Port/ConfiguredPort.cpp \
1306 $(SRC)/Units/Descriptor.cpp \
1307 $(SRC)/Units/System.cpp \
1308 $(SRC)/Device/Driver.cpp \
1309 $(SRC)/Device/Register.cpp \
1310 $(SRC)/Device/Internal.cpp \
1311 $(SRC)/Device/Declaration.cpp \
1312 $(SRC)/NMEA/InputLine.cpp \
1313 $(SRC)/NMEA/Checksum.cpp \
1314 $(SRC)/NMEA/ExternalSettings.cpp \
1315 $(SRC)/NMEA/Info.cpp \
1316 $(SRC)/NMEA/SwitchState.cpp \
1317 $(SRC)/NMEA/Attitude.cpp \
1318 $(SRC)/NMEA/Acceleration.cpp \
1319 $(SRC)/IGC/IGCParser.cpp \
1320 $(SRC)/OS/LogError.cpp \
1321 $(SRC)/Operation/Operation.cpp \
1322 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1323 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1324 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1325 $(SRC)/Atmosphere/AirDensity.cpp \
1326 $(SRC)/Atmosphere/Pressure.cpp \
1327 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1328 $(TEST_SRC_DIR)/FakeMessage.cpp \
1329 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1330 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1331 $(TEST_SRC_DIR)/DebugPort.cpp \
1332 $(TEST_SRC_DIR)/RunFlightList.cpp
1333 RUN_FLIGHT_LIST_DEPENDS = DRIVER PORT ASYNC IO OS THREAD GEO TIME MATH UTIL
1334 $(eval $(call link-program,RunFlightList,RUN_FLIGHT_LIST))
1336 RUN_DOWNLOAD_FLIGHT_SOURCES = \
1337 $(SRC)/Device/Port/ConfiguredPort.cpp \
1338 $(SRC)/Units/Descriptor.cpp \
1339 $(SRC)/Units/System.cpp \
1340 $(SRC)/Device/Driver.cpp \
1341 $(SRC)/Device/Register.cpp \
1342 $(SRC)/Device/Internal.cpp \
1343 $(SRC)/Device/Declaration.cpp \
1344 $(SRC)/NMEA/InputLine.cpp \
1345 $(SRC)/NMEA/Checksum.cpp \
1346 $(SRC)/NMEA/ExternalSettings.cpp \
1347 $(SRC)/NMEA/Info.cpp \
1348 $(SRC)/NMEA/SwitchState.cpp \
1349 $(SRC)/NMEA/Attitude.cpp \
1350 $(SRC)/NMEA/Acceleration.cpp \
1351 $(SRC)/IGC/IGCParser.cpp \
1352 $(SRC)/OS/LogError.cpp \
1353 $(SRC)/Operation/Operation.cpp \
1354 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1355 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1356 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1357 $(SRC)/Atmosphere/AirDensity.cpp \
1358 $(SRC)/Atmosphere/Pressure.cpp \
1359 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1360 $(TEST_SRC_DIR)/FakeMessage.cpp \
1361 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1362 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1363 $(TEST_SRC_DIR)/DebugPort.cpp \
1364 $(TEST_SRC_DIR)/RunDownloadFlight.cpp
1365 RUN_DOWNLOAD_FLIGHT_DEPENDS = DRIVER PORT ASYNC IO OS THREAD GEO TIME MATH UTIL
1366 $(eval $(call link-program,RunDownloadFlight,RUN_DOWNLOAD_FLIGHT))
1368 CAI302_TOOL_SOURCES = \
1369 $(SRC)/Device/Port/ConfiguredPort.cpp \
1370 $(SRC)/Atmosphere/AirDensity.cpp \
1371 $(SRC)/Atmosphere/Pressure.cpp \
1372 $(SRC)/Units/Descriptor.cpp \
1373 $(SRC)/Units/System.cpp \
1374 $(SRC)/NMEA/InputLine.cpp \
1375 $(SRC)/NMEA/Checksum.cpp \
1376 $(SRC)/NMEA/ExternalSettings.cpp \
1377 $(SRC)/NMEA/Info.cpp \
1378 $(SRC)/NMEA/SwitchState.cpp \
1379 $(SRC)/NMEA/Attitude.cpp \
1380 $(SRC)/NMEA/Acceleration.cpp \
1381 $(SRC)/Device/Driver.cpp \
1382 $(SRC)/Operation/Operation.cpp \
1383 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
1384 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
1385 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
1386 $(SRC)/OS/LogError.cpp \
1387 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1388 $(TEST_SRC_DIR)/DebugPort.cpp \
1389 $(TEST_SRC_DIR)/CAI302Tool.cpp
1390 CAI302_TOOL_DEPENDS = CAI302 PORT ASYNC OS THREAD IO TIME MATH UTIL
1391 $(eval $(call link-program,CAI302Tool,CAI302_TOOL))
1393 TEST_LXN_TO_IGC_SOURCES = \
1394 $(SRC)/Device/Driver/LX/Convert.cpp \
1395 $(SRC)/Device/Driver/LX/LXN.cpp \
1396 $(TEST_SRC_DIR)/tap.c \
1397 $(TEST_SRC_DIR)/TestLXNToIGC.cpp
1398 TEST_LXN_TO_IGC_DEPENDS =
1399 $(eval $(call link-program,TestLXNToIGC,TEST_LXN_TO_IGC))
1401 LXN2IGC_SOURCES = \
1402 $(SRC)/Device/Driver/LX/Convert.cpp \
1403 $(SRC)/Device/Driver/LX/LXN.cpp \
1404 $(TEST_SRC_DIR)/lxn2igc.cpp
1405 $(eval $(call link-program,lxn2igc,LXN2IGC))
1407 RUN_IGC_WRITER_SOURCES = \
1408 $(DEBUG_REPLAY_SOURCES) \
1409 $(SRC)/Version.cpp \
1410 $(SRC)/FLARM/FlarmCalculations.cpp \
1411 $(SRC)/Computer/ClimbAverageCalculator.cpp \
1412 $(SRC)/IGC/IGCFix.cpp \
1413 $(SRC)/IGC/IGCWriter.cpp \
1414 $(SRC)/IGC/IGCString.cpp \
1415 $(SRC)/Logger/LoggerFRecord.cpp \
1416 $(SRC)/Logger/GRecord.cpp \
1417 $(SRC)/Logger/LoggerEPE.cpp \
1418 $(SRC)/Logger/MD5.cpp \
1419 $(SRC)/Operation/Operation.cpp \
1420 $(TEST_SRC_DIR)/RunIGCWriter.cpp
1421 RUN_IGC_WRITER_LDADD = $(DEBUG_REPLAY_LDADD)
1422 RUN_IGC_WRITER_DEPENDS = GEO MATH UTIL TIME
1423 $(eval $(call link-program,RunIGCWriter,RUN_IGC_WRITER))
1425 RUN_FLIGHT_LOGGER_SOURCES = \
1426 $(DEBUG_REPLAY_SOURCES) \
1427 $(SRC)/Computer/CirclingComputer.cpp \
1428 $(SRC)/Logger/FlightLogger.cpp \
1429 $(TEST_SRC_DIR)/RunFlightLogger.cpp
1430 RUN_FLIGHT_LOGGER_LDADD = $(DEBUG_REPLAY_LDADD)
1431 RUN_FLIGHT_LOGGER_DEPENDS = GEO MATH UTIL TIME
1432 $(eval $(call link-program,RunFlightLogger,RUN_FLIGHT_LOGGER))
1434 RUN_CIRCLING_WIND_SOURCES = \
1435 $(DEBUG_REPLAY_SOURCES) \
1436 $(SRC)/Formatter/TimeFormatter.cpp \
1437 $(SRC)/Computer/CirclingComputer.cpp \
1438 $(SRC)/Wind/CirclingWind.cpp \
1439 $(TEST_SRC_DIR)/RunCirclingWind.cpp
1440 RUN_CIRCLING_WIND_LDADD = $(DEBUG_REPLAY_LDADD)
1441 RUN_CIRCLING_WIND_DEPENDS = GEO MATH UTIL TIME
1442 $(eval $(call link-program,RunCirclingWind,RUN_CIRCLING_WIND))
1444 RUN_WIND_ZIG_ZAG_SOURCES = \
1445 $(DEBUG_REPLAY_SOURCES) \
1446 $(SRC)/Wind/WindZigZag.cpp \
1447 $(TEST_SRC_DIR)/RunWindZigZag.cpp
1448 RUN_WIND_ZIG_ZAG_LDADD = $(DEBUG_REPLAY_LDADD)
1449 RUN_WIND_ZIG_ZAG_DEPENDS = GEO MATH UTIL TIME
1450 $(eval $(call link-program,RunWindZigZag,RUN_WIND_ZIG_ZAG))
1452 RUN_WIND_EKF_SOURCES = \
1453 $(DEBUG_REPLAY_SOURCES) \
1454 $(SRC)/Wind/WindEKF.cpp \
1455 $(SRC)/Wind/WindEKFGlue.cpp \
1456 $(TEST_SRC_DIR)/RunWindEKF.cpp
1457 RUN_WIND_EKF_LDADD = $(DEBUG_REPLAY_LDADD)
1458 RUN_WIND_EKF_DEPENDS = GEO MATH UTIL TIME
1459 $(eval $(call link-program,RunWindEKF,RUN_WIND_EKF))
1461 RUN_TASK_SOURCES = \
1462 $(SRC)/Formatter/TimeFormatter.cpp \
1463 $(SRC)/NMEA/Aircraft.cpp \
1464 $(SRC)/Task/TaskFile.cpp \
1465 $(SRC)/Task/TaskFileXCSoar.cpp \
1466 $(SRC)/Task/TaskFileSeeYou.cpp \
1467 $(SRC)/Task/TaskFileIGC.cpp \
1468 $(SRC)/Task/Serialiser.cpp \
1469 $(SRC)/Task/Deserialiser.cpp \
1470 $(SRC)/Waypoint/WaypointReaderBase.cpp \
1471 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
1472 $(SRC)/RadioFrequency.cpp \
1473 $(SRC)/XML/Node.cpp \
1474 $(SRC)/XML/Parser.cpp \
1475 $(SRC)/XML/Writer.cpp \
1476 $(SRC)/XML/DataNode.cpp \
1477 $(SRC)/XML/DataNodeXML.cpp \
1478 $(SRC)/Engine/Util/Gradient.cpp \
1479 $(DEBUG_REPLAY_SOURCES) \
1480 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1481 $(TEST_SRC_DIR)/RunTask.cpp
1482 RUN_TASK_LDADD = $(DEBUG_REPLAY_LDADD)
1483 RUN_TASK_DEPENDS = TASK WAYPOINT GLIDE GEO MATH UTIL IO TIME
1484 $(eval $(call link-program,RunTask,RUN_TASK))
1486 RUN_TRACE_SOURCES = \
1487 $(DEBUG_REPLAY_SOURCES) \
1488 $(SRC)/IGC/IGCParser.cpp \
1489 $(SRC)/NMEA/Aircraft.cpp \
1490 $(ENGINE_SRC_DIR)/GlideSolvers/GlideSettings.cpp \
1491 $(ENGINE_SRC_DIR)/Trace/Point.cpp \
1492 $(ENGINE_SRC_DIR)/Trace/Trace.cpp \
1493 $(TEST_SRC_DIR)/Printing.cpp \
1494 $(TEST_SRC_DIR)/RunTrace.cpp
1495 RUN_TRACE_LDADD = $(DEBUG_REPLAY_LDADD)
1496 RUN_TRACE_DEPENDS = UTIL GEO MATH TIME
1497 $(eval $(call link-program,RunTrace,RUN_TRACE))
1499 RUN_OLC_SOURCES = \
1500 $(DEBUG_REPLAY_SOURCES) \
1501 $(SRC)/IGC/IGCParser.cpp \
1502 $(SRC)/NMEA/Aircraft.cpp \
1503 $(ENGINE_SRC_DIR)/Trace/Point.cpp \
1504 $(ENGINE_SRC_DIR)/Trace/Trace.cpp \
1505 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1506 $(TEST_SRC_DIR)/Printing.cpp \
1507 $(TEST_SRC_DIR)/ContestPrinting.cpp \
1508 $(TEST_SRC_DIR)/RunOLCAnalysis.cpp
1509 RUN_OLC_LDADD = $(DEBUG_REPLAY_LDADD)
1510 RUN_OLC_DEPENDS = CONTEST UTIL GEO MATH TIME
1511 $(eval $(call link-program,RunOLCAnalysis,RUN_OLC))
1513 ANALYSE_FLIGHT_SOURCES = \
1514 $(DEBUG_REPLAY_SOURCES) \
1515 $(SRC)/NMEA/Aircraft.cpp \
1516 $(SRC)/JSON/Writer.cpp \
1517 $(SRC)/Formatter/TimeFormatter.cpp \
1518 $(SRC)/Computer/CirclingComputer.cpp \
1519 $(ENGINE_SRC_DIR)/Trace/Point.cpp \
1520 $(ENGINE_SRC_DIR)/Trace/Trace.cpp \
1521 $(TEST_SRC_DIR)/FakeTerrain.cpp \
1522 $(TEST_SRC_DIR)/Printing.cpp \
1523 $(TEST_SRC_DIR)/ContestPrinting.cpp \
1524 $(TEST_SRC_DIR)/FlightPhaseJSON.cpp \
1525 $(TEST_SRC_DIR)/FlightPhaseDetector.cpp \
1526 $(TEST_SRC_DIR)/AnalyseFlight.cpp
1527 ANALYSE_FLIGHT_LDADD = $(DEBUG_REPLAY_LDADD)
1528 ANALYSE_FLIGHT_DEPENDS = CONTEST UTIL GEO MATH TIME
1529 $(eval $(call link-program,AnalyseFlight,ANALYSE_FLIGHT))
1531 FLIGHT_PATH_SOURCES = \
1532 $(DEBUG_REPLAY_SOURCES) \
1533 $(SRC)/IGC/IGCParser.cpp \
1534 $(SRC)/NMEA/Aircraft.cpp \
1535 $(ENGINE_SRC_DIR)/GlideSolvers/GlideSettings.cpp \
1536 $(ENGINE_SRC_DIR)/Trace/Point.cpp \
1537 $(ENGINE_SRC_DIR)/Trace/Trace.cpp \
1538 $(TEST_SRC_DIR)/Printing.cpp \
1539 $(TEST_SRC_DIR)/FlightPath.cpp
1540 FLIGHT_PATH_LDADD = $(DEBUG_REPLAY_LDADD)
1541 FLIGHT_PATH_DEPENDS = UTIL GEO MATH TIME
1542 $(eval $(call link-program,FlightPath,FLIGHT_PATH))
1544 VIEW_IMAGE_SOURCES = \
1545 $(SRC)/Hardware/Display.cpp \
1546 $(SRC)/Screen/Layout.cpp \
1547 $(SRC)/Compatibility/fmode.c \
1548 $(SRC)/ResourceLoader.cpp \
1549 $(TEST_SRC_DIR)/Fonts.cpp \
1550 $(TEST_SRC_DIR)/FakeAsset.cpp \
1551 $(TEST_SRC_DIR)/FakeBlank.cpp \
1552 $(TEST_SRC_DIR)/ViewImage.cpp
1553 VIEW_IMAGE_LDADD = $(FAKE_LIBS)
1554 VIEW_IMAGE_DEPENDS = SCREEN EVENT OS THREAD MATH UTIL
1555 $(eval $(call link-program,ViewImage,VIEW_IMAGE))
1557 RUN_CANVAS_SOURCES = \
1558 $(SRC)/Hardware/Display.cpp \
1559 $(SRC)/Screen/Layout.cpp \
1560 $(SRC)/Compatibility/fmode.c \
1561 $(SRC)/ResourceLoader.cpp \
1562 $(TEST_SRC_DIR)/Fonts.cpp \
1563 $(TEST_SRC_DIR)/FakeAsset.cpp \
1564 $(TEST_SRC_DIR)/FakeBlank.cpp \
1565 $(TEST_SRC_DIR)/RunCanvas.cpp
1566 RUN_CANVAS_LDADD = $(FAKE_LIBS)
1567 RUN_CANVAS_DEPENDS = SCREEN EVENT OS THREAD MATH UTIL
1568 $(eval $(call link-program,RunCanvas,RUN_CANVAS))
1570 RUN_MAP_WINDOW_SOURCES = \
1571 $(CONTEST_SRC_DIR)/Settings.cpp \
1572 $(SRC)/Engine/Util/Gradient.cpp \
1573 $(SRC)/Engine/Trace/Point.cpp \
1574 $(SRC)/Engine/Trace/Trace.cpp \
1575 $(SRC)/Engine/Trace/Vector.cpp \
1576 $(SRC)/Engine/Navigation/Aircraft.cpp \
1577 $(IO_SRC_DIR)/DataFile.cpp \
1578 $(IO_SRC_DIR)/ConfiguredFile.cpp \
1579 $(SRC)/NMEA/Info.cpp \
1580 $(SRC)/NMEA/MoreData.cpp \
1581 $(SRC)/NMEA/Acceleration.cpp \
1582 $(SRC)/NMEA/Attitude.cpp \
1583 $(SRC)/NMEA/ExternalSettings.cpp \
1584 $(SRC)/NMEA/ThermalLocator.cpp \
1585 $(SRC)/NMEA/Aircraft.cpp \
1586 $(SRC)/NMEA/FlyingState.cpp \
1587 $(SRC)/NMEA/Derived.cpp \
1588 $(SRC)/NMEA/VarioInfo.cpp \
1589 $(SRC)/NMEA/ClimbInfo.cpp \
1590 $(SRC)/NMEA/ClimbHistory.cpp \
1591 $(SRC)/NMEA/CirclingInfo.cpp \
1592 $(SRC)/NMEA/SwitchState.cpp \
1593 $(SRC)/NMEA/ThermalBand.cpp \
1594 $(SRC)/Engine/Navigation/TraceHistory.cpp \
1595 $(SRC)/FLARM/FlarmId.cpp \
1596 $(SRC)/FLARM/Friends.cpp \
1597 $(SRC)/FLARM/List.cpp \
1598 $(SRC)/FLARM/Global.cpp \
1599 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
1600 $(SRC)/Airspace/AirspaceParser.cpp \
1601 $(SRC)/Airspace/AirspaceVisibility.cpp \
1602 $(SRC)/Airspace/AirspaceComputerSettings.cpp \
1603 $(SRC)/Renderer/AirspaceRendererSettings.cpp \
1604 $(SRC)/Renderer/BackgroundRenderer.cpp \
1605 $(SRC)/Renderer/MarkerRenderer.cpp \
1606 $(SRC)/LocalPath.cpp \
1607 $(SRC)/Projection/Projection.cpp \
1608 $(SRC)/Projection/WindowProjection.cpp \
1609 $(SRC)/Projection/CompareProjection.cpp \
1610 $(SRC)/MapWindow/MapWindow.cpp \
1611 $(SRC)/MapWindow/MapWindowBlackboard.cpp \
1612 $(SRC)/MapWindow/MapWindowEvents.cpp \
1613 $(SRC)/MapWindow/MapWindowGlideRange.cpp \
1614 $(SRC)/Projection/MapWindowProjection.cpp \
1615 $(SRC)/MapWindow/MapWindowRender.cpp \
1616 $(SRC)/MapWindow/MapWindowSymbols.cpp \
1617 $(SRC)/MapWindow/MapWindowContest.cpp \
1618 $(SRC)/MapWindow/MapWindowTask.cpp \
1619 $(SRC)/MapWindow/MapWindowThermal.cpp \
1620 $(SRC)/MapWindow/MapWindowTraffic.cpp \
1621 $(SRC)/MapWindow/MapWindowTrail.cpp \
1622 $(SRC)/MapWindow/MapWindowWaypoints.cpp \
1623 $(SRC)/MapWindow/MapCanvas.cpp \
1624 $(SRC)/MapWindow/MapDrawHelper.cpp \
1625 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
1626 $(SRC)/Renderer/OZRenderer.cpp \
1627 $(SRC)/Renderer/TaskRenderer.cpp \
1628 $(SRC)/Renderer/TaskPointRenderer.cpp \
1629 $(SRC)/Renderer/AircraftRenderer.cpp \
1630 $(SRC)/Renderer/AirspaceRenderer.cpp \
1631 $(SRC)/Renderer/BestCruiseArrowRenderer.cpp \
1632 $(SRC)/Renderer/CompassRenderer.cpp \
1633 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
1634 $(SRC)/Renderer/TrackLineRenderer.cpp \
1635 $(SRC)/Renderer/TrafficRenderer.cpp \
1636 $(SRC)/Renderer/TrailRenderer.cpp \
1637 $(SRC)/Renderer/WaypointIconRenderer.cpp \
1638 $(SRC)/Renderer/WaypointRenderer.cpp \
1639 $(SRC)/Renderer/WaypointRendererSettings.cpp \
1640 $(SRC)/Renderer/WaypointLabelList.cpp \
1641 $(SRC)/Renderer/WindArrowRenderer.cpp \
1642 $(SRC)/Markers/Markers.cpp \
1643 $(SRC)/Markers/ProtectedMarkers.cpp \
1644 $(SRC)/Math/Screen.cpp \
1645 $(SRC)/Hardware/Display.cpp \
1646 $(SRC)/Renderer/LabelBlock.cpp \
1647 $(SRC)/Look/Fonts.cpp \
1648 $(SRC)/Renderer/TextInBox.cpp \
1649 $(SRC)/Screen/Layout.cpp \
1650 $(SRC)/Screen/Ramp.cpp \
1651 $(SRC)/Screen/UnitSymbol.cpp \
1652 $(SRC)/Look/MapLook.cpp \
1653 $(SRC)/Look/WindArrowLook.cpp \
1654 $(SRC)/Look/WaypointLook.cpp \
1655 $(SRC)/Look/AirspaceLook.cpp \
1656 $(SRC)/Look/TrailLook.cpp \
1657 $(SRC)/Look/TaskLook.cpp \
1658 $(SRC)/Look/AircraftLook.cpp \
1659 $(SRC)/Look/TrafficLook.cpp \
1660 $(SRC)/Look/MarkerLook.cpp \
1661 $(SRC)/Look/NOAALook.cpp \
1662 $(SRC)/ResourceLoader.cpp \
1663 $(SRC)/MapSettings.cpp \
1664 $(SRC)/ComputerSettings.cpp \
1665 $(SRC)/TeamCodeSettings.cpp \
1666 $(SRC)/Logger/Settings.cpp \
1667 $(SRC)/Tracking/TrackingSettings.cpp \
1668 $(SRC)/Computer/TraceComputer.cpp \
1669 $(SRC)/IGC/IGCParser.cpp \
1670 $(SRC)/Task/Serialiser.cpp \
1671 $(SRC)/Task/Deserialiser.cpp \
1672 $(SRC)/Task/TaskFile.cpp \
1673 $(SRC)/Task/TaskFileXCSoar.cpp \
1674 $(SRC)/Task/TaskFileIGC.cpp \
1675 $(SRC)/Task/TaskFileSeeYou.cpp \
1676 $(SRC)/Task/ProtectedTaskManager.cpp \
1677 $(SRC)/Task/ProtectedRoutePlanner.cpp \
1678 $(SRC)/Task/RoutePlannerGlue.cpp \
1679 $(SRC)/Topography/TopographyFile.cpp \
1680 $(SRC)/Topography/TopographyStore.cpp \
1681 $(SRC)/Topography/TopographyFileRenderer.cpp \
1682 $(SRC)/Topography/TopographyRenderer.cpp \
1683 $(SRC)/Topography/TopographyGlue.cpp \
1684 $(SRC)/Topography/XShape.cpp \
1685 $(SRC)/Units/Units.cpp \
1686 $(SRC)/Units/Settings.cpp \
1687 $(SRC)/Units/Descriptor.cpp \
1688 $(SRC)/Units/System.cpp \
1689 $(SRC)/Formatter/Units.cpp \
1690 $(SRC)/Formatter/UserUnits.cpp \
1691 $(SRC)/Formatter/HexColor.cpp \
1692 $(SRC)/Profile/Profile.cpp \
1693 $(SRC)/Profile/ProfileKeys.cpp \
1694 $(SRC)/Profile/Earth.cpp \
1695 $(SRC)/Profile/ComputerProfile.cpp \
1696 $(SRC)/Profile/TaskProfile.cpp \
1697 $(SRC)/Profile/RouteProfile.cpp \
1698 $(SRC)/Profile/ContestProfile.cpp \
1699 $(SRC)/Profile/AirspaceConfig.cpp \
1700 $(SRC)/Profile/TrackingProfile.cpp \
1701 $(SRC)/Profile/MapProfile.cpp \
1702 $(SRC)/Profile/TerrainConfig.cpp \
1703 $(SRC)/Profile/Screen.cpp \
1704 $(SRC)/Profile/FlarmProfile.cpp \
1705 $(SRC)/Waypoint/HomeGlue.cpp \
1706 $(SRC)/Waypoint/LastUsed.cpp \
1707 $(SRC)/Waypoint/WaypointFileType.cpp \
1708 $(SRC)/Waypoint/WaypointGlue.cpp \
1709 $(SRC)/Waypoint/WaypointReader.cpp \
1710 $(SRC)/Waypoint/WaypointReaderBase.cpp \
1711 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
1712 $(SRC)/Waypoint/WaypointReaderFS.cpp \
1713 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
1714 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
1715 $(SRC)/Waypoint/WaypointReaderZander.cpp \
1716 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
1717 $(SRC)/Waypoint/WaypointWriter.cpp \
1718 $(SRC)/Compatibility/fmode.c \
1719 $(SRC)/XML/Node.cpp \
1720 $(SRC)/XML/Parser.cpp \
1721 $(SRC)/XML/Writer.cpp \
1722 $(SRC)/XML/DataNode.cpp \
1723 $(SRC)/XML/DataNodeXML.cpp \
1724 $(SRC)/Operation/Operation.cpp \
1725 $(SRC)/RadioFrequency.cpp \
1726 $(SRC)/Atmosphere/Pressure.cpp \
1727 $(SRC)/Atmosphere/AirDensity.cpp \
1728 $(TEST_SRC_DIR)/FakeAsset.cpp \
1729 $(TEST_SRC_DIR)/FakeBlank.cpp \
1730 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1731 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1732 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1733 $(TEST_SRC_DIR)/FakeProfileGlue.cpp \
1734 $(TEST_SRC_DIR)/RunMapWindow.cpp
1736 ifeq ($(HAVE_HTTP),y)
1737 RUN_MAP_WINDOW_SOURCES += \
1738 $(SRC)/Weather/NOAAGlue.cpp \
1739 $(SRC)/Weather/NOAAStore.cpp
1740 endif
1742 RUN_MAP_WINDOW_LDADD = $(RESOURCE_BINARY)
1743 RUN_MAP_WINDOW_DEPENDS = PROFILE TERRAIN SCREEN EVENT SHAPELIB IO OS THREAD TASK ROUTE GLIDE WAYPOINT AIRSPACE JASPER ZZIP UTIL GEO MATH TIME
1744 $(eval $(call link-program,RunMapWindow,RUN_MAP_WINDOW))
1746 RUN_DIALOG_SOURCES = \
1747 $(SRC)/Look/DialogLook.cpp \
1748 $(SRC)/Look/ButtonLook.cpp \
1749 $(SRC)/XML/Node.cpp \
1750 $(SRC)/XML/Parser.cpp \
1751 $(SRC)/Dialogs/XML.cpp \
1752 $(SRC)/Dialogs/Inflate.cpp \
1753 $(SRC)/Dialogs/DialogSettings.cpp \
1754 $(SRC)/Formatter/HexColor.cpp \
1755 $(SRC)/Formatter/TimeFormatter.cpp \
1756 $(SRC)/Hardware/Display.cpp \
1757 $(SRC)/Screen/Layout.cpp \
1758 $(SRC)/ResourceLoader.cpp \
1759 $(SRC)/Dialogs/HelpDialog.cpp \
1760 $(SRC)/Dialogs/WidgetDialog.cpp \
1761 $(TEST_SRC_DIR)/FakeAsset.cpp \
1762 $(TEST_SRC_DIR)/FakeBlank.cpp \
1763 $(TEST_SRC_DIR)/FakeDialogs.cpp \
1764 $(TEST_SRC_DIR)/FakeListPicker.cpp \
1765 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1766 $(TEST_SRC_DIR)/FakeLogFile.cpp \
1767 $(TEST_SRC_DIR)/Fonts.cpp \
1768 $(TEST_SRC_DIR)/RunDialog.cpp \
1769 $(SRC)/Compatibility/fmode.c
1770 RUN_DIALOG_LDADD = \
1771 $(RESOURCE_BINARY) \
1772 $(FAKE_LIBS)
1773 RUN_DIALOG_DEPENDS = IO FORM WIDGET DATA_FIELD SCREEN EVENT OS THREAD MATH ZZIP UTIL TIME
1774 $(eval $(call link-program,RunDialog,RUN_DIALOG))
1776 RUN_LIST_CONTROL_SOURCES = \
1777 $(SRC)/Hardware/Display.cpp \
1778 $(SRC)/Screen/Layout.cpp \
1779 $(SRC)/ResourceLoader.cpp \
1780 $(SRC)/Look/DialogLook.cpp \
1781 $(SRC)/Look/ButtonLook.cpp \
1782 $(SRC)/UIUtil/KineticManager.cpp \
1783 $(SRC)/Dialogs/DialogSettings.cpp \
1784 $(TEST_SRC_DIR)/Fonts.cpp \
1785 $(TEST_SRC_DIR)/FakeBlank.cpp \
1786 $(TEST_SRC_DIR)/FakeAsset.cpp \
1787 $(TEST_SRC_DIR)/RunListControl.cpp
1788 RUN_LIST_CONTROL_DEPENDS = FORM SCREEN EVENT OS THREAD MATH UTIL
1789 $(eval $(call link-program,RunListControl,RUN_LIST_CONTROL))
1791 RUN_TEXT_ENTRY_SOURCES = \
1792 $(SRC)/Dialogs/dlgTextEntry.cpp \
1793 $(SRC)/Dialogs/dlgTextEntry_Keyboard.cpp \
1794 $(SRC)/Dialogs/XML.cpp \
1795 $(SRC)/Dialogs/Inflate.cpp \
1796 $(SRC)/Dialogs/DialogSettings.cpp \
1797 $(SRC)/UIUtil/KineticManager.cpp \
1798 $(SRC)/Hardware/Display.cpp \
1799 $(SRC)/Screen/Layout.cpp \
1800 $(SRC)/ResourceLoader.cpp \
1801 $(SRC)/Look/DialogLook.cpp \
1802 $(SRC)/Look/ButtonLook.cpp \
1803 $(SRC)/XML/Node.cpp \
1804 $(SRC)/XML/Parser.cpp \
1805 $(SRC)/Formatter/HexColor.cpp \
1806 $(SRC)/Formatter/TimeFormatter.cpp \
1807 $(TEST_SRC_DIR)/Fonts.cpp \
1808 $(TEST_SRC_DIR)/FakeBlank.cpp \
1809 $(TEST_SRC_DIR)/FakeAsset.cpp \
1810 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1811 $(TEST_SRC_DIR)/FakeListPicker.cpp \
1812 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
1813 $(TEST_SRC_DIR)/RunTextEntry.cpp
1814 RUN_TEXT_ENTRY_LDADD = $(RESOURCE_BINARY)
1815 RUN_TEXT_ENTRY_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD MATH UTIL ZLIB TIME
1816 $(eval $(call link-program,RunTextEntry,RUN_TEXT_ENTRY))
1818 RUN_NUMBER_ENTRY_SOURCES = \
1819 $(SRC)/Dialogs/NumberEntry.cpp \
1820 $(SRC)/Dialogs/DialogSettings.cpp \
1821 $(SRC)/Dialogs/WidgetDialog.cpp \
1822 $(SRC)/Hardware/Display.cpp \
1823 $(SRC)/Screen/Layout.cpp \
1824 $(SRC)/ResourceLoader.cpp \
1825 $(SRC)/Look/DialogLook.cpp \
1826 $(SRC)/Look/ButtonLook.cpp \
1827 $(SRC)/XML/Node.cpp \
1828 $(SRC)/XML/Parser.cpp \
1829 $(SRC)/Units/Descriptor.cpp \
1830 $(SRC)/Formatter/HexColor.cpp \
1831 $(TEST_SRC_DIR)/Fonts.cpp \
1832 $(TEST_SRC_DIR)/FakeBlank.cpp \
1833 $(TEST_SRC_DIR)/FakeAsset.cpp \
1834 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1835 $(TEST_SRC_DIR)/FakeListPicker.cpp \
1836 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
1837 $(TEST_SRC_DIR)/RunNumberEntry.cpp
1838 RUN_NUMBER_ENTRY_LDADD = $(RESOURCE_BINARY)
1839 RUN_NUMBER_ENTRY_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD MATH UTIL ZLIB TIME
1840 $(eval $(call link-program,RunNumberEntry,RUN_NUMBER_ENTRY))
1842 RUN_TIME_ENTRY_SOURCES = \
1843 $(SRC)/Dialogs/TimeEntry.cpp \
1844 $(SRC)/Dialogs/DialogSettings.cpp \
1845 $(SRC)/Dialogs/WidgetDialog.cpp \
1846 $(SRC)/Hardware/Display.cpp \
1847 $(SRC)/Screen/Layout.cpp \
1848 $(SRC)/ResourceLoader.cpp \
1849 $(SRC)/Look/DialogLook.cpp \
1850 $(SRC)/Look/ButtonLook.cpp \
1851 $(SRC)/Units/Descriptor.cpp \
1852 $(SRC)/Formatter/HexColor.cpp \
1853 $(TEST_SRC_DIR)/Fonts.cpp \
1854 $(TEST_SRC_DIR)/FakeBlank.cpp \
1855 $(TEST_SRC_DIR)/FakeAsset.cpp \
1856 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1857 $(TEST_SRC_DIR)/FakeListPicker.cpp \
1858 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
1859 $(TEST_SRC_DIR)/RunTimeEntry.cpp
1860 RUN_TIME_ENTRY_LDADD = $(RESOURCE_BINARY)
1861 RUN_TIME_ENTRY_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD MATH UTIL ZLIB TIME
1862 $(eval $(call link-program,RunTimeEntry,RUN_TIME_ENTRY))
1864 RUN_ANGLE_ENTRY_SOURCES = \
1865 $(SRC)/Dialogs/NumberEntry.cpp \
1866 $(SRC)/Dialogs/DialogSettings.cpp \
1867 $(SRC)/Dialogs/WidgetDialog.cpp \
1868 $(SRC)/Hardware/Display.cpp \
1869 $(SRC)/Screen/Layout.cpp \
1870 $(SRC)/ResourceLoader.cpp \
1871 $(SRC)/Look/DialogLook.cpp \
1872 $(SRC)/Look/ButtonLook.cpp \
1873 $(SRC)/Units/Descriptor.cpp \
1874 $(SRC)/Formatter/HexColor.cpp \
1875 $(TEST_SRC_DIR)/Fonts.cpp \
1876 $(TEST_SRC_DIR)/FakeBlank.cpp \
1877 $(TEST_SRC_DIR)/FakeAsset.cpp \
1878 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1879 $(TEST_SRC_DIR)/FakeListPicker.cpp \
1880 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
1881 $(TEST_SRC_DIR)/RunAngleEntry.cpp
1882 RUN_ANGLE_ENTRY_LDADD = $(RESOURCE_BINARY)
1883 RUN_ANGLE_ENTRY_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD MATH UTIL ZLIB TIME
1884 $(eval $(call link-program,RunAngleEntry,RUN_ANGLE_ENTRY))
1886 RUN_TERMINAL_SOURCES = \
1887 $(SRC)/Hardware/Display.cpp \
1888 $(SRC)/Screen/Layout.cpp \
1889 $(SRC)/Screen/TerminalWindow.cpp \
1890 $(SRC)/Look/TerminalLook.cpp \
1891 $(SRC)/ResourceLoader.cpp \
1892 $(TEST_SRC_DIR)/FakeBlank.cpp \
1893 $(TEST_SRC_DIR)/FakeAsset.cpp \
1894 $(TEST_SRC_DIR)/Fonts.cpp \
1895 $(TEST_SRC_DIR)/RunTerminal.cpp
1896 RUN_TERMINAL_DEPENDS = SCREEN EVENT OS THREAD MATH UTIL
1897 $(eval $(call link-program,RunTerminal,RUN_TERMINAL))
1899 RUN_RENDER_OZ_SOURCES = \
1900 $(SRC)/Renderer/OZRenderer.cpp \
1901 $(SRC)/Look/DialogLook.cpp \
1902 $(SRC)/Look/ButtonLook.cpp \
1903 $(SRC)/Look/AirspaceLook.cpp \
1904 $(SRC)/Hardware/Display.cpp \
1905 $(SRC)/Screen/Layout.cpp \
1906 $(SRC)/Look/TaskLook.cpp \
1907 $(SRC)/Projection/Projection.cpp \
1908 $(SRC)/ResourceLoader.cpp \
1909 $(SRC)/Renderer/AirspaceRendererSettings.cpp \
1910 $(TEST_SRC_DIR)/FakeAsset.cpp \
1911 $(TEST_SRC_DIR)/FakeBlank.cpp \
1912 $(TEST_SRC_DIR)/Fonts.cpp \
1913 $(TEST_SRC_DIR)/RunRenderOZ.cpp
1914 RUN_RENDER_OZ_LDADD = $(RESOURCE_BINARY)
1915 RUN_RENDER_OZ_DEPENDS = TASK FORM SCREEN EVENT OS THREAD GEO MATH UTIL
1916 $(eval $(call link-program,RunRenderOZ,RUN_RENDER_OZ))
1918 RUN_CHART_RENDERER_SOURCES = \
1919 $(SRC)/Look/DialogLook.cpp \
1920 $(SRC)/Look/ButtonLook.cpp \
1921 $(SRC)/Look/ChartLook.cpp \
1922 $(SRC)/Hardware/Display.cpp \
1923 $(SRC)/Screen/Layout.cpp \
1924 $(SRC)/ResourceLoader.cpp \
1925 $(SRC)/Renderer/ChartRenderer.cpp \
1926 $(TEST_SRC_DIR)/FakeAsset.cpp \
1927 $(TEST_SRC_DIR)/FakeBlank.cpp \
1928 $(TEST_SRC_DIR)/FakeLanguage.cpp \
1929 $(TEST_SRC_DIR)/Fonts.cpp \
1930 $(TEST_SRC_DIR)/RunChartRenderer.cpp
1931 RUN_CHART_RENDERER_LDADD = $(RESOURCE_BINARY)
1932 RUN_CHART_RENDERER_DEPENDS = FORM SCREEN EVENT OS THREAD MATH UTIL
1933 $(eval $(call link-program,RunChartRenderer,RUN_CHART_RENDERER))
1935 RUN_WIND_ARROW_RENDERER_SOURCES = \
1936 $(SRC)/Math/Screen.cpp \
1937 $(SRC)/Hardware/Display.cpp \
1938 $(SRC)/Screen/Layout.cpp \
1939 $(SRC)/Renderer/LabelBlock.cpp \
1940 $(SRC)/Renderer/TextInBox.cpp \
1941 $(SRC)/Look/WindArrowLook.cpp \
1942 $(SRC)/ResourceLoader.cpp \
1943 $(SRC)/Units/Units.cpp \
1944 $(SRC)/Units/Settings.cpp \
1945 $(SRC)/Units/Descriptor.cpp \
1946 $(SRC)/Units/System.cpp \
1947 $(SRC)/Renderer/WindArrowRenderer.cpp \
1948 $(TEST_SRC_DIR)/FakeAsset.cpp \
1949 $(TEST_SRC_DIR)/FakeBlank.cpp \
1950 $(TEST_SRC_DIR)/Fonts.cpp \
1951 $(TEST_SRC_DIR)/RunWindArrowRenderer.cpp
1952 RUN_WIND_ARROW_RENDERER_LDADD = $(RESOURCE_BINARY)
1953 RUN_WIND_ARROW_RENDERER_DEPENDS = FORM SCREEN EVENT OS THREAD MATH UTIL
1954 $(eval $(call link-program,RunWindArrowRenderer,RUN_WIND_ARROW_RENDERER))
1956 RUN_HORIZON_RENDERER_SOURCES = \
1957 $(SRC)/Math/Screen.cpp \
1958 $(SRC)/Hardware/Display.cpp \
1959 $(SRC)/Screen/Layout.cpp \
1960 $(SRC)/Look/HorizonLook.cpp \
1961 $(SRC)/ResourceLoader.cpp \
1962 $(SRC)/Renderer/HorizonRenderer.cpp \
1963 $(TEST_SRC_DIR)/Fonts.cpp \
1964 $(TEST_SRC_DIR)/FakeAsset.cpp \
1965 $(TEST_SRC_DIR)/FakeBlank.cpp \
1966 $(TEST_SRC_DIR)/RunHorizonRenderer.cpp
1967 RUN_HORIZON_RENDERER_LDADD = $(RESOURCE_BINARY)
1968 RUN_HORIZON_RENDERER_DEPENDS = FORM SCREEN EVENT OS THREAD MATH UTIL
1969 $(eval $(call link-program,RunHorizonRenderer,RUN_HORIZON_RENDERER))
1971 RUN_FINAL_GLIDE_BAR_RENDERER_SOURCES = \
1972 $(SRC)/Math/Screen.cpp \
1973 $(SRC)/Hardware/Display.cpp \
1974 $(SRC)/Screen/Layout.cpp \
1975 $(SRC)/Renderer/LabelBlock.cpp \
1976 $(SRC)/Renderer/TextInBox.cpp \
1977 $(SRC)/Look/FinalGlideBarLook.cpp \
1978 $(SRC)/Look/TaskLook.cpp \
1979 $(SRC)/ResourceLoader.cpp \
1980 $(SRC)/Units/Units.cpp \
1981 $(SRC)/Units/Settings.cpp \
1982 $(SRC)/Units/Descriptor.cpp \
1983 $(SRC)/Units/System.cpp \
1984 $(SRC)/Formatter/Units.cpp \
1985 $(SRC)/Formatter/UserUnits.cpp \
1986 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
1987 $(SRC)/NMEA/Derived.cpp \
1988 $(SRC)/NMEA/VarioInfo.cpp \
1989 $(SRC)/NMEA/CirclingInfo.cpp \
1990 $(SRC)/NMEA/ClimbHistory.cpp \
1991 $(SRC)/NMEA/ThermalBand.cpp \
1992 $(SRC)/NMEA/ClimbInfo.cpp \
1993 $(SRC)/NMEA/ThermalLocator.cpp \
1994 $(SRC)/NMEA/FlyingState.cpp \
1995 $(SRC)/Engine/Navigation/TraceHistory.cpp \
1996 $(TEST_SRC_DIR)/FakeAsset.cpp \
1997 $(TEST_SRC_DIR)/FakeBlank.cpp \
1998 $(TEST_SRC_DIR)/Fonts.cpp \
1999 $(TEST_SRC_DIR)/RunFinalGlideBarRenderer.cpp
2000 RUN_FINAL_GLIDE_BAR_RENDERER_LDADD = $(RESOURCE_BINARY)
2001 RUN_FINAL_GLIDE_BAR_RENDERER_DEPENDS = FORM SCREEN EVENT OS THREAD TASK GLIDE GEO MATH UTIL
2002 $(eval $(call link-program,RunFinalGlideBarRenderer,RUN_FINAL_GLIDE_BAR_RENDERER))
2004 RUN_FAI_TRIANGLE_SECTOR_RENDERER_SOURCES = \
2005 $(SRC)/Math/Screen.cpp \
2006 $(SRC)/Hardware/Display.cpp \
2007 $(SRC)/Screen/Layout.cpp \
2008 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
2009 $(SRC)/Projection/Projection.cpp \
2010 $(SRC)/Projection/WindowProjection.cpp \
2011 $(SRC)/ResourceLoader.cpp \
2012 $(ENGINE_SRC_DIR)/Task/Shapes/FAITriangleArea.cpp \
2013 $(TEST_SRC_DIR)/FakeAsset.cpp \
2014 $(TEST_SRC_DIR)/FakeBlank.cpp \
2015 $(TEST_SRC_DIR)/Fonts.cpp \
2016 $(TEST_SRC_DIR)/RunFAITriangleSectorRenderer.cpp
2017 RUN_FAI_TRIANGLE_SECTOR_RENDERER_LDADD = $(RESOURCE_BINARY)
2018 RUN_FAI_TRIANGLE_SECTOR_RENDERER_DEPENDS = FORM SCREEN EVENT OS THREAD GEO MATH UTIL
2019 $(eval $(call link-program,RunFAITriangleSectorRenderer,RUN_FAI_TRIANGLE_SECTOR_RENDERER))
2021 RUN_PROGRESS_WINDOW_SOURCES = \
2022 $(SRC)/Version.cpp \
2023 $(SRC)/Hardware/Display.cpp \
2024 $(SRC)/ProgressWindow.cpp \
2025 $(SRC)/Screen/Layout.cpp \
2026 $(SRC)/Gauge/LogoView.cpp \
2027 $(SRC)/ResourceLoader.cpp \
2028 $(TEST_SRC_DIR)/FakeAsset.cpp \
2029 $(TEST_SRC_DIR)/FakeBlank.cpp \
2030 $(TEST_SRC_DIR)/Fonts.cpp \
2031 $(TEST_SRC_DIR)/RunProgressWindow.cpp
2032 RUN_PROGRESS_WINDOW_LDADD = $(RESOURCE_BINARY)
2033 RUN_PROGRESS_WINDOW_DEPENDS = SCREEN EVENT OS THREAD MATH UTIL
2034 $(eval $(call link-program,RunProgressWindow,RUN_PROGRESS_WINDOW))
2036 RUN_JOB_DIALOG_SOURCES = \
2037 $(SRC)/Version.cpp \
2038 $(SRC)/Operation/Operation.cpp \
2039 $(SRC)/Operation/ThreadedOperationEnvironment.cpp \
2040 $(SRC)/Job/Thread.cpp \
2041 $(SRC)/Hardware/Display.cpp \
2042 $(SRC)/ProgressWindow.cpp \
2043 $(SRC)/Screen/Layout.cpp \
2044 $(SRC)/Look/DialogLook.cpp \
2045 $(SRC)/Look/ButtonLook.cpp \
2046 $(SRC)/Gauge/LogoView.cpp \
2047 $(SRC)/ResourceLoader.cpp \
2048 $(SRC)/Dialogs/JobDialog.cpp \
2049 $(SRC)/Dialogs/DialogSettings.cpp \
2050 $(TEST_SRC_DIR)/FakeAsset.cpp \
2051 $(TEST_SRC_DIR)/FakeBlank.cpp \
2052 $(TEST_SRC_DIR)/FakeLanguage.cpp \
2053 $(TEST_SRC_DIR)/Fonts.cpp \
2054 $(TEST_SRC_DIR)/RunJobDialog.cpp
2055 RUN_JOB_DIALOG_LDADD = $(RESOURCE_BINARY)
2056 RUN_JOB_DIALOG_DEPENDS = THREAD FORM SCREEN EVENT OS MATH UTIL
2057 $(eval $(call link-program,RunJobDialog,RUN_JOB_DIALOG))
2059 RUN_ANALYSIS_SOURCES = \
2060 $(DEBUG_REPLAY_SOURCES) \
2061 $(SRC)/Engine/Util/Gradient.cpp \
2062 $(SRC)/Engine/Trace/Point.cpp \
2063 $(SRC)/Engine/Trace/Trace.cpp \
2064 $(SRC)/Engine/Trace/Vector.cpp \
2065 $(SRC)/NMEA/Aircraft.cpp \
2066 $(SRC)/UIUtil/GestureManager.cpp \
2067 $(SRC)/Task/Serialiser.cpp \
2068 $(SRC)/Task/Deserialiser.cpp \
2069 $(SRC)/Task/ProtectedTaskManager.cpp \
2070 $(SRC)/Task/ProtectedRoutePlanner.cpp \
2071 $(SRC)/Task/RoutePlannerGlue.cpp \
2072 $(SRC)/Task/TaskFile.cpp \
2073 $(SRC)/Task/TaskFileXCSoar.cpp \
2074 $(SRC)/Task/TaskFileSeeYou.cpp \
2075 $(SRC)/Task/TaskFileIGC.cpp \
2076 $(SRC)/Task/Serialiser.cpp \
2077 $(SRC)/Task/Deserialiser.cpp \
2078 $(SRC)/Waypoint/WaypointReaderBase.cpp \
2079 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
2080 $(SRC)/RadioFrequency.cpp \
2081 $(SRC)/Math/Screen.cpp \
2082 $(SRC)/Atmosphere/CuSonde.cpp \
2083 $(SRC)/Wind/CirclingWind.cpp \
2084 $(SRC)/Wind/WindStore.cpp \
2085 $(SRC)/Wind/WindMeasurementList.cpp \
2086 $(SRC)/Wind/WindEKF.cpp \
2087 $(SRC)/Wind/WindEKFGlue.cpp \
2088 $(SRC)/Projection/Projection.cpp \
2089 $(SRC)/Projection/WindowProjection.cpp \
2090 $(SRC)/Projection/MapWindowProjection.cpp \
2091 $(SRC)/Projection/ChartProjection.cpp \
2092 $(SRC)/Renderer/ChartRenderer.cpp \
2093 $(SRC)/Renderer/TaskRenderer.cpp \
2094 $(SRC)/Renderer/TaskPointRenderer.cpp \
2095 $(SRC)/Renderer/OZRenderer.cpp \
2096 $(SRC)/Renderer/AircraftRenderer.cpp \
2097 $(SRC)/Renderer/TrailRenderer.cpp \
2098 $(SRC)/MapWindow/MapCanvas.cpp \
2099 $(SRC)/Units/Units.cpp \
2100 $(SRC)/Units/Settings.cpp \
2101 $(SRC)/Formatter/Units.cpp \
2102 $(SRC)/Formatter/UserUnits.cpp \
2103 $(SRC)/Formatter/HexColor.cpp \
2104 $(SRC)/Formatter/TimeFormatter.cpp \
2105 $(SRC)/ResourceLoader.cpp \
2106 $(SRC)/LocalPath.cpp \
2107 $(SRC)/Hardware/Display.cpp \
2108 $(SRC)/Screen/Layout.cpp \
2109 $(SRC)/Screen/Ramp.cpp \
2110 $(SRC)/Screen/UnitSymbol.cpp \
2111 $(SRC)/Look/Look.cpp \
2112 $(SRC)/Look/UnitsLook.cpp \
2113 $(SRC)/Look/IconLook.cpp \
2114 $(SRC)/Look/MapLook.cpp \
2115 $(SRC)/Look/WindArrowLook.cpp \
2116 $(SRC)/Look/VarioLook.cpp \
2117 $(SRC)/Look/ChartLook.cpp \
2118 $(SRC)/Look/ThermalBandLook.cpp \
2119 $(SRC)/Look/TraceHistoryLook.cpp \
2120 $(SRC)/Look/CrossSectionLook.cpp \
2121 $(SRC)/Look/HorizonLook.cpp \
2122 $(SRC)/Look/WaypointLook.cpp \
2123 $(SRC)/Look/AirspaceLook.cpp \
2124 $(SRC)/Look/TaskLook.cpp \
2125 $(SRC)/Look/AircraftLook.cpp \
2126 $(SRC)/Look/TrafficLook.cpp \
2127 $(SRC)/Look/GestureLook.cpp \
2128 $(SRC)/Look/InfoBoxLook.cpp \
2129 $(SRC)/Look/MarkerLook.cpp \
2130 $(SRC)/Look/NOAALook.cpp \
2131 $(SRC)/Look/TerminalLook.cpp \
2132 $(SRC)/Look/TrailLook.cpp \
2133 $(SRC)/Look/FinalGlideBarLook.cpp \
2134 $(SRC)/Look/FlarmTrafficLook.cpp \
2135 $(SRC)/Look/ThermalAssistantLook.cpp \
2136 $(SRC)/Profile/Profile.cpp \
2137 $(SRC)/Profile/ProfileKeys.cpp \
2138 $(SRC)/Profile/FontConfig.cpp \
2139 $(SRC)/XML/Node.cpp \
2140 $(SRC)/XML/Parser.cpp \
2141 $(SRC)/XML/Writer.cpp \
2142 $(SRC)/XML/DataNode.cpp \
2143 $(SRC)/XML/DataNodeXML.cpp \
2144 $(SRC)/Dialogs/XML.cpp \
2145 $(SRC)/Dialogs/Inflate.cpp \
2146 $(SRC)/Dialogs/dlgAnalysis.cpp \
2147 $(SRC)/Dialogs/DialogSettings.cpp \
2148 $(SRC)/Look/DialogLook.cpp \
2149 $(SRC)/Look/ButtonLook.cpp \
2150 $(SRC)/CrossSection/AirspaceXSRenderer.cpp \
2151 $(SRC)/CrossSection/TerrainXSRenderer.cpp \
2152 $(SRC)/CrossSection/CrossSectionRenderer.cpp \
2153 $(SRC)/CrossSection/CrossSectionWindow.cpp \
2154 $(SRC)/FlightStatistics.cpp \
2155 $(SRC)/Renderer/AirspacePreviewRenderer.cpp \
2156 $(SRC)/Renderer/FlightStatisticsRenderer.cpp \
2157 $(SRC)/Renderer/BarographRenderer.cpp \
2158 $(SRC)/Renderer/ClimbChartRenderer.cpp \
2159 $(SRC)/Renderer/GlidePolarRenderer.cpp \
2160 $(SRC)/Renderer/ThermalBandRenderer.cpp \
2161 $(SRC)/Renderer/WindChartRenderer.cpp \
2162 $(SRC)/Renderer/CuRenderer.cpp \
2163 $(SRC)/Computer/ThermalLocator.cpp \
2164 $(SRC)/Computer/ThermalBase.cpp \
2165 $(SRC)/Computer/ThermalBandComputer.cpp \
2166 $(SRC)/Computer/GlideRatioCalculator.cpp \
2167 $(SRC)/Computer/AutoQNH.cpp \
2168 $(SRC)/Computer/CirclingComputer.cpp \
2169 $(SRC)/Computer/WindComputer.cpp \
2170 $(SRC)/Computer/ContestComputer.cpp \
2171 $(SRC)/Computer/TraceComputer.cpp \
2172 $(SRC)/Computer/WarningComputer.cpp \
2173 $(SRC)/Computer/LiftDatabaseComputer.cpp \
2174 $(SRC)/Computer/AverageVarioComputer.cpp \
2175 $(SRC)/Computer/GlideRatioComputer.cpp \
2176 $(SRC)/Computer/GlideComputer.cpp \
2177 $(SRC)/Computer/GlideComputerBlackboard.cpp \
2178 $(SRC)/Computer/TaskComputer.cpp \
2179 $(SRC)/Computer/RouteComputer.cpp \
2180 $(SRC)/Computer/GlideComputerAirData.cpp \
2181 $(SRC)/Computer/StatsComputer.cpp \
2182 $(SRC)/Computer/GlideComputerInterface.cpp \
2183 $(SRC)/Computer/LogComputer.cpp \
2184 $(SRC)/Computer/CuComputer.cpp \
2185 $(SRC)/Audio/Settings.cpp \
2186 $(SRC)/Audio/VarioSettings.cpp \
2187 $(SRC)/UISettings.cpp \
2188 $(SRC)/DisplaySettings.cpp \
2189 $(SRC)/PageSettings.cpp \
2190 $(SRC)/InfoBoxes/InfoBoxSettings.cpp \
2191 $(SRC)/Gauge/VarioSettings.cpp \
2192 $(SRC)/Gauge/TrafficSettings.cpp \
2193 $(SRC)/ComputerSettings.cpp \
2194 $(SRC)/TeamCodeSettings.cpp \
2195 $(SRC)/Logger/Settings.cpp \
2196 $(SRC)/Tracking/TrackingSettings.cpp \
2197 $(SRC)/IGC/IGCParser.cpp \
2198 $(SRC)/MapSettings.cpp \
2199 $(SRC)/Blackboard/InterfaceBlackboard.cpp \
2200 $(SRC)/Audio/VegaVoice.cpp \
2201 $(SRC)/TeamCode.cpp \
2202 $(SRC)/Engine/Navigation/TraceHistory.cpp \
2203 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
2204 $(SRC)/Airspace/AirspaceParser.cpp \
2205 $(SRC)/Airspace/AirspaceGlue.cpp \
2206 $(SRC)/Airspace/AirspaceVisibility.cpp \
2207 $(SRC)/Airspace/AirspaceComputerSettings.cpp \
2208 $(SRC)/Renderer/AirspaceRendererSettings.cpp \
2209 $(SRC)/Math/SunEphemeris.cpp \
2210 $(SRC)/IO/ConfiguredFile.cpp \
2211 $(SRC)/Operation/Operation.cpp \
2212 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
2213 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
2214 $(TEST_SRC_DIR)/FakeAsset.cpp \
2215 $(TEST_SRC_DIR)/FakeBlank.cpp \
2216 $(TEST_SRC_DIR)/FakeDialogs.cpp \
2217 $(TEST_SRC_DIR)/FakeListPicker.cpp \
2218 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
2219 $(TEST_SRC_DIR)/FakeLanguage.cpp \
2220 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2221 $(TEST_SRC_DIR)/Fonts.cpp \
2222 $(TEST_SRC_DIR)/RunAnalysis.cpp
2223 RUN_ANALYSIS_LDADD = \
2224 $(RESOURCE_BINARY)
2225 RUN_ANALYSIS_DEPENDS = TERRAIN DRIVER PROFILE FORM WIDGET SCREEN EVENT IO DATA_FIELD OS THREAD CONTEST TASK ROUTE GLIDE WAYPOINT ROUTE AIRSPACE ZZIP UTIL GEO MATH TIME
2226 $(eval $(call link-program,RunAnalysis,RUN_ANALYSIS))
2228 RUN_AIRSPACE_WARNING_DIALOG_SOURCES = \
2229 $(SRC)/Engine/Navigation/Aircraft.cpp \
2230 $(SRC)/NMEA/FlyingState.cpp \
2231 $(SRC)/XML/Node.cpp \
2232 $(SRC)/XML/Parser.cpp \
2233 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
2234 $(SRC)/Units/Units.cpp \
2235 $(SRC)/Units/Settings.cpp \
2236 $(SRC)/Units/Descriptor.cpp \
2237 $(SRC)/Units/System.cpp \
2238 $(SRC)/Formatter/Units.cpp \
2239 $(SRC)/Formatter/UserUnits.cpp \
2240 $(SRC)/Formatter/TimeFormatter.cpp \
2241 $(SRC)/Formatter/AirspaceFormatter.cpp \
2242 $(SRC)/Formatter/AirspaceUserUnitsFormatter.cpp \
2243 $(SRC)/Formatter/HexColor.cpp \
2244 $(SRC)/Look/DialogLook.cpp \
2245 $(SRC)/Look/ButtonLook.cpp \
2246 $(SRC)/Dialogs/XML.cpp \
2247 $(SRC)/Dialogs/Inflate.cpp \
2248 $(SRC)/Dialogs/Airspace/dlgAirspaceWarnings.cpp \
2249 $(SRC)/Dialogs/DialogSettings.cpp \
2250 $(SRC)/Airspace/AirspaceParser.cpp \
2251 $(SRC)/Audio/Sound.cpp \
2252 $(SRC)/Hardware/Display.cpp \
2253 $(SRC)/Screen/Layout.cpp \
2254 $(SRC)/ResourceLoader.cpp \
2255 $(SRC)/Profile/ProfileKeys.cpp \
2256 $(SRC)/Operation/Operation.cpp \
2257 $(SRC)/Atmosphere/Pressure.cpp \
2258 $(IO_SRC_DIR)/ConfiguredFile.cpp \
2259 $(TEST_SRC_DIR)/FakeAsset.cpp \
2260 $(TEST_SRC_DIR)/FakeBlank.cpp \
2261 $(TEST_SRC_DIR)/FakeDialogs.cpp \
2262 $(TEST_SRC_DIR)/FakeHelpDialog.cpp \
2263 $(TEST_SRC_DIR)/FakeListPicker.cpp \
2264 $(TEST_SRC_DIR)/FakeLanguage.cpp \
2265 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2266 $(TEST_SRC_DIR)/FakeProfile.cpp \
2267 $(TEST_SRC_DIR)/FakeProfileGlue.cpp \
2268 $(TEST_SRC_DIR)/FakeTerrain.cpp \
2269 $(TEST_SRC_DIR)/Fonts.cpp \
2270 $(TEST_SRC_DIR)/RunAirspaceWarningDialog.cpp
2271 RUN_AIRSPACE_WARNING_DIALOG_LDADD = \
2272 $(FAKE_LIBS) \
2273 $(RESOURCE_BINARY)
2274 RUN_AIRSPACE_WARNING_DIALOG_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD AIRSPACE ZZIP UTIL GEO MATH TIME
2275 $(eval $(call link-program,RunAirspaceWarningDialog,RUN_AIRSPACE_WARNING_DIALOG))
2277 PLAY_TONE_SOURCES = \
2278 $(TEST_SRC_DIR)/PlayTone.cpp
2279 PLAY_TONE_DEPENDS = AUDIO MATH SCREEN EVENT OS
2280 $(eval $(call link-program,PlayTone,PLAY_TONE))
2282 PLAY_VARIO_SOURCES = \
2283 $(DEBUG_REPLAY_SOURCES) \
2284 $(TEST_SRC_DIR)/PlayVario.cpp
2285 PLAY_VARIO_LDADD = $(filter-out $(OS_LIBS),$(DEBUG_REPLAY_LDADD))
2286 PLAY_VARIO_DEPENDS = AUDIO GEO MATH SCREEN EVENT UTIL OS TIME
2287 $(eval $(call link-program,PlayVario,PLAY_VARIO))
2289 DUMP_VARIO_SOURCES = \
2290 $(DEBUG_REPLAY_SOURCES) \
2291 $(TEST_SRC_DIR)/DumpVario.cpp
2292 DUMP_VARIO_LDADD = $(DEBUG_REPLAY_LDADD)
2293 DUMP_VARIO_DEPENDS = AUDIO GEO MATH SCREEN EVENT UTIL OS TIME
2294 $(eval $(call link-program,DumpVario,DUMP_VARIO))
2296 RUN_TASK_EDITOR_DIALOG_SOURCES = \
2297 $(SRC)/XML/Node.cpp \
2298 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
2299 $(SRC)/Dialogs/XML.cpp \
2300 $(SRC)/Dialogs/Inflate.cpp \
2301 $(SRC)/Dialogs/ComboPicker.cpp \
2302 $(SRC)/Dialogs/HelpDialog.cpp \
2303 $(SRC)/Dialogs/dlgTaskOverview.cpp \
2304 $(SRC)/Dialogs/WaypointList.cpp \
2305 $(SRC)/Dialogs/dlgWaypointDetails.cpp \
2306 $(SRC)/Dialogs/dlgTaskWaypoint.cpp \
2307 $(SRC)/Math/SunEphemeris.cpp \
2308 $(SRC)/LocalTime.cpp \
2309 $(SRC)/Airspace/AirspaceParser.cpp \
2310 $(SRC)/Hardware/Display.cpp \
2311 $(SRC)/Screen/Layout.cpp \
2312 $(SRC)/Look/Fonts.cpp \
2313 $(SRC)/Task/TaskFile.cpp \
2314 $(SRC)/Task/TaskFileXCSoar.cpp \
2315 $(SRC)/Task/TaskFileIGC.cpp \
2316 $(SRC)/Task/TaskFileSeeYou.cpp \
2317 $(SRC)/Task/ProtectedTaskManager.cpp \
2318 $(SRC)/LocalPath.cpp \
2319 $(SRC)/UtilsFont.cpp \
2320 $(SRC)/Units/Units.cpp \
2321 $(SRC)/Units/Settings.cpp \
2322 $(SRC)/Units/Descriptor.cpp \
2323 $(SRC)/Formatter/Units.cpp \
2324 $(SRC)/Waypoint/WaypointFileType.cpp \
2325 $(SRC)/Waypoint/WaypointGlue.cpp \
2326 $(SRC)/Waypoint/WaypointReaderBase.cpp \
2327 $(SRC)/Waypoint/WaypointReader.cpp \
2328 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
2329 $(SRC)/Waypoint/WaypointReaderFS.cpp \
2330 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
2331 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
2332 $(SRC)/Waypoint/WaypointReaderZander.cpp \
2333 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
2334 $(SRC)/Operation/Operation.cpp \
2335 $(TEST_SRC_DIR)/FakeAsset.cpp \
2336 $(TEST_SRC_DIR)/FakeBlank.cpp \
2337 $(TEST_SRC_DIR)/FakeDialogs.cpp \
2338 $(TEST_SRC_DIR)/FakeLanguage.cpp \
2339 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2340 $(TEST_SRC_DIR)/FakeProfile.cpp \
2341 $(TEST_SRC_DIR)/FakeTerrain.cpp \
2342 $(TEST_SRC_DIR)/RunTaskEditorDialog.cpp
2343 RUN_TASK_EDITOR_DIALOG_LDADD = \
2344 $(FAKE_LIBS) \
2345 $(RESOURCE_BINARY)
2346 RUN_TASK_EDITOR_DIALOG_DEPENDS = FORM WIDGET DATA_FIELD SCREEN EVENT IO OS THREAD ZZIP UTIL GEO
2347 $(eval $(call link-program,RunTaskEditorDialog,RUN_TASK_EDITOR_DIALOG))
2349 TEST_NOTIFY_SOURCES = \
2350 $(SRC)/Event/Idle.cpp \
2351 $(TEST_SRC_DIR)/FakeAsset.cpp \
2352 $(TEST_SRC_DIR)/FakeBlank.cpp \
2353 $(TEST_SRC_DIR)/tap.c \
2354 $(TEST_SRC_DIR)/TestNotify.cpp
2355 TEST_NOTIFY_DEPENDS = EVENT SCREEN MATH UTIL OS THREAD
2356 $(eval $(call link-program,TestNotify,TEST_NOTIFY))
2358 FEED_NMEA_SOURCES = \
2359 $(SRC)/Device/Port/ConfiguredPort.cpp \
2360 $(SRC)/OS/LogError.cpp \
2361 $(SRC)/Operation/Operation.cpp \
2362 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
2363 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2364 $(TEST_SRC_DIR)/DebugPort.cpp \
2365 $(TEST_SRC_DIR)/FeedNMEA.cpp
2366 FEED_NMEA_DEPENDS = PORT ASYNC OS THREAD UTIL
2367 $(eval $(call link-program,FeedNMEA,FEED_NMEA))
2369 FEED_VEGA_SOURCES = \
2370 $(SRC)/Device/Port/ConfiguredPort.cpp \
2371 $(SRC)/OS/LogError.cpp \
2372 $(SRC)/Operation/Operation.cpp \
2373 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
2374 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2375 $(TEST_SRC_DIR)/DebugPort.cpp \
2376 $(TEST_SRC_DIR)/FeedVega.cpp
2377 FEED_VEGA_DEPENDS = PORT ASYNC OS THREAD UTIL
2378 $(eval $(call link-program,FeedVega,FEED_VEGA))
2380 EMULATE_DEVICE_SOURCES = \
2381 $(SRC)/Device/Port/ConfiguredPort.cpp \
2382 $(SRC)/Device/Port/LineSplitter.cpp \
2383 $(SRC)/Device/Internal.cpp \
2384 $(SRC)/Device/Driver/FLARM/BinaryProtocol.cpp \
2385 $(SRC)/Device/Driver/FLARM/CRC16.cpp \
2386 $(SRC)/NMEA/Checksum.cpp \
2387 $(SRC)/NMEA/InputLine.cpp \
2388 $(SRC)/IO/CSVLine.cpp \
2389 $(SRC)/OS/LogError.cpp \
2390 $(SRC)/Operation/Operation.cpp \
2391 $(SRC)/Operation/ConsoleOperationEnvironment.cpp \
2392 $(TEST_SRC_DIR)/FakeLogFile.cpp \
2393 $(TEST_SRC_DIR)/DebugPort.cpp \
2394 $(TEST_SRC_DIR)/EmulateDevice.cpp
2395 EMULATE_DEVICE_DEPENDS = PORT ASYNC OS THREAD UTIL
2396 $(eval $(call link-program,EmulateDevice,EMULATE_DEVICE))
2398 FEED_TCP_SOURCES = \
2399 $(TEST_SRC_DIR)/FeedTCP.cpp
2400 FEED_TCP_DEPENDS = OS
2402 $(eval $(call link-program,FeedTCP,FEED_TCP))
2404 FEED_FLYNET_DATA_SOURCES = \
2405 $(SRC)/Math/fixed.cpp \
2406 $(TEST_SRC_DIR)/FeedFlyNetData.cpp
2407 FEED_FLYNET_DATA_DEPENDS = OS UTIL
2409 $(eval $(call link-program,FeedFlyNetData,FEED_FLYNET_DATA))
2411 TASK_INFO_SOURCES = \
2412 $(SRC)/Engine/Util/Gradient.cpp \
2413 $(SRC)/Task/Serialiser.cpp \
2414 $(SRC)/Task/Deserialiser.cpp \
2415 $(SRC)/XML/Node.cpp \
2416 $(SRC)/XML/Parser.cpp \
2417 $(SRC)/XML/Writer.cpp \
2418 $(SRC)/XML/DataNode.cpp \
2419 $(SRC)/XML/DataNodeXML.cpp \
2420 $(TEST_SRC_DIR)/TaskInfo.cpp
2421 TASK_INFO_DEPENDS = TASK ROUTE GLIDE WAYPOINT IO OS GEO MATH UTIL
2422 $(eval $(call link-program,TaskInfo,TASK_INFO))
2424 DUMP_TASK_FILE_SOURCES = \
2425 $(SRC)/Engine/Util/Gradient.cpp \
2426 $(SRC)/Units/Descriptor.cpp \
2427 $(SRC)/Units/System.cpp \
2428 $(SRC)/XML/Node.cpp \
2429 $(SRC)/XML/Parser.cpp \
2430 $(SRC)/XML/Writer.cpp \
2431 $(SRC)/XML/DataNode.cpp \
2432 $(SRC)/XML/DataNodeXML.cpp \
2433 $(SRC)/IGC/IGCParser.cpp \
2434 $(SRC)/Task/Serialiser.cpp \
2435 $(SRC)/Task/Deserialiser.cpp \
2436 $(SRC)/Task/TaskFile.cpp \
2437 $(SRC)/Task/TaskFileXCSoar.cpp \
2438 $(SRC)/Task/TaskFileIGC.cpp \
2439 $(SRC)/Task/TaskFileSeeYou.cpp \
2440 $(SRC)/Waypoint/WaypointReaderBase.cpp \
2441 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
2442 $(SRC)/Operation/Operation.cpp \
2443 $(SRC)/RadioFrequency.cpp \
2444 $(TEST_SRC_DIR)/FakeTerrain.cpp \
2445 $(TEST_SRC_DIR)/DumpTaskFile.cpp
2446 DUMP_TASK_FILE_DEPENDS = TASK GLIDE WAYPOINT IO OS THREAD ZZIP GEO MATH UTIL
2447 $(eval $(call link-program,DumpTaskFile,DUMP_TASK_FILE))
2449 DUMP_FLARM_NET_SOURCES = \
2450 $(SRC)/FLARM/FlarmNetReader.cpp \
2451 $(SRC)/FLARM/FlarmId.cpp \
2452 $(SRC)/FLARM/FlarmNetRecord.cpp \
2453 $(SRC)/FLARM/FlarmNetDatabase.cpp \
2454 $(TEST_SRC_DIR)/DumpFlarmNet.cpp
2455 DUMP_FLARM_NET_DEPENDS = IO OS MATH UTIL
2456 $(eval $(call link-program,DumpFlarmNet,DUMP_FLARM_NET))
2458 IGC2NMEA_SOURCES = \
2459 $(DEBUG_REPLAY_SOURCES) \
2460 $(TEST_SRC_DIR)/IGC2NMEA.cpp
2461 IGC2NMEA_DEPENDS = GEO MATH UTIL TIME
2462 IGC2NMEA_LDADD = $(DEBUG_REPLAY_LDADD)
2464 $(eval $(call link-program,IGC2NMEA,IGC2NMEA))
2466 TODAY_INSTALL_SOURCES = \
2467 $(TEST_SRC_DIR)/TodayInstall.cpp
2468 $(eval $(call link-program,TodayInstall,TODAY_INSTALL))
2470 debug: $(DEBUG_PROGRAMS)