test/{KeyCodeDumper,RunFAITriangle...}: check Window::IsDefined()
[xcsoar.git] / Makefile
blob510c4df90951c7459d65a5f6e89fa6ee8bf143fc
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/InputEventsPage.cpp \
516 $(SRC)/Input/InputEventsAirspace.cpp \
517 $(SRC)/Input/InputEventsTask.cpp \
518 $(SRC)/Input/InputEventsSettings.cpp \
519 $(SRC)/Input/InputEventsThermalAssistant.cpp \
520 $(SRC)/Input/InputEventsTraffic.cpp \
521 $(SRC)/Input/InputQueue.cpp \
522 $(SRC)/Input/InputLookup.cpp \
523 $(SRC)/Input/InputKeys.cpp \
524 $(SRC)/Input/InputParser.cpp \
525 $(SRC)/Input/TaskEventObserver.cpp \
526 $(SRC)/PageSettings.cpp \
527 $(SRC)/PageActions.cpp \
528 $(SRC)/StatusMessage.cpp \
529 $(SRC)/PopupMessage.cpp \
530 $(SRC)/Message.cpp \
531 $(SRC)/LogFile.cpp \
533 $(SRC)/Geo/Geoid.cpp \
534 $(SRC)/MapWindow/MapCanvas.cpp \
535 $(SRC)/MapWindow/MapDrawHelper.cpp \
536 $(SRC)/Projection/Projection.cpp \
537 $(SRC)/Projection/WindowProjection.cpp \
538 $(SRC)/Projection/CompareProjection.cpp \
539 $(SRC)/Renderer/ChartRenderer.cpp \
540 $(SRC)/Renderer/BackgroundRenderer.cpp \
541 $(SRC)/Renderer/FAITriangleAreaRenderer.cpp \
542 $(SRC)/Renderer/OZRenderer.cpp \
543 $(SRC)/Renderer/TaskPointRenderer.cpp \
544 $(SRC)/Renderer/TaskRenderer.cpp \
545 $(SRC)/Renderer/AircraftRenderer.cpp \
546 $(SRC)/Renderer/AirspaceRenderer.cpp \
547 $(SRC)/Renderer/AirspaceListRenderer.cpp \
548 $(SRC)/Renderer/AirspacePreviewRenderer.cpp \
549 $(SRC)/Renderer/BestCruiseArrowRenderer.cpp \
550 $(SRC)/Renderer/CompassRenderer.cpp \
551 $(SRC)/Renderer/FinalGlideBarRenderer.cpp \
552 $(SRC)/Renderer/MapItemListRenderer.cpp \
553 $(SRC)/Renderer/OZPreviewRenderer.cpp \
554 $(SRC)/Renderer/TrackLineRenderer.cpp \
555 $(SRC)/Renderer/TrafficRenderer.cpp \
556 $(SRC)/Renderer/TrailRenderer.cpp \
557 $(SRC)/Renderer/UnitSymbolRenderer.cpp \
558 $(SRC)/Renderer/WaypointListRenderer.cpp \
559 $(SRC)/Renderer/WaypointIconRenderer.cpp \
560 $(SRC)/Renderer/WaypointRenderer.cpp \
561 $(SRC)/Renderer/WaypointRendererSettings.cpp \
562 $(SRC)/Renderer/WaypointLabelList.cpp \
563 $(SRC)/Renderer/WindArrowRenderer.cpp \
564 $(SRC)/Projection/ChartProjection.cpp \
565 $(SRC)/MapWindow/Items/MapItem.cpp \
566 $(SRC)/MapWindow/Items/List.cpp \
567 $(SRC)/MapWindow/Items/Builder.cpp \
568 $(SRC)/MapWindow/MapWindow.cpp \
569 $(SRC)/MapWindow/MapWindowEvents.cpp \
570 $(SRC)/MapWindow/MapWindowGlideRange.cpp \
571 $(SRC)/Projection/MapWindowProjection.cpp \
572 $(SRC)/MapWindow/MapWindowRender.cpp \
573 $(SRC)/MapWindow/MapWindowSymbols.cpp \
574 $(SRC)/MapWindow/MapWindowContest.cpp \
575 $(SRC)/MapWindow/MapWindowTask.cpp \
576 $(SRC)/MapWindow/MapWindowThermal.cpp \
577 $(SRC)/MapWindow/MapWindowTraffic.cpp \
578 $(SRC)/MapWindow/MapWindowTrail.cpp \
579 $(SRC)/MapWindow/MapWindowWaypoints.cpp \
580 $(SRC)/MapWindow/GlueMapWindow.cpp \
581 $(SRC)/MapWindow/GlueMapWindowItems.cpp \
582 $(SRC)/MapWindow/GlueMapWindowEvents.cpp \
583 $(SRC)/MapWindow/GlueMapWindowOverlays.cpp \
584 $(SRC)/MapWindow/GlueMapWindowDisplayMode.cpp \
585 $(SRC)/MapWindow/TargetMapWindow.cpp \
586 $(SRC)/MapWindow/TargetMapWindowEvents.cpp \
587 $(SRC)/MapWindow/TargetMapWindowDrag.cpp \
588 $(SRC)/UIUtil/GestureManager.cpp \
589 $(SRC)/UIUtil/TrackingGestureManager.cpp \
590 $(SRC)/DrawThread.cpp \
592 $(SRC)/Computer/BasicComputer.cpp \
593 $(SRC)/Computer/AutoQNH.cpp \
595 $(SRC)/Blackboard/BlackboardListener.cpp \
596 $(SRC)/Blackboard/ProxyBlackboardListener.cpp \
597 $(SRC)/Blackboard/RateLimitedBlackboardListener.cpp \
598 $(SRC)/Blackboard/LiveBlackboard.cpp \
599 $(SRC)/Blackboard/InterfaceBlackboard.cpp \
600 $(SRC)/Blackboard/ScopeGPSListener.cpp \
601 $(SRC)/Blackboard/ScopeCalculatedListener.cpp \
603 $(SRC)/Blackboard/DeviceBlackboard.cpp \
604 $(SRC)/MapWindow/MapWindowBlackboard.cpp \
605 $(SRC)/Dialogs/DialogSettings.cpp \
606 $(SRC)/UIReceiveBlackboard.cpp \
607 $(SRC)/UIGlobals.cpp \
608 $(SRC)/UIState.cpp \
609 $(SRC)/UISettings.cpp \
610 $(SRC)/DisplaySettings.cpp \
611 $(SRC)/MapSettings.cpp \
612 $(SRC)/SystemSettings.cpp \
613 $(SRC)/Audio/Settings.cpp \
614 $(SRC)/Audio/VarioSettings.cpp \
615 $(SRC)/ComputerSettings.cpp \
616 $(SRC)/TeamCodeSettings.cpp \
617 $(SRC)/MergeThread.cpp \
618 $(SRC)/CalculationThread.cpp \
619 $(SRC)/DisplayMode.cpp \
621 $(SRC)/Topography/TopographyFile.cpp \
622 $(SRC)/Topography/TopographyStore.cpp \
623 $(SRC)/Topography/TopographyFileRenderer.cpp \
624 $(SRC)/Topography/TopographyRenderer.cpp \
625 $(SRC)/Topography/TopographyGlue.cpp \
626 $(SRC)/Topography/XShape.cpp \
627 $(SRC)/Markers/Markers.cpp \
628 $(SRC)/Markers/ProtectedMarkers.cpp \
630 $(SRC)/FlightStatistics.cpp \
631 $(SRC)/Renderer/FlightStatisticsRenderer.cpp \
632 $(SRC)/Renderer/BarographRenderer.cpp \
633 $(SRC)/Renderer/ClimbChartRenderer.cpp \
634 $(SRC)/Renderer/GlidePolarRenderer.cpp \
635 $(SRC)/Renderer/WindChartRenderer.cpp \
636 $(SRC)/Renderer/CuRenderer.cpp \
638 $(SRC)/Simulator.cpp \
639 $(SRC)/Asset.cpp \
640 $(SRC)/Hardware/Display.cpp \
641 $(SRC)/Hardware/DisplayGlue.cpp \
642 $(SRC)/Hardware/Vibrator.cpp \
643 $(SRC)/Language/MOFile.cpp \
644 $(SRC)/Language/Language.cpp \
645 $(SRC)/Language/LanguageGlue.cpp \
646 $(SRC)/LocalPath.cpp \
647 $(SRC)/UIActions.cpp \
648 $(SRC)/Interface.cpp \
649 $(SRC)/ActionInterface.cpp \
650 $(SRC)/ProgressWindow.cpp \
651 $(SRC)/ProgressGlue.cpp \
652 $(SRC)/LocalTime.cpp \
653 $(SRC)/Units/Units.cpp \
654 $(SRC)/Units/UnitsGlue.cpp \
655 $(SRC)/Units/UnitsStore.cpp \
656 $(SRC)/Formatter/Units.cpp \
657 $(SRC)/Formatter/UserUnits.cpp \
658 $(SRC)/Formatter/HexColor.cpp \
659 $(SRC)/Formatter/GlideRatioFormatter.cpp \
660 $(SRC)/Formatter/GeoPointFormatter.cpp \
661 $(SRC)/Formatter/ByteSizeFormatter.cpp \
662 $(SRC)/Formatter/UserGeoPointFormatter.cpp \
663 $(SRC)/Formatter/TimeFormatter.cpp \
664 $(SRC)/Formatter/IGCFilenameFormatter.cpp \
665 $(SRC)/Formatter/AirspaceFormatter.cpp \
666 $(SRC)/Formatter/AirspaceUserUnitsFormatter.cpp \
667 $(SRC)/Units/Descriptor.cpp \
668 $(SRC)/Units/System.cpp \
669 $(SRC)/Units/Settings.cpp \
670 $(SRC)/Formatter/AngleFormatter.cpp \
671 $(SRC)/FLARM/FlarmDetails.cpp \
672 $(SRC)/FLARM/NameDatabase.cpp \
673 $(SRC)/FLARM/NameFile.cpp \
674 $(SRC)/FLARM/TrafficDatabases.cpp \
675 $(SRC)/UtilsSettings.cpp \
676 $(SRC)/UtilsSystem.cpp \
677 $(SRC)/OS/LogError.cpp \
678 $(SRC)/Version.cpp \
679 $(SRC)/Audio/Sound.cpp \
680 $(SRC)/Audio/VegaVoice.cpp \
681 $(SRC)/Compatibility/fmode.c \
682 $(SRC)/Profile/Profile.cpp \
683 $(SRC)/Profile/Earth.cpp \
684 $(SRC)/Profile/Screen.cpp \
685 $(SRC)/Profile/TrackingProfile.cpp \
686 $(SRC)/Profile/SystemProfile.cpp \
687 $(SRC)/Profile/ComputerProfile.cpp \
688 $(SRC)/Profile/RouteProfile.cpp \
689 $(SRC)/Profile/ContestProfile.cpp \
690 $(SRC)/Profile/TaskProfile.cpp \
691 $(SRC)/Profile/ContestProfile.cpp \
692 $(SRC)/Profile/MapProfile.cpp \
693 $(SRC)/Profile/PageProfile.cpp \
694 $(SRC)/Profile/UIProfile.cpp \
695 $(SRC)/Profile/ProfileGlue.cpp \
696 $(SRC)/Profile/ProfileKeys.cpp \
697 $(SRC)/Profile/FontConfig.cpp \
698 $(SRC)/Profile/UnitsConfig.cpp \
699 $(SRC)/Profile/DeviceConfig.cpp \
700 $(SRC)/Profile/InfoBoxConfig.cpp \
701 $(SRC)/Profile/AirspaceConfig.cpp \
702 $(SRC)/Profile/TerrainConfig.cpp \
703 $(SRC)/Profile/FlarmProfile.cpp \
704 $(SRC)/XML/Node.cpp \
705 $(SRC)/XML/Parser.cpp \
706 $(SRC)/XML/Writer.cpp \
707 $(SRC)/XML/DataNode.cpp \
708 $(SRC)/XML/DataNodeXML.cpp \
710 $(SRC)/Repository/FileRepository.cpp \
711 $(SRC)/Repository/Parser.cpp \
713 $(SRC)/Job/Thread.cpp \
714 $(SRC)/Job/Async.cpp \
716 $(SRC)/RateLimiter.cpp \
718 $(SRC)/Tracking/TrackingSettings.cpp \
720 $(SRC)/Math/Screen.cpp \
721 $(SRC)/Math/SunEphemeris.cpp \
723 $(SRC)/Screen/Blank.cpp \
724 $(SRC)/Screen/Layout.cpp \
725 $(SRC)/Screen/UnitSymbol.cpp \
726 $(SRC)/Screen/Ramp.cpp \
727 $(SRC)/Screen/TerminalWindow.cpp \
728 $(SRC)/ResourceLoader.cpp \
730 $(SRC)/Look/Fonts.cpp \
731 $(SRC)/Look/CustomFonts.cpp \
732 $(SRC)/Look/Look.cpp \
733 $(SRC)/Look/DialogLook.cpp \
734 $(SRC)/Look/ButtonLook.cpp \
735 $(SRC)/Look/TerminalLook.cpp \
736 $(SRC)/Look/VarioLook.cpp \
737 $(SRC)/Look/ChartLook.cpp \
738 $(SRC)/Look/MapLook.cpp \
739 $(SRC)/Look/WindArrowLook.cpp \
740 $(SRC)/Look/ThermalBandLook.cpp \
741 $(SRC)/Look/TraceHistoryLook.cpp \
742 $(SRC)/Look/AirspaceLook.cpp \
743 $(SRC)/Look/TrailLook.cpp \
744 $(SRC)/Look/CrossSectionLook.cpp \
745 $(SRC)/Look/GestureLook.cpp \
746 $(SRC)/Look/HorizonLook.cpp \
747 $(SRC)/Look/TaskLook.cpp \
748 $(SRC)/Look/TrafficLook.cpp \
749 $(SRC)/Look/InfoBoxLook.cpp \
750 $(SRC)/Look/WaypointLook.cpp \
751 $(SRC)/Look/AircraftLook.cpp \
752 $(SRC)/Look/MarkerLook.cpp \
753 $(SRC)/Look/NOAALook.cpp \
754 $(SRC)/Look/FinalGlideBarLook.cpp \
755 $(SRC)/Look/IconLook.cpp \
756 $(SRC)/Look/UnitsLook.cpp \
757 $(SRC)/Look/ThermalAssistantLook.cpp \
759 $(SRC)/Polar/PolarGlue.cpp \
760 $(SRC)/Polar/PolarFileGlue.cpp \
761 $(SRC)/Polar/Shape.cpp \
762 $(SRC)/Polar/Polar.cpp \
763 $(SRC)/Polar/Parser.cpp \
764 $(SRC)/Polar/PolarStore.cpp \
766 $(SRC)/Protection.cpp \
767 $(SRC)/BatteryTimer.cpp \
768 $(SRC)/ProcessTimer.cpp \
769 $(SRC)/ApplyExternalSettings.cpp \
770 $(SRC)/ApplyVegaSwitches.cpp \
771 $(SRC)/MainWindow.cpp \
772 $(SRC)/Startup.cpp \
773 $(SRC)/Components.cpp \
775 $(SRC)/Device/Driver.cpp \
776 $(SRC)/Device/Declaration.cpp \
777 $(SRC)/Device/Register.cpp \
778 $(SRC)/Device/List.cpp \
779 $(SRC)/Device/device.cpp \
780 $(SRC)/Device/Port/ConfiguredPort.cpp \
781 $(SRC)/Device/Descriptor.cpp \
782 $(SRC)/Device/Dispatcher.cpp \
783 $(SRC)/Device/All.cpp \
784 $(SRC)/Device/Parser.cpp \
785 $(SRC)/Device/Simulator.cpp \
786 $(SRC)/Device/Port/LineSplitter.cpp \
787 $(SRC)/Device/Internal.cpp \
788 $(DIALOG_SOURCES)
790 $(call SRC_TO_OBJ,$(SRC)/Dialogs/Inflate.cpp): CPPFLAGS += $(ZLIB_CPPFLAGS)
792 ifneq ($(NO_HORIZON),y)
793 XCSOAR_SOURCES += \
794 $(SRC)/Renderer/HorizonRenderer.cpp
795 endif
797 ifeq ($(HAVE_CE),y)
798 XCSOAR_SOURCES += \
799 $(SRC)/Device/Windows/Enumerator.cpp
800 endif
802 ifeq ($(TARGET),ANDROID)
803 XCSOAR_SOURCES += \
804 $(SRC)/Java/Global.cpp \
805 $(SRC)/Java/String.cpp \
806 $(SRC)/Java/File.cpp \
807 $(SRC)/Java/InputStream.cpp \
808 $(SRC)/Java/URL.cpp \
809 $(SRC)/Device/Port/AndroidPort.cpp \
810 $(SRC)/Device/Port/AndroidBluetoothPort.cpp \
811 $(SRC)/Android/Environment.cpp \
812 $(SRC)/Android/Product.cpp \
813 $(SRC)/Android/InternalSensors.cpp \
814 $(SRC)/Android/SoundUtil.cpp \
815 $(SRC)/Android/TextUtil.cpp \
816 $(SRC)/Android/Timer.cpp \
817 $(SRC)/Android/EventBridge.cpp \
818 $(SRC)/Android/NativeInputListener.cpp \
819 $(SRC)/Android/PortBridge.cpp \
820 $(SRC)/Android/BluetoothHelper.cpp \
821 $(SRC)/Android/Battery.cpp \
822 $(SRC)/Android/DownloadManager.cpp \
823 $(SRC)/Android/Vibrator.cpp \
824 $(SRC)/Android/Context.cpp \
825 $(SRC)/Android/LogCat.cpp \
826 $(SRC)/Android/Main.cpp
827 ifneq ($(IOIOLIB_DIR),)
828 XCSOAR_SOURCES += \
829 $(SRC)/Device/Port/AndroidIOIOUartPort.cpp \
830 $(SRC)/Android/NativeBMP085Listener.cpp \
831 $(SRC)/Android/BMP085Device.cpp \
832 $(SRC)/Android/NativeI2CbaroListener.cpp \
833 $(SRC)/Android/I2CbaroDevice.cpp \
834 $(SRC)/Android/NativeNunchuckListener.cpp \
835 $(SRC)/Android/NunchuckDevice.cpp \
836 $(SRC)/Android/NativeVoltageListener.cpp \
837 $(SRC)/Android/VoltageDevice.cpp \
838 $(SRC)/Android/IOIOHelper.cpp
839 endif
841 ifeq ($(DEBUG),y)
842 XCSOAR_SOURCES += \
843 $(SRC)/Android/Assert.cpp
844 endif
846 else
847 XCSOAR_SOURCES += \
848 $(SRC)/CommandLine.cpp \
849 $(SRC)/Hardware/Battery.cpp \
850 $(SRC)/XCSoar.cpp
851 endif
853 ifeq ($(TARGET),ALTAIR)
854 XCSOAR_SOURCES += $(SRC)/Hardware/AltairControl.cpp
855 endif
857 ifeq ($(HAVE_HTTP),y)
858 XCSOAR_SOURCES += \
859 $(SRC)/Renderer/NOAAListRenderer.cpp \
860 $(SRC)/Weather/NOAAGlue.cpp \
861 $(SRC)/Weather/METARParser.cpp \
862 $(SRC)/Weather/NOAAFormatter.cpp \
863 $(SRC)/Weather/NOAADownloader.cpp \
864 $(SRC)/Weather/NOAAStore.cpp \
865 $(SRC)/Weather/NOAAUpdater.cpp
867 XCSOAR_SOURCES += \
868 $(SRC)/Tracking/LiveTrack24.cpp
869 endif
871 XCSOAR_SOURCES += \
872 $(SRC)/Tracking/SkyLines/Client.cpp \
873 $(SRC)/Tracking/SkyLines/Glue.cpp \
874 $(SRC)/Tracking/TrackingGlue.cpp
876 ifeq ($(HAVE_PCM_PLAYER),y)
877 XCSOAR_SOURCES += $(SRC)/Audio/VarioGlue.cpp
878 endif
880 XCSOAR_LDADD = \
881 $(RESOURCE_BINARY)
883 XCSOAR_DEPENDS = GETTEXT PROFILE \
884 TERRAIN \
885 WIDGET FORM DATA_FIELD \
886 AUDIO SCREEN EVENT \
887 DRIVER PORT \
888 IO ASYNC TASK CONTEST ROUTE GLIDE WAYPOINT AIRSPACE \
889 SHAPELIB ZZIP \
890 LIBNET TIME OS THREAD \
891 UTIL GEO MATH
893 XCSOAR_STRIP = y
895 ifeq ($(TARGET),ANDROID)
896 $(eval $(call link-shared-library,$(PROGRAM_NAME),XCSOAR))
897 else
898 $(eval $(call link-program,$(PROGRAM_NAME),XCSOAR))
899 endif
901 include $(topdir)/build/gettext.mk
902 include $(topdir)/build/cab.mk
904 OUTPUTS := $(XCSOAR_BIN) $(VALI_XCS_BIN)
905 OUTPUTS += $(XCSOARSETUP_DLL) $(XCSOARLAUNCH_DLL)
907 ifeq ($(TARGET),ANDROID)
908 OUTPUTS += $(ANDROID_BIN)/XCSoar-debug.apk
909 endif
911 all: $(OUTPUTS)
912 everything: $(OUTPUTS) debug build-check build-harness
914 clean: FORCE
915 @$(NQ)echo "cleaning all"
916 $(Q)rm -rf build/local-config.mk
917 $(Q)rm -rf $(OUT)
918 $(RM) $(BUILDTESTS)
920 .PHONY: FORCE
922 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*.d),)
923 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*.d)
924 endif
925 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d),)
926 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*.d)
927 endif
928 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d),)
929 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*.d)
930 endif
931 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d),)
932 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*.d)
933 endif
934 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d),)
935 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*.d)
936 endif
937 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d),)
938 include $(wildcard $(TARGET_OUTPUT_DIR)/src/*/*/*/*/*/*.d)
939 endif
940 ifneq ($(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d),)
941 include $(wildcard $(TARGET_OUTPUT_DIR)/test/src/*.d)
942 endif