CirclingWind: don't import std::min()
[xcsoar.git] / Makefile
blob2aa616c02ab500f16b9b3ba1644c090902f53f75
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/TextEntry.cpp \
270 $(SRC)/Dialogs/KnobTextEntry.cpp \
271 $(SRC)/Dialogs/TouchTextEntry.cpp \
272 $(SRC)/Dialogs/TimeEntry.cpp \
273 $(SRC)/Dialogs/GeoPointEntry.cpp \
274 $(SRC)/Dialogs/Weather/RASPDialog.cpp \
275 $(SRC)/Dialogs/dlgCredits.cpp \
276 $(SRC)/Dialogs/dlgQuickMenu.cpp \
278 ifeq ($(HAVE_PCM_PLAYER),y)
279 DIALOG_SOURCES += $(SRC)/Dialogs/Settings/Panels/AudioVarioConfigPanel.cpp
280 endif
282 ifeq ($(HAVE_HTTP),y)
283 DIALOG_SOURCES += \
284 $(SRC)/Dialogs/Weather/NOAAList.cpp \
285 $(SRC)/Dialogs/Weather/NOAADetails.cpp
286 endif
288 XCSOAR_SOURCES := \
289 $(IO_SRC_DIR)/ConfiguredFile.cpp \
290 $(IO_SRC_DIR)/DataFile.cpp \
291 $(SRC)/Airspace/ProtectedAirspaceWarningManager.cpp \
292 $(SRC)/Task/Serialiser.cpp \
293 $(SRC)/Task/Deserialiser.cpp \
294 $(SRC)/Task/TaskFile.cpp \
295 $(SRC)/Task/TaskFileXCSoar.cpp \
296 $(SRC)/Task/TaskFileIGC.cpp \
297 $(SRC)/Task/TaskFileSeeYou.cpp \
298 $(SRC)/Task/MapTaskManager.cpp \
299 $(SRC)/Task/ProtectedTaskManager.cpp \
300 $(SRC)/Task/RoutePlannerGlue.cpp \
301 $(SRC)/Task/ProtectedRoutePlanner.cpp \
302 $(SRC)/Task/TaskStore.cpp \
303 $(SRC)/Task/TypeStrings.cpp \
304 $(SRC)/Task/ValidationErrorStrings.cpp \
306 $(SRC)/RadioFrequency.cpp \
308 $(SRC)/Engine/Navigation/TraceHistory.cpp \
309 $(SRC)/Engine/Navigation/Aircraft.cpp \
310 $(SRC)/Engine/Trace/Point.cpp \
311 $(SRC)/Engine/Trace/Trace.cpp \
312 $(SRC)/Engine/Trace/Vector.cpp \
313 $(SRC)/Engine/Util/Gradient.cpp \
314 $(SRC)/Renderer/GradientRenderer.cpp \
315 $(SRC)/Renderer/GlassRenderer.cpp \
316 $(SRC)/Renderer/LabelBlock.cpp \
317 $(SRC)/Renderer/TextInBox.cpp \
318 $(SRC)/Renderer/TraceHistoryRenderer.cpp \
319 $(SRC)/Renderer/ThermalBandRenderer.cpp \
320 $(SRC)/Renderer/TaskProgressRenderer.cpp \
321 $(SRC)/Renderer/MarkerRenderer.cpp \
323 $(SRC)/Airspace/AirspaceGlue.cpp \
324 $(SRC)/Airspace/AirspaceParser.cpp \
325 $(SRC)/Airspace/AirspaceVisibility.cpp \
326 $(SRC)/Airspace/AirspaceComputerSettings.cpp \
327 $(SRC)/Renderer/AirspaceRendererSettings.cpp \
329 $(SRC)/Operation/Operation.cpp \
330 $(SRC)/Operation/ProxyOperationEnvironment.cpp \
331 $(SRC)/Operation/NoCancelOperationEnvironment.cpp \
332 $(SRC)/Operation/PopupOperationEnvironment.cpp \
333 $(SRC)/Operation/MessageOperationEnvironment.cpp \
334 $(SRC)/Operation/ThreadedOperationEnvironment.cpp \
335 $(SRC)/Operation/VerboseOperationEnvironment.cpp \
336 $(SRC)/Atmosphere/Pressure.cpp \
337 $(SRC)/Atmosphere/AirDensity.cpp \
338 $(SRC)/Atmosphere/CuSonde.cpp \
339 $(SRC)/Computer/ClimbAverageCalculator.cpp \
340 $(SRC)/Computer/ConditionMonitor/ConditionMonitor.cpp \
341 $(SRC)/Computer/ConditionMonitor/ConditionMonitorAATTime.cpp \
342 $(SRC)/Computer/ConditionMonitor/ConditionMonitorFinalGlide.cpp \
343 $(SRC)/Computer/ConditionMonitor/ConditionMonitorGlideTerrain.cpp \
344 $(SRC)/Computer/ConditionMonitor/ConditionMonitorLandableReachable.cpp \
345 $(SRC)/Computer/ConditionMonitor/ConditionMonitorStartRules.cpp \
346 $(SRC)/Computer/ConditionMonitor/ConditionMonitorSunset.cpp \
347 $(SRC)/Computer/ConditionMonitor/ConditionMonitorWind.cpp \
348 $(SRC)/Computer/ConditionMonitor/ConditionMonitors.cpp \
349 $(SRC)/Plane/PlaneGlue.cpp \
350 $(SRC)/Plane/PlaneFileGlue.cpp \
351 $(SRC)/FLARM/FlarmId.cpp \
352 $(SRC)/FLARM/Error.cpp \
353 $(SRC)/FLARM/List.cpp \
354 $(SRC)/FLARM/FlarmNetRecord.cpp \
355 $(SRC)/FLARM/FlarmNetDatabase.cpp \
356 $(SRC)/FLARM/FlarmNetReader.cpp \
357 $(SRC)/FLARM/Traffic.cpp \
358 $(SRC)/FLARM/FlarmCalculations.cpp \
359 $(SRC)/FLARM/Friends.cpp \
360 $(SRC)/FLARM/FlarmComputer.cpp \
361 $(SRC)/FLARM/Global.cpp \
362 $(SRC)/FLARM/Glue.cpp \
363 $(SRC)/Computer/CuComputer.cpp \
364 $(SRC)/Computer/FlyingComputer.cpp \
365 $(SRC)/Computer/CirclingComputer.cpp \
366 $(SRC)/Computer/ThermalBandComputer.cpp \
367 $(SRC)/Computer/Wind/Computer.cpp \
368 $(SRC)/Computer/ContestComputer.cpp \
369 $(SRC)/Computer/TraceComputer.cpp \
370 $(SRC)/Computer/WarningComputer.cpp \
371 $(SRC)/Computer/ThermalLocator.cpp \
372 $(SRC)/Computer/ThermalBase.cpp \
373 $(SRC)/Computer/LiftDatabaseComputer.cpp \
374 $(SRC)/Computer/LogComputer.cpp \
375 $(SRC)/Computer/AverageVarioComputer.cpp \
376 $(SRC)/Computer/GlideRatioCalculator.cpp \
377 $(SRC)/Computer/GlideRatioComputer.cpp \
378 $(SRC)/Computer/GlideComputer.cpp \
379 $(SRC)/Computer/GlideComputerBlackboard.cpp \
380 $(SRC)/Computer/GlideComputerAirData.cpp \
381 $(SRC)/Computer/StatsComputer.cpp \
382 $(SRC)/Computer/RouteComputer.cpp \
383 $(SRC)/Computer/TaskComputer.cpp \
384 $(SRC)/Computer/GlideComputerInterface.cpp \
385 $(SRC)/Computer/Events.cpp \
386 $(SRC)/BallastDumpManager.cpp \
387 $(SRC)/Logger/Settings.cpp \
388 $(SRC)/Logger/Logger.cpp \
389 $(SRC)/Logger/LoggerFRecord.cpp \
390 $(SRC)/Logger/GRecord.cpp \
391 $(SRC)/Logger/LoggerEPE.cpp \
392 $(SRC)/Logger/LoggerImpl.cpp \
393 $(SRC)/Logger/IGCFileCleanup.cpp \
394 $(SRC)/IGC/IGCFix.cpp \
395 $(SRC)/IGC/IGCWriter.cpp \
396 $(SRC)/IGC/IGCString.cpp \
397 $(SRC)/Logger/MD5.cpp \
398 $(SRC)/Logger/NMEALogger.cpp \
399 $(SRC)/Logger/ExternalLogger.cpp \
400 $(SRC)/Logger/FlightLogger.cpp \
401 $(SRC)/Logger/GlueFlightLogger.cpp \
402 $(SRC)/NMEA/Info.cpp \
403 $(SRC)/NMEA/MoreData.cpp \
404 $(SRC)/NMEA/Acceleration.cpp \
405 $(SRC)/NMEA/Attitude.cpp \
406 $(SRC)/NMEA/ExternalSettings.cpp \
407 $(SRC)/NMEA/FlyingState.cpp \
408 $(SRC)/NMEA/Derived.cpp \
409 $(SRC)/NMEA/VarioInfo.cpp \
410 $(SRC)/NMEA/ClimbInfo.cpp \
411 $(SRC)/NMEA/CirclingInfo.cpp \
412 $(SRC)/NMEA/ThermalBand.cpp \
413 $(SRC)/NMEA/ThermalLocator.cpp \
414 $(SRC)/NMEA/ClimbHistory.cpp \
415 $(SRC)/NMEA/SwitchState.cpp \
416 $(SRC)/NMEA/InputLine.cpp \
417 $(SRC)/NMEA/Checksum.cpp \
418 $(SRC)/NMEA/Aircraft.cpp \
419 $(SRC)/Replay/Replay.cpp \
420 $(SRC)/IGC/IGCParser.cpp \
421 $(SRC)/Replay/IgcReplay.cpp \
422 $(SRC)/Replay/NmeaReplay.cpp \
423 $(SRC)/Replay/DemoReplay.cpp \
424 $(SRC)/Replay/DemoReplayGlue.cpp \
425 $(SRC)/Replay/TaskAutoPilot.cpp \
426 $(SRC)/Replay/AircraftSim.cpp \
427 $(SRC)/TeamCode/TeamCode.cpp \
428 $(SRC)/TeamCode/Settings.cpp \
429 $(SRC)/TeamActions.cpp \
430 $(SRC)/Waypoint/WaypointList.cpp \
431 $(SRC)/Waypoint/WaypointListBuilder.cpp \
432 $(SRC)/Waypoint/WaypointFilter.cpp \
433 $(SRC)/Waypoint/WaypointGlue.cpp \
434 $(SRC)/Waypoint/LastUsed.cpp \
435 $(SRC)/Waypoint/HomeGlue.cpp \
436 $(SRC)/Waypoint/WaypointFileType.cpp \
437 $(SRC)/Waypoint/WaypointReader.cpp \
438 $(SRC)/Waypoint/WaypointReaderBase.cpp \
439 $(SRC)/Waypoint/WaypointReaderOzi.cpp \
440 $(SRC)/Waypoint/WaypointReaderFS.cpp \
441 $(SRC)/Waypoint/WaypointReaderWinPilot.cpp \
442 $(SRC)/Waypoint/WaypointReaderSeeYou.cpp \
443 $(SRC)/Waypoint/WaypointReaderZander.cpp \
444 $(SRC)/Waypoint/WaypointReaderCompeGPS.cpp \
445 $(SRC)/Waypoint/WaypointWriter.cpp \
446 $(SRC)/Computer/Wind/CirclingWind.cpp \
447 $(SRC)/Computer/Wind/MeasurementList.cpp \
448 $(SRC)/Computer/Wind/Store.cpp \
449 $(SRC)/Computer/Wind/WindEKF.cpp \
450 $(SRC)/Computer/Wind/WindEKFGlue.cpp \
451 $(SRC)/Computer/Wind/Settings.cpp \
453 $(SRC)/CrossSection/AirspaceXSRenderer.cpp \
454 $(SRC)/CrossSection/TerrainXSRenderer.cpp \
455 $(SRC)/CrossSection/CrossSectionRenderer.cpp \
456 $(SRC)/CrossSection/CrossSectionWindow.cpp \
457 $(SRC)/CrossSection/CrossSectionWidget.cpp \
459 $(SRC)/Gauge/ThermalAssistantRenderer.cpp \
460 $(SRC)/Gauge/ThermalAssistantWindow.cpp \
461 $(SRC)/Gauge/BigThermalAssistantWindow.cpp \
462 $(SRC)/Gauge/BigThermalAssistantWidget.cpp \
463 $(SRC)/Gauge/FlarmTrafficWindow.cpp \
464 $(SRC)/Gauge/BigTrafficWidget.cpp \
465 $(SRC)/Look/FlarmTrafficLook.cpp \
466 $(SRC)/Gauge/GaugeFLARM.cpp \
467 $(SRC)/Gauge/GaugeThermalAssistant.cpp \
468 $(SRC)/Gauge/VarioSettings.cpp \
469 $(SRC)/Gauge/TrafficSettings.cpp \
470 $(SRC)/Gauge/GaugeVario.cpp \
471 $(SRC)/Gauge/GlueGaugeVario.cpp \
472 $(SRC)/Gauge/TaskView.cpp \
473 $(SRC)/Gauge/LogoView.cpp \
475 $(SRC)/Waypoint/WaypointDetailsReader.cpp \
476 $(SRC)/Menu/MenuData.cpp \
477 $(SRC)/Menu/MenuBar.cpp \
478 $(SRC)/Menu/ButtonLabel.cpp \
479 $(SRC)/Menu/ExpandMacros.cpp \
480 $(SRC)/InfoBoxes/Content/Factory.cpp \
481 $(SRC)/InfoBoxes/Content/Alternate.cpp \
482 $(SRC)/InfoBoxes/Content/Base.cpp \
483 $(SRC)/InfoBoxes/Content/Altitude.cpp \
484 $(SRC)/InfoBoxes/Content/Direction.cpp \
485 $(SRC)/InfoBoxes/Content/Glide.cpp \
486 $(SRC)/InfoBoxes/Content/MacCready.cpp \
487 $(SRC)/InfoBoxes/Content/Other.cpp \
488 $(SRC)/InfoBoxes/Content/Speed.cpp \
489 $(SRC)/InfoBoxes/Content/Task.cpp \
490 $(SRC)/InfoBoxes/Content/Places.cpp \
491 $(SRC)/InfoBoxes/Content/Contest.cpp \
492 $(SRC)/InfoBoxes/Content/Team.cpp \
493 $(SRC)/InfoBoxes/Content/Terrain.cpp \
494 $(SRC)/InfoBoxes/Content/Thermal.cpp \
495 $(SRC)/InfoBoxes/Content/Time.cpp \
496 $(SRC)/InfoBoxes/Content/Trace.cpp \
497 $(SRC)/InfoBoxes/Content/Weather.cpp \
498 $(SRC)/InfoBoxes/Content/Airspace.cpp \
499 $(SRC)/InfoBoxes/Data.cpp \
500 $(SRC)/InfoBoxes/Format.cpp \
501 $(SRC)/InfoBoxes/Units.cpp \
502 $(SRC)/InfoBoxes/InfoBoxSettings.cpp \
503 $(SRC)/InfoBoxes/InfoBoxWindow.cpp \
504 $(SRC)/InfoBoxes/InfoBoxLayout.cpp \
505 $(SRC)/InfoBoxes/InfoBoxManager.cpp \
506 $(SRC)/InfoBoxes/Panel/AltitudeInfo.cpp \
507 $(SRC)/InfoBoxes/Panel/AltitudeSimulator.cpp \
508 $(SRC)/InfoBoxes/Panel/AltitudeSetup.cpp \
509 $(SRC)/InfoBoxes/Panel/MacCreadyEdit.cpp \
510 $(SRC)/InfoBoxes/Panel/MacCreadySetup.cpp \
511 $(SRC)/InfoBoxes/Panel/WindEdit.cpp \
512 $(SRC)/InfoBoxes/Panel/WindSetup.cpp \
513 $(SRC)/InfoBoxes/Panel/ATCReference.cpp \
514 $(SRC)/Pan.cpp \
515 $(SRC)/Input/InputConfig.cpp \
516 $(SRC)/Input/InputDefaults.cpp \
517 $(SRC)/Input/InputEvents.cpp \
518 $(SRC)/Input/InputEventsActions.cpp \
519 $(SRC)/Input/InputEventsDevice.cpp \
520 $(SRC)/Input/InputEventsVega.cpp \
521 $(SRC)/Input/InputEventsInfoBox.cpp \
522 $(SRC)/Input/InputEventsMap.cpp \
523 $(SRC)/Input/InputEventsPage.cpp \
524 $(SRC)/Input/InputEventsAirspace.cpp \
525 $(SRC)/Input/InputEventsTask.cpp \
526 $(SRC)/Input/InputEventsSettings.cpp \
527 $(SRC)/Input/InputEventsThermalAssistant.cpp \
528 $(SRC)/Input/InputEventsTraffic.cpp \
529 $(SRC)/Input/InputQueue.cpp \
530 $(SRC)/Input/InputLookup.cpp \
531 $(SRC)/Input/InputKeys.cpp \
532 $(SRC)/Input/InputParser.cpp \
533 $(SRC)/Input/TaskEventObserver.cpp \
534 $(SRC)/PageSettings.cpp \
535 $(SRC)/PageState.cpp \
536 $(SRC)/PageActions.cpp \
537 $(SRC)/StatusMessage.cpp \
538 $(SRC)/PopupMessage.cpp \
539 $(SRC)/Message.cpp \
540 $(SRC)/LogFile.cpp \
542 $(SRC)/Geo/Geoid.cpp \
543 $(SRC)/MapWindow/MapCanvas.cpp \
544 $(SRC)/MapWindow/MapDrawHelper.cpp \
545 $(SRC)/Projection/Projection.cpp \
546 $(SRC)/Projection/WindowProjection.cpp \
547 $(SRC)/Projection/CompareProjection.cpp \
548 $(SRC)/Renderer/ChartRenderer.cpp \
549 $(SRC)/Renderer/BackgroundRenderer.cpp \
550 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
551 $(SRC)/Renderer/OZRenderer.cpp \
552 $(SRC)/Renderer/TaskPointRenderer.cpp \
553 $(SRC)/Renderer/TaskRenderer.cpp \
554 $(SRC)/Renderer/AircraftRenderer.cpp \
555 $(SRC)/Renderer/AirspaceRenderer.cpp \
556 $(SRC)/Renderer/AirspaceListRenderer.cpp \
557 $(SRC)/Renderer/AirspacePreviewRenderer.cpp \
558 $(SRC)/Renderer/BestCruiseArrowRenderer.cpp \
559 $(SRC)/Renderer/CompassRenderer.cpp \
560 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
561 $(SRC)/Renderer/VarioBarRenderer.cpp \
562 $(SRC)/Renderer/MapItemListRenderer.cpp \
563 $(SRC)/Renderer/OZPreviewRenderer.cpp \
564 $(SRC)/Renderer/TrackLineRenderer.cpp \
565 $(SRC)/Renderer/TrafficRenderer.cpp \
566 $(SRC)/Renderer/TrailRenderer.cpp \
567 $(SRC)/Renderer/UnitSymbolRenderer.cpp \
568 $(SRC)/Renderer/WaypointListRenderer.cpp \
569 $(SRC)/Renderer/WaypointIconRenderer.cpp \
570 $(SRC)/Renderer/WaypointRenderer.cpp \
571 $(SRC)/Renderer/WaypointRendererSettings.cpp \
572 $(SRC)/Renderer/WaypointLabelList.cpp \
573 $(SRC)/Renderer/WindArrowRenderer.cpp \
574 $(SRC)/Projection/ChartProjection.cpp \
575 $(SRC)/MapWindow/Items/MapItem.cpp \
576 $(SRC)/MapWindow/Items/List.cpp \
577 $(SRC)/MapWindow/Items/Builder.cpp \
578 $(SRC)/MapWindow/MapWindow.cpp \
579 $(SRC)/MapWindow/MapWindowEvents.cpp \
580 $(SRC)/MapWindow/MapWindowGlideRange.cpp \
581 $(SRC)/Projection/MapWindowProjection.cpp \
582 $(SRC)/MapWindow/MapWindowRender.cpp \
583 $(SRC)/MapWindow/MapWindowSymbols.cpp \
584 $(SRC)/MapWindow/MapWindowContest.cpp \
585 $(SRC)/MapWindow/MapWindowTask.cpp \
586 $(SRC)/MapWindow/MapWindowThermal.cpp \
587 $(SRC)/MapWindow/MapWindowTraffic.cpp \
588 $(SRC)/MapWindow/MapWindowTrail.cpp \
589 $(SRC)/MapWindow/MapWindowWaypoints.cpp \
590 $(SRC)/MapWindow/GlueMapWindow.cpp \
591 $(SRC)/MapWindow/GlueMapWindowItems.cpp \
592 $(SRC)/MapWindow/GlueMapWindowEvents.cpp \
593 $(SRC)/MapWindow/GlueMapWindowOverlays.cpp \
594 $(SRC)/MapWindow/GlueMapWindowDisplayMode.cpp \
595 $(SRC)/MapWindow/TargetMapWindow.cpp \
596 $(SRC)/MapWindow/TargetMapWindowEvents.cpp \
597 $(SRC)/MapWindow/TargetMapWindowDrag.cpp \
598 $(SRC)/UIUtil/GestureManager.cpp \
599 $(SRC)/UIUtil/TrackingGestureManager.cpp \
600 $(SRC)/DrawThread.cpp \
602 $(SRC)/Computer/BasicComputer.cpp \
603 $(SRC)/Computer/AutoQNH.cpp \
605 $(SRC)/Blackboard/BlackboardListener.cpp \
606 $(SRC)/Blackboard/ProxyBlackboardListener.cpp \
607 $(SRC)/Blackboard/RateLimitedBlackboardListener.cpp \
608 $(SRC)/Blackboard/LiveBlackboard.cpp \
609 $(SRC)/Blackboard/InterfaceBlackboard.cpp \
610 $(SRC)/Blackboard/ScopeGPSListener.cpp \
611 $(SRC)/Blackboard/ScopeCalculatedListener.cpp \
613 $(SRC)/Blackboard/DeviceBlackboard.cpp \
614 $(SRC)/MapWindow/MapWindowBlackboard.cpp \
615 $(SRC)/Dialogs/DialogSettings.cpp \
616 $(SRC)/UIReceiveBlackboard.cpp \
617 $(SRC)/UIGlobals.cpp \
618 $(SRC)/UIState.cpp \
619 $(SRC)/UISettings.cpp \
620 $(SRC)/DisplaySettings.cpp \
621 $(SRC)/MapSettings.cpp \
622 $(SRC)/SystemSettings.cpp \
623 $(SRC)/Audio/Settings.cpp \
624 $(SRC)/Audio/VarioSettings.cpp \
625 $(SRC)/Computer/Settings.cpp \
626 $(SRC)/MergeThread.cpp \
627 $(SRC)/CalculationThread.cpp \
628 $(SRC)/DisplayMode.cpp \
630 $(SRC)/Topography/TopographyFile.cpp \
631 $(SRC)/Topography/TopographyStore.cpp \
632 $(SRC)/Topography/TopographyFileRenderer.cpp \
633 $(SRC)/Topography/TopographyRenderer.cpp \
634 $(SRC)/Topography/TopographyGlue.cpp \
635 $(SRC)/Topography/XShape.cpp \
636 $(SRC)/Markers/Markers.cpp \
637 $(SRC)/Markers/ProtectedMarkers.cpp \
639 $(SRC)/FlightStatistics.cpp \
640 $(SRC)/Renderer/FlightStatisticsRenderer.cpp \
641 $(SRC)/Renderer/BarographRenderer.cpp \
642 $(SRC)/Renderer/ClimbChartRenderer.cpp \
643 $(SRC)/Renderer/GlidePolarRenderer.cpp \
644 $(SRC)/Renderer/WindChartRenderer.cpp \
645 $(SRC)/Renderer/CuRenderer.cpp \
647 $(SRC)/Simulator.cpp \
648 $(SRC)/Asset.cpp \
649 $(SRC)/Hardware/Display.cpp \
650 $(SRC)/Hardware/DisplayGlue.cpp \
651 $(SRC)/Hardware/Vibrator.cpp \
652 $(SRC)/Language/MOFile.cpp \
653 $(SRC)/Language/Language.cpp \
654 $(SRC)/Language/LanguageGlue.cpp \
655 $(SRC)/LocalPath.cpp \
656 $(SRC)/UIActions.cpp \
657 $(SRC)/Interface.cpp \
658 $(SRC)/ActionInterface.cpp \
659 $(SRC)/ProgressWindow.cpp \
660 $(SRC)/ProgressGlue.cpp \
661 $(SRC)/Units/Units.cpp \
662 $(SRC)/Units/UnitsGlue.cpp \
663 $(SRC)/Units/UnitsStore.cpp \
664 $(SRC)/Formatter/Units.cpp \
665 $(SRC)/Formatter/UserUnits.cpp \
666 $(SRC)/Formatter/HexColor.cpp \
667 $(SRC)/Formatter/GlideRatioFormatter.cpp \
668 $(SRC)/Formatter/GeoPointFormatter.cpp \
669 $(SRC)/Formatter/ByteSizeFormatter.cpp \
670 $(SRC)/Formatter/UserGeoPointFormatter.cpp \
671 $(SRC)/Formatter/TimeFormatter.cpp \
672 $(SRC)/Formatter/LocalTimeFormatter.cpp \
673 $(SRC)/Formatter/IGCFilenameFormatter.cpp \
674 $(SRC)/Formatter/AirspaceFormatter.cpp \
675 $(SRC)/Formatter/AirspaceUserUnitsFormatter.cpp \
676 $(SRC)/Units/Descriptor.cpp \
677 $(SRC)/Units/System.cpp \
678 $(SRC)/Units/Settings.cpp \
679 $(SRC)/Formatter/AngleFormatter.cpp \
680 $(SRC)/FLARM/FlarmDetails.cpp \
681 $(SRC)/FLARM/NameDatabase.cpp \
682 $(SRC)/FLARM/NameFile.cpp \
683 $(SRC)/FLARM/TrafficDatabases.cpp \
684 $(SRC)/UtilsSettings.cpp \
685 $(SRC)/UtilsSystem.cpp \
686 $(SRC)/OS/LogError.cpp \
687 $(SRC)/Version.cpp \
688 $(SRC)/Audio/Sound.cpp \
689 $(SRC)/Audio/VegaVoice.cpp \
690 $(SRC)/Audio/VegaVoiceSettings.cpp \
691 $(SRC)/Compatibility/fmode.c \
692 $(SRC)/Profile/Profile.cpp \
693 $(SRC)/Profile/Earth.cpp \
694 $(SRC)/Profile/Screen.cpp \
695 $(SRC)/Profile/TrackingProfile.cpp \
696 $(SRC)/Profile/SystemProfile.cpp \
697 $(SRC)/Profile/ComputerProfile.cpp \
698 $(SRC)/Profile/RouteProfile.cpp \
699 $(SRC)/Profile/ContestProfile.cpp \
700 $(SRC)/Profile/TaskProfile.cpp \
701 $(SRC)/Profile/ContestProfile.cpp \
702 $(SRC)/Profile/MapProfile.cpp \
703 $(SRC)/Profile/PageProfile.cpp \
704 $(SRC)/Profile/UIProfile.cpp \
705 $(SRC)/Profile/ProfileGlue.cpp \
706 $(SRC)/Profile/ProfileKeys.cpp \
707 $(SRC)/Profile/FontConfig.cpp \
708 $(SRC)/Profile/UnitsConfig.cpp \
709 $(SRC)/Profile/DeviceConfig.cpp \
710 $(SRC)/Profile/InfoBoxConfig.cpp \
711 $(SRC)/Profile/AirspaceConfig.cpp \
712 $(SRC)/Profile/TerrainConfig.cpp \
713 $(SRC)/Profile/FlarmProfile.cpp \
714 $(SRC)/XML/Node.cpp \
715 $(SRC)/XML/Parser.cpp \
716 $(SRC)/XML/Writer.cpp \
717 $(SRC)/XML/DataNode.cpp \
718 $(SRC)/XML/DataNodeXML.cpp \
720 $(SRC)/Repository/FileRepository.cpp \
721 $(SRC)/Repository/Parser.cpp \
723 $(SRC)/Job/Thread.cpp \
724 $(SRC)/Job/Async.cpp \
726 $(SRC)/RateLimiter.cpp \
728 $(SRC)/Tracking/TrackingSettings.cpp \
730 $(SRC)/Math/Screen.cpp \
731 $(SRC)/Math/SunEphemeris.cpp \
733 $(SRC)/Screen/Blank.cpp \
734 $(SRC)/Screen/Layout.cpp \
735 $(SRC)/Screen/UnitSymbol.cpp \
736 $(SRC)/Screen/Ramp.cpp \
737 $(SRC)/Screen/TerminalWindow.cpp \
738 $(SRC)/ResourceLoader.cpp \
740 $(SRC)/Look/Fonts.cpp \
741 $(SRC)/Look/CustomFonts.cpp \
742 $(SRC)/Look/Look.cpp \
743 $(SRC)/Look/DialogLook.cpp \
744 $(SRC)/Look/ButtonLook.cpp \
745 $(SRC)/Look/TerminalLook.cpp \
746 $(SRC)/Look/VarioLook.cpp \
747 $(SRC)/Look/ChartLook.cpp \
748 $(SRC)/Look/MapLook.cpp \
749 $(SRC)/Look/WindArrowLook.cpp \
750 $(SRC)/Look/ThermalBandLook.cpp \
751 $(SRC)/Look/TraceHistoryLook.cpp \
752 $(SRC)/Look/AirspaceLook.cpp \
753 $(SRC)/Look/TrailLook.cpp \
754 $(SRC)/Look/CrossSectionLook.cpp \
755 $(SRC)/Look/GestureLook.cpp \
756 $(SRC)/Look/HorizonLook.cpp \
757 $(SRC)/Look/TaskLook.cpp \
758 $(SRC)/Look/TrafficLook.cpp \
759 $(SRC)/Look/InfoBoxLook.cpp \
760 $(SRC)/Look/WaypointLook.cpp \
761 $(SRC)/Look/AircraftLook.cpp \
762 $(SRC)/Look/MarkerLook.cpp \
763 $(SRC)/Look/NOAALook.cpp \
764 $(SRC)/Look/FinalGlideBarLook.cpp \
765 $(SRC)/Look/VarioBarLook.cpp \
766 $(SRC)/Look/IconLook.cpp \
767 $(SRC)/Look/UnitsLook.cpp \
768 $(SRC)/Look/ThermalAssistantLook.cpp \
770 $(SRC)/Polar/PolarGlue.cpp \
771 $(SRC)/Polar/PolarFileGlue.cpp \
772 $(SRC)/Polar/Shape.cpp \
773 $(SRC)/Polar/Polar.cpp \
774 $(SRC)/Polar/Parser.cpp \
775 $(SRC)/Polar/PolarStore.cpp \
777 $(SRC)/Protection.cpp \
778 $(SRC)/BatteryTimer.cpp \
779 $(SRC)/ProcessTimer.cpp \
780 $(SRC)/ApplyExternalSettings.cpp \
781 $(SRC)/ApplyVegaSwitches.cpp \
782 $(SRC)/MainWindow.cpp \
783 $(SRC)/Startup.cpp \
784 $(SRC)/Components.cpp \
786 $(SRC)/Device/Driver.cpp \
787 $(SRC)/Device/Declaration.cpp \
788 $(SRC)/Device/Register.cpp \
789 $(SRC)/Device/List.cpp \
790 $(SRC)/Device/device.cpp \
791 $(SRC)/Device/Port/ConfiguredPort.cpp \
792 $(SRC)/Device/Descriptor.cpp \
793 $(SRC)/Device/Dispatcher.cpp \
794 $(SRC)/Device/All.cpp \
795 $(SRC)/Device/Parser.cpp \
796 $(SRC)/Device/Simulator.cpp \
797 $(SRC)/Device/Port/LineSplitter.cpp \
798 $(SRC)/Device/Internal.cpp \
799 $(DIALOG_SOURCES)
801 $(call SRC_TO_OBJ,$(SRC)/Dialogs/Inflate.cpp): CPPFLAGS += $(ZLIB_CPPFLAGS)
803 ifneq ($(NO_HORIZON),y)
804 XCSOAR_SOURCES += \
805 $(SRC)/Renderer/HorizonRenderer.cpp
806 endif
808 ifeq ($(HAVE_CE),y)
809 XCSOAR_SOURCES += \
810 $(SRC)/Device/Windows/Enumerator.cpp
811 endif
813 ifeq ($(TARGET),ANDROID)
814 XCSOAR_SOURCES += \
815 $(SRC)/Java/Global.cpp \
816 $(SRC)/Java/String.cpp \
817 $(SRC)/Java/File.cpp \
818 $(SRC)/Java/InputStream.cpp \
819 $(SRC)/Java/URL.cpp \
820 $(SRC)/Device/Port/AndroidPort.cpp \
821 $(SRC)/Device/Port/AndroidBluetoothPort.cpp \
822 $(SRC)/Android/Environment.cpp \
823 $(SRC)/Android/Product.cpp \
824 $(SRC)/Android/InternalSensors.cpp \
825 $(SRC)/Android/SoundUtil.cpp \
826 $(SRC)/Android/TextUtil.cpp \
827 $(SRC)/Android/EventBridge.cpp \
828 $(SRC)/Android/NativeInputListener.cpp \
829 $(SRC)/Android/PortBridge.cpp \
830 $(SRC)/Android/BluetoothHelper.cpp \
831 $(SRC)/Android/Battery.cpp \
832 $(SRC)/Android/DownloadManager.cpp \
833 $(SRC)/Android/Vibrator.cpp \
834 $(SRC)/Android/Context.cpp \
835 $(SRC)/Android/LogCat.cpp \
836 $(SRC)/Android/Main.cpp
837 ifneq ($(IOIOLIB_DIR),)
838 XCSOAR_SOURCES += \
839 $(SRC)/Device/Port/AndroidIOIOUartPort.cpp \
840 $(SRC)/Android/NativeBMP085Listener.cpp \
841 $(SRC)/Android/BMP085Device.cpp \
842 $(SRC)/Android/NativeI2CbaroListener.cpp \
843 $(SRC)/Android/I2CbaroDevice.cpp \
844 $(SRC)/Android/NativeNunchuckListener.cpp \
845 $(SRC)/Android/NunchuckDevice.cpp \
846 $(SRC)/Android/NativeVoltageListener.cpp \
847 $(SRC)/Android/VoltageDevice.cpp \
848 $(SRC)/Android/IOIOHelper.cpp
849 endif
851 ifeq ($(DEBUG),y)
852 XCSOAR_SOURCES += \
853 $(SRC)/Android/Assert.cpp
854 endif
856 else
857 XCSOAR_SOURCES += \
858 $(SRC)/CommandLine.cpp \
859 $(SRC)/Hardware/Battery.cpp \
860 $(SRC)/XCSoar.cpp
861 endif
863 ifeq ($(TARGET),ALTAIR)
864 XCSOAR_SOURCES += $(SRC)/Hardware/AltairControl.cpp
865 endif
867 ifeq ($(HAVE_HTTP),y)
868 XCSOAR_SOURCES += \
869 $(SRC)/Renderer/NOAAListRenderer.cpp \
870 $(SRC)/Weather/NOAAGlue.cpp \
871 $(SRC)/Weather/METARParser.cpp \
872 $(SRC)/Weather/NOAAFormatter.cpp \
873 $(SRC)/Weather/NOAADownloader.cpp \
874 $(SRC)/Weather/NOAAStore.cpp \
875 $(SRC)/Weather/NOAAUpdater.cpp
877 XCSOAR_SOURCES += \
878 $(SRC)/Tracking/LiveTrack24.cpp
879 endif
881 XCSOAR_SOURCES += \
882 $(SRC)/Tracking/SkyLines/Client.cpp \
883 $(SRC)/Tracking/SkyLines/Glue.cpp \
884 $(SRC)/Tracking/TrackingGlue.cpp
886 ifeq ($(HAVE_PCM_PLAYER),y)
887 XCSOAR_SOURCES += $(SRC)/Audio/VarioGlue.cpp
888 endif
890 XCSOAR_LDADD = \
891 $(RESOURCE_BINARY)
893 XCSOAR_DEPENDS = GETTEXT PROFILE \
894 TERRAIN \
895 WIDGET FORM DATA_FIELD \
896 AUDIO SCREEN EVENT \
897 DRIVER PORT \
898 IO ASYNC TASK CONTEST ROUTE GLIDE WAYPOINT AIRSPACE \
899 SHAPELIB ZZIP \
900 LIBNET TIME OS THREAD \
901 UTIL GEO MATH
903 XCSOAR_STRIP = y
905 ifeq ($(TARGET),ANDROID)
906 $(eval $(call link-shared-library,$(PROGRAM_NAME),XCSOAR))
907 else
908 $(eval $(call link-program,$(PROGRAM_NAME),XCSOAR))
909 endif
911 include $(topdir)/build/gettext.mk
912 include $(topdir)/build/cab.mk
914 OUTPUTS := $(XCSOAR_BIN) $(VALI_XCS_BIN)
915 OUTPUTS += $(XCSOARSETUP_DLL) $(XCSOARLAUNCH_DLL)
917 ifeq ($(TARGET),ANDROID)
918 OUTPUTS += $(ANDROID_BIN)/XCSoar-debug.apk
919 endif
921 ifeq ($(HAVE_WIN32),y)
922 OUTPUTS += $(LAUNCH_XCSOAR_BIN)
923 endif
925 all: $(OUTPUTS)
926 everything: $(OUTPUTS) debug build-check build-harness
928 clean: FORCE
929 @$(NQ)echo "cleaning all"
930 $(Q)rm -rf build/local-config.mk
931 $(Q)rm -rf $(OUT)
932 $(RM) $(BUILDTESTS)
934 .PHONY: FORCE
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)/src/*/*/*/*/*.d),)
949 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d)
950 endif
951 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d),)
952 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d)
953 endif
954 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d),)
955 include $(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d)
956 endif