CommandLine: add parameter "-datapath"
[xcsoar.git] / Makefile
blobae4b49ce959c5b3e66401d2fc8a104e04e245f7b
2 # This is the XCSoar build script. To compile XCSoar, you must
3 # specify the target platform, e.g. for Pocket PC 2003, type:
5 # make TARGET=PPC2003
7 # The following parameters may be specified on the "make" command
8 # line:
10 # TARGET The name of the target platform. See the TARGETS variable
11 # in build/targets.mk for a list of valid target platforms.
13 # ENABLE_SDL If set to "y", the UI is drawn with libSDL.
15 # OPENGL "y" means render with OpenGL.
17 # EYE_CANDY "n" disables eye candy rendering.
19 # DEBUG If set to "y", the debugging version of XCSoar is built
20 # (default is "y")
22 # WERROR Make all compiler warnings fatal (default is $DEBUG)
24 # V Verbosity; 1 is the default, and prints terse information.
25 # 0 means quiet, and 2 prints the full compiler commands.
27 # FIXED "y" means use fixed point math (for FPU-less platforms)
29 # LTO "y" enables gcc's link-time optimization flag (experimental,
30 # requires gcc 4.5)
32 # CLANG "y" to use clang instead of gcc
34 # ANALYZER "y" to support the clang analyzer
36 # LLVM "y" to compile LLVM bitcode with clang
38 # LIBCXX The absolute path of the libc++ svn/git working directory.
41 .DEFAULT_GOAL := all
43 topdir = .
45 -include $(topdir)/build/local-config.mk
47 include $(topdir)/build/make.mk
48 include $(topdir)/build/bool.mk
49 include $(topdir)/build/string.mk
50 include $(topdir)/build/dirs.mk
51 include $(topdir)/build/verbose.mk
52 include $(topdir)/build/util.mk
53 include $(topdir)/build/detect.mk
54 include $(topdir)/build/targets.mk
55 include $(topdir)/build/pkgconfig.mk
56 include $(topdir)/build/resource.mk
57 include $(topdir)/build/options.mk
58 include $(topdir)/build/debug.mk
59 include $(topdir)/build/coverage.mk
60 include $(topdir)/build/libintl.mk
61 include $(topdir)/build/boost.mk
62 include $(topdir)/build/egl.mk
63 include $(topdir)/build/opengl.mk
64 include $(topdir)/build/freetype.mk
65 include $(topdir)/build/sdl.mk
66 include $(topdir)/build/libpng.mk
67 include $(topdir)/build/libjpeg.mk
68 include $(topdir)/build/flags.mk
69 include $(topdir)/build/charset.mk
70 include $(topdir)/build/warnings.mk
71 include $(topdir)/build/compile.mk
72 include $(topdir)/build/link.mk
73 include $(topdir)/build/android.mk
74 include $(topdir)/build/llvm.mk
75 include $(topdir)/build/tools.mk
76 include $(topdir)/build/version.mk
77 include $(topdir)/build/osx.mk
78 include $(topdir)/build/generate.mk
79 include $(topdir)/build/doxygen.mk
80 include $(topdir)/build/manual.mk
82 # Create libraries for zzip, jasper and compatibility stuff
83 include $(topdir)/build/libstdcxx.mk
84 include $(topdir)/build/libutil.mk
85 include $(topdir)/build/libmath.mk
86 include $(topdir)/build/libgeo.mk
87 include $(topdir)/build/libos.mk
88 include $(topdir)/build/libtime.mk
89 include $(topdir)/build/libprofile.mk
90 include $(topdir)/build/libnet.mk
91 include $(topdir)/build/zlib.mk
92 include $(topdir)/build/zzip.mk
93 include $(topdir)/build/jasper.mk
94 include $(topdir)/build/libport.mk
95 include $(topdir)/build/driver.mk
96 include $(topdir)/build/libio.mk
97 include $(topdir)/build/libasync.mk
98 include $(topdir)/build/shapelib.mk
99 include $(topdir)/build/libwaypoint.mk
100 include $(topdir)/build/libairspace.mk
101 include $(topdir)/build/libtask.mk
102 include $(topdir)/build/libroute.mk
103 include $(topdir)/build/libcontest.mk
104 include $(topdir)/build/libglide.mk
105 include $(topdir)/build/datafield.mk
106 include $(topdir)/build/libevent.mk
107 include $(topdir)/build/screen.mk
108 include $(topdir)/build/libthread.mk
109 include $(topdir)/build/form.mk
110 include $(topdir)/build/libwidget.mk
111 include $(topdir)/build/libaudio.mk
112 include $(topdir)/build/libterrain.mk
113 include $(topdir)/build/harness.mk
115 include $(topdir)/build/setup.mk
116 include $(topdir)/build/launch.mk
117 include $(topdir)/build/vali.mk
118 include $(topdir)/build/test.mk
119 include $(topdir)/build/hot.mk
121 # Load local-config a second time
122 # to set (override) choices for GXX and friends.
123 -include $(topdir)/build/local-config.mk
125 ######## output files
127 ifeq ($(HAVE_POSIX),y)
128 PROGRAM_NAME = xcsoar
129 else
130 PROGRAM_NAME = XCSoar
131 endif
133 include $(topdir)/build/dist.mk
134 include $(topdir)/build/install.mk
136 ######## compiler flags
138 INCLUDES += -I$(SRC) -I$(ENGINE_SRC_DIR)
140 ####### sources
142 DIALOG_SOURCES = \
143 $(SRC)/Dialogs/XML.cpp \
144 $(SRC)/Dialogs/Inflate.cpp \
145 $(SRC)/Dialogs/Message.cpp \
146 $(SRC)/Dialogs/ListPicker.cpp \
147 $(SRC)/Dialogs/JobDialog.cpp \
148 $(SRC)/Dialogs/WidgetDialog.cpp \
149 $(SRC)/Dialogs/FileManager.cpp \
150 $(SRC)/Dialogs/Device/DeviceEditWidget.cpp \
151 $(SRC)/Dialogs/Device/DeviceListDialog.cpp \
152 $(SRC)/Dialogs/Device/PortMonitor.cpp \
153 $(SRC)/Dialogs/Device/ManageCAI302Dialog.cpp \
154 $(SRC)/Dialogs/Device/CAI302/UnitsEditor.cpp \
155 $(SRC)/Dialogs/Device/CAI302/WaypointUploader.cpp \
156 $(SRC)/Dialogs/Device/ManageFlarmDialog.cpp \
157 $(SRC)/Dialogs/Device/LX/ManageV7Dialog.cpp \
158 $(SRC)/Dialogs/Device/LX/V7ConfigWidget.cpp \
159 $(SRC)/Dialogs/Device/LX/ManageNanoDialog.cpp \
160 $(SRC)/Dialogs/Device/LX/NanoConfigWidget.cpp \
161 $(SRC)/Dialogs/Device/LX/ManageLX16xxDialog.cpp \
162 $(SRC)/Dialogs/Device/Vega/VegaParametersWidget.cpp \
163 $(SRC)/Dialogs/Device/Vega/VegaConfigurationDialog.cpp \
164 $(SRC)/Dialogs/Device/Vega/VegaDemoDialog.cpp \
165 $(SRC)/Dialogs/Device/Vega/VoiceSettingsDialog.cpp \
166 $(SRC)/Dialogs/Device/Vega/SwitchesDialog.cpp \
167 $(SRC)/Dialogs/Device/FLARM/ConfigWidget.cpp \
168 $(SRC)/Dialogs/MapItemListDialog.cpp \
169 $(SRC)/Dialogs/MapItemListSettingsDialog.cpp \
170 $(SRC)/Dialogs/MapItemListSettingsPanel.cpp \
171 $(SRC)/Dialogs/ColorListDialog.cpp \
172 $(SRC)/Dialogs/Airspace/dlgAirspace.cpp \
173 $(SRC)/Dialogs/Airspace/dlgAirspacePatterns.cpp \
174 $(SRC)/Dialogs/Airspace/dlgAirspaceDetails.cpp \
175 $(SRC)/Dialogs/Airspace/AirspaceList.cpp \
176 $(SRC)/Dialogs/Airspace/AirspaceCRendererSettingsDialog.cpp \
177 $(SRC)/Dialogs/Airspace/AirspaceCRendererSettingsPanel.cpp \
178 $(SRC)/Dialogs/Airspace/dlgAirspaceWarnings.cpp \
179 $(SRC)/Dialogs/Settings/WindSettingsPanel.cpp \
180 $(SRC)/Dialogs/Settings/WindSettingsDialog.cpp \
181 $(SRC)/Dialogs/Settings/dlgBasicSettings.cpp \
182 $(SRC)/Dialogs/Settings/dlgConfiguration.cpp \
183 $(SRC)/Dialogs/Settings/dlgConfigFonts.cpp \
184 $(SRC)/Dialogs/Settings/dlgConfigInfoboxes.cpp \
185 $(SRC)/Dialogs/Settings/FontEdit.cpp \
186 $(SRC)/Dialogs/Traffic/TrafficList.cpp \
187 $(SRC)/Dialogs/Traffic/FlarmTrafficDetails.cpp \
188 $(SRC)/Dialogs/Traffic/TeamCodeDialog.cpp \
189 $(SRC)/Dialogs/dlgAnalysis.cpp \
190 $(SRC)/Dialogs/dlgBrightness.cpp \
191 $(SRC)/Dialogs/dlgChecklist.cpp \
192 $(SRC)/Dialogs/Plane/PlaneListDialog.cpp \
193 $(SRC)/Dialogs/Plane/PlaneDetailsDialog.cpp \
194 $(SRC)/Dialogs/Plane/PlanePolarDialog.cpp \
195 $(SRC)/Dialogs/Plane/PolarShapeEditWidget.cpp \
196 $(SRC)/Dialogs/ComboPicker.cpp \
197 $(SRC)/Dialogs/FilePicker.cpp \
198 $(SRC)/Dialogs/HelpDialog.cpp \
199 $(SRC)/Dialogs/dlgInfoBoxAccess.cpp \
200 $(SRC)/Dialogs/ReplayDialog.cpp \
201 $(SRC)/Dialogs/dlgSimulatorPrompt.cpp \
202 $(SRC)/Dialogs/dlgStartup.cpp \
204 $(SRC)/Dialogs/dlgStatus.cpp \
205 $(SRC)/Dialogs/StatusPanels/StatusPanel.cpp \
206 $(SRC)/Dialogs/StatusPanels/FlightStatusPanel.cpp \
207 $(SRC)/Dialogs/StatusPanels/SystemStatusPanel.cpp \
208 $(SRC)/Dialogs/StatusPanels/TaskStatusPanel.cpp \
209 $(SRC)/Dialogs/StatusPanels/RulesStatusPanel.cpp \
210 $(SRC)/Dialogs/StatusPanels/TimesStatusPanel.cpp \
212 $(SRC)/Dialogs/Waypoint/WaypointInfoWidget.cpp \
213 $(SRC)/Dialogs/Waypoint/WaypointCommandsWidget.cpp \
214 $(SRC)/Dialogs/Waypoint/dlgWaypointDetails.cpp \
215 $(SRC)/Dialogs/Waypoint/Manager.cpp \
216 $(SRC)/Dialogs/Waypoint/dlgWaypointEdit.cpp \
217 $(SRC)/Dialogs/Waypoint/WaypointList.cpp \
218 $(SRC)/Dialogs/Waypoint/NearestWaypoint.cpp \
220 $(SRC)/Dialogs/Settings/Panels/AirspaceConfigPanel.cpp \
221 $(SRC)/Dialogs/Settings/Panels/DevicesConfigPanel.cpp \
222 $(SRC)/Dialogs/Settings/Panels/ExperimentalConfigPanel.cpp \
223 $(SRC)/Dialogs/Settings/Panels/GaugesConfigPanel.cpp \
224 $(SRC)/Dialogs/Settings/Panels/VarioConfigPanel.cpp \
225 $(SRC)/Dialogs/Settings/Panels/GlideComputerConfigPanel.cpp \
226 $(SRC)/Dialogs/Settings/Panels/WindConfigPanel.cpp \
227 $(SRC)/Dialogs/Settings/Panels/InfoBoxesConfigPanel.cpp \
228 $(SRC)/Dialogs/Settings/Panels/InterfaceConfigPanel.cpp \
229 $(SRC)/Dialogs/Settings/Panels/LayoutConfigPanel.cpp \
230 $(SRC)/Dialogs/Settings/Panels/LoggerConfigPanel.cpp \
231 $(SRC)/Dialogs/Settings/Panels/LoggerInfoConfigPanel.cpp \
232 $(SRC)/Dialogs/Settings/Panels/MapDisplayConfigPanel.cpp \
233 $(SRC)/Dialogs/Settings/Panels/PagesConfigPanel.cpp \
234 $(SRC)/Dialogs/Settings/Panels/PolarConfigPanel.cpp \
235 $(SRC)/Dialogs/Settings/Panels/RouteConfigPanel.cpp \
236 $(SRC)/Dialogs/Settings/Panels/SafetyFactorsConfigPanel.cpp \
237 $(SRC)/Dialogs/Settings/Panels/SiteConfigPanel.cpp \
238 $(SRC)/Dialogs/Settings/Panels/SymbolsConfigPanel.cpp \
239 $(SRC)/Dialogs/Settings/Panels/TaskRulesConfigPanel.cpp \
240 $(SRC)/Dialogs/Settings/Panels/TaskDefaultsConfigPanel.cpp \
241 $(SRC)/Dialogs/Settings/Panels/TerrainDisplayConfigPanel.cpp \
242 $(SRC)/Dialogs/Settings/Panels/UnitsConfigPanel.cpp \
243 $(SRC)/Dialogs/Settings/Panels/TimeConfigPanel.cpp \
244 $(SRC)/Dialogs/Settings/Panels/WaypointDisplayConfigPanel.cpp \
245 $(SRC)/Dialogs/Settings/Panels/TrackingConfigPanel.cpp \
247 $(SRC)/Dialogs/Task/Widgets/ObservationZoneEditWidget.cpp \
248 $(SRC)/Dialogs/Task/Widgets/CylinderZoneEditWidget.cpp \
249 $(SRC)/Dialogs/Task/Widgets/LineSectorZoneEditWidget.cpp \
250 $(SRC)/Dialogs/Task/Widgets/SectorZoneEditWidget.cpp \
251 $(SRC)/Dialogs/Task/Widgets/KeyholeZoneEditWidget.cpp \
252 $(SRC)/Dialogs/Task/Manager/TaskMapWindow.cpp \
253 $(SRC)/Dialogs/Task/Manager/TaskManagerDialog.cpp \
254 $(SRC)/Dialogs/Task/Manager/TaskClosePanel.cpp \
255 $(SRC)/Dialogs/Task/Manager/TaskEditPanel.cpp \
256 $(SRC)/Dialogs/Task/Manager/TaskPropertiesPanel.cpp \
257 $(SRC)/Dialogs/Task/Manager/TaskMiscPanel.cpp \
258 $(SRC)/Dialogs/Task/Manager/TaskActionsPanel.cpp \
259 $(SRC)/Dialogs/Task/Manager/TaskListPanel.cpp \
260 $(SRC)/Dialogs/Task/Manager/TaskCalculatorPanel.cpp \
261 $(SRC)/Dialogs/Task/OptionalStartsDialog.cpp \
262 $(SRC)/Dialogs/Task/TaskPointDialog.cpp \
263 $(SRC)/Dialogs/Task/MutateTaskPointDialog.cpp \
264 $(SRC)/Dialogs/Task/dlgTaskHelpers.cpp \
265 $(SRC)/Dialogs/Task/TargetDialog.cpp \
266 $(SRC)/Dialogs/Task/AlternatesListDialog.cpp \
268 $(SRC)/Dialogs/NumberEntry.cpp \
269 $(SRC)/Dialogs/dlgTextEntry.cpp \
270 $(SRC)/Dialogs/dlgTextEntry_Keyboard.cpp \
271 $(SRC)/Dialogs/TimeEntry.cpp \
272 $(SRC)/Dialogs/GeoPointEntry.cpp \
273 $(SRC)/Dialogs/Weather/RASPDialog.cpp \
274 $(SRC)/Dialogs/dlgCredits.cpp \
275 $(SRC)/Dialogs/dlgQuickMenu.cpp \
277 ifeq ($(HAVE_PCM_PLAYER),y)
278 DIALOG_SOURCES += $(SRC)/Dialogs/Settings/Panels/AudioVarioConfigPanel.cpp
279 endif
281 ifeq ($(HAVE_HTTP),y)
282 DIALOG_SOURCES += \
283 $(SRC)/Dialogs/Weather/NOAAList.cpp \
284 $(SRC)/Dialogs/Weather/NOAADetails.cpp
285 endif
287 XCSOAR_SOURCES := \
288 $(IO_SRC_DIR)/ConfiguredFile.cpp \
289 $(IO_SRC_DIR)/DataFile.cpp \
290 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
291 $(SRC)/Task/Serialiser.cpp \
292 $(SRC)/Task/Deserialiser.cpp \
293 $(SRC)/Task/TaskFile.cpp \
294 $(SRC)/Task/TaskFileXCSoar.cpp \
295 $(SRC)/Task/TaskFileIGC.cpp \
296 $(SRC)/Task/TaskFileSeeYou.cpp \
297 $(SRC)/Task/MapTaskManager.cpp \
298 $(SRC)/Task/ProtectedTaskManager.cpp \
299 $(SRC)/Task/RoutePlannerGlue.cpp \
300 $(SRC)/Task/ProtectedRoutePlanner.cpp \
301 $(SRC)/Task/TaskStore.cpp \
302 $(SRC)/Task/TypeStrings.cpp \
303 $(SRC)/Task/ValidationErrorStrings.cpp \
305 $(SRC)/RadioFrequency.cpp \
307 $(SRC)/Engine/Navigation/TraceHistory.cpp \
308 $(SRC)/Engine/Navigation/Aircraft.cpp \
309 $(SRC)/Engine/Trace/Point.cpp \
310 $(SRC)/Engine/Trace/Trace.cpp \
311 $(SRC)/Engine/Trace/Vector.cpp \
312 $(SRC)/Engine/Util/Gradient.cpp \
313 $(SRC)/Renderer/GradientRenderer.cpp \
314 $(SRC)/Renderer/GlassRenderer.cpp \
315 $(SRC)/Renderer/LabelBlock.cpp \
316 $(SRC)/Renderer/TextInBox.cpp \
317 $(SRC)/Renderer/TraceHistoryRenderer.cpp \
318 $(SRC)/Renderer/ThermalBandRenderer.cpp \
319 $(SRC)/Renderer/TaskProgressRenderer.cpp \
320 $(SRC)/Renderer/MarkerRenderer.cpp \
322 $(SRC)/Airspace/AirspaceGlue.cpp \
323 $(SRC)/Airspace/AirspaceParser.cpp \
324 $(SRC)/Airspace/AirspaceVisibility.cpp \
325 $(SRC)/Airspace/AirspaceComputerSettings.cpp \
326 $(SRC)/Renderer/AirspaceRendererSettings.cpp \
328 $(SRC)/Operation/Operation.cpp \
329 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
330 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
331 $(SRC)/Operation/PopupOperationEnvironment.cpp \
332 $(SRC)/Operation/MessageOperationEnvironment.cpp \
333 $(SRC)/Operation/ThreadedOperationEnvironment.cpp \
334 $(SRC)/Operation/VerboseOperationEnvironment.cpp \
335 $(SRC)/Atmosphere/Pressure.cpp \
336 $(SRC)/Atmosphere/AirDensity.cpp \
337 $(SRC)/Atmosphere/CuSonde.cpp \
338 $(SRC)/Computer/ClimbAverageCalculator.cpp \
339 $(SRC)/Computer/ConditionMonitor/ConditionMonitor.cpp \
340 $(SRC)/Computer/ConditionMonitor/ConditionMonitorAATTime.cpp \
341 $(SRC)/Computer/ConditionMonitor/ConditionMonitorFinalGlide.cpp \
342 $(SRC)/Computer/ConditionMonitor/ConditionMonitorGlideTerrain.cpp \
343 $(SRC)/Computer/ConditionMonitor/ConditionMonitorLandableReachable.cpp \
344 $(SRC)/Computer/ConditionMonitor/ConditionMonitorStartRules.cpp \
345 $(SRC)/Computer/ConditionMonitor/ConditionMonitorSunset.cpp \
346 $(SRC)/Computer/ConditionMonitor/ConditionMonitorWind.cpp \
347 $(SRC)/Computer/ConditionMonitor/ConditionMonitors.cpp \
348 $(SRC)/Plane/PlaneGlue.cpp \
349 $(SRC)/Plane/PlaneFileGlue.cpp \
350 $(SRC)/FLARM/FlarmId.cpp \
351 $(SRC)/FLARM/Error.cpp \
352 $(SRC)/FLARM/List.cpp \
353 $(SRC)/FLARM/FlarmNetRecord.cpp \
354 $(SRC)/FLARM/FlarmNetDatabase.cpp \
355 $(SRC)/FLARM/FlarmNetReader.cpp \
356 $(SRC)/FLARM/Traffic.cpp \
357 $(SRC)/FLARM/FlarmCalculations.cpp \
358 $(SRC)/FLARM/Friends.cpp \
359 $(SRC)/FLARM/FlarmComputer.cpp \
360 $(SRC)/FLARM/Global.cpp \
361 $(SRC)/FLARM/Glue.cpp \
362 $(SRC)/Computer/CuComputer.cpp \
363 $(SRC)/Computer/FlyingComputer.cpp \
364 $(SRC)/Computer/CirclingComputer.cpp \
365 $(SRC)/Computer/ThermalBandComputer.cpp \
366 $(SRC)/Computer/WindComputer.cpp \
367 $(SRC)/Computer/ContestComputer.cpp \
368 $(SRC)/Computer/TraceComputer.cpp \
369 $(SRC)/Computer/WarningComputer.cpp \
370 $(SRC)/Computer/ThermalLocator.cpp \
371 $(SRC)/Computer/ThermalBase.cpp \
372 $(SRC)/Computer/LiftDatabaseComputer.cpp \
373 $(SRC)/Computer/LogComputer.cpp \
374 $(SRC)/Computer/AverageVarioComputer.cpp \
375 $(SRC)/Computer/GlideRatioCalculator.cpp \
376 $(SRC)/Computer/GlideRatioComputer.cpp \
377 $(SRC)/Computer/GlideComputer.cpp \
378 $(SRC)/Computer/GlideComputerBlackboard.cpp \
379 $(SRC)/Computer/GlideComputerAirData.cpp \
380 $(SRC)/Computer/StatsComputer.cpp \
381 $(SRC)/Computer/RouteComputer.cpp \
382 $(SRC)/Computer/TaskComputer.cpp \
383 $(SRC)/Computer/GlideComputerInterface.cpp \
384 $(SRC)/Computer/Events.cpp \
385 $(SRC)/BallastDumpManager.cpp \
386 $(SRC)/Logger/Settings.cpp \
387 $(SRC)/Logger/Logger.cpp \
388 $(SRC)/Logger/LoggerFRecord.cpp \
389 $(SRC)/Logger/GRecord.cpp \
390 $(SRC)/Logger/LoggerEPE.cpp \
391 $(SRC)/Logger/LoggerImpl.cpp \
392 $(SRC)/Logger/IGCFileCleanup.cpp \
393 $(SRC)/IGC/IGCFix.cpp \
394 $(SRC)/IGC/IGCWriter.cpp \
395 $(SRC)/IGC/IGCString.cpp \
396 $(SRC)/Logger/MD5.cpp \
397 $(SRC)/Logger/NMEALogger.cpp \
398 $(SRC)/Logger/ExternalLogger.cpp \
399 $(SRC)/Logger/FlightLogger.cpp \
400 $(SRC)/Logger/GlueFlightLogger.cpp \
401 $(SRC)/NMEA/Info.cpp \
402 $(SRC)/NMEA/MoreData.cpp \
403 $(SRC)/NMEA/Acceleration.cpp \
404 $(SRC)/NMEA/Attitude.cpp \
405 $(SRC)/NMEA/ExternalSettings.cpp \
406 $(SRC)/NMEA/FlyingState.cpp \
407 $(SRC)/NMEA/Derived.cpp \
408 $(SRC)/NMEA/VarioInfo.cpp \
409 $(SRC)/NMEA/ClimbInfo.cpp \
410 $(SRC)/NMEA/CirclingInfo.cpp \
411 $(SRC)/NMEA/ThermalBand.cpp \
412 $(SRC)/NMEA/ThermalLocator.cpp \
413 $(SRC)/NMEA/ClimbHistory.cpp \
414 $(SRC)/NMEA/SwitchState.cpp \
415 $(SRC)/NMEA/InputLine.cpp \
416 $(SRC)/NMEA/Checksum.cpp \
417 $(SRC)/NMEA/Aircraft.cpp \
418 $(SRC)/Replay/Replay.cpp \
419 $(SRC)/IGC/IGCParser.cpp \
420 $(SRC)/Replay/IgcReplay.cpp \
421 $(SRC)/Replay/NmeaReplay.cpp \
422 $(SRC)/Replay/DemoReplay.cpp \
423 $(SRC)/Replay/DemoReplayGlue.cpp \
424 $(SRC)/Replay/TaskAutoPilot.cpp \
425 $(SRC)/Replay/AircraftSim.cpp \
426 $(SRC)/TeamCode.cpp \
427 $(SRC)/TeamActions.cpp \
428 $(SRC)/Waypoint/WaypointList.cpp \
429 $(SRC)/Waypoint/WaypointListBuilder.cpp \
430 $(SRC)/Waypoint/WaypointFilter.cpp \
431 $(SRC)/Waypoint/WaypointGlue.cpp \
432 $(SRC)/Waypoint/LastUsed.cpp \
433 $(SRC)/Waypoint/HomeGlue.cpp \
434 $(SRC)/Waypoint/WaypointFileType.cpp \
435 $(SRC)/Waypoint/WaypointReader.cpp \
436 $(SRC)/Waypoint/WaypointReaderBase.cpp \
437 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
438 $(SRC)/Waypoint/WaypointReaderFS.cpp \
439 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
440 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
441 $(SRC)/Waypoint/WaypointReaderZander.cpp \
442 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
443 $(SRC)/Waypoint/WaypointWriter.cpp \
444 $(SRC)/Wind/CirclingWind.cpp \
445 $(SRC)/Wind/WindMeasurementList.cpp \
446 $(SRC)/Wind/WindStore.cpp \
447 $(SRC)/Wind/WindEKF.cpp \
448 $(SRC)/Wind/WindEKFGlue.cpp \
450 $(SRC)/CrossSection/AirspaceXSRenderer.cpp \
451 $(SRC)/CrossSection/TerrainXSRenderer.cpp \
452 $(SRC)/CrossSection/CrossSectionRenderer.cpp \
453 $(SRC)/CrossSection/CrossSectionWindow.cpp \
454 $(SRC)/CrossSection/CrossSectionWidget.cpp \
456 $(SRC)/Gauge/ThermalAssistantRenderer.cpp \
457 $(SRC)/Gauge/ThermalAssistantWindow.cpp \
458 $(SRC)/Gauge/BigThermalAssistantWindow.cpp \
459 $(SRC)/Gauge/BigThermalAssistantWidget.cpp \
460 $(SRC)/Gauge/FlarmTrafficWindow.cpp \
461 $(SRC)/Gauge/BigTrafficWidget.cpp \
462 $(SRC)/Look/FlarmTrafficLook.cpp \
463 $(SRC)/Gauge/GaugeFLARM.cpp \
464 $(SRC)/Gauge/GaugeThermalAssistant.cpp \
465 $(SRC)/Gauge/VarioSettings.cpp \
466 $(SRC)/Gauge/TrafficSettings.cpp \
467 $(SRC)/Gauge/GaugeVario.cpp \
468 $(SRC)/Gauge/GlueGaugeVario.cpp \
469 $(SRC)/Gauge/TaskView.cpp \
470 $(SRC)/Gauge/LogoView.cpp \
472 $(SRC)/Waypoint/WaypointDetailsReader.cpp \
473 $(SRC)/Menu/MenuData.cpp \
474 $(SRC)/Menu/MenuBar.cpp \
475 $(SRC)/Menu/ButtonLabel.cpp \
476 $(SRC)/Menu/ExpandMacros.cpp \
477 $(SRC)/InfoBoxes/Content/Factory.cpp \
478 $(SRC)/InfoBoxes/Content/Alternate.cpp \
479 $(SRC)/InfoBoxes/Content/Base.cpp \
480 $(SRC)/InfoBoxes/Content/Altitude.cpp \
481 $(SRC)/InfoBoxes/Content/Direction.cpp \
482 $(SRC)/InfoBoxes/Content/Glide.cpp \
483 $(SRC)/InfoBoxes/Content/MacCready.cpp \
484 $(SRC)/InfoBoxes/Content/Other.cpp \
485 $(SRC)/InfoBoxes/Content/Speed.cpp \
486 $(SRC)/InfoBoxes/Content/Task.cpp \
487 $(SRC)/InfoBoxes/Content/Contest.cpp \
488 $(SRC)/InfoBoxes/Content/Team.cpp \
489 $(SRC)/InfoBoxes/Content/Terrain.cpp \
490 $(SRC)/InfoBoxes/Content/Thermal.cpp \
491 $(SRC)/InfoBoxes/Content/Time.cpp \
492 $(SRC)/InfoBoxes/Content/Trace.cpp \
493 $(SRC)/InfoBoxes/Content/Weather.cpp \
494 $(SRC)/InfoBoxes/Content/Airspace.cpp \
495 $(SRC)/InfoBoxes/Data.cpp \
496 $(SRC)/InfoBoxes/Format.cpp \
497 $(SRC)/InfoBoxes/Units.cpp \
498 $(SRC)/InfoBoxes/InfoBoxSettings.cpp \
499 $(SRC)/InfoBoxes/InfoBoxWindow.cpp \
500 $(SRC)/InfoBoxes/InfoBoxLayout.cpp \
501 $(SRC)/InfoBoxes/InfoBoxManager.cpp \
502 $(SRC)/InfoBoxes/Panel/AltitudeInfo.cpp \
503 $(SRC)/InfoBoxes/Panel/AltitudeSimulator.cpp \
504 $(SRC)/InfoBoxes/Panel/AltitudeSetup.cpp \
505 $(SRC)/InfoBoxes/Panel/MacCreadyEdit.cpp \
506 $(SRC)/InfoBoxes/Panel/MacCreadySetup.cpp \
507 $(SRC)/InfoBoxes/Panel/WindEdit.cpp \
508 $(SRC)/InfoBoxes/Panel/WindSetup.cpp \
509 $(SRC)/Pan.cpp \
510 $(SRC)/Input/InputConfig.cpp \
511 $(SRC)/Input/InputDefaults.cpp \
512 $(SRC)/Input/InputEvents.cpp \
513 $(SRC)/Input/InputEventsActions.cpp \
514 $(SRC)/Input/InputEventsDevice.cpp \
515 $(SRC)/Input/InputEventsVega.cpp \
516 $(SRC)/Input/InputEventsInfoBox.cpp \
517 $(SRC)/Input/InputEventsMap.cpp \
518 $(SRC)/Input/InputEventsPage.cpp \
519 $(SRC)/Input/InputEventsAirspace.cpp \
520 $(SRC)/Input/InputEventsTask.cpp \
521 $(SRC)/Input/InputEventsSettings.cpp \
522 $(SRC)/Input/InputEventsThermalAssistant.cpp \
523 $(SRC)/Input/InputEventsTraffic.cpp \
524 $(SRC)/Input/InputQueue.cpp \
525 $(SRC)/Input/InputLookup.cpp \
526 $(SRC)/Input/InputKeys.cpp \
527 $(SRC)/Input/InputParser.cpp \
528 $(SRC)/Input/TaskEventObserver.cpp \
529 $(SRC)/PageSettings.cpp \
530 $(SRC)/PageState.cpp \
531 $(SRC)/PageActions.cpp \
532 $(SRC)/StatusMessage.cpp \
533 $(SRC)/PopupMessage.cpp \
534 $(SRC)/Message.cpp \
535 $(SRC)/LogFile.cpp \
537 $(SRC)/Geo/Geoid.cpp \
538 $(SRC)/MapWindow/MapCanvas.cpp \
539 $(SRC)/MapWindow/MapDrawHelper.cpp \
540 $(SRC)/Projection/Projection.cpp \
541 $(SRC)/Projection/WindowProjection.cpp \
542 $(SRC)/Projection/CompareProjection.cpp \
543 $(SRC)/Renderer/ChartRenderer.cpp \
544 $(SRC)/Renderer/BackgroundRenderer.cpp \
545 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
546 $(SRC)/Renderer/OZRenderer.cpp \
547 $(SRC)/Renderer/TaskPointRenderer.cpp \
548 $(SRC)/Renderer/TaskRenderer.cpp \
549 $(SRC)/Renderer/AircraftRenderer.cpp \
550 $(SRC)/Renderer/AirspaceRenderer.cpp \
551 $(SRC)/Renderer/AirspaceListRenderer.cpp \
552 $(SRC)/Renderer/AirspacePreviewRenderer.cpp \
553 $(SRC)/Renderer/BestCruiseArrowRenderer.cpp \
554 $(SRC)/Renderer/CompassRenderer.cpp \
555 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
556 $(SRC)/Renderer/MapItemListRenderer.cpp \
557 $(SRC)/Renderer/OZPreviewRenderer.cpp \
558 $(SRC)/Renderer/TrackLineRenderer.cpp \
559 $(SRC)/Renderer/TrafficRenderer.cpp \
560 $(SRC)/Renderer/TrailRenderer.cpp \
561 $(SRC)/Renderer/UnitSymbolRenderer.cpp \
562 $(SRC)/Renderer/WaypointListRenderer.cpp \
563 $(SRC)/Renderer/WaypointIconRenderer.cpp \
564 $(SRC)/Renderer/WaypointRenderer.cpp \
565 $(SRC)/Renderer/WaypointRendererSettings.cpp \
566 $(SRC)/Renderer/WaypointLabelList.cpp \
567 $(SRC)/Renderer/WindArrowRenderer.cpp \
568 $(SRC)/Projection/ChartProjection.cpp \
569 $(SRC)/MapWindow/Items/MapItem.cpp \
570 $(SRC)/MapWindow/Items/List.cpp \
571 $(SRC)/MapWindow/Items/Builder.cpp \
572 $(SRC)/MapWindow/MapWindow.cpp \
573 $(SRC)/MapWindow/MapWindowEvents.cpp \
574 $(SRC)/MapWindow/MapWindowGlideRange.cpp \
575 $(SRC)/Projection/MapWindowProjection.cpp \
576 $(SRC)/MapWindow/MapWindowRender.cpp \
577 $(SRC)/MapWindow/MapWindowSymbols.cpp \
578 $(SRC)/MapWindow/MapWindowContest.cpp \
579 $(SRC)/MapWindow/MapWindowTask.cpp \
580 $(SRC)/MapWindow/MapWindowThermal.cpp \
581 $(SRC)/MapWindow/MapWindowTraffic.cpp \
582 $(SRC)/MapWindow/MapWindowTrail.cpp \
583 $(SRC)/MapWindow/MapWindowWaypoints.cpp \
584 $(SRC)/MapWindow/GlueMapWindow.cpp \
585 $(SRC)/MapWindow/GlueMapWindowItems.cpp \
586 $(SRC)/MapWindow/GlueMapWindowEvents.cpp \
587 $(SRC)/MapWindow/GlueMapWindowOverlays.cpp \
588 $(SRC)/MapWindow/GlueMapWindowDisplayMode.cpp \
589 $(SRC)/MapWindow/TargetMapWindow.cpp \
590 $(SRC)/MapWindow/TargetMapWindowEvents.cpp \
591 $(SRC)/MapWindow/TargetMapWindowDrag.cpp \
592 $(SRC)/UIUtil/GestureManager.cpp \
593 $(SRC)/UIUtil/TrackingGestureManager.cpp \
594 $(SRC)/DrawThread.cpp \
596 $(SRC)/Computer/BasicComputer.cpp \
597 $(SRC)/Computer/AutoQNH.cpp \
599 $(SRC)/Blackboard/BlackboardListener.cpp \
600 $(SRC)/Blackboard/ProxyBlackboardListener.cpp \
601 $(SRC)/Blackboard/RateLimitedBlackboardListener.cpp \
602 $(SRC)/Blackboard/LiveBlackboard.cpp \
603 $(SRC)/Blackboard/InterfaceBlackboard.cpp \
604 $(SRC)/Blackboard/ScopeGPSListener.cpp \
605 $(SRC)/Blackboard/ScopeCalculatedListener.cpp \
607 $(SRC)/Blackboard/DeviceBlackboard.cpp \
608 $(SRC)/MapWindow/MapWindowBlackboard.cpp \
609 $(SRC)/Dialogs/DialogSettings.cpp \
610 $(SRC)/UIReceiveBlackboard.cpp \
611 $(SRC)/UIGlobals.cpp \
612 $(SRC)/UIState.cpp \
613 $(SRC)/UISettings.cpp \
614 $(SRC)/DisplaySettings.cpp \
615 $(SRC)/MapSettings.cpp \
616 $(SRC)/SystemSettings.cpp \
617 $(SRC)/Audio/Settings.cpp \
618 $(SRC)/Audio/VarioSettings.cpp \
619 $(SRC)/ComputerSettings.cpp \
620 $(SRC)/TeamCodeSettings.cpp \
621 $(SRC)/MergeThread.cpp \
622 $(SRC)/CalculationThread.cpp \
623 $(SRC)/DisplayMode.cpp \
625 $(SRC)/Topography/TopographyFile.cpp \
626 $(SRC)/Topography/TopographyStore.cpp \
627 $(SRC)/Topography/TopographyFileRenderer.cpp \
628 $(SRC)/Topography/TopographyRenderer.cpp \
629 $(SRC)/Topography/TopographyGlue.cpp \
630 $(SRC)/Topography/XShape.cpp \
631 $(SRC)/Markers/Markers.cpp \
632 $(SRC)/Markers/ProtectedMarkers.cpp \
634 $(SRC)/FlightStatistics.cpp \
635 $(SRC)/Renderer/FlightStatisticsRenderer.cpp \
636 $(SRC)/Renderer/BarographRenderer.cpp \
637 $(SRC)/Renderer/ClimbChartRenderer.cpp \
638 $(SRC)/Renderer/GlidePolarRenderer.cpp \
639 $(SRC)/Renderer/WindChartRenderer.cpp \
640 $(SRC)/Renderer/CuRenderer.cpp \
642 $(SRC)/Simulator.cpp \
643 $(SRC)/Asset.cpp \
644 $(SRC)/Hardware/Display.cpp \
645 $(SRC)/Hardware/DisplayGlue.cpp \
646 $(SRC)/Hardware/Vibrator.cpp \
647 $(SRC)/Language/MOFile.cpp \
648 $(SRC)/Language/Language.cpp \
649 $(SRC)/Language/LanguageGlue.cpp \
650 $(SRC)/LocalPath.cpp \
651 $(SRC)/UIActions.cpp \
652 $(SRC)/Interface.cpp \
653 $(SRC)/ActionInterface.cpp \
654 $(SRC)/ProgressWindow.cpp \
655 $(SRC)/ProgressGlue.cpp \
656 $(SRC)/LocalTime.cpp \
657 $(SRC)/Units/Units.cpp \
658 $(SRC)/Units/UnitsGlue.cpp \
659 $(SRC)/Units/UnitsStore.cpp \
660 $(SRC)/Formatter/Units.cpp \
661 $(SRC)/Formatter/UserUnits.cpp \
662 $(SRC)/Formatter/HexColor.cpp \
663 $(SRC)/Formatter/GlideRatioFormatter.cpp \
664 $(SRC)/Formatter/GeoPointFormatter.cpp \
665 $(SRC)/Formatter/ByteSizeFormatter.cpp \
666 $(SRC)/Formatter/UserGeoPointFormatter.cpp \
667 $(SRC)/Formatter/TimeFormatter.cpp \
668 $(SRC)/Formatter/LocalTimeFormatter.cpp \
669 $(SRC)/Formatter/IGCFilenameFormatter.cpp \
670 $(SRC)/Formatter/AirspaceFormatter.cpp \
671 $(SRC)/Formatter/AirspaceUserUnitsFormatter.cpp \
672 $(SRC)/Units/Descriptor.cpp \
673 $(SRC)/Units/System.cpp \
674 $(SRC)/Units/Settings.cpp \
675 $(SRC)/Formatter/AngleFormatter.cpp \
676 $(SRC)/FLARM/FlarmDetails.cpp \
677 $(SRC)/FLARM/NameDatabase.cpp \
678 $(SRC)/FLARM/NameFile.cpp \
679 $(SRC)/FLARM/TrafficDatabases.cpp \
680 $(SRC)/UtilsSettings.cpp \
681 $(SRC)/UtilsSystem.cpp \
682 $(SRC)/OS/LogError.cpp \
683 $(SRC)/Version.cpp \
684 $(SRC)/Audio/Sound.cpp \
685 $(SRC)/Audio/VegaVoice.cpp \
686 $(SRC)/Compatibility/fmode.c \
687 $(SRC)/Profile/Profile.cpp \
688 $(SRC)/Profile/Earth.cpp \
689 $(SRC)/Profile/Screen.cpp \
690 $(SRC)/Profile/TrackingProfile.cpp \
691 $(SRC)/Profile/SystemProfile.cpp \
692 $(SRC)/Profile/ComputerProfile.cpp \
693 $(SRC)/Profile/RouteProfile.cpp \
694 $(SRC)/Profile/ContestProfile.cpp \
695 $(SRC)/Profile/TaskProfile.cpp \
696 $(SRC)/Profile/ContestProfile.cpp \
697 $(SRC)/Profile/MapProfile.cpp \
698 $(SRC)/Profile/PageProfile.cpp \
699 $(SRC)/Profile/UIProfile.cpp \
700 $(SRC)/Profile/ProfileGlue.cpp \
701 $(SRC)/Profile/ProfileKeys.cpp \
702 $(SRC)/Profile/FontConfig.cpp \
703 $(SRC)/Profile/UnitsConfig.cpp \
704 $(SRC)/Profile/DeviceConfig.cpp \
705 $(SRC)/Profile/InfoBoxConfig.cpp \
706 $(SRC)/Profile/AirspaceConfig.cpp \
707 $(SRC)/Profile/TerrainConfig.cpp \
708 $(SRC)/Profile/FlarmProfile.cpp \
709 $(SRC)/XML/Node.cpp \
710 $(SRC)/XML/Parser.cpp \
711 $(SRC)/XML/Writer.cpp \
712 $(SRC)/XML/DataNode.cpp \
713 $(SRC)/XML/DataNodeXML.cpp \
715 $(SRC)/Repository/FileRepository.cpp \
716 $(SRC)/Repository/Parser.cpp \
718 $(SRC)/Job/Thread.cpp \
719 $(SRC)/Job/Async.cpp \
721 $(SRC)/RateLimiter.cpp \
723 $(SRC)/Tracking/TrackingSettings.cpp \
725 $(SRC)/Math/Screen.cpp \
726 $(SRC)/Math/SunEphemeris.cpp \
728 $(SRC)/Screen/Blank.cpp \
729 $(SRC)/Screen/Layout.cpp \
730 $(SRC)/Screen/UnitSymbol.cpp \
731 $(SRC)/Screen/Ramp.cpp \
732 $(SRC)/Screen/TerminalWindow.cpp \
733 $(SRC)/ResourceLoader.cpp \
735 $(SRC)/Look/Fonts.cpp \
736 $(SRC)/Look/CustomFonts.cpp \
737 $(SRC)/Look/Look.cpp \
738 $(SRC)/Look/DialogLook.cpp \
739 $(SRC)/Look/ButtonLook.cpp \
740 $(SRC)/Look/TerminalLook.cpp \
741 $(SRC)/Look/VarioLook.cpp \
742 $(SRC)/Look/ChartLook.cpp \
743 $(SRC)/Look/MapLook.cpp \
744 $(SRC)/Look/WindArrowLook.cpp \
745 $(SRC)/Look/ThermalBandLook.cpp \
746 $(SRC)/Look/TraceHistoryLook.cpp \
747 $(SRC)/Look/AirspaceLook.cpp \
748 $(SRC)/Look/TrailLook.cpp \
749 $(SRC)/Look/CrossSectionLook.cpp \
750 $(SRC)/Look/GestureLook.cpp \
751 $(SRC)/Look/HorizonLook.cpp \
752 $(SRC)/Look/TaskLook.cpp \
753 $(SRC)/Look/TrafficLook.cpp \
754 $(SRC)/Look/InfoBoxLook.cpp \
755 $(SRC)/Look/WaypointLook.cpp \
756 $(SRC)/Look/AircraftLook.cpp \
757 $(SRC)/Look/MarkerLook.cpp \
758 $(SRC)/Look/NOAALook.cpp \
759 $(SRC)/Look/FinalGlideBarLook.cpp \
760 $(SRC)/Look/IconLook.cpp \
761 $(SRC)/Look/UnitsLook.cpp \
762 $(SRC)/Look/ThermalAssistantLook.cpp \
764 $(SRC)/Polar/PolarGlue.cpp \
765 $(SRC)/Polar/PolarFileGlue.cpp \
766 $(SRC)/Polar/Shape.cpp \
767 $(SRC)/Polar/Polar.cpp \
768 $(SRC)/Polar/Parser.cpp \
769 $(SRC)/Polar/PolarStore.cpp \
771 $(SRC)/Protection.cpp \
772 $(SRC)/BatteryTimer.cpp \
773 $(SRC)/ProcessTimer.cpp \
774 $(SRC)/ApplyExternalSettings.cpp \
775 $(SRC)/ApplyVegaSwitches.cpp \
776 $(SRC)/MainWindow.cpp \
777 $(SRC)/Startup.cpp \
778 $(SRC)/Components.cpp \
780 $(SRC)/Device/Driver.cpp \
781 $(SRC)/Device/Declaration.cpp \
782 $(SRC)/Device/Register.cpp \
783 $(SRC)/Device/List.cpp \
784 $(SRC)/Device/device.cpp \
785 $(SRC)/Device/Port/ConfiguredPort.cpp \
786 $(SRC)/Device/Descriptor.cpp \
787 $(SRC)/Device/Dispatcher.cpp \
788 $(SRC)/Device/All.cpp \
789 $(SRC)/Device/Parser.cpp \
790 $(SRC)/Device/Simulator.cpp \
791 $(SRC)/Device/Port/LineSplitter.cpp \
792 $(SRC)/Device/Internal.cpp \
793 $(DIALOG_SOURCES)
795 $(call SRC_TO_OBJ,$(SRC)/Dialogs/Inflate.cpp): CPPFLAGS += $(ZLIB_CPPFLAGS)
797 ifneq ($(NO_HORIZON),y)
798 XCSOAR_SOURCES += \
799 $(SRC)/Renderer/HorizonRenderer.cpp
800 endif
802 ifeq ($(HAVE_CE),y)
803 XCSOAR_SOURCES += \
804 $(SRC)/Device/Windows/Enumerator.cpp
805 endif
807 ifeq ($(TARGET),ANDROID)
808 XCSOAR_SOURCES += \
809 $(SRC)/Java/Global.cpp \
810 $(SRC)/Java/String.cpp \
811 $(SRC)/Java/File.cpp \
812 $(SRC)/Java/InputStream.cpp \
813 $(SRC)/Java/URL.cpp \
814 $(SRC)/Device/Port/AndroidPort.cpp \
815 $(SRC)/Device/Port/AndroidBluetoothPort.cpp \
816 $(SRC)/Android/Environment.cpp \
817 $(SRC)/Android/Product.cpp \
818 $(SRC)/Android/InternalSensors.cpp \
819 $(SRC)/Android/SoundUtil.cpp \
820 $(SRC)/Android/TextUtil.cpp \
821 $(SRC)/Android/EventBridge.cpp \
822 $(SRC)/Android/NativeInputListener.cpp \
823 $(SRC)/Android/PortBridge.cpp \
824 $(SRC)/Android/BluetoothHelper.cpp \
825 $(SRC)/Android/Battery.cpp \
826 $(SRC)/Android/DownloadManager.cpp \
827 $(SRC)/Android/Vibrator.cpp \
828 $(SRC)/Android/Context.cpp \
829 $(SRC)/Android/LogCat.cpp \
830 $(SRC)/Android/Main.cpp
831 ifneq ($(IOIOLIB_DIR),)
832 XCSOAR_SOURCES += \
833 $(SRC)/Device/Port/AndroidIOIOUartPort.cpp \
834 $(SRC)/Android/NativeBMP085Listener.cpp \
835 $(SRC)/Android/BMP085Device.cpp \
836 $(SRC)/Android/NativeI2CbaroListener.cpp \
837 $(SRC)/Android/I2CbaroDevice.cpp \
838 $(SRC)/Android/NativeNunchuckListener.cpp \
839 $(SRC)/Android/NunchuckDevice.cpp \
840 $(SRC)/Android/NativeVoltageListener.cpp \
841 $(SRC)/Android/VoltageDevice.cpp \
842 $(SRC)/Android/IOIOHelper.cpp
843 endif
845 ifeq ($(DEBUG),y)
846 XCSOAR_SOURCES += \
847 $(SRC)/Android/Assert.cpp
848 endif
850 else
851 XCSOAR_SOURCES += \
852 $(SRC)/CommandLine.cpp \
853 $(SRC)/Hardware/Battery.cpp \
854 $(SRC)/XCSoar.cpp
855 endif
857 ifeq ($(TARGET),ALTAIR)
858 XCSOAR_SOURCES += $(SRC)/Hardware/AltairControl.cpp
859 endif
861 ifeq ($(HAVE_HTTP),y)
862 XCSOAR_SOURCES += \
863 $(SRC)/Renderer/NOAAListRenderer.cpp \
864 $(SRC)/Weather/NOAAGlue.cpp \
865 $(SRC)/Weather/METARParser.cpp \
866 $(SRC)/Weather/NOAAFormatter.cpp \
867 $(SRC)/Weather/NOAADownloader.cpp \
868 $(SRC)/Weather/NOAAStore.cpp \
869 $(SRC)/Weather/NOAAUpdater.cpp
871 XCSOAR_SOURCES += \
872 $(SRC)/Tracking/LiveTrack24.cpp
873 endif
875 XCSOAR_SOURCES += \
876 $(SRC)/Tracking/SkyLines/Client.cpp \
877 $(SRC)/Tracking/SkyLines/Glue.cpp \
878 $(SRC)/Tracking/TrackingGlue.cpp
880 ifeq ($(HAVE_PCM_PLAYER),y)
881 XCSOAR_SOURCES += $(SRC)/Audio/VarioGlue.cpp
882 endif
884 XCSOAR_LDADD = \
885 $(RESOURCE_BINARY)
887 XCSOAR_DEPENDS = GETTEXT PROFILE \
888 TERRAIN \
889 WIDGET FORM DATA_FIELD \
890 AUDIO SCREEN EVENT \
891 DRIVER PORT \
892 IO ASYNC TASK CONTEST ROUTE GLIDE WAYPOINT AIRSPACE \
893 SHAPELIB ZZIP \
894 LIBNET TIME OS THREAD \
895 UTIL GEO MATH
897 XCSOAR_STRIP = y
899 ifeq ($(TARGET),ANDROID)
900 $(eval $(call link-shared-library,$(PROGRAM_NAME),XCSOAR))
901 else
902 $(eval $(call link-program,$(PROGRAM_NAME),XCSOAR))
903 endif
905 include $(topdir)/build/gettext.mk
906 include $(topdir)/build/cab.mk
908 OUTPUTS := $(XCSOAR_BIN) $(VALI_XCS_BIN)
909 OUTPUTS += $(XCSOARSETUP_DLL) $(XCSOARLAUNCH_DLL)
911 ifeq ($(TARGET),ANDROID)
912 OUTPUTS += $(ANDROID_BIN)/XCSoar-debug.apk
913 endif
915 ifeq ($(HAVE_WIN32),y)
916 OUTPUTS += $(LAUNCH_XCSOAR_BIN)
917 endif
919 all: $(OUTPUTS)
920 everything: $(OUTPUTS) debug build-check build-harness
922 clean: FORCE
923 @$(NQ)echo "cleaning all"
924 $(Q)rm -rf build/local-config.mk
925 $(Q)rm -rf $(OUT)
926 $(RM) $(BUILDTESTS)
928 .PHONY: FORCE
930 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*.d),)
931 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*.d)
932 endif
933 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d),)
934 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d)
935 endif
936 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d),)
937 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d)
938 endif
939 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d),)
940 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d)
941 endif
942 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d),)
943 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d)
944 endif
945 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d),)
946 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d)
947 endif
948 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d),)
949 include $(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d)
950 endif