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