Renderer, ...: use PixelRect::GetCenter()
[xcsoar.git] / Makefile
blob954cc661697181c569f649748108334003beeb9a
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 # GLES "y" means render with OpenGL/ES.
19 # EYE_CANDY "n" disables eye candy rendering.
21 # DEBUG If set to "y", the debugging version of XCSoar is built
22 # (default is "y")
24 # WERROR Make all compiler warnings fatal (default is $DEBUG)
26 # V Verbosity; 1 is the default, and prints terse information.
27 # 0 means quiet, and 2 prints the full compiler commands.
29 # FIXED "y" means use fixed point math (for FPU-less platforms)
31 # LTO "y" enables gcc's link-time optimization flag (experimental,
32 # requires gcc 4.5)
34 # CLANG "y" to use clang instead of gcc
36 # ANALYZER "y" to support the clang analyzer
38 # LLVM "y" to compile LLVM bitcode with clang
40 # LIBCXX The absolute path of the libc++ svn/git working directory.
43 .DEFAULT_GOAL := all
45 topdir = .
47 -include $(topdir)/build/local-config.mk
49 include $(topdir)/build/make.mk
50 include $(topdir)/build/bool.mk
51 include $(topdir)/build/string.mk
52 include $(topdir)/build/dirs.mk
53 include $(topdir)/build/verbose.mk
54 include $(topdir)/build/util.mk
55 include $(topdir)/build/detect.mk
56 include $(topdir)/build/targets.mk
57 include $(topdir)/build/pkgconfig.mk
58 include $(topdir)/build/resource.mk
59 include $(topdir)/build/options.mk
60 include $(topdir)/build/debug.mk
61 include $(topdir)/build/coverage.mk
62 include $(topdir)/build/libintl.mk
63 include $(topdir)/build/boost.mk
64 include $(topdir)/build/egl.mk
65 include $(topdir)/build/opengl.mk
66 include $(topdir)/build/freetype.mk
67 include $(topdir)/build/sdl.mk
68 include $(topdir)/build/libpng.mk
69 include $(topdir)/build/libjpeg.mk
70 include $(topdir)/build/flags.mk
71 include $(topdir)/build/charset.mk
72 include $(topdir)/build/warnings.mk
73 include $(topdir)/build/compile.mk
74 include $(topdir)/build/link.mk
75 include $(topdir)/build/android.mk
76 include $(topdir)/build/llvm.mk
77 include $(topdir)/build/tools.mk
78 include $(topdir)/build/version.mk
79 include $(topdir)/build/osx.mk
80 include $(topdir)/build/generate.mk
81 include $(topdir)/build/doxygen.mk
82 include $(topdir)/build/manual.mk
84 # Create libraries for zzip, jasper and compatibility stuff
85 include $(topdir)/build/libstdcxx.mk
86 include $(topdir)/build/libutil.mk
87 include $(topdir)/build/libmath.mk
88 include $(topdir)/build/libgeo.mk
89 include $(topdir)/build/libos.mk
90 include $(topdir)/build/libtime.mk
91 include $(topdir)/build/libprofile.mk
92 include $(topdir)/build/libnet.mk
93 include $(topdir)/build/zlib.mk
94 include $(topdir)/build/zzip.mk
95 include $(topdir)/build/jasper.mk
96 include $(topdir)/build/libport.mk
97 include $(topdir)/build/driver.mk
98 include $(topdir)/build/libio.mk
99 include $(topdir)/build/libasync.mk
100 include $(topdir)/build/shapelib.mk
101 include $(topdir)/build/libwaypoint.mk
102 include $(topdir)/build/libairspace.mk
103 include $(topdir)/build/libtask.mk
104 include $(topdir)/build/libroute.mk
105 include $(topdir)/build/libcontest.mk
106 include $(topdir)/build/libglide.mk
107 include $(topdir)/build/datafield.mk
108 include $(topdir)/build/libevent.mk
109 include $(topdir)/build/screen.mk
110 include $(topdir)/build/libthread.mk
111 include $(topdir)/build/form.mk
112 include $(topdir)/build/libwidget.mk
113 include $(topdir)/build/libaudio.mk
114 include $(topdir)/build/libterrain.mk
115 include $(topdir)/build/harness.mk
117 include $(topdir)/build/setup.mk
118 include $(topdir)/build/launch.mk
119 include $(topdir)/build/vali.mk
120 include $(topdir)/build/test.mk
121 include $(topdir)/build/hot.mk
123 # Load local-config a second time
124 # to set (override) choices for GXX and friends.
125 -include $(topdir)/build/local-config.mk
127 ######## output files
129 ifeq ($(HAVE_POSIX),y)
130 PROGRAM_NAME = xcsoar
131 else
132 PROGRAM_NAME = XCSoar
133 endif
135 include $(topdir)/build/dist.mk
136 include $(topdir)/build/install.mk
138 ######## compiler flags
140 INCLUDES += -I$(SRC) -I$(ENGINE_SRC_DIR)
142 ####### sources
144 DIALOG_SOURCES = \
145 $(SRC)/Dialogs/XML.cpp \
146 $(SRC)/Dialogs/Inflate.cpp \
147 $(SRC)/Dialogs/Message.cpp \
148 $(SRC)/Dialogs/ListPicker.cpp \
149 $(SRC)/Dialogs/JobDialog.cpp \
150 $(SRC)/Dialogs/WidgetDialog.cpp \
151 $(SRC)/Dialogs/FileManager.cpp \
152 $(SRC)/Dialogs/Device/DeviceEditWidget.cpp \
153 $(SRC)/Dialogs/Device/DeviceListDialog.cpp \
154 $(SRC)/Dialogs/Device/PortMonitor.cpp \
155 $(SRC)/Dialogs/Device/ManageCAI302Dialog.cpp \
156 $(SRC)/Dialogs/Device/CAI302/UnitsEditor.cpp \
157 $(SRC)/Dialogs/Device/CAI302/WaypointUploader.cpp \
158 $(SRC)/Dialogs/Device/ManageFlarmDialog.cpp \
159 $(SRC)/Dialogs/Device/LX/ManageV7Dialog.cpp \
160 $(SRC)/Dialogs/Device/LX/V7ConfigWidget.cpp \
161 $(SRC)/Dialogs/Device/LX/ManageNanoDialog.cpp \
162 $(SRC)/Dialogs/Device/LX/NanoConfigWidget.cpp \
163 $(SRC)/Dialogs/Device/LX/ManageLX16xxDialog.cpp \
164 $(SRC)/Dialogs/Device/Vega/VegaParametersWidget.cpp \
165 $(SRC)/Dialogs/Device/Vega/VegaConfigurationDialog.cpp \
166 $(SRC)/Dialogs/Device/Vega/VegaDemoDialog.cpp \
167 $(SRC)/Dialogs/Device/Vega/VoiceSettingsDialog.cpp \
168 $(SRC)/Dialogs/Device/Vega/SwitchesDialog.cpp \
169 $(SRC)/Dialogs/Device/FLARM/ConfigWidget.cpp \
170 $(SRC)/Dialogs/MapItemListDialog.cpp \
171 $(SRC)/Dialogs/MapItemListSettingsDialog.cpp \
172 $(SRC)/Dialogs/MapItemListSettingsPanel.cpp \
173 $(SRC)/Dialogs/ColorListDialog.cpp \
174 $(SRC)/Dialogs/Airspace/dlgAirspace.cpp \
175 $(SRC)/Dialogs/Airspace/dlgAirspacePatterns.cpp \
176 $(SRC)/Dialogs/Airspace/dlgAirspaceDetails.cpp \
177 $(SRC)/Dialogs/Airspace/AirspaceList.cpp \
178 $(SRC)/Dialogs/Airspace/AirspaceCRendererSettingsDialog.cpp \
179 $(SRC)/Dialogs/Airspace/AirspaceCRendererSettingsPanel.cpp \
180 $(SRC)/Dialogs/Airspace/dlgAirspaceWarnings.cpp \
181 $(SRC)/Dialogs/Settings/WindSettingsPanel.cpp \
182 $(SRC)/Dialogs/Settings/WindSettingsDialog.cpp \
183 $(SRC)/Dialogs/Settings/dlgBasicSettings.cpp \
184 $(SRC)/Dialogs/Settings/dlgConfiguration.cpp \
185 $(SRC)/Dialogs/Settings/dlgConfigFonts.cpp \
186 $(SRC)/Dialogs/Settings/dlgConfigInfoboxes.cpp \
187 $(SRC)/Dialogs/Settings/FontEdit.cpp \
188 $(SRC)/Dialogs/Traffic/TrafficList.cpp \
189 $(SRC)/Dialogs/Traffic/FlarmTrafficDetails.cpp \
190 $(SRC)/Dialogs/Traffic/TeamCodeDialog.cpp \
191 $(SRC)/Dialogs/dlgAnalysis.cpp \
192 $(SRC)/Dialogs/dlgBrightness.cpp \
193 $(SRC)/Dialogs/dlgChecklist.cpp \
194 $(SRC)/Dialogs/Plane/PlaneListDialog.cpp \
195 $(SRC)/Dialogs/Plane/PlaneDetailsDialog.cpp \
196 $(SRC)/Dialogs/Plane/PlanePolarDialog.cpp \
197 $(SRC)/Dialogs/Plane/PolarShapeEditWidget.cpp \
198 $(SRC)/Dialogs/ComboPicker.cpp \
199 $(SRC)/Dialogs/FilePicker.cpp \
200 $(SRC)/Dialogs/HelpDialog.cpp \
201 $(SRC)/Dialogs/dlgInfoBoxAccess.cpp \
202 $(SRC)/Dialogs/ReplayDialog.cpp \
203 $(SRC)/Dialogs/dlgSimulatorPrompt.cpp \
204 $(SRC)/Dialogs/dlgStartup.cpp \
206 $(SRC)/Dialogs/dlgStatus.cpp \
207 $(SRC)/Dialogs/StatusPanels/StatusPanel.cpp \
208 $(SRC)/Dialogs/StatusPanels/FlightStatusPanel.cpp \
209 $(SRC)/Dialogs/StatusPanels/SystemStatusPanel.cpp \
210 $(SRC)/Dialogs/StatusPanels/TaskStatusPanel.cpp \
211 $(SRC)/Dialogs/StatusPanels/RulesStatusPanel.cpp \
212 $(SRC)/Dialogs/StatusPanels/TimesStatusPanel.cpp \
214 $(SRC)/Dialogs/Waypoint/WaypointInfoWidget.cpp \
215 $(SRC)/Dialogs/Waypoint/WaypointCommandsWidget.cpp \
216 $(SRC)/Dialogs/Waypoint/dlgWaypointDetails.cpp \
217 $(SRC)/Dialogs/Waypoint/Manager.cpp \
218 $(SRC)/Dialogs/Waypoint/dlgWaypointEdit.cpp \
219 $(SRC)/Dialogs/Waypoint/WaypointList.cpp \
220 $(SRC)/Dialogs/Waypoint/NearestWaypoint.cpp \
222 $(SRC)/Dialogs/Settings/Panels/AirspaceConfigPanel.cpp \
223 $(SRC)/Dialogs/Settings/Panels/DevicesConfigPanel.cpp \
224 $(SRC)/Dialogs/Settings/Panels/ExperimentalConfigPanel.cpp \
225 $(SRC)/Dialogs/Settings/Panels/GaugesConfigPanel.cpp \
226 $(SRC)/Dialogs/Settings/Panels/VarioConfigPanel.cpp \
227 $(SRC)/Dialogs/Settings/Panels/GlideComputerConfigPanel.cpp \
228 $(SRC)/Dialogs/Settings/Panels/WindConfigPanel.cpp \
229 $(SRC)/Dialogs/Settings/Panels/InfoBoxesConfigPanel.cpp \
230 $(SRC)/Dialogs/Settings/Panels/InterfaceConfigPanel.cpp \
231 $(SRC)/Dialogs/Settings/Panels/LayoutConfigPanel.cpp \
232 $(SRC)/Dialogs/Settings/Panels/LoggerConfigPanel.cpp \
233 $(SRC)/Dialogs/Settings/Panels/MapDisplayConfigPanel.cpp \
234 $(SRC)/Dialogs/Settings/Panels/PagesConfigPanel.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/ATCReference.cpp \
513 $(SRC)/Pan.cpp \
514 $(SRC)/Input/InputConfig.cpp \
515 $(SRC)/Input/InputDefaults.cpp \
516 $(SRC)/Input/InputEvents.cpp \
517 $(SRC)/Input/InputEventsActions.cpp \
518 $(SRC)/Input/InputEventsDevice.cpp \
519 $(SRC)/Input/InputEventsVega.cpp \
520 $(SRC)/Input/InputEventsInfoBox.cpp \
521 $(SRC)/Input/InputEventsMap.cpp \
522 $(SRC)/Input/InputEventsPage.cpp \
523 $(SRC)/Input/InputEventsAirspace.cpp \
524 $(SRC)/Input/InputEventsTask.cpp \
525 $(SRC)/Input/InputEventsSettings.cpp \
526 $(SRC)/Input/InputEventsThermalAssistant.cpp \
527 $(SRC)/Input/InputEventsTraffic.cpp \
528 $(SRC)/Input/InputQueue.cpp \
529 $(SRC)/Input/InputLookup.cpp \
530 $(SRC)/Input/InputKeys.cpp \
531 $(SRC)/Input/InputParser.cpp \
532 $(SRC)/Input/TaskEventObserver.cpp \
533 $(SRC)/PageSettings.cpp \
534 $(SRC)/PageState.cpp \
535 $(SRC)/PageActions.cpp \
536 $(SRC)/StatusMessage.cpp \
537 $(SRC)/PopupMessage.cpp \
538 $(SRC)/Message.cpp \
539 $(SRC)/LogFile.cpp \
541 $(SRC)/Geo/Geoid.cpp \
542 $(SRC)/MapWindow/MapCanvas.cpp \
543 $(SRC)/MapWindow/MapDrawHelper.cpp \
544 $(SRC)/Projection/Projection.cpp \
545 $(SRC)/Projection/WindowProjection.cpp \
546 $(SRC)/Projection/CompareProjection.cpp \
547 $(SRC)/Renderer/ChartRenderer.cpp \
548 $(SRC)/Renderer/BackgroundRenderer.cpp \
549 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
550 $(SRC)/Renderer/OZRenderer.cpp \
551 $(SRC)/Renderer/TaskPointRenderer.cpp \
552 $(SRC)/Renderer/TaskRenderer.cpp \
553 $(SRC)/Renderer/AircraftRenderer.cpp \
554 $(SRC)/Renderer/AirspaceRenderer.cpp \
555 $(SRC)/Renderer/AirspaceListRenderer.cpp \
556 $(SRC)/Renderer/AirspacePreviewRenderer.cpp \
557 $(SRC)/Renderer/BestCruiseArrowRenderer.cpp \
558 $(SRC)/Renderer/CompassRenderer.cpp \
559 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
560 $(SRC)/Renderer/VarioBarRenderer.cpp \
561 $(SRC)/Renderer/MapItemListRenderer.cpp \
562 $(SRC)/Renderer/OZPreviewRenderer.cpp \
563 $(SRC)/Renderer/TrackLineRenderer.cpp \
564 $(SRC)/Renderer/TrafficRenderer.cpp \
565 $(SRC)/Renderer/TrailRenderer.cpp \
566 $(SRC)/Renderer/UnitSymbolRenderer.cpp \
567 $(SRC)/Renderer/WaypointListRenderer.cpp \
568 $(SRC)/Renderer/WaypointIconRenderer.cpp \
569 $(SRC)/Renderer/WaypointRenderer.cpp \
570 $(SRC)/Renderer/WaypointRendererSettings.cpp \
571 $(SRC)/Renderer/WaypointLabelList.cpp \
572 $(SRC)/Renderer/WindArrowRenderer.cpp \
573 $(SRC)/Projection/ChartProjection.cpp \
574 $(SRC)/MapWindow/Items/MapItem.cpp \
575 $(SRC)/MapWindow/Items/List.cpp \
576 $(SRC)/MapWindow/Items/Builder.cpp \
577 $(SRC)/MapWindow/MapWindow.cpp \
578 $(SRC)/MapWindow/MapWindowEvents.cpp \
579 $(SRC)/MapWindow/MapWindowGlideRange.cpp \
580 $(SRC)/Projection/MapWindowProjection.cpp \
581 $(SRC)/MapWindow/MapWindowRender.cpp \
582 $(SRC)/MapWindow/MapWindowSymbols.cpp \
583 $(SRC)/MapWindow/MapWindowContest.cpp \
584 $(SRC)/MapWindow/MapWindowTask.cpp \
585 $(SRC)/MapWindow/MapWindowThermal.cpp \
586 $(SRC)/MapWindow/MapWindowTraffic.cpp \
587 $(SRC)/MapWindow/MapWindowTrail.cpp \
588 $(SRC)/MapWindow/MapWindowWaypoints.cpp \
589 $(SRC)/MapWindow/GlueMapWindow.cpp \
590 $(SRC)/MapWindow/GlueMapWindowItems.cpp \
591 $(SRC)/MapWindow/GlueMapWindowEvents.cpp \
592 $(SRC)/MapWindow/GlueMapWindowOverlays.cpp \
593 $(SRC)/MapWindow/GlueMapWindowDisplayMode.cpp \
594 $(SRC)/MapWindow/TargetMapWindow.cpp \
595 $(SRC)/MapWindow/TargetMapWindowEvents.cpp \
596 $(SRC)/MapWindow/TargetMapWindowDrag.cpp \
597 $(SRC)/UIUtil/GestureManager.cpp \
598 $(SRC)/UIUtil/TrackingGestureManager.cpp \
599 $(SRC)/DrawThread.cpp \
601 $(SRC)/Computer/BasicComputer.cpp \
602 $(SRC)/Computer/AutoQNH.cpp \
604 $(SRC)/Blackboard/BlackboardListener.cpp \
605 $(SRC)/Blackboard/ProxyBlackboardListener.cpp \
606 $(SRC)/Blackboard/RateLimitedBlackboardListener.cpp \
607 $(SRC)/Blackboard/LiveBlackboard.cpp \
608 $(SRC)/Blackboard/InterfaceBlackboard.cpp \
609 $(SRC)/Blackboard/ScopeGPSListener.cpp \
610 $(SRC)/Blackboard/ScopeCalculatedListener.cpp \
612 $(SRC)/Blackboard/DeviceBlackboard.cpp \
613 $(SRC)/MapWindow/MapWindowBlackboard.cpp \
614 $(SRC)/Dialogs/DialogSettings.cpp \
615 $(SRC)/UIReceiveBlackboard.cpp \
616 $(SRC)/UIGlobals.cpp \
617 $(SRC)/UIState.cpp \
618 $(SRC)/UISettings.cpp \
619 $(SRC)/DisplaySettings.cpp \
620 $(SRC)/MapSettings.cpp \
621 $(SRC)/SystemSettings.cpp \
622 $(SRC)/Audio/Settings.cpp \
623 $(SRC)/Audio/VarioSettings.cpp \
624 $(SRC)/Computer/Settings.cpp \
625 $(SRC)/MergeThread.cpp \
626 $(SRC)/CalculationThread.cpp \
627 $(SRC)/DisplayMode.cpp \
629 $(SRC)/Topography/TopographyFile.cpp \
630 $(SRC)/Topography/TopographyStore.cpp \
631 $(SRC)/Topography/TopographyFileRenderer.cpp \
632 $(SRC)/Topography/TopographyRenderer.cpp \
633 $(SRC)/Topography/TopographyGlue.cpp \
634 $(SRC)/Topography/XShape.cpp \
635 $(SRC)/Markers/Markers.cpp \
636 $(SRC)/Markers/ProtectedMarkers.cpp \
638 $(SRC)/FlightStatistics.cpp \
639 $(SRC)/Renderer/FlightStatisticsRenderer.cpp \
640 $(SRC)/Renderer/BarographRenderer.cpp \
641 $(SRC)/Renderer/ClimbChartRenderer.cpp \
642 $(SRC)/Renderer/GlidePolarRenderer.cpp \
643 $(SRC)/Renderer/WindChartRenderer.cpp \
644 $(SRC)/Renderer/CuRenderer.cpp \
646 $(SRC)/Simulator.cpp \
647 $(SRC)/Asset.cpp \
648 $(SRC)/Hardware/Display.cpp \
649 $(SRC)/Hardware/DisplayGlue.cpp \
650 $(SRC)/Hardware/Vibrator.cpp \
651 $(SRC)/Language/MOFile.cpp \
652 $(SRC)/Language/Language.cpp \
653 $(SRC)/Language/LanguageGlue.cpp \
654 $(SRC)/LocalPath.cpp \
655 $(SRC)/UIActions.cpp \
656 $(SRC)/Interface.cpp \
657 $(SRC)/ActionInterface.cpp \
658 $(SRC)/ProgressWindow.cpp \
659 $(SRC)/ProgressGlue.cpp \
660 $(SRC)/Units/Units.cpp \
661 $(SRC)/Units/UnitsGlue.cpp \
662 $(SRC)/Units/UnitsStore.cpp \
663 $(SRC)/Formatter/Units.cpp \
664 $(SRC)/Formatter/UserUnits.cpp \
665 $(SRC)/Formatter/HexColor.cpp \
666 $(SRC)/Formatter/GlideRatioFormatter.cpp \
667 $(SRC)/Formatter/GeoPointFormatter.cpp \
668 $(SRC)/Formatter/ByteSizeFormatter.cpp \
669 $(SRC)/Formatter/UserGeoPointFormatter.cpp \
670 $(SRC)/Formatter/TimeFormatter.cpp \
671 $(SRC)/Formatter/LocalTimeFormatter.cpp \
672 $(SRC)/Formatter/IGCFilenameFormatter.cpp \
673 $(SRC)/Formatter/AirspaceFormatter.cpp \
674 $(SRC)/Formatter/AirspaceUserUnitsFormatter.cpp \
675 $(SRC)/Units/Descriptor.cpp \
676 $(SRC)/Units/System.cpp \
677 $(SRC)/Units/Settings.cpp \
678 $(SRC)/Formatter/AngleFormatter.cpp \
679 $(SRC)/FLARM/FlarmDetails.cpp \
680 $(SRC)/FLARM/NameDatabase.cpp \
681 $(SRC)/FLARM/NameFile.cpp \
682 $(SRC)/FLARM/TrafficDatabases.cpp \
683 $(SRC)/UtilsSettings.cpp \
684 $(SRC)/UtilsSystem.cpp \
685 $(SRC)/OS/LogError.cpp \
686 $(SRC)/Version.cpp \
687 $(SRC)/Audio/Sound.cpp \
688 $(SRC)/Audio/VegaVoice.cpp \
689 $(SRC)/Audio/VegaVoiceSettings.cpp \
690 $(SRC)/Compatibility/fmode.c \
691 $(SRC)/Profile/Profile.cpp \
692 $(SRC)/Profile/Earth.cpp \
693 $(SRC)/Profile/Screen.cpp \
694 $(SRC)/Profile/TrackingProfile.cpp \
695 $(SRC)/Profile/SystemProfile.cpp \
696 $(SRC)/Profile/ComputerProfile.cpp \
697 $(SRC)/Profile/RouteProfile.cpp \
698 $(SRC)/Profile/ContestProfile.cpp \
699 $(SRC)/Profile/TaskProfile.cpp \
700 $(SRC)/Profile/ContestProfile.cpp \
701 $(SRC)/Profile/MapProfile.cpp \
702 $(SRC)/Profile/PageProfile.cpp \
703 $(SRC)/Profile/UIProfile.cpp \
704 $(SRC)/Profile/ProfileGlue.cpp \
705 $(SRC)/Profile/ProfileKeys.cpp \
706 $(SRC)/Profile/FontConfig.cpp \
707 $(SRC)/Profile/UnitsConfig.cpp \
708 $(SRC)/Profile/DeviceConfig.cpp \
709 $(SRC)/Profile/InfoBoxConfig.cpp \
710 $(SRC)/Profile/AirspaceConfig.cpp \
711 $(SRC)/Profile/TerrainConfig.cpp \
712 $(SRC)/Profile/FlarmProfile.cpp \
713 $(SRC)/XML/Node.cpp \
714 $(SRC)/XML/Parser.cpp \
715 $(SRC)/XML/Writer.cpp \
716 $(SRC)/XML/DataNode.cpp \
717 $(SRC)/XML/DataNodeXML.cpp \
719 $(SRC)/Repository/FileRepository.cpp \
720 $(SRC)/Repository/Parser.cpp \
722 $(SRC)/Job/Thread.cpp \
723 $(SRC)/Job/Async.cpp \
725 $(SRC)/RateLimiter.cpp \
727 $(SRC)/Tracking/TrackingSettings.cpp \
729 $(SRC)/Math/Screen.cpp \
730 $(SRC)/Math/SunEphemeris.cpp \
732 $(SRC)/Screen/Blank.cpp \
733 $(SRC)/Screen/Layout.cpp \
734 $(SRC)/Screen/UnitSymbol.cpp \
735 $(SRC)/Screen/Ramp.cpp \
736 $(SRC)/Screen/TerminalWindow.cpp \
737 $(SRC)/ResourceLoader.cpp \
739 $(SRC)/Look/Fonts.cpp \
740 $(SRC)/Look/CustomFonts.cpp \
741 $(SRC)/Look/Look.cpp \
742 $(SRC)/Look/DialogLook.cpp \
743 $(SRC)/Look/ButtonLook.cpp \
744 $(SRC)/Look/TerminalLook.cpp \
745 $(SRC)/Look/VarioLook.cpp \
746 $(SRC)/Look/ChartLook.cpp \
747 $(SRC)/Look/MapLook.cpp \
748 $(SRC)/Look/WindArrowLook.cpp \
749 $(SRC)/Look/ThermalBandLook.cpp \
750 $(SRC)/Look/TraceHistoryLook.cpp \
751 $(SRC)/Look/AirspaceLook.cpp \
752 $(SRC)/Look/TrailLook.cpp \
753 $(SRC)/Look/CrossSectionLook.cpp \
754 $(SRC)/Look/GestureLook.cpp \
755 $(SRC)/Look/HorizonLook.cpp \
756 $(SRC)/Look/TaskLook.cpp \
757 $(SRC)/Look/TrafficLook.cpp \
758 $(SRC)/Look/InfoBoxLook.cpp \
759 $(SRC)/Look/WaypointLook.cpp \
760 $(SRC)/Look/AircraftLook.cpp \
761 $(SRC)/Look/MarkerLook.cpp \
762 $(SRC)/Look/NOAALook.cpp \
763 $(SRC)/Look/FinalGlideBarLook.cpp \
764 $(SRC)/Look/VarioBarLook.cpp \
765 $(SRC)/Look/IconLook.cpp \
766 $(SRC)/Look/UnitsLook.cpp \
767 $(SRC)/Look/ThermalAssistantLook.cpp \
769 $(SRC)/Polar/PolarGlue.cpp \
770 $(SRC)/Polar/PolarFileGlue.cpp \
771 $(SRC)/Polar/Shape.cpp \
772 $(SRC)/Polar/Polar.cpp \
773 $(SRC)/Polar/Parser.cpp \
774 $(SRC)/Polar/PolarStore.cpp \
776 $(SRC)/Protection.cpp \
777 $(SRC)/BatteryTimer.cpp \
778 $(SRC)/ProcessTimer.cpp \
779 $(SRC)/ApplyExternalSettings.cpp \
780 $(SRC)/ApplyVegaSwitches.cpp \
781 $(SRC)/MainWindow.cpp \
782 $(SRC)/Startup.cpp \
783 $(SRC)/Components.cpp \
785 $(SRC)/Device/Driver.cpp \
786 $(SRC)/Device/Declaration.cpp \
787 $(SRC)/Device/Register.cpp \
788 $(SRC)/Device/List.cpp \
789 $(SRC)/Device/device.cpp \
790 $(SRC)/Device/Port/ConfiguredPort.cpp \
791 $(SRC)/Device/Descriptor.cpp \
792 $(SRC)/Device/Dispatcher.cpp \
793 $(SRC)/Device/All.cpp \
794 $(SRC)/Device/Parser.cpp \
795 $(SRC)/Device/Simulator.cpp \
796 $(SRC)/Device/Port/LineSplitter.cpp \
797 $(SRC)/Device/Internal.cpp \
798 $(DIALOG_SOURCES)
800 $(call SRC_TO_OBJ,$(SRC)/Dialogs/Inflate.cpp): CPPFLAGS += $(ZLIB_CPPFLAGS)
802 ifneq ($(NO_HORIZON),y)
803 XCSOAR_SOURCES += \
804 $(SRC)/Renderer/HorizonRenderer.cpp
805 endif
807 ifeq ($(HAVE_CE),y)
808 XCSOAR_SOURCES += \
809 $(SRC)/Device/Windows/Enumerator.cpp
810 endif
812 ifeq ($(TARGET),ANDROID)
813 XCSOAR_SOURCES += \
814 $(SRC)/Java/Global.cpp \
815 $(SRC)/Java/String.cpp \
816 $(SRC)/Java/File.cpp \
817 $(SRC)/Java/InputStream.cpp \
818 $(SRC)/Java/URL.cpp \
819 $(SRC)/Device/Port/AndroidPort.cpp \
820 $(SRC)/Device/Port/AndroidBluetoothPort.cpp \
821 $(SRC)/Android/Environment.cpp \
822 $(SRC)/Android/Product.cpp \
823 $(SRC)/Android/InternalSensors.cpp \
824 $(SRC)/Android/SoundUtil.cpp \
825 $(SRC)/Android/TextUtil.cpp \
826 $(SRC)/Android/EventBridge.cpp \
827 $(SRC)/Android/NativeInputListener.cpp \
828 $(SRC)/Android/PortBridge.cpp \
829 $(SRC)/Android/BluetoothHelper.cpp \
830 $(SRC)/Android/Battery.cpp \
831 $(SRC)/Android/DownloadManager.cpp \
832 $(SRC)/Android/Vibrator.cpp \
833 $(SRC)/Android/Context.cpp \
834 $(SRC)/Android/LogCat.cpp \
835 $(SRC)/Android/Main.cpp
836 ifneq ($(IOIOLIB_DIR),)
837 XCSOAR_SOURCES += \
838 $(SRC)/Device/Port/AndroidIOIOUartPort.cpp \
839 $(SRC)/Android/NativeBMP085Listener.cpp \
840 $(SRC)/Android/BMP085Device.cpp \
841 $(SRC)/Android/NativeI2CbaroListener.cpp \
842 $(SRC)/Android/I2CbaroDevice.cpp \
843 $(SRC)/Android/NativeNunchuckListener.cpp \
844 $(SRC)/Android/NunchuckDevice.cpp \
845 $(SRC)/Android/NativeVoltageListener.cpp \
846 $(SRC)/Android/VoltageDevice.cpp \
847 $(SRC)/Android/IOIOHelper.cpp
848 endif
850 ifeq ($(DEBUG),y)
851 XCSOAR_SOURCES += \
852 $(SRC)/Android/Assert.cpp
853 endif
855 else
856 XCSOAR_SOURCES += \
857 $(SRC)/CommandLine.cpp \
858 $(SRC)/Hardware/Battery.cpp \
859 $(SRC)/XCSoar.cpp
860 endif
862 ifeq ($(TARGET),ALTAIR)
863 XCSOAR_SOURCES += $(SRC)/Hardware/AltairControl.cpp
864 endif
866 ifeq ($(HAVE_HTTP),y)
867 XCSOAR_SOURCES += \
868 $(SRC)/Renderer/NOAAListRenderer.cpp \
869 $(SRC)/Weather/NOAAGlue.cpp \
870 $(SRC)/Weather/METARParser.cpp \
871 $(SRC)/Weather/NOAAFormatter.cpp \
872 $(SRC)/Weather/NOAADownloader.cpp \
873 $(SRC)/Weather/NOAAStore.cpp \
874 $(SRC)/Weather/NOAAUpdater.cpp
876 XCSOAR_SOURCES += \
877 $(SRC)/Tracking/LiveTrack24.cpp
878 endif
880 XCSOAR_SOURCES += \
881 $(SRC)/Tracking/SkyLines/Client.cpp \
882 $(SRC)/Tracking/SkyLines/Glue.cpp \
883 $(SRC)/Tracking/TrackingGlue.cpp
885 ifeq ($(HAVE_PCM_PLAYER),y)
886 XCSOAR_SOURCES += $(SRC)/Audio/VarioGlue.cpp
887 endif
889 XCSOAR_LDADD = \
890 $(RESOURCE_BINARY)
892 XCSOAR_DEPENDS = GETTEXT PROFILE \
893 TERRAIN \
894 WIDGET FORM DATA_FIELD \
895 AUDIO SCREEN EVENT \
896 DRIVER PORT \
897 IO ASYNC TASK CONTEST ROUTE GLIDE WAYPOINT AIRSPACE \
898 SHAPELIB ZZIP \
899 LIBNET TIME OS THREAD \
900 UTIL GEO MATH
902 XCSOAR_STRIP = y
904 ifeq ($(TARGET),ANDROID)
905 $(eval $(call link-shared-library,$(PROGRAM_NAME),XCSOAR))
906 else
907 $(eval $(call link-program,$(PROGRAM_NAME),XCSOAR))
908 endif
910 include $(topdir)/build/gettext.mk
911 include $(topdir)/build/cab.mk
913 OUTPUTS := $(XCSOAR_BIN) $(VALI_XCS_BIN)
914 OUTPUTS += $(XCSOARSETUP_DLL) $(XCSOARLAUNCH_DLL)
916 ifeq ($(TARGET),ANDROID)
917 OUTPUTS += $(ANDROID_BIN)/XCSoar-debug.apk
918 endif
920 ifeq ($(HAVE_WIN32),y)
921 OUTPUTS += $(LAUNCH_XCSOAR_BIN)
922 endif
924 all: $(OUTPUTS)
925 everything: $(OUTPUTS) debug build-check build-harness
927 clean: FORCE
928 @$(NQ)echo "cleaning all"
929 $(Q)rm -rf build/local-config.mk
930 $(Q)rm -rf $(OUT)
931 $(RM) $(BUILDTESTS)
933 .PHONY: FORCE
935 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*.d),)
936 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*.d)
937 endif
938 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d),)
939 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d)
940 endif
941 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d),)
942 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d)
943 endif
944 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d),)
945 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d)
946 endif
947 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d),)
948 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d)
949 endif
950 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d),)
951 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d)
952 endif
953 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d),)
954 include $(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d)
955 endif