VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk@ 72279

Last change on this file since 72279 was 72271, checked in by vboxsync, 7 years ago

FE/Qt: bugref:9049: One more adjustment to Makefile for split hardened build on macOS.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 90.2 KB
Line 
1# $Id: Makefile.kmk 72271 2018-05-21 12:42:13Z vboxsync $
2## @file
3# Makefile for the VirtualBox Qt GUI.
4#
5
6#
7# Copyright (C) 2006-2018 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21
22#
23# Globals.
24#
25VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT)
26VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
27USES += qt5
28
29
30#
31# Targets.
32#
33ifdef VBOX_WITH_HARDENING
34 ifndef VBOX_GUI_WITH_SHARED_LIBRARY
35 PROGRAMS += VirtualBoxHardened
36 PROGRAMS.darwin += VirtualBoxVM
37 DLLS += VirtualBox
38 else
39 PROGRAMS += VirtualBox
40 PROGRAMS += VirtualBoxHardenedVM
41 DLLS += VirtualBoxVM
42 DLLS += VBoxGlobal
43 endif
44else
45 PROGRAMS += VirtualBox
46 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
47 PROGRAMS += VirtualBoxVM
48 DLLS += VBoxGlobal
49 endif
50endif
51INSTALLS += VirtualBox.nls
52
53
54#
55# Include the language lists.
56#
57include $(PATH_SUB_CURRENT)/nls/ApprovedLanguages.kmk
58
59
60ifndef VBOX_GUI_WITH_SHARED_LIBRARY
61
62 #
63 # Hardened VirtualBox.
64 #
65 VirtualBoxHardened_TEMPLATE = VBOXR3HARDENEDEXE
66 VirtualBoxHardened_SOURCES = src/hardenedmain.cpp
67 VirtualBoxHardened_SOURCES.win = src/platform/win/VirtualBoxHardened.rc
68 VirtualBoxHardened_NAME = VirtualBox
69 VirtualBoxHardened_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)
70 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR)
71 src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
72
73 #
74 # Hardened VirtualBoxVM.
75 #
76 ifeq ($(KBUILD_TARGET),darwin)
77 VirtualBoxVM_EXTENDS = VirtualBoxHardened
78 VirtualBoxVM_NAME = VirtualBoxVM
79 VirtualBoxVM_DEFS = $(VirtualBoxHardened_DEFS) VBOX_RUNTIME_UI
80 endif
81
82else
83
84 #
85 # Hardened VirtualBoxVM.
86 #
87 VirtualBoxHardenedVM_TEMPLATE = VBOXR3HARDENEDEXE
88 VirtualBoxHardenedVM_SOURCES = src/hardenedmain.cpp
89 VirtualBoxHardenedVM_SOURCES.win = src/platform/win/VirtualBoxHardened.rc
90 VirtualBoxHardenedVM_NAME = VirtualBoxVM
91 VirtualBoxHardenedVM_DEFS = VBOX_GUI_WITH_SHARED_LIBRARY
92 VirtualBoxHardenedVM_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)
93 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR)
94 src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
95
96endif
97
98
99#
100# Include Qt project file, we'll use FORMS and TRANSLATIONS in
101# the VirtualBox setup below.
102#
103# This is a bit messy. We boldly ASSUME that LANGUAGE, IMAGES, FORMS
104# and TRANSLATIONS are all unused by kBuild and the host toolchain.
105#
106SAVED_TEMPLATE := $(TEMPLATE)
107include $(PATH_SUB_CURRENT)/VBoxUI.pro
108TEMPLATE := $(SAVED_TEMPLATE)
109SAVED_TEMPLATE :=
110LANGUAGE :=
111IMAGES :=
112# FORMS and TRANSLATIONS are reset further down.
113
114
115#
116# Perform initial new version check on startup.
117# If this setting is disabled the user can still check using the menu.
118#
119ifndef VBOX_OSE
120VBOX_WITH_UPDATE_REQUEST := 1
121endif
122
123
124#
125# VirtualBox Manager Application
126#
127ifndef VBOX_GUI_WITH_SHARED_LIBRARY
128 VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
129else
130 VirtualBox_TEMPLATE := VBOXQTGUIEXE
131endif
132VirtualBox_NAME = VirtualBox
133# For the launch trick we need different inode numbers.
134if !defined(VBOX_WITH_HARDENING) && !defined(VBOX_GUI_WITH_SHARED_LIBRARY)
135 VirtualBox_INST.darwin = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM
136endif
137VirtualBox_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
138
139VirtualBox_DEFS =
140VirtualBox_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
141VirtualBox_DEFS.linux = VBOX_WS_X11
142VirtualBox_DEFS.solaris = VBOX_WS_X11
143VirtualBox_DEFS.freebsd = VBOX_WS_X11
144VirtualBox_DEFS.darwin = VBOX_WS_MAC
145VirtualBox_DEFS.win = VBOX_WS_WIN
146VirtualBox_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
147VirtualBox_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
148VirtualBox_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
149VirtualBox_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
150VirtualBox_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
151VirtualBox_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
152VirtualBox_DEFS.win += UNICODE QT_DLL
153VirtualBox_DEFS += \
154 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
155 $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
156 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
157 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
158 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
159 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
160 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
161 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
162 $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
163 $(if $(VBOX_WITH_UDPTUNNEL),VBOX_WITH_UDPTUNNEL) \
164 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
165 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
166 $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
167 $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
168 $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
169 $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
170 $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
171 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
172 $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM) \
173 $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
174 $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
175 $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
176 $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
177 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
178 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
179ifdef VBOX_WITH_DEBUGGER_GUI
180 VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI
181 if "$(KBUILD_TYPE)" != "release"
182 VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
183 endif
184endif
185ifdef VBOX_WITH_VIDEOHWACCEL
186 VirtualBox_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
187else ifdef VBOX_GUI_USE_QGL
188 VirtualBox_DEFS += VBOX_GUI_USE_QGL
189endif
190ifdef VBOX_WITH_LIBCURL
191 VirtualBox_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
192 VBOX_GUI_WITH_NETWORK_MANAGER := 1
193endif
194ifneq ($(KBUILD_TYPE),release)
195 VirtualBox_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
196endif
197ifdef VBOX_WITH_ICHAT_THEATER
198 VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
199endif
200
201
202ifdef VBOX_GUI_WITH_SHARED_LIBRARY
203 #
204 # VirtualBox Virtual Machine Application
205 #
206 VirtualBoxVM_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
207 VirtualBoxVM_NAME = VirtualBoxVM
208 VirtualBoxVM_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
209 VirtualBoxVM_DEFS += VBOX_RUNTIME_UI
210 VirtualBoxVM_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
211 VirtualBoxVM_DEFS.linux = VBOX_WS_X11
212 VirtualBoxVM_DEFS.solaris = VBOX_WS_X11
213 VirtualBoxVM_DEFS.freebsd = VBOX_WS_X11
214 VirtualBoxVM_DEFS.darwin = VBOX_WS_MAC
215 VirtualBoxVM_DEFS.win = VBOX_WS_WIN
216 VirtualBoxVM_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
217 VirtualBoxVM_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
218 VirtualBoxVM_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
219 VirtualBoxVM_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
220 VirtualBoxVM_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
221 VirtualBoxVM_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
222 VirtualBoxVM_DEFS.win += UNICODE QT_DLL
223 VirtualBoxVM_DEFS += \
224 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
225 $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
226 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
227 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
228 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
229 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
230 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
231 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
232 $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
233 $(if $(VBOX_WITH_UDPTUNNEL),VBOX_WITH_UDPTUNNEL) \
234 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
235 $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
236 $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
237 $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
238 $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
239 $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
240 $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
241 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
242 $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM) \
243 $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
244 $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
245 $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
246 $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
247 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
248 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
249 ifdef VBOX_WITH_DEBUGGER_GUI
250 VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI
251 if "$(KBUILD_TYPE)" != "release"
252 VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
253 endif
254 endif
255 ifdef VBOX_WITH_VIDEOHWACCEL
256 VirtualBoxVM_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
257 else ifdef VBOX_GUI_USE_QGL
258 VirtualBoxVM_DEFS += VBOX_GUI_USE_QGL
259 endif
260 ifdef VBOX_WITH_LIBCURL
261 VirtualBoxVM_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
262 VBOX_GUI_WITH_NETWORK_MANAGER := 1
263 endif
264 ifneq ($(KBUILD_TYPE),release)
265 VirtualBoxVM_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
266 endif
267 ifdef VBOX_WITH_ICHAT_THEATER
268 VirtualBoxVM_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
269 endif
270
271
272 #
273 # VirtualBox - GUI Global Shared Library.
274 #
275 VBoxGlobal_TEMPLATE = VBOXQTGUI
276 VBoxGlobal_NAME = VBoxGlobal
277 VBoxGlobal_DEFS =
278 VBoxGlobal_DEFS += VBOX_GUI_LIBRARY
279 VBoxGlobal_DEFS.darwin = VBOX_WS_MAC
280 VBoxGlobal_DEFS.freebsd = VBOX_WS_X11
281 VBoxGlobal_DEFS.linux = VBOX_WS_X11
282 VBoxGlobal_DEFS.solaris = VBOX_WS_X11
283 VBoxGlobal_DEFS.win = VBOX_WS_WIN
284 VBoxGlobal_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
285 VBoxGlobal_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
286 #VBoxGlobal_DEFS.win += UNICODE QT_DLL
287 VBoxGlobal_DEFS += \
288 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
289 $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
290 $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
291 $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
292 $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
293 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
294 $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
295 $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
296 $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
297 $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
298 $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
299 $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
300 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
301 $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
302 $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
303 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
304 $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
305 ifdef VBOX_WITH_DEBUGGER_GUI
306 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI
307 if "$(KBUILD_TYPE)" != "release"
308 VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
309 endif
310 endif
311 ifdef VBOX_WITH_VIDEOHWACCEL
312 VBoxGlobal_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
313 else ifdef VBOX_GUI_USE_QGL
314 VBoxGlobal_DEFS += VBOX_GUI_USE_QGL
315 endif
316 ifdef VBOX_WITH_LIBCURL
317 VBoxGlobal_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
318 VBOX_GUI_WITH_NETWORK_MANAGER := 1
319 endif
320 ifneq ($(KBUILD_TYPE),release)
321 VBoxGlobal_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
322 endif
323 ifdef VBOX_WITH_ICHAT_THEATER
324 VBoxGlobal_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
325 endif
326endif
327
328
329#
330# Include folders.
331#
332VBOX_GUI_INC_DIRS = \
333 ./src \
334 ./src/converter \
335 ./src/extensions \
336 ./src/extensions/graphics \
337 ./src/extradata \
338 ./src/globals \
339 ./src/hostnetwork \
340 ./src/logviewer \
341 ./src/medium \
342 ./src/objects \
343 ./src/platform \
344 ./src/platform/darwin \
345 ./src/platform/win \
346 ./src/platform/x11 \
347 ./src/runtime \
348 ./src/runtime/fullscreen \
349 ./src/runtime/normal \
350 ./src/runtime/scale \
351 ./src/runtime/seamless \
352 ./src/runtime/information \
353 ./src/runtime/guestctrl \
354 ./src/selector \
355 ./src/selector/graphics/chooser \
356 ./src/selector/graphics/details \
357 ./src/settings \
358 ./src/settings/global \
359 ./src/settings/machine \
360 ./src/widgets \
361 ./src/widgets/graphics \
362 ./src/wizards \
363 ./src/wizards/newvm \
364 ./src/wizards/newvd \
365 ./src/wizards/clonevm \
366 ./src/wizards/clonevd \
367 ./src/wizards/exportappliance \
368 ./src/wizards/importappliance \
369 ./src/wizards/firstrun
370
371ifdef VBOX_GUI_WITH_NETWORK_MANAGER
372VBOX_GUI_INC_DIRS += \
373 ./src/net
374endif
375
376#
377# VirtualBox Manager Application
378# Include folders.
379#
380VirtualBox_INCS = \
381 $(VBOX_GUI_INC_DIRS) \
382 $(VirtualBox_0_OUTDIR)/include \
383 $(VBoxGlobal_0_OUTDIR)/include \
384 $(VBOX_GRAPHICS_INCS)
385
386ifdef VBOX_GUI_WITH_SHARED_LIBRARY
387 #
388 # VirtualBox Virtual Machine Application
389 # Include folders.
390 #
391 VirtualBoxVM_INCS = \
392 $(VBOX_GUI_INC_DIRS) \
393 $(VirtualBoxVM_0_OUTDIR)/include \
394 $(VBoxGlobal_0_OUTDIR)/include \
395 $(VBOX_GRAPHICS_INCS)
396
397 #
398 # VirtualBox - GUI Global Shared Library.
399 # Include folders.
400 #
401 VBoxGlobal_INCS = \
402 $(VBOX_GUI_INC_DIRS) \
403 $(VBoxGlobal_0_OUTDIR)/include
404endif
405
406
407#
408# VirtualBox Manager Application
409# Compiling/linking flags.
410#
411ifneq ($(KBUILD_TARGET),win)
412VirtualBox_CXXFLAGS += -Wno-switch
413endif
414
415## @todo we're using a number of deprecated APIs, please fix and remove these!
416ifdef VBOX_WITH_NEW_XCODE
417 VirtualBox_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
418 VirtualBox_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
419 VirtualBox_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
420else
421 VirtualBox_CXXFLAGS.darwin += -Wno-deprecated-declarations
422 VirtualBox_OBJCFLAGS.darwin += -Wno-deprecated-declarations
423 VirtualBox_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
424endif
425
426ifeq ($(KBUILD_TYPE),release)
427 VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
428else
429 VirtualBox_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
430 VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
431endif
432
433VirtualBox_LDFLAGS.darwin = \
434 -framework AppKit -framework Carbon -framework IOKit
435ifndef VBOX_GUI_WITH_SHARED_LIBRARY
436 VirtualBox_LDFLAGS.darwin += \
437 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBox.dylib)
438endif
439ifdef VBOX_WITH_ICHAT_THEATER
440 VirtualBox_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
441endif
442
443if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
444 VirtualBox_LDFLAGS.darwin += -framework OpenGL
445endif
446
447
448ifdef VBOX_GUI_WITH_SHARED_LIBRARY
449 #
450 # VirtualBox Virtual Machine Application
451 # Compiling/linking flags.
452 #
453 ifneq ($(KBUILD_TARGET),win)
454 VirtualBoxVM_CXXFLAGS += -Wno-switch
455 endif
456
457 ## @todo we're using a number of deprecated APIs, please fix and remove these!
458 ifdef VBOX_WITH_NEW_XCODE
459 VirtualBoxVM_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
460 VirtualBoxVM_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
461 VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
462 else
463 VirtualBoxVM_CXXFLAGS.darwin += -Wno-deprecated-declarations
464 VirtualBoxVM_OBJCFLAGS.darwin += -Wno-deprecated-declarations
465 VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
466 endif
467
468 ifeq ($(KBUILD_TYPE),release)
469 VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:windows
470 else
471 VirtualBoxVM_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
472 VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:console
473 endif
474
475 VirtualBoxVM_LDFLAGS.darwin = \
476 -framework AppKit -framework Carbon -framework IOKit \
477 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBoxVM.dylib)
478 ifdef VBOX_WITH_ICHAT_THEATER
479 VirtualBoxVM_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
480 endif
481
482 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
483 VirtualBoxVM_LDFLAGS.darwin += -framework OpenGL
484 endif
485
486
487 #
488 # VirtualBox - GUI Global Shared Library.
489 # Compiling/linking flags.
490 #
491
492 ## @todo we're using a number of deprecated APIs, please fix and remove these!
493 ifdef VBOX_WITH_NEW_XCODE
494 VBoxGlobal_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
495 VBoxGlobal_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
496 VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
497 else
498 VBoxGlobal_CXXFLAGS.darwin += -Wno-deprecated-declarations
499 VBoxGlobal_OBJCFLAGS.darwin += -Wno-deprecated-declarations
500 VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
501 endif
502
503 VBoxGlobal_LDFLAGS.darwin = \
504 -framework AppKit -framework Carbon -framework IOKit \
505 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxGlobal.dylib)
506
507 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
508 VBoxGlobal_LDFLAGS.darwin += -framework OpenGL
509 endif
510endif
511
512
513#
514# VirtualBox Manager Application
515# Libraries.
516#
517
518# Library required for the hdd backend enumeration:
519VirtualBox_LIBS = $(LIB_DDU)
520
521# Runtime library loader required on X11 hosts:
522if1of ($(KBUILD_TARGET), linux netbsd openbsd)
523 VirtualBox_LIBS += dl
524endif
525
526# Xinerama library required for multi-monitor support:
527VirtualBox_LIBS.linux += Xinerama
528VirtualBox_LIBS.solaris += Xinerama
529VirtualBox_LIBS.freebsd += Xinerama
530
531# XCB library required for direct XCB native code support:
532VirtualBox_LIBS.linux += xcb
533VirtualBox_LIBS.solaris += xcb
534VirtualBox_LIBS.freebsd += xcb
535
536# Various Windows hosts libraries:
537VirtualBox_LIBS.win = \
538 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
539 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
540 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
541
542# VBox keyboard shared library for X11 hosts:
543if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
544 VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
545endif
546
547# These are 2D Video Acceleration and 3D Acceleration related libs:
548if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
549 VirtualBox_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
550 VirtualBox_LIBS.solaris += GL
551 VirtualBox_LIBS.linux += GL
552 VirtualBox_LIBS.freebsd += GL
553endif
554ifdef VBOX_WITH_CROGL
555 VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
556endif
557
558# This one is global shared GUI library:
559ifdef VBOX_GUI_WITH_SHARED_LIBRARY
560 ifeq ($(KBUILD_TARGET),win)
561 VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
562 else
563 VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
564 endif
565endif
566
567
568ifdef VBOX_GUI_WITH_SHARED_LIBRARY
569 #
570 # VirtualBox Virtual Machine Application
571 # Libraries.
572 #
573
574 # Library required for the hdd backend enumeration:
575 VirtualBoxVM_LIBS = $(LIB_DDU)
576
577 # Runtime library loader required on X11 hosts:
578 if1of ($(KBUILD_TARGET), linux netbsd openbsd)
579 VirtualBoxVM_LIBS += dl
580 endif
581
582 # Xinerama library required for multi-monitor support:
583 VirtualBoxVM_LIBS.linux += Xinerama
584 VirtualBoxVM_LIBS.solaris += Xinerama
585 VirtualBoxVM_LIBS.freebsd += Xinerama
586
587 # XCB library required for direct XCB native code support:
588 VirtualBoxVM_LIBS.linux += xcb
589 VirtualBoxVM_LIBS.solaris += xcb
590 VirtualBoxVM_LIBS.freebsd += xcb
591
592 # Various Windows hosts libraries:
593 VirtualBoxVM_LIBS.win = \
594 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
595 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
596 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
597
598 # VBox keyboard shared library for X11 hosts:
599 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
600 VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
601 endif
602
603 # These are 2D Video Acceleration and 3D Acceleration related libs:
604 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
605 VirtualBoxVM_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
606 VirtualBoxVM_LIBS.solaris += GL
607 VirtualBoxVM_LIBS.linux += GL
608 VirtualBoxVM_LIBS.freebsd += GL
609 endif
610 ifdef VBOX_WITH_CROGL
611 VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
612 endif
613
614 # This one is global shared GUI library:
615 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
616 ifeq ($(KBUILD_TARGET),win)
617 VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
618 else
619 VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
620 endif
621 endif
622
623
624 #
625 # VirtualBox - GUI Global Shared Library.
626 # Libraries.
627 #
628
629 # Xinerama library required for multi-monitor support:
630 VBoxGlobal_LIBS.linux += Xinerama
631 VBoxGlobal_LIBS.solaris += Xinerama
632 VBoxGlobal_LIBS.freebsd += Xinerama
633
634 # Various Windows hosts libraries:
635 VBoxGlobal_LIBS.win = \
636 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
637
638 # VBox keyboard shared library for X11 hosts:
639 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
640 VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
641 endif
642
643 # These are 2D Video Acceleration and 3D Acceleration related libs:
644 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
645 VBoxGlobal_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
646 VBoxGlobal_LIBS.solaris += GL
647 VBoxGlobal_LIBS.linux += GL
648 VBoxGlobal_LIBS.freebsd += GL
649 endif
650 ifdef VBOX_WITH_CROGL
651 VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
652 endif
653 if defined(VBOX_WITH_VIDEOHWACCEL)
654 if1of ($(KBUILD_TARGET), win linux freebsd)
655 VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB)
656 endif
657 endif
658endif
659
660
661#
662# VirtualBox Manager Application
663# Headers containing definitions of classes that use the Q_OBJECT macro.
664#
665VirtualBox_QT_MOCHDRS = \
666 src/globals/UIStarter.h \
667 src/hostnetwork/UIHostNetworkDetailsWidget.h \
668 src/hostnetwork/UIHostNetworkManager.h \
669 src/medium/UIMediumDetailsWidget.h \
670 src/medium/UIMediumManager.h \
671 src/selector/UIDesktopPane.h \
672 src/selector/UIVMItem.h \
673 src/selector/UISelectorWindow.h \
674 src/selector/UISnapshotDetailsWidget.h \
675 src/selector/UISnapshotPane.h \
676 src/selector/UIToolsPaneGlobal.h \
677 src/selector/UIToolsPaneMachine.h \
678 src/selector/UIToolsToolbar.h \
679 src/selector/graphics/chooser/UIGChooser.h \
680 src/selector/graphics/chooser/UIGChooserModel.h \
681 src/selector/graphics/chooser/UIGChooserView.h \
682 src/selector/graphics/chooser/UIGChooserHandlerMouse.h \
683 src/selector/graphics/chooser/UIGChooserHandlerKeyboard.h \
684 src/selector/graphics/chooser/UIGChooserItem.h \
685 src/selector/graphics/chooser/UIGChooserItemGroup.h \
686 src/selector/graphics/chooser/UIGChooserItemMachine.h \
687 src/selector/graphics/details/UIGDetails.h \
688 src/selector/graphics/details/UIGDetailsModel.h \
689 src/selector/graphics/details/UIGDetailsView.h \
690 src/selector/graphics/details/UIGDetailsItem.h \
691 src/selector/graphics/details/UIGDetailsGroup.h \
692 src/selector/graphics/details/UIGDetailsSet.h \
693 src/selector/graphics/details/UIGDetailsElement.h \
694 src/selector/graphics/details/UIGDetailsElements.h \
695 src/selector/graphics/details/UIGMachinePreview.h \
696 src/widgets/UIApplianceEditorWidget.h \
697 src/widgets/UIApplianceExportEditorWidget.h \
698 src/widgets/UIApplianceImportEditorWidget.h \
699 src/widgets/UIEmptyFilePathSelector.h \
700 src/widgets/UILineTextEdit.h \
701 src/widgets/UISlidingWidget.h \
702 src/widgets/UITabBar.h \
703 src/widgets/UIMenuToolBar.h \
704 src/widgets/VBoxOSTypeSelectorButton.h \
705 src/widgets/graphics/UIGraphicsButton.h \
706 src/widgets/graphics/UIGraphicsRotatorButton.h \
707 src/widgets/graphics/UIGraphicsZoomButton.h \
708 src/widgets/graphics/UIGraphicsToolBar.h \
709 src/widgets/graphics/UIGraphicsTextPane.h \
710 src/wizards/newvm/UIWizardNewVM.h \
711 src/wizards/newvm/UIWizardNewVMPageBasic1.h \
712 src/wizards/newvm/UIWizardNewVMPageBasic2.h \
713 src/wizards/newvm/UIWizardNewVMPageBasic3.h \
714 src/wizards/newvm/UIWizardNewVMPageExpert.h \
715 src/wizards/clonevm/UIWizardCloneVM.h \
716 src/wizards/clonevm/UIWizardCloneVMPageBasic1.h \
717 src/wizards/clonevm/UIWizardCloneVMPageBasic2.h \
718 src/wizards/clonevm/UIWizardCloneVMPageBasic3.h \
719 src/wizards/clonevm/UIWizardCloneVMPageExpert.h \
720 src/wizards/clonevd/UIWizardCloneVD.h \
721 src/wizards/clonevd/UIWizardCloneVDPageBasic1.h \
722 src/wizards/clonevd/UIWizardCloneVDPageBasic2.h \
723 src/wizards/clonevd/UIWizardCloneVDPageBasic3.h \
724 src/wizards/clonevd/UIWizardCloneVDPageBasic4.h \
725 src/wizards/clonevd/UIWizardCloneVDPageExpert.h \
726 src/wizards/exportappliance/UIWizardExportApp.h \
727 src/wizards/exportappliance/UIWizardExportAppPageBasic1.h \
728 src/wizards/exportappliance/UIWizardExportAppPageBasic2.h \
729 src/wizards/exportappliance/UIWizardExportAppPageBasic3.h \
730 src/wizards/exportappliance/UIWizardExportAppPageBasic4.h \
731 src/wizards/exportappliance/UIWizardExportAppPageExpert.h \
732 src/wizards/importappliance/UIWizardImportApp.h \
733 src/wizards/importappliance/UIWizardImportAppPageBasic1.h \
734 src/wizards/importappliance/UIWizardImportAppPageBasic2.h \
735 src/wizards/importappliance/UIWizardImportAppPageExpert.h
736
737ifndef VBOX_GUI_WITH_SHARED_LIBRARY
738 VirtualBox_QT_MOCHDRS += \
739 src/VBoxAboutDlg.h \
740 src/VBoxLicenseViewer.h \
741 src/UITakeSnapshotDialog.h \
742 src/extensions/QIAdvancedSlider.h \
743 src/extensions/QIArrowButtonPress.h \
744 src/extensions/QIArrowButtonSwitch.h \
745 src/extensions/QIArrowSplitter.h \
746 src/extensions/QIComboBox.h \
747 src/extensions/QIDialog.h \
748 src/extensions/QIDialogButtonBox.h \
749 src/extensions/QIFileDialog.h \
750 src/extensions/QIFlowLayout.h \
751 src/extensions/QILabel.h \
752 src/extensions/QILabelSeparator.h \
753 src/extensions/QILineEdit.h \
754 src/extensions/QIMainDialog.h \
755 src/extensions/QIMainWindow.h \
756 src/extensions/QIManagerDialog.h \
757 src/extensions/QIMenu.h \
758 src/extensions/QIMessageBox.h \
759 src/extensions/QIProcess.h \
760 src/extensions/QIRichTextLabel.h \
761 src/extensions/QIRichToolButton.h \
762 src/extensions/QISplitter.h \
763 src/extensions/QIStatusBar.h \
764 src/extensions/QIStatusBarIndicator.h \
765 src/extensions/QIStyledItemDelegate.h \
766 src/extensions/QITableView.h \
767 src/extensions/QITabWidget.h \
768 src/extensions/QIToolButton.h \
769 src/extensions/QITreeView.h \
770 src/extensions/QITreeWidget.h \
771 src/extensions/QIWidgetValidator.h \
772 src/extensions/graphics/QIGraphicsView.h \
773 src/extensions/graphics/QIGraphicsWidget.h \
774 src/extradata/UIExtraDataDefs.h \
775 src/extradata/UIExtraDataManager.h \
776 src/globals/UIActionPool.h \
777 src/globals/UIAnimationFramework.h \
778 src/globals/UIDesktopWidgetWatchdog.h \
779 src/globals/UIMainEventListener.h \
780 src/globals/UIMessageCenter.h \
781 src/globals/UIModalWindowManager.h \
782 src/globals/UIPopupCenter.h \
783 src/globals/UIShortcutPool.h \
784 src/globals/UIThreadPool.h \
785 src/globals/VBoxGlobal.h \
786 src/globals/VBoxUtils.h \
787 src/logviewer/UIVMLogPage.h \
788 src/logviewer/UIVMLogViewerBookmarksPanel.h \
789 src/logviewer/UIVMLogViewerDialog.h \
790 src/logviewer/UIVMLogViewerFilterPanel.h \
791 src/logviewer/UIVMLogViewerPanel.h \
792 src/logviewer/UIVMLogViewerSearchPanel.h \
793 src/logviewer/UIVMLogViewerSettingsPanel.h \
794 src/logviewer/UIVMLogViewerTextEdit.h \
795 src/logviewer/UIVMLogViewerWidget.h \
796 src/medium/UIMediumEnumerator.h \
797 src/runtime/UIActionPoolRuntime.h \
798 src/runtime/UIConsoleEventHandler.h \
799 src/runtime/UIFrameBuffer.h \
800 src/runtime/UIIndicatorsPool.h \
801 src/runtime/UIKeyboardHandler.h \
802 src/runtime/UIMachine.h \
803 src/runtime/UIMachineLogic.h \
804 src/runtime/UIMachineWindow.h \
805 src/runtime/UIMachineView.h \
806 src/runtime/UIMouseHandler.h \
807 src/runtime/UIMultiScreenLayout.h \
808 src/runtime/UISession.h \
809 src/runtime/UIVMCloseDialog.h \
810 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
811 src/runtime/fullscreen/UIMachineLogicFullscreen.h \
812 src/runtime/fullscreen/UIMachineViewFullscreen.h \
813 src/runtime/fullscreen/UIMachineWindowFullscreen.h \
814 src/runtime/information/UIInformationConfiguration.h \
815 src/runtime/information/UIInformationDataItem.h \
816 src/runtime/information/UIInformationItem.h \
817 src/runtime/information/UIInformationModel.h \
818 src/runtime/information/UIInformationRuntime.h \
819 src/runtime/information/UIInformationView.h \
820 src/runtime/information/UIVMInformationDialog.h \
821 src/runtime/guestctrl/UIGuestControlConsole.h \
822 src/runtime/guestctrl/UIGuestControlFileManager.h \
823 src/runtime/guestctrl/UIGuestControlFileModel.h \
824 src/runtime/guestctrl/UIGuestControlFileTable.h \
825 src/runtime/guestctrl/UIGuestControlInterface.h \
826 src/runtime/guestctrl/UIGuestControlTreeItem.h \
827 src/runtime/guestctrl/UIGuestControlWidget.h \
828 src/runtime/guestctrl/UIGuestFileTable.h \
829 src/runtime/guestctrl/UIHostFileTable.h \
830 src/runtime/normal/UIKeyboardHandlerNormal.h \
831 src/runtime/normal/UIMachineLogicNormal.h \
832 src/runtime/normal/UIMachineViewNormal.h \
833 src/runtime/normal/UIMachineWindowNormal.h \
834 src/runtime/scale/UIKeyboardHandlerScale.h \
835 src/runtime/scale/UIMachineLogicScale.h \
836 src/runtime/scale/UIMachineViewScale.h \
837 src/runtime/scale/UIMachineWindowScale.h \
838 src/runtime/seamless/UIKeyboardHandlerSeamless.h \
839 src/runtime/seamless/UIMachineLogicSeamless.h \
840 src/runtime/seamless/UIMachineViewSeamless.h \
841 src/runtime/seamless/UIMachineWindowSeamless.h \
842 src/selector/UIActionPoolSelector.h \
843 src/selector/UIVirtualBoxEventHandler.h \
844 src/settings/UISettingsDialog.h \
845 src/settings/UISettingsDialogSpecific.h \
846 src/settings/UISettingsPage.h \
847 src/settings/UISettingsSelector.h \
848 src/settings/UISettingsSerializer.h \
849 src/settings/global/UIGlobalSettingsExtension.h \
850 src/settings/global/UIGlobalSettingsGeneral.h \
851 src/settings/global/UIGlobalSettingsInput.h \
852 src/settings/global/UIGlobalSettingsLanguage.h \
853 src/settings/global/UIGlobalSettingsDisplay.h \
854 src/settings/global/UIGlobalSettingsNetwork.h \
855 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
856 src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
857 src/settings/machine/UIMachineSettingsAudio.h \
858 src/settings/machine/UIMachineSettingsDisplay.h \
859 src/settings/machine/UIMachineSettingsGeneral.h \
860 src/settings/machine/UIMachineSettingsInterface.h \
861 src/settings/machine/UIMachineSettingsNetwork.h \
862 src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
863 src/settings/machine/UIMachineSettingsSF.h \
864 src/settings/machine/UIMachineSettingsSFDetails.h \
865 src/settings/machine/UIMachineSettingsSerial.h \
866 src/settings/machine/UIMachineSettingsStorage.h \
867 src/settings/machine/UIMachineSettingsSystem.h \
868 src/settings/machine/UIMachineSettingsUSB.h \
869 src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
870 src/widgets/UIAddDiskEncryptionPasswordDialog.h \
871 src/widgets/UIBootTable.h \
872 src/widgets/UIFilePathSelector.h \
873 src/widgets/UIFilmContainer.h \
874 src/widgets/UIGuestRAMSlider.h \
875 src/widgets/UIHostComboEditor.h \
876 src/widgets/UIHotKeyEditor.h \
877 src/widgets/UIMediaComboBox.h \
878 src/widgets/UIMediumSizeEditor.h \
879 src/widgets/UIMenuBar.h \
880 src/widgets/UIMenuBarEditorWindow.h \
881 src/widgets/UIMiniToolBar.h \
882 src/widgets/UINameAndSystemEditor.h \
883 src/widgets/UIPopupBox.h \
884 src/widgets/UIPopupPane.h \
885 src/widgets/UIPopupPaneButtonPane.h \
886 src/widgets/UIPopupPaneMessage.h \
887 src/widgets/UIPopupPaneDetails.h \
888 src/widgets/UIPopupStack.h \
889 src/widgets/UIPopupStackViewport.h \
890 src/widgets/UIPortForwardingTable.h \
891 src/widgets/UIProgressDialog.h \
892 src/widgets/UISlidingToolBar.h \
893 src/widgets/UISpecialControls.h \
894 src/widgets/UIStatusBarEditorWindow.h \
895 src/widgets/UIToolBar.h \
896 src/widgets/UIVMNamePathSelector.h \
897 src/widgets/UIWarningPane.h \
898 src/wizards/UIWizard.h \
899 src/wizards/UIWizardPage.h \
900 src/wizards/firstrun/UIWizardFirstRun.h \
901 src/wizards/firstrun/UIWizardFirstRunPageBasic.h \
902 src/wizards/newvd/UIWizardNewVD.h \
903 src/wizards/newvd/UIWizardNewVDPageBasic1.h \
904 src/wizards/newvd/UIWizardNewVDPageBasic2.h \
905 src/wizards/newvd/UIWizardNewVDPageBasic3.h \
906 src/wizards/newvd/UIWizardNewVDPageExpert.h
907
908 ifdef VBOX_WITH_DRAG_AND_DROP
909 VirtualBox_QT_MOCHDRS += \
910 src/runtime/UIDnDHandler.h
911 ifdef VBOX_WITH_DRAG_AND_DROP_GH
912 VirtualBox_QT_MOCHDRS += \
913 src/runtime/UIDnDMIMEData.h
914 endif
915 endif
916
917 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
918 VirtualBox_QT_MOCHDRS += \
919 src/net/UIDownloader.h \
920 src/net/UIDownloaderAdditions.h \
921 src/net/UIDownloaderExtensionPack.h \
922 src/net/UIDownloaderUserManual.h \
923 src/net/UINetworkCustomer.h \
924 src/net/UINetworkManager.h \
925 src/net/UINetworkManagerDialog.h \
926 src/net/UINetworkManagerIndicator.h \
927 src/net/UINetworkRequest.h \
928 src/net/UINetworkRequestWidget.h \
929 src/net/UINetworkReply.h \
930 src/net/UIUpdateManager.h \
931 src/settings/global/UIGlobalSettingsProxy.h \
932 src/settings/global/UIGlobalSettingsUpdate.h
933 endif
934
935 VirtualBox_QT_MOCHDRS.darwin += \
936 src/platform/darwin/UICocoaSpecialControls.h \
937 src/platform/darwin/UIWindowMenuManager.h
938endif
939
940
941ifdef VBOX_GUI_WITH_SHARED_LIBRARY
942 #
943 # VirtualBox Virtual Machine Application
944 # Headers containing definitions of classes that use the Q_OBJECT macro.
945 #
946 VirtualBoxVM_QT_MOCHDRS = \
947 src/globals/UIStarter.h \
948 src/runtime/UIConsoleEventHandler.h \
949 src/runtime/UIFrameBuffer.h \
950 src/runtime/UIIndicatorsPool.h \
951 src/runtime/UIKeyboardHandler.h \
952 src/runtime/UIMachine.h \
953 src/runtime/UIMachineLogic.h \
954 src/runtime/UIMachineWindow.h \
955 src/runtime/UIMachineView.h \
956 src/runtime/UIMouseHandler.h \
957 src/runtime/UIMultiScreenLayout.h \
958 src/runtime/UISession.h \
959 src/runtime/UIVMCloseDialog.h \
960 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
961 src/runtime/fullscreen/UIMachineLogicFullscreen.h \
962 src/runtime/fullscreen/UIMachineViewFullscreen.h \
963 src/runtime/fullscreen/UIMachineWindowFullscreen.h \
964 src/runtime/information/UIInformationConfiguration.h \
965 src/runtime/information/UIInformationDataItem.h \
966 src/runtime/information/UIInformationItem.h \
967 src/runtime/information/UIInformationModel.h \
968 src/runtime/information/UIInformationRuntime.h \
969 src/runtime/information/UIInformationView.h \
970 src/runtime/information/UIVMInformationDialog.h \
971 src/runtime/guestctrl/UIGuestControlConsole.h \
972 src/runtime/guestctrl/UIGuestControlFileManager.h \
973 src/runtime/guestctrl/UIGuestControlFileModel.h \
974 src/runtime/guestctrl/UIGuestControlFileTable.h \
975 src/runtime/guestctrl/UIGuestControlInterface.h \
976 src/runtime/guestctrl/UIGuestControlTreeItem.h \
977 src/runtime/guestctrl/UIGuestControlWidget.h \
978 src/runtime/guestctrl/UIGuestFileTable.h \
979 src/runtime/guestctrl/UIHostFileTable.h \
980 src/runtime/normal/UIKeyboardHandlerNormal.h \
981 src/runtime/normal/UIMachineLogicNormal.h \
982 src/runtime/normal/UIMachineViewNormal.h \
983 src/runtime/normal/UIMachineWindowNormal.h \
984 src/runtime/scale/UIKeyboardHandlerScale.h \
985 src/runtime/scale/UIMachineLogicScale.h \
986 src/runtime/scale/UIMachineViewScale.h \
987 src/runtime/scale/UIMachineWindowScale.h \
988 src/runtime/seamless/UIKeyboardHandlerSeamless.h \
989 src/runtime/seamless/UIMachineLogicSeamless.h \
990 src/runtime/seamless/UIMachineViewSeamless.h \
991 src/runtime/seamless/UIMachineWindowSeamless.h \
992 src/widgets/UIMiniToolBar.h \
993 src/wizards/firstrun/UIWizardFirstRun.h \
994 src/wizards/firstrun/UIWizardFirstRunPageBasic.h
995
996 ifdef VBOX_WITH_DRAG_AND_DROP
997 VirtualBoxVM_QT_MOCHDRS += \
998 src/runtime/UIDnDHandler.h
999 ifdef VBOX_WITH_DRAG_AND_DROP_GH
1000 VirtualBoxVM_QT_MOCHDRS += \
1001 src/runtime/UIDnDMIMEData.h
1002 endif
1003 endif
1004
1005
1006 #
1007 # VirtualBox - GUI Global Shared Library.
1008 # Headers containing definitions of classes that use the Q_OBJECT macro.
1009 #
1010 VBoxGlobal_QT_MOCHDRS = \
1011 src/VBoxAboutDlg.h \
1012 src/VBoxLicenseViewer.h \
1013 src/UITakeSnapshotDialog.h \
1014 src/extensions/QIAdvancedSlider.h \
1015 src/extensions/QIArrowButtonPress.h \
1016 src/extensions/QIArrowButtonSwitch.h \
1017 src/extensions/QIArrowSplitter.h \
1018 src/extensions/QIComboBox.h \
1019 src/extensions/QIDialog.h \
1020 src/extensions/QIDialogButtonBox.h \
1021 src/extensions/QIFileDialog.h \
1022 src/extensions/QIFlowLayout.h \
1023 src/extensions/QILabel.h \
1024 src/extensions/QILabelSeparator.h \
1025 src/extensions/QILineEdit.h \
1026 src/extensions/QIMainDialog.h \
1027 src/extensions/QIMainWindow.h \
1028 src/extensions/QIManagerDialog.h \
1029 src/extensions/QIMenu.h \
1030 src/extensions/QIMessageBox.h \
1031 src/extensions/QIProcess.h \
1032 src/extensions/QIRichTextLabel.h \
1033 src/extensions/QIRichToolButton.h \
1034 src/extensions/QISplitter.h \
1035 src/extensions/QIStatusBar.h \
1036 src/extensions/QIStatusBarIndicator.h \
1037 src/extensions/QIStyledItemDelegate.h \
1038 src/extensions/QITableView.h \
1039 src/extensions/QITabWidget.h \
1040 src/extensions/QIToolButton.h \
1041 src/extensions/QITreeView.h \
1042 src/extensions/QITreeWidget.h \
1043 src/extensions/QIWidgetValidator.h \
1044 src/extensions/graphics/QIGraphicsView.h \
1045 src/extensions/graphics/QIGraphicsWidget.h \
1046 src/extradata/UIExtraDataDefs.h \
1047 src/extradata/UIExtraDataManager.h \
1048 src/globals/UIActionPool.h \
1049 src/globals/UIAnimationFramework.h \
1050 src/globals/UIDesktopWidgetWatchdog.h \
1051 src/globals/UIMainEventListener.h \
1052 src/globals/UIMessageCenter.h \
1053 src/globals/UIModalWindowManager.h \
1054 src/globals/UIPopupCenter.h \
1055 src/globals/UIShortcutPool.h \
1056 src/globals/UIThreadPool.h \
1057 src/globals/VBoxGlobal.h \
1058 src/globals/VBoxUtils.h \
1059 src/logviewer/UIVMLogPage.h \
1060 src/logviewer/UIVMLogViewerBookmarksPanel.h \
1061 src/logviewer/UIVMLogViewerDialog.h \
1062 src/logviewer/UIVMLogViewerFilterPanel.h \
1063 src/logviewer/UIVMLogViewerPanel.h \
1064 src/logviewer/UIVMLogViewerSearchPanel.h \
1065 src/logviewer/UIVMLogViewerSettingsPanel.h \
1066 src/logviewer/UIVMLogViewerTextEdit.h \
1067 src/logviewer/UIVMLogViewerWidget.h \
1068 src/medium/UIMediumEnumerator.h \
1069 src/runtime/UIActionPoolRuntime.h \
1070 src/selector/UIActionPoolSelector.h \
1071 src/selector/UIVirtualBoxEventHandler.h \
1072 src/settings/UISettingsDialog.h \
1073 src/settings/UISettingsDialogSpecific.h \
1074 src/settings/UISettingsPage.h \
1075 src/settings/UISettingsSelector.h \
1076 src/settings/UISettingsSerializer.h \
1077 src/settings/global/UIGlobalSettingsExtension.h \
1078 src/settings/global/UIGlobalSettingsGeneral.h \
1079 src/settings/global/UIGlobalSettingsInput.h \
1080 src/settings/global/UIGlobalSettingsLanguage.h \
1081 src/settings/global/UIGlobalSettingsDisplay.h \
1082 src/settings/global/UIGlobalSettingsNetwork.h \
1083 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
1084 src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
1085 src/settings/machine/UIMachineSettingsAudio.h \
1086 src/settings/machine/UIMachineSettingsDisplay.h \
1087 src/settings/machine/UIMachineSettingsGeneral.h \
1088 src/settings/machine/UIMachineSettingsInterface.h \
1089 src/settings/machine/UIMachineSettingsNetwork.h \
1090 src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
1091 src/settings/machine/UIMachineSettingsSF.h \
1092 src/settings/machine/UIMachineSettingsSFDetails.h \
1093 src/settings/machine/UIMachineSettingsSerial.h \
1094 src/settings/machine/UIMachineSettingsStorage.h \
1095 src/settings/machine/UIMachineSettingsSystem.h \
1096 src/settings/machine/UIMachineSettingsUSB.h \
1097 src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
1098 src/widgets/UIAddDiskEncryptionPasswordDialog.h \
1099 src/widgets/UIBootTable.h \
1100 src/widgets/UIFilePathSelector.h \
1101 src/widgets/UIFilmContainer.h \
1102 src/widgets/UIGuestRAMSlider.h \
1103 src/widgets/UIHostComboEditor.h \
1104 src/widgets/UIHotKeyEditor.h \
1105 src/widgets/UIMediaComboBox.h \
1106 src/widgets/UIMediumSizeEditor.h \
1107 src/widgets/UIMenuBar.h \
1108 src/widgets/UIMenuBarEditorWindow.h \
1109 src/widgets/UINameAndSystemEditor.h \
1110 src/widgets/UIPopupBox.h \
1111 src/widgets/UIPopupPane.h \
1112 src/widgets/UIPopupPaneButtonPane.h \
1113 src/widgets/UIPopupPaneMessage.h \
1114 src/widgets/UIPopupPaneDetails.h \
1115 src/widgets/UIPopupStack.h \
1116 src/widgets/UIPopupStackViewport.h \
1117 src/widgets/UIPortForwardingTable.h \
1118 src/widgets/UIProgressDialog.h \
1119 src/widgets/UISlidingToolBar.h \
1120 src/widgets/UISpecialControls.h \
1121 src/widgets/UIStatusBarEditorWindow.h \
1122 src/widgets/UIToolBar.h \
1123 src/widgets/UIVMNamePathSelector.h \
1124 src/widgets/UIWarningPane.h \
1125 src/wizards/UIWizard.h \
1126 src/wizards/UIWizardPage.h \
1127 src/wizards/newvd/UIWizardNewVD.h \
1128 src/wizards/newvd/UIWizardNewVDPageBasic1.h \
1129 src/wizards/newvd/UIWizardNewVDPageBasic2.h \
1130 src/wizards/newvd/UIWizardNewVDPageBasic3.h \
1131 src/wizards/newvd/UIWizardNewVDPageExpert.h
1132
1133 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1134 VBoxGlobal_QT_MOCHDRS += \
1135 src/net/UIDownloader.h \
1136 src/net/UIDownloaderAdditions.h \
1137 src/net/UIDownloaderExtensionPack.h \
1138 src/net/UIDownloaderUserManual.h \
1139 src/net/UINetworkCustomer.h \
1140 src/net/UINetworkManager.h \
1141 src/net/UINetworkManagerDialog.h \
1142 src/net/UINetworkManagerIndicator.h \
1143 src/net/UINetworkRequest.h \
1144 src/net/UINetworkRequestWidget.h \
1145 src/net/UINetworkReply.h \
1146 src/net/UIUpdateManager.h \
1147 src/settings/global/UIGlobalSettingsProxy.h \
1148 src/settings/global/UIGlobalSettingsUpdate.h
1149 endif
1150
1151 VBoxGlobal_QT_MOCHDRS.darwin += \
1152 src/platform/darwin/UICocoaSpecialControls.h \
1153 src/platform/darwin/UIWindowMenuManager.h
1154endif
1155
1156
1157#
1158# VirtualBox Manager Application
1159# Sources containing local definitions of classes that use the Q_OBJECT macro.
1160#
1161VirtualBox_QT_MOCSRCS = \
1162 src/selector/UIDesktopPane.cpp \
1163 src/selector/UISnapshotDetailsWidget.cpp \
1164 src/selector/UISnapshotPane.cpp \
1165 src/widgets/UIMenuToolBar.cpp \
1166 src/widgets/UITabBar.cpp \
1167 src/wizards/importappliance/UIWizardImportApp.cpp
1168
1169ifndef VBOX_GUI_WITH_SHARED_LIBRARY
1170 VirtualBox_QT_MOCSRCS += \
1171 src/extensions/QIAdvancedSlider.cpp \
1172 src/extensions/QIArrowSplitter.cpp \
1173 src/extensions/QISplitter.cpp \
1174 src/extradata/UIExtraDataManager.cpp \
1175 src/globals/UIActionPool.cpp \
1176 src/globals/UIMainEventListener.cpp \
1177 src/globals/UIThreadPool.cpp \
1178 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1179 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1180 src/logviewer/UIVMLogViewerTextEdit.cpp \
1181 src/medium/UIMediumEnumerator.cpp \
1182 src/runtime/UIActionPoolRuntime.cpp \
1183 src/runtime/UIConsoleEventHandler.cpp \
1184 src/runtime/UIFrameBuffer.cpp \
1185 src/runtime/UIIndicatorsPool.cpp \
1186 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1187 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1188 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1189 src/runtime/guestctrl/UIGuestFileTable.cpp \
1190 src/runtime/guestctrl/UIHostFileTable.cpp \
1191 src/selector/UIActionPoolSelector.cpp \
1192 src/selector/UIVirtualBoxEventHandler.cpp \
1193 src/settings/global/UIGlobalSettingsInput.cpp \
1194 src/settings/machine/UIMachineSettingsNetwork.cpp \
1195 src/settings/machine/UIMachineSettingsSerial.cpp \
1196 src/settings/machine/UIMachineSettingsStorage.cpp \
1197 src/settings/machine/UIMachineSettingsUSB.cpp \
1198 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1199 src/widgets/UIFilmContainer.cpp \
1200 src/widgets/UIHotKeyEditor.cpp \
1201 src/widgets/UIMiniToolBar.cpp \
1202 src/widgets/UIPortForwardingTable.cpp \
1203 src/widgets/UIProgressDialog.cpp \
1204 src/widgets/UIStatusBarEditorWindow.cpp \
1205 src/widgets/UIVMNamePathSelector.cpp
1206
1207 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1208 VirtualBox_QT_MOCSRCS += \
1209 src/net/UINetworkReply.cpp \
1210 src/net/UIUpdateManager.cpp
1211 endif
1212
1213 ifdef VBOX_WITH_XPCOM
1214 VirtualBox_QT_MOCSRCS += \
1215 src/globals/COMDefs.cpp
1216 endif
1217
1218 VirtualBox_QT_MOCSRCS.darwin += \
1219 src/platform/darwin/UIWindowMenuManager.cpp
1220
1221 VirtualBox_QT_MOCSRCS.linux += \
1222 src/globals/UIDesktopWidgetWatchdog.cpp
1223 VirtualBox_QT_MOCSRCS.solaris += \
1224 src/globals/UIDesktopWidgetWatchdog.cpp
1225 VirtualBox_QT_MOCSRCS.freebsd += \
1226 src/globals/UIDesktopWidgetWatchdog.cpp
1227endif
1228
1229
1230ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1231 #
1232 # VirtualBox Virtual Machine Application
1233 # Sources containing local definitions of classes that use the Q_OBJECT macro.
1234 #
1235 VirtualBoxVM_QT_MOCSRCS = \
1236 src/runtime/UIConsoleEventHandler.cpp \
1237 src/runtime/UIFrameBuffer.cpp \
1238 src/runtime/UIIndicatorsPool.cpp \
1239 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1240 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1241 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1242 src/runtime/guestctrl/UIGuestFileTable.cpp \
1243 src/runtime/guestctrl/UIHostFileTable.cpp \
1244 src/widgets/UIMiniToolBar.cpp
1245
1246
1247 #
1248 # VirtualBox - GUI Global Shared Library.
1249 # Sources.
1250 #
1251 VBoxGlobal_QT_MOCSRCS = \
1252 src/extensions/QIAdvancedSlider.cpp \
1253 src/extensions/QIArrowSplitter.cpp \
1254 src/extensions/QISplitter.cpp \
1255 src/extradata/UIExtraDataManager.cpp \
1256 src/globals/UIActionPool.cpp \
1257 src/globals/UIMainEventListener.cpp \
1258 src/globals/UIThreadPool.cpp \
1259 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1260 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1261 src/logviewer/UIVMLogViewerTextEdit.cpp \
1262 src/medium/UIMediumEnumerator.cpp \
1263 src/runtime/UIActionPoolRuntime.cpp \
1264 src/selector/UIActionPoolSelector.cpp \
1265 src/selector/UIVirtualBoxEventHandler.cpp \
1266 src/settings/global/UIGlobalSettingsInput.cpp \
1267 src/settings/machine/UIMachineSettingsNetwork.cpp \
1268 src/settings/machine/UIMachineSettingsSerial.cpp \
1269 src/settings/machine/UIMachineSettingsStorage.cpp \
1270 src/settings/machine/UIMachineSettingsUSB.cpp \
1271 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1272 src/widgets/UIFilmContainer.cpp \
1273 src/widgets/UIHotKeyEditor.cpp \
1274 src/widgets/UIPortForwardingTable.cpp \
1275 src/widgets/UIProgressDialog.cpp \
1276 src/widgets/UIStatusBarEditorWindow.cpp \
1277 src/widgets/UIVMNamePathSelector.cpp
1278
1279 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1280 VBoxGlobal_QT_MOCSRCS += \
1281 src/net/UINetworkReply.cpp \
1282 src/net/UIUpdateManager.cpp
1283 endif
1284
1285 ifdef VBOX_WITH_XPCOM
1286 VBoxGlobal_QT_MOCSRCS += \
1287 src/globals/COMDefs.cpp
1288 endif
1289
1290 VBoxGlobal_QT_MOCSRCS.darwin += \
1291 src/platform/darwin/UIWindowMenuManager.cpp
1292
1293 VBoxGlobal_QT_MOCSRCS.linux += \
1294 src/globals/UIDesktopWidgetWatchdog.cpp
1295 VBoxGlobal_QT_MOCSRCS.solaris += \
1296 src/globals/UIDesktopWidgetWatchdog.cpp
1297 VBoxGlobal_QT_MOCSRCS.freebsd += \
1298 src/globals/UIDesktopWidgetWatchdog.cpp
1299endif
1300
1301
1302#
1303# VirtualBox Manager Application
1304# Sources.
1305#
1306VirtualBox_SOURCES = \
1307 src/main.cpp \
1308 src/globals/UIStarter.cpp \
1309 src/hostnetwork/UIHostNetworkDetailsWidget.cpp \
1310 src/hostnetwork/UIHostNetworkManager.cpp \
1311 src/hostnetwork/UIHostNetworkUtils.cpp \
1312 src/medium/UIMediumDetailsWidget.cpp \
1313 src/medium/UIMediumManager.cpp \
1314 src/selector/UIDesktopPane.cpp \
1315 src/selector/UIVMItem.cpp \
1316 src/selector/UISelectorWindow.cpp \
1317 src/selector/UISnapshotDetailsWidget.cpp \
1318 src/selector/UISnapshotPane.cpp \
1319 src/selector/UIToolsPaneGlobal.cpp \
1320 src/selector/UIToolsPaneMachine.cpp \
1321 src/selector/UIToolsToolbar.cpp \
1322 src/selector/graphics/chooser/UIGChooser.cpp \
1323 src/selector/graphics/chooser/UIGChooserModel.cpp \
1324 src/selector/graphics/chooser/UIGChooserView.cpp \
1325 src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp \
1326 src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp \
1327 src/selector/graphics/chooser/UIGChooserItem.cpp \
1328 src/selector/graphics/chooser/UIGChooserItemGroup.cpp \
1329 src/selector/graphics/chooser/UIGChooserItemMachine.cpp \
1330 src/selector/graphics/details/UIGDetails.cpp \
1331 src/selector/graphics/details/UIGDetailsModel.cpp \
1332 src/selector/graphics/details/UIGDetailsView.cpp \
1333 src/selector/graphics/details/UIGDetailsItem.cpp \
1334 src/selector/graphics/details/UIGDetailsGroup.cpp \
1335 src/selector/graphics/details/UIGDetailsSet.cpp \
1336 src/selector/graphics/details/UIGDetailsElement.cpp \
1337 src/selector/graphics/details/UIGDetailsElements.cpp \
1338 src/selector/graphics/details/UIGMachinePreview.cpp \
1339 src/widgets/UIApplianceEditorWidget.cpp \
1340 src/widgets/UIApplianceExportEditorWidget.cpp \
1341 src/widgets/UIApplianceImportEditorWidget.cpp \
1342 src/widgets/UIEmptyFilePathSelector.cpp \
1343 src/widgets/UILineTextEdit.cpp \
1344 src/widgets/UISlidingWidget.cpp \
1345 src/widgets/UITabBar.cpp \
1346 src/widgets/UIMenuToolBar.cpp \
1347 src/widgets/VBoxOSTypeSelectorButton.cpp \
1348 src/widgets/graphics/UIGraphicsButton.cpp \
1349 src/widgets/graphics/UIGraphicsRotatorButton.cpp \
1350 src/widgets/graphics/UIGraphicsZoomButton.cpp \
1351 src/widgets/graphics/UIGraphicsToolBar.cpp \
1352 src/widgets/graphics/UIGraphicsTextPane.cpp \
1353 src/wizards/newvm/UIWizardNewVM.cpp \
1354 src/wizards/newvm/UIWizardNewVMPageBasic1.cpp \
1355 src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \
1356 src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \
1357 src/wizards/newvm/UIWizardNewVMPageExpert.cpp \
1358 src/wizards/clonevm/UIWizardCloneVM.cpp \
1359 src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp \
1360 src/wizards/clonevm/UIWizardCloneVMPageBasic2.cpp \
1361 src/wizards/clonevm/UIWizardCloneVMPageBasic3.cpp \
1362 src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp \
1363 src/wizards/clonevd/UIWizardCloneVD.cpp \
1364 src/wizards/clonevd/UIWizardCloneVDPageBasic1.cpp \
1365 src/wizards/clonevd/UIWizardCloneVDPageBasic2.cpp \
1366 src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp \
1367 src/wizards/clonevd/UIWizardCloneVDPageBasic4.cpp \
1368 src/wizards/clonevd/UIWizardCloneVDPageExpert.cpp \
1369 src/wizards/exportappliance/UIWizardExportApp.cpp \
1370 src/wizards/exportappliance/UIWizardExportAppPageBasic1.cpp \
1371 src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp \
1372 src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp \
1373 src/wizards/exportappliance/UIWizardExportAppPageBasic4.cpp \
1374 src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp \
1375 src/wizards/importappliance/UIWizardImportApp.cpp \
1376 src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp \
1377 src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp \
1378 src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
1379
1380VirtualBox_SOURCES.darwin += \
1381 src/platform/darwin/UIDesktopServices_darwin.cpp \
1382 src/platform/darwin/UIDesktopServices_darwin_cocoa.mm
1383
1384if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1385 VirtualBox_SOURCES += \
1386 src/platform/x11/UIDesktopServices_x11.cpp
1387endif
1388
1389VirtualBox_SOURCES.win += \
1390 src/platform/win/VirtualBox.rc \
1391 src/platform/win/UIDesktopServices_win.cpp
1392
1393ifdef VBOX_WITH_ICHAT_THEATER
1394 VirtualBox_SOURCES.darwin += \
1395 src/platform/darwin/VBoxIChatTheaterWrapper.m
1396endif
1397
1398if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1399 VirtualBox_SOURCES += \
1400 src/VBox2DHelpers.cpp \
1401 src/VBoxFBOverlay.cpp \
1402 src/VBoxGLSupportInfo.cpp
1403endif
1404
1405ifndef VBOX_GUI_WITH_SHARED_LIBRARY
1406 VirtualBox_SOURCES += \
1407 src/VBoxAboutDlg.cpp \
1408 src/VBoxLicenseViewer.cpp \
1409 src/UITakeSnapshotDialog.cpp \
1410 src/extensions/QIAdvancedSlider.cpp \
1411 src/extensions/QIArrowButtonPress.cpp \
1412 src/extensions/QIArrowButtonSwitch.cpp \
1413 src/extensions/QIArrowSplitter.cpp \
1414 src/extensions/QIComboBox.cpp \
1415 src/extensions/QIDialog.cpp \
1416 src/extensions/QIDialogButtonBox.cpp \
1417 src/extensions/QIFileDialog.cpp \
1418 src/extensions/QIFlowLayout.cpp \
1419 src/extensions/QILabel.cpp \
1420 src/extensions/QILabelSeparator.cpp \
1421 src/extensions/QILineEdit.cpp \
1422 src/extensions/QIMainDialog.cpp \
1423 src/extensions/QIMainWindow.cpp \
1424 src/extensions/QIManagerDialog.cpp \
1425 src/extensions/QIMenu.cpp \
1426 src/extensions/QIMessageBox.cpp \
1427 src/extensions/QIProcess.cpp \
1428 src/extensions/QIRichTextLabel.cpp \
1429 src/extensions/QIRichToolButton.cpp \
1430 src/extensions/QISplitter.cpp \
1431 src/extensions/QIStatusBar.cpp \
1432 src/extensions/QIStatusBarIndicator.cpp \
1433 src/extensions/QIStyledItemDelegate.cpp \
1434 src/extensions/QITableView.cpp \
1435 src/extensions/QITabWidget.cpp \
1436 src/extensions/QIToolButton.cpp \
1437 src/extensions/QITreeView.cpp \
1438 src/extensions/QITreeWidget.cpp \
1439 src/extensions/QIWidgetValidator.cpp \
1440 src/extensions/graphics/QIGraphicsView.cpp \
1441 src/extensions/graphics/QIGraphicsWidget.cpp \
1442 src/extradata/UIExtraDataDefs.cpp \
1443 src/extradata/UIExtraDataManager.cpp \
1444 src/converter/UIConverter.cpp \
1445 src/converter/UIConverterBackendCOM.cpp \
1446 src/converter/UIConverterBackendGlobal.cpp \
1447 src/globals/COMDefs.cpp \
1448 src/globals/UIActionPool.cpp \
1449 src/globals/UIAnimationFramework.cpp \
1450 src/globals/UIDefs.cpp \
1451 src/globals/UIDesktopWidgetWatchdog.cpp \
1452 src/globals/UIErrorString.cpp \
1453 src/globals/UIIconPool.cpp \
1454 src/globals/UIImageTools.cpp \
1455 src/globals/UIMainEventListener.cpp \
1456 src/globals/UIMessageCenter.cpp \
1457 src/globals/UIModalWindowManager.cpp \
1458 src/globals/UIPopupCenter.cpp \
1459 src/globals/UIShortcutPool.cpp \
1460 src/globals/UIThreadPool.cpp \
1461 src/globals/VBoxGlobal.cpp \
1462 src/logviewer/UIVMLogPage.cpp \
1463 src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
1464 src/logviewer/UIVMLogViewerDialog.cpp \
1465 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1466 src/logviewer/UIVMLogViewerPanel.cpp \
1467 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1468 src/logviewer/UIVMLogViewerSettingsPanel.cpp \
1469 src/logviewer/UIVMLogViewerTextEdit.cpp \
1470 src/logviewer/UIVMLogViewerWidget.cpp \
1471 src/medium/UIMedium.cpp \
1472 src/medium/UIMediumDefs.cpp \
1473 src/medium/UIMediumEnumerator.cpp \
1474 src/objects/UIRichTextString.cpp \
1475 src/runtime/UIActionPoolRuntime.cpp \
1476 src/runtime/UIConsoleEventHandler.cpp \
1477 src/runtime/UIFrameBuffer.cpp \
1478 src/runtime/UIIndicatorsPool.cpp \
1479 src/runtime/UIKeyboardHandler.cpp \
1480 src/runtime/UIMachine.cpp \
1481 src/runtime/UIMachineLogic.cpp \
1482 src/runtime/UIMachineView.cpp \
1483 src/runtime/UIMachineWindow.cpp \
1484 src/runtime/UIMouseHandler.cpp \
1485 src/runtime/UIMultiScreenLayout.cpp \
1486 src/runtime/UISession.cpp \
1487 src/runtime/UIVMCloseDialog.cpp \
1488 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
1489 src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
1490 src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
1491 src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
1492 src/runtime/information/UIInformationConfiguration.cpp \
1493 src/runtime/information/UIInformationDataItem.cpp \
1494 src/runtime/information/UIInformationItem.cpp \
1495 src/runtime/information/UIInformationModel.cpp \
1496 src/runtime/information/UIInformationRuntime.cpp \
1497 src/runtime/information/UIInformationView.cpp \
1498 src/runtime/information/UIVMInformationDialog.cpp \
1499 src/runtime/guestctrl/UIGuestControlConsole.cpp \
1500 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1501 src/runtime/guestctrl/UIGuestControlFileModel.cpp \
1502 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1503 src/runtime/guestctrl/UIGuestControlInterface.cpp \
1504 src/runtime/guestctrl/UIGuestControlTreeItem.cpp \
1505 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1506 src/runtime/guestctrl/UIGuestFileTable.cpp \
1507 src/runtime/guestctrl/UIHostFileTable.cpp \
1508 src/runtime/normal/UIKeyboardHandlerNormal.cpp \
1509 src/runtime/normal/UIMachineLogicNormal.cpp \
1510 src/runtime/normal/UIMachineViewNormal.cpp \
1511 src/runtime/normal/UIMachineWindowNormal.cpp \
1512 src/runtime/scale/UIKeyboardHandlerScale.cpp \
1513 src/runtime/scale/UIMachineLogicScale.cpp \
1514 src/runtime/scale/UIMachineViewScale.cpp \
1515 src/runtime/scale/UIMachineWindowScale.cpp \
1516 src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
1517 src/runtime/seamless/UIMachineLogicSeamless.cpp \
1518 src/runtime/seamless/UIMachineViewSeamless.cpp \
1519 src/runtime/seamless/UIMachineWindowSeamless.cpp \
1520 src/selector/UIActionPoolSelector.cpp \
1521 src/selector/UIVirtualBoxEventHandler.cpp \
1522 src/settings/UISettingsDefs.cpp \
1523 src/settings/UISettingsDialog.cpp \
1524 src/settings/UISettingsDialogSpecific.cpp \
1525 src/settings/UISettingsPage.cpp \
1526 src/settings/UISettingsSelector.cpp \
1527 src/settings/UISettingsSerializer.cpp \
1528 src/settings/global/UIGlobalSettingsExtension.cpp \
1529 src/settings/global/UIGlobalSettingsGeneral.cpp \
1530 src/settings/global/UIGlobalSettingsInput.cpp \
1531 src/settings/global/UIGlobalSettingsLanguage.cpp \
1532 src/settings/global/UIGlobalSettingsDisplay.cpp \
1533 src/settings/global/UIGlobalSettingsNetwork.cpp \
1534 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
1535 src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
1536 src/settings/machine/UIMachineSettingsAudio.cpp \
1537 src/settings/machine/UIMachineSettingsDisplay.cpp \
1538 src/settings/machine/UIMachineSettingsGeneral.cpp \
1539 src/settings/machine/UIMachineSettingsInterface.cpp \
1540 src/settings/machine/UIMachineSettingsNetwork.cpp \
1541 src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
1542 src/settings/machine/UIMachineSettingsSF.cpp \
1543 src/settings/machine/UIMachineSettingsSFDetails.cpp \
1544 src/settings/machine/UIMachineSettingsSerial.cpp \
1545 src/settings/machine/UIMachineSettingsStorage.cpp \
1546 src/settings/machine/UIMachineSettingsSystem.cpp \
1547 src/settings/machine/UIMachineSettingsUSB.cpp \
1548 src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
1549 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1550 src/widgets/UIBootTable.cpp \
1551 src/widgets/UIFilePathSelector.cpp \
1552 src/widgets/UIFilmContainer.cpp \
1553 src/widgets/UIGuestRAMSlider.cpp \
1554 src/widgets/UIHostComboEditor.cpp \
1555 src/widgets/UIHotKeyEditor.cpp \
1556 src/widgets/UIMediaComboBox.cpp \
1557 src/widgets/UIMediumSizeEditor.cpp \
1558 src/widgets/UIMenuBar.cpp \
1559 src/widgets/UIMenuBarEditorWindow.cpp \
1560 src/widgets/UIMiniToolBar.cpp \
1561 src/widgets/UINameAndSystemEditor.cpp \
1562 src/widgets/UIPopupBox.cpp \
1563 src/widgets/UIPopupPane.cpp \
1564 src/widgets/UIPopupPaneButtonPane.cpp \
1565 src/widgets/UIPopupPaneMessage.cpp \
1566 src/widgets/UIPopupPaneDetails.cpp \
1567 src/widgets/UIPopupStack.cpp \
1568 src/widgets/UIPopupStackViewport.cpp \
1569 src/widgets/UIPortForwardingTable.cpp \
1570 src/widgets/UIProgressDialog.cpp \
1571 src/widgets/UISlidingToolBar.cpp \
1572 src/widgets/UISpecialControls.cpp \
1573 src/widgets/UIStatusBarEditorWindow.cpp \
1574 src/widgets/UIToolBar.cpp \
1575 src/widgets/UIVMNamePathSelector.cpp \
1576 src/widgets/UIWarningPane.cpp \
1577 src/wizards/UIWizard.cpp \
1578 src/wizards/UIWizardPage.cpp \
1579 src/wizards/firstrun/UIWizardFirstRun.cpp \
1580 src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp \
1581 src/wizards/newvd/UIWizardNewVD.cpp \
1582 src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
1583 src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
1584 src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
1585 src/wizards/newvd/UIWizardNewVDPageExpert.cpp
1586
1587 ifdef VBOX_WITH_DRAG_AND_DROP
1588 VirtualBox_SOURCES += \
1589 src/runtime/UIDnDHandler.cpp
1590 ifdef VBOX_WITH_DRAG_AND_DROP_GH
1591 VirtualBox_SOURCES += \
1592 src/runtime/UIDnDMIMEData.cpp
1593 VirtualBox_SOURCES.win += \
1594 src/runtime/UIDnDDropSource_win.cpp \
1595 src/runtime/UIDnDDataObject_win.cpp \
1596 src/runtime/UIDnDEnumFormat_win.cpp
1597 endif
1598 endif
1599
1600 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1601 VirtualBox_SOURCES += \
1602 src/net/UIDownloader.cpp \
1603 src/net/UIDownloaderAdditions.cpp \
1604 src/net/UIDownloaderExtensionPack.cpp \
1605 src/net/UIDownloaderUserManual.cpp \
1606 src/net/UINetworkCustomer.cpp \
1607 src/net/UINetworkManager.cpp \
1608 src/net/UINetworkManagerDialog.cpp \
1609 src/net/UINetworkManagerIndicator.cpp \
1610 src/net/UINetworkRequest.cpp \
1611 src/net/UINetworkRequestWidget.cpp \
1612 src/net/UINetworkReply.cpp \
1613 src/net/UIUpdateDefs.cpp \
1614 src/net/UIUpdateManager.cpp \
1615 src/settings/global/UIGlobalSettingsProxy.cpp \
1616 src/settings/global/UIGlobalSettingsUpdate.cpp
1617 endif
1618
1619 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1620 VirtualBox_SOURCES += \
1621 src/platform/x11/VBoxX11Helper.cpp \
1622 src/platform/x11/XKeyboard-new.cpp
1623 endif
1624
1625 VirtualBox_SOURCES.win += \
1626 src/platform/win/VBoxUtils-win.cpp \
1627 src/platform/win/WinKeyboard.cpp
1628
1629 VirtualBox_SOURCES.darwin += \
1630 src/platform/darwin/CocoaEventHelper.mm \
1631 src/platform/darwin/DarwinKeyboard.cpp \
1632 src/platform/darwin/UIAbstractDockIconPreview.cpp \
1633 src/platform/darwin/UICocoaApplication.mm \
1634 src/platform/darwin/UICocoaDockIconPreview.mm \
1635 src/platform/darwin/UICocoaSpecialControls.mm \
1636 src/platform/darwin/UIWindowMenuManager.cpp \
1637 src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
1638 src/platform/darwin/VBoxUtils-darwin.cpp
1639endif
1640
1641
1642ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1643 #
1644 # VirtualBox Virtual Machine Application
1645 # Sources.
1646 #
1647 VirtualBoxVM_SOURCES = \
1648 src/main.cpp \
1649 src/globals/UIStarter.cpp \
1650 src/runtime/UIConsoleEventHandler.cpp \
1651 src/runtime/UIFrameBuffer.cpp \
1652 src/runtime/UIIndicatorsPool.cpp \
1653 src/runtime/UIKeyboardHandler.cpp \
1654 src/runtime/UIMachine.cpp \
1655 src/runtime/UIMachineLogic.cpp \
1656 src/runtime/UIMachineView.cpp \
1657 src/runtime/UIMachineWindow.cpp \
1658 src/runtime/UIMouseHandler.cpp \
1659 src/runtime/UIMultiScreenLayout.cpp \
1660 src/runtime/UISession.cpp \
1661 src/runtime/UIVMCloseDialog.cpp \
1662 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
1663 src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
1664 src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
1665 src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
1666 src/runtime/information/UIInformationConfiguration.cpp \
1667 src/runtime/information/UIInformationDataItem.cpp \
1668 src/runtime/information/UIInformationItem.cpp \
1669 src/runtime/information/UIInformationModel.cpp \
1670 src/runtime/information/UIInformationRuntime.cpp \
1671 src/runtime/information/UIInformationView.cpp \
1672 src/runtime/information/UIVMInformationDialog.cpp \
1673 src/runtime/guestctrl/UIGuestControlConsole.cpp \
1674 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1675 src/runtime/guestctrl/UIGuestControlFileModel.cpp \
1676 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1677 src/runtime/guestctrl/UIGuestControlInterface.cpp \
1678 src/runtime/guestctrl/UIGuestControlTreeItem.cpp \
1679 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1680 src/runtime/guestctrl/UIGuestFileTable.cpp \
1681 src/runtime/guestctrl/UIHostFileTable.cpp \
1682 src/runtime/normal/UIKeyboardHandlerNormal.cpp \
1683 src/runtime/normal/UIMachineLogicNormal.cpp \
1684 src/runtime/normal/UIMachineViewNormal.cpp \
1685 src/runtime/normal/UIMachineWindowNormal.cpp \
1686 src/runtime/scale/UIKeyboardHandlerScale.cpp \
1687 src/runtime/scale/UIMachineLogicScale.cpp \
1688 src/runtime/scale/UIMachineViewScale.cpp \
1689 src/runtime/scale/UIMachineWindowScale.cpp \
1690 src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
1691 src/runtime/seamless/UIMachineLogicSeamless.cpp \
1692 src/runtime/seamless/UIMachineViewSeamless.cpp \
1693 src/runtime/seamless/UIMachineWindowSeamless.cpp \
1694 src/widgets/UIMiniToolBar.cpp \
1695 src/wizards/firstrun/UIWizardFirstRun.cpp \
1696 src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
1697
1698 ifdef VBOX_WITH_DRAG_AND_DROP
1699 VirtualBoxVM_SOURCES += \
1700 src/runtime/UIDnDHandler.cpp
1701 ifdef VBOX_WITH_DRAG_AND_DROP_GH
1702 VirtualBoxVM_SOURCES += \
1703 src/runtime/UIDnDMIMEData.cpp
1704 VirtualBoxVM_SOURCES.win += \
1705 src/runtime/UIDnDDropSource_win.cpp \
1706 src/runtime/UIDnDDataObject_win.cpp \
1707 src/runtime/UIDnDEnumFormat_win.cpp
1708 endif
1709 endif
1710
1711 ifdef VBOX_WITH_ICHAT_THEATER
1712 VirtualBoxVM_SOURCES.darwin += \
1713 src/platform/darwin/VBoxIChatTheaterWrapper.m
1714 endif
1715
1716 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1717 VirtualBoxVM_SOURCES += \
1718 src/VBox2DHelpers.cpp \
1719 src/VBoxFBOverlay.cpp \
1720 src/VBoxGLSupportInfo.cpp
1721 endif
1722
1723 VirtualBoxVM_SOURCES.darwin += \
1724 src/platform/darwin/UIAbstractDockIconPreview.cpp \
1725 src/platform/darwin/UICocoaDockIconPreview.mm
1726
1727 VirtualBoxVM_SOURCES.win += \
1728 src/platform/win/VirtualBox.rc
1729
1730
1731 #
1732 # VirtualBox - GUI Global Shared Library.
1733 # Sources.
1734 #
1735 VBoxGlobal_SOURCES = \
1736 src/VBoxAboutDlg.cpp \
1737 src/VBoxLicenseViewer.cpp \
1738 src/UITakeSnapshotDialog.cpp \
1739 src/extensions/QIAdvancedSlider.cpp \
1740 src/extensions/QIArrowButtonPress.cpp \
1741 src/extensions/QIArrowButtonSwitch.cpp \
1742 src/extensions/QIArrowSplitter.cpp \
1743 src/extensions/QIComboBox.cpp \
1744 src/extensions/QIDialog.cpp \
1745 src/extensions/QIDialogButtonBox.cpp \
1746 src/extensions/QIFileDialog.cpp \
1747 src/extensions/QIFlowLayout.cpp \
1748 src/extensions/QILabel.cpp \
1749 src/extensions/QILabelSeparator.cpp \
1750 src/extensions/QILineEdit.cpp \
1751 src/extensions/QIMainDialog.cpp \
1752 src/extensions/QIMainWindow.cpp \
1753 src/extensions/QIManagerDialog.cpp \
1754 src/extensions/QIMenu.cpp \
1755 src/extensions/QIMessageBox.cpp \
1756 src/extensions/QIProcess.cpp \
1757 src/extensions/QIRichTextLabel.cpp \
1758 src/extensions/QIRichToolButton.cpp \
1759 src/extensions/QISplitter.cpp \
1760 src/extensions/QIStatusBar.cpp \
1761 src/extensions/QIStatusBarIndicator.cpp \
1762 src/extensions/QIStyledItemDelegate.cpp \
1763 src/extensions/QITableView.cpp \
1764 src/extensions/QITabWidget.cpp \
1765 src/extensions/QIToolButton.cpp \
1766 src/extensions/QITreeView.cpp \
1767 src/extensions/QITreeWidget.cpp \
1768 src/extensions/QIWidgetValidator.cpp \
1769 src/extensions/graphics/QIGraphicsView.cpp \
1770 src/extensions/graphics/QIGraphicsWidget.cpp \
1771 src/extradata/UIExtraDataDefs.cpp \
1772 src/extradata/UIExtraDataManager.cpp \
1773 src/converter/UIConverter.cpp \
1774 src/converter/UIConverterBackendCOM.cpp \
1775 src/converter/UIConverterBackendGlobal.cpp \
1776 src/globals/COMDefs.cpp \
1777 src/globals/UIActionPool.cpp \
1778 src/globals/UIAnimationFramework.cpp \
1779 src/globals/UIDefs.cpp \
1780 src/globals/UIDesktopWidgetWatchdog.cpp \
1781 src/globals/UIErrorString.cpp \
1782 src/globals/UIIconPool.cpp \
1783 src/globals/UIImageTools.cpp \
1784 src/globals/UIMainEventListener.cpp \
1785 src/globals/UIMessageCenter.cpp \
1786 src/globals/UIModalWindowManager.cpp \
1787 src/globals/UIPopupCenter.cpp \
1788 src/globals/UIShortcutPool.cpp \
1789 src/globals/UIThreadPool.cpp \
1790 src/globals/VBoxGlobal.cpp \
1791 src/logviewer/UIVMLogPage.cpp \
1792 src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
1793 src/logviewer/UIVMLogViewerDialog.cpp \
1794 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1795 src/logviewer/UIVMLogViewerPanel.cpp \
1796 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1797 src/logviewer/UIVMLogViewerSettingsPanel.cpp \
1798 src/logviewer/UIVMLogViewerTextEdit.cpp \
1799 src/logviewer/UIVMLogViewerWidget.cpp \
1800 src/medium/UIMedium.cpp \
1801 src/medium/UIMediumDefs.cpp \
1802 src/medium/UIMediumEnumerator.cpp \
1803 src/objects/UIRichTextString.cpp \
1804 src/runtime/UIActionPoolRuntime.cpp \
1805 src/selector/UIActionPoolSelector.cpp \
1806 src/selector/UIVirtualBoxEventHandler.cpp \
1807 src/settings/UISettingsDefs.cpp \
1808 src/settings/UISettingsDialog.cpp \
1809 src/settings/UISettingsDialogSpecific.cpp \
1810 src/settings/UISettingsPage.cpp \
1811 src/settings/UISettingsSelector.cpp \
1812 src/settings/UISettingsSerializer.cpp \
1813 src/settings/global/UIGlobalSettingsExtension.cpp \
1814 src/settings/global/UIGlobalSettingsGeneral.cpp \
1815 src/settings/global/UIGlobalSettingsInput.cpp \
1816 src/settings/global/UIGlobalSettingsLanguage.cpp \
1817 src/settings/global/UIGlobalSettingsDisplay.cpp \
1818 src/settings/global/UIGlobalSettingsNetwork.cpp \
1819 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
1820 src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
1821 src/settings/machine/UIMachineSettingsAudio.cpp \
1822 src/settings/machine/UIMachineSettingsDisplay.cpp \
1823 src/settings/machine/UIMachineSettingsGeneral.cpp \
1824 src/settings/machine/UIMachineSettingsInterface.cpp \
1825 src/settings/machine/UIMachineSettingsNetwork.cpp \
1826 src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
1827 src/settings/machine/UIMachineSettingsSF.cpp \
1828 src/settings/machine/UIMachineSettingsSFDetails.cpp \
1829 src/settings/machine/UIMachineSettingsSerial.cpp \
1830 src/settings/machine/UIMachineSettingsStorage.cpp \
1831 src/settings/machine/UIMachineSettingsSystem.cpp \
1832 src/settings/machine/UIMachineSettingsUSB.cpp \
1833 src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
1834 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1835 src/widgets/UIBootTable.cpp \
1836 src/widgets/UIFilePathSelector.cpp \
1837 src/widgets/UIFilmContainer.cpp \
1838 src/widgets/UIGuestRAMSlider.cpp \
1839 src/widgets/UIHostComboEditor.cpp \
1840 src/widgets/UIHotKeyEditor.cpp \
1841 src/widgets/UIMediaComboBox.cpp \
1842 src/widgets/UIMediumSizeEditor.cpp \
1843 src/widgets/UIMenuBar.cpp \
1844 src/widgets/UIMenuBarEditorWindow.cpp \
1845 src/widgets/UINameAndSystemEditor.cpp \
1846 src/widgets/UIPopupBox.cpp \
1847 src/widgets/UIPopupPane.cpp \
1848 src/widgets/UIPopupPaneButtonPane.cpp \
1849 src/widgets/UIPopupPaneMessage.cpp \
1850 src/widgets/UIPopupPaneDetails.cpp \
1851 src/widgets/UIPopupStack.cpp \
1852 src/widgets/UIPopupStackViewport.cpp \
1853 src/widgets/UIPortForwardingTable.cpp \
1854 src/widgets/UIProgressDialog.cpp \
1855 src/widgets/UISlidingToolBar.cpp \
1856 src/widgets/UISpecialControls.cpp \
1857 src/widgets/UIStatusBarEditorWindow.cpp \
1858 src/widgets/UIToolBar.cpp \
1859 src/widgets/UIVMNamePathSelector.cpp \
1860 src/widgets/UIWarningPane.cpp \
1861 src/wizards/UIWizard.cpp \
1862 src/wizards/UIWizardPage.cpp \
1863 src/wizards/newvd/UIWizardNewVD.cpp \
1864 src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
1865 src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
1866 src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
1867 src/wizards/newvd/UIWizardNewVDPageExpert.cpp
1868
1869 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1870 VBoxGlobal_SOURCES += \
1871 src/net/UIDownloader.cpp \
1872 src/net/UIDownloaderAdditions.cpp \
1873 src/net/UIDownloaderExtensionPack.cpp \
1874 src/net/UIDownloaderUserManual.cpp \
1875 src/net/UINetworkCustomer.cpp \
1876 src/net/UINetworkManager.cpp \
1877 src/net/UINetworkManagerDialog.cpp \
1878 src/net/UINetworkManagerIndicator.cpp \
1879 src/net/UINetworkRequest.cpp \
1880 src/net/UINetworkRequestWidget.cpp \
1881 src/net/UINetworkReply.cpp \
1882 src/net/UIUpdateDefs.cpp \
1883 src/net/UIUpdateManager.cpp \
1884 src/settings/global/UIGlobalSettingsProxy.cpp \
1885 src/settings/global/UIGlobalSettingsUpdate.cpp
1886 endif
1887
1888 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1889 VBoxGlobal_SOURCES += \
1890 src/platform/x11/VBoxX11Helper.cpp \
1891 src/platform/x11/XKeyboard-new.cpp
1892 endif
1893
1894 VBoxGlobal_SOURCES.win += \
1895 src/platform/win/VBoxUtils-win.cpp \
1896 src/platform/win/WinKeyboard.cpp
1897
1898 VBoxGlobal_SOURCES.darwin += \
1899 src/platform/darwin/CocoaEventHelper.mm \
1900 src/platform/darwin/DarwinKeyboard.cpp \
1901 src/platform/darwin/UICocoaApplication.mm \
1902 src/platform/darwin/UICocoaSpecialControls.mm \
1903 src/platform/darwin/UIWindowMenuManager.cpp \
1904 src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
1905 src/platform/darwin/VBoxUtils-darwin.cpp
1906
1907 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1908 VBoxGlobal_SOURCES += \
1909 src/VBox2DHelpers.cpp \
1910 src/VBoxGLSupportInfo.cpp
1911 endif
1912endif
1913
1914
1915#
1916# VirtualBox Manager Application
1917# Deployment.
1918#
1919if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
1920 INSTALLS.linux += VirtualBox.qt.conf
1921 INSTALLS.solaris += VirtualBox.qt.conf
1922 VirtualBox.qt.conf_INST = $(INST_BIN)
1923 VirtualBox.qt.conf_MODE = 644
1924 VirtualBox.qt.conf_SOURCES = $(VirtualBox_0_OUTDIR)/qt.conf=>qt.conf
1925
1926$$(VirtualBox_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
1927 $(QUIET)$(RM) -f $@
1928 $(QUIET)$(APPEND) $@ "[Paths]"
1929 $(QUIET)$(APPEND) $@ "Plugins =" $(PATH_OUT)/$(INST_BIN)/plugins
1930endif
1931
1932
1933#
1934# VirtualBox Manager Application
1935# The Qt modules we're using.
1936# (The include directory and lib/framework for each module will be added by the Qt unit.)
1937#
1938VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport
1939VirtualBox_QT_MODULES.linux += X11Extras
1940VirtualBox_QT_MODULES.solaris += X11Extras
1941VirtualBox_QT_MODULES.freebsd += X11Extras
1942VirtualBox_QT_MODULES.darwin += MacExtras
1943VirtualBox_QT_MODULES.win += WinExtras
1944if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1945 VirtualBox_QT_MODULES += OpenGL
1946endif
1947
1948
1949ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1950 #
1951 # VirtualBox Virtual Machine Application
1952 # The Qt modules we're using.
1953 # (The include directory and lib/framework for each module will be added by the Qt unit.)
1954 #
1955 VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport
1956 VirtualBoxVM_QT_MODULES.linux += X11Extras
1957 VirtualBoxVM_QT_MODULES.solaris += X11Extras
1958 VirtualBoxVM_QT_MODULES.freebsd += X11Extras
1959 VirtualBoxVM_QT_MODULES.darwin += MacExtras
1960 VirtualBoxVM_QT_MODULES.win += WinExtras
1961 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1962 VirtualBoxVM_QT_MODULES += OpenGL
1963 endif
1964
1965
1966 #
1967 # VirtualBox - GUI Global Shared Library.
1968 # The Qt modules we're using.
1969 # (The include directory and lib/framework for each module will be added by the Qt unit.)
1970 #
1971 VBoxGlobal_QT_MODULES = Core Gui Widgets
1972 VBoxGlobal_QT_MODULES.linux += X11Extras
1973 VBoxGlobal_QT_MODULES.solaris += X11Extras
1974 VBoxGlobal_QT_MODULES.freebsd += X11Extras
1975 VBoxGlobal_QT_MODULES.darwin += MacExtras
1976 VBoxGlobal_QT_MODULES.win += WinExtras
1977 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1978 VBoxGlobal_QT_MODULES += OpenGL
1979 endif
1980endif
1981
1982
1983# Pull in the ui files
1984$(eval VirtualBox_SOURCES += $(FORMS))
1985ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1986 $(eval VirtualBoxVM_SOURCES += $(FORMS))
1987 $(eval VBoxGlobal_SOURCES += $(FORMS))
1988endif
1989
1990
1991# Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
1992VirtualBox_SOURCES += VirtualBox1.qrc
1993VirtualBox1.qrc_RCCFLAGS = -name BASIC1
1994VirtualBox_SOURCES += VirtualBox2.qrc
1995VirtualBox2.qrc_RCCFLAGS = -name BASIC2
1996VirtualBox_SOURCES += VirtualBox1_x2.qrc
1997VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
1998VirtualBox_SOURCES += VirtualBox2_x2.qrc
1999VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
2000VirtualBox_SOURCES += VirtualBox1_x3.qrc
2001VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
2002VirtualBox_SOURCES += VirtualBox2_x3.qrc
2003VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
2004VirtualBox_SOURCES += VirtualBox1_x4.qrc
2005VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
2006VirtualBox_SOURCES += VirtualBox2_x4.qrc
2007VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
2008VirtualBox_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2009$(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
2010if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
2011 VirtualBox_SOURCES += VirtualBoxShaders.qrc
2012 VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
2013endif
2014
2015
2016ifdef VBOX_GUI_WITH_SHARED_LIBRARY
2017 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
2018 VirtualBoxVM_SOURCES += VirtualBox1.qrc
2019 VirtualBox1.qrc_RCCFLAGS = -name BASIC1
2020 VirtualBoxVM_SOURCES += VirtualBox2.qrc
2021 VirtualBox2.qrc_RCCFLAGS = -name BASIC2
2022 VirtualBoxVM_SOURCES += VirtualBox1_x2.qrc
2023 VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
2024 VirtualBoxVM_SOURCES += VirtualBox2_x2.qrc
2025 VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
2026 VirtualBoxVM_SOURCES += VirtualBox1_x3.qrc
2027 VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
2028 VirtualBoxVM_SOURCES += VirtualBox2_x3.qrc
2029 VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
2030 VirtualBoxVM_SOURCES += VirtualBox1_x4.qrc
2031 VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
2032 VirtualBoxVM_SOURCES += VirtualBox2_x4.qrc
2033 VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
2034 VirtualBoxVM_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2035 $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
2036 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
2037 VirtualBoxVM_SOURCES += VirtualBoxShaders.qrc
2038 VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
2039 endif
2040endif
2041
2042
2043# Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts
2044VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS) \
2045 $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts, $(filter nls/VirtualBox_%.ts,$(TRANSLATIONS)))
2046# Compress the translation units.
2047VirtualBox_LRCFLAGS = -silent
2048# Where to install the translations (a separate install target, VirtualBox-nls-inst is created).
2049VirtualBox_QT_TRANSLATIONS_INST = $(INST_BIN)nls/
2050
2051
2052## @todo how to detect what tool is used?
2053## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
2054# more generic -Wno-extra
2055# bird: What about $(if $(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-extra))?
2056ifdef VBOX_WITH_XPCOM
2057 VirtualBox_src/globals/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
2058endif
2059
2060
2061#
2062# Build generated COM wrappers as part of app.
2063#
2064ifndef VBOX_GUI_WITH_SHARED_LIBRARY
2065
2066 #
2067 # VirtualBox Manager Application
2068 #
2069 includedep $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
2070 VirtualBox_BLDDIRS += $(VirtualBox_0_OUTDIR)/include
2071 VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers
2072 VirtualBox_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
2073 VirtualBox_CLEAN += $(wildcard $(VirtualBox_0_OUTDIR)/include/*) $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
2074
2075 ## @todo kmk doesn't remake optional outputs when they are missing...
2076 $$(VirtualBox_0_OUTDIR)/include/COMWrappers \
2077 + $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep \
2078 +| $(if-expr defined(VirtualBox_VBOX_COMWRAPPERS) \
2079 , $(VirtualBox_VBOX_COMWRAPPERS) \
2080 , $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
2081 $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp \
2082 ): \
2083 $(VBOX_XIDL_FILE) \
2084 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
2085 $(VBOX_FILESPLIT) \
2086 | $$(dir $$@)
2087 $(call MSG_GENERATE,VirtualBox,$<,$@)
2088 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep"
2089 $(QUIET)$(VBOX_XSLTPROC) -o $@ \
2090 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
2091 $(QUIET)$(VBOX_FILESPLIT) $@ $(VirtualBox_0_OUTDIR)/include \
2092 $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep VirtualBox_VBOX_COMWRAPPERS
2093 $(APPEND) "$@"
2094
2095 # alias for generating the COM Wrappers file.
2096 testwrappers:: $$(VirtualBox_0_OUTDIR)/include/COMWrappers
2097
2098else
2099
2100 #
2101 # VirtualBox - GUI Global Shared Library.
2102 #
2103 includedep $(PATH_TARGET)/VboxGlobalComWrapperFiles.dep
2104 VBoxGlobal_BLDDIRS += $(VBoxGlobal_0_OUTDIR)/include
2105 VBoxGlobal_INTERMEDIATES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers
2106 VBoxGlobal_SOURCES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp
2107 VBoxGlobal_CLEAN += $(wildcard $(VBoxGlobal_0_OUTDIR)/include/*) $(PATH_TARGET)/VboxGlobalComWrapperFiles.dep
2108
2109 ## @todo kmk doesn't remake optional outputs when they are missing...
2110 $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers \
2111 + $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep \
2112 +| $(if-expr defined(VBoxGlobal_VBOX_COMWRAPPERS) \
2113 , $(VBoxGlobal_VBOX_COMWRAPPERS) \
2114 , $$(VBoxGlobal_0_OUTDIR)/include/COMEnums.h \
2115 $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp \
2116 ): \
2117 $(VBOX_XIDL_FILE) \
2118 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
2119 $(VBOX_FILESPLIT) \
2120 | $$(dir $$@)
2121 $(call MSG_GENERATE,VBoxGlobal,$<,$@)
2122 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep"
2123 $(QUIET)$(VBOX_XSLTPROC) -o $@ \
2124 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
2125 $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxGlobal_0_OUTDIR)/include \
2126 $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep VBoxGlobal_VBOX_COMWRAPPERS
2127 $(APPEND) "$@"
2128
2129 # alias for generating the COM Wrappers file.
2130 testwrappers:: $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers
2131
2132endif
2133
2134
2135#
2136# Generate qrc file with branded icons.
2137#
2138VirtualBox_BLDDIRS += $(VBOX_VIRTUALBOX_OUT_DIR)
2139VirtualBox_CLEAN += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2140$(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc: \
2141 $(VBOX_VIRTUALBOX_SRC)/VirtualBoxBrand.qrc \
2142 $(PATH_ROOT)/Config.kmk \
2143 | $$(dir $$@)
2144 $(call MSG_GENERATE,VirtualBox,$<,$@)
2145 $(QUIET)$(SED) \
2146 -e 's;@VBOX_ABOUT_PNG@;$(VBOX_BRAND_GUI_ABOUT_PNG);g' \
2147 -e 's;@VBOX_ABOUT_HIDPI_PNG@;$(VBOX_BRAND_GUI_ABOUT_HIDPI_PNG);g' \
2148 -e 's;@VBOX_ABOUT_16PX_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_PNG);g' \
2149 -e 's;@VBOX_ABOUT_16PX_HIDPI_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_HIDPI_PNG);g' \
2150 -e 's;@VBOX_VBOX_16PX_PNG@;$(VBOX_BRAND_GUI_VBOX_16PX_PNG);g' \
2151 -e 's;@VBOX_VBOX_20PX_PNG@;$(VBOX_BRAND_GUI_VBOX_20PX_PNG);g' \
2152 -e 's;@VBOX_VBOX_32PX_PNG@;$(VBOX_BRAND_GUI_VBOX_32PX_PNG);g' \
2153 -e 's;@VBOX_VBOX_40PX_PNG@;$(VBOX_BRAND_GUI_VBOX_40PX_PNG);g' \
2154 -e 's;@VBOX_VBOX_48PX_PNG@;$(VBOX_BRAND_GUI_VBOX_48PX_PNG);g' \
2155 -e 's;@VBOX_VBOX_64PX_PNG@;$(VBOX_BRAND_GUI_VBOX_64PX_PNG);g' \
2156 -e 's;@VBOX_CUBE_42PX_PNG@;$(VBOX_BRAND_GUI_CUBE_42PX_PNG);g' \
2157 -e 's;@VBOX_CUBE_SVG@;$(VBOX_BRAND_GUI_VBOX_SVG);g' \
2158 --output $@ \
2159 $<
2160
2161
2162#
2163# Precompiled header - non-functional atm.
2164#
2165ifdef VBOX_WITH_PRECOMPILED_HEADERS
2166 if1of ($(KBUILD_TARGET),win)
2167 VirtualBox_USES += vccprecomp
2168 VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
2169
2170 else # obsolete experiment
2171 VirtualBox_DEFS += VBOX_WITH_PRECOMPILED_HEADERS
2172 VirtualBox_INCS <= $(VirtualBoxPch_0_OUTDIR)/src
2173 VirtualBox_CXXFLAGS += -Winvalid-pch -fpch-preprocess
2174 $(foreach x,$(filter-out include/COMWrappers.cpp, $(filter %.cpp, \
2175 $(VirtualBox_SOURCES) \
2176 $(VirtualBox_SOURCES.$(KBUILD_TARGET)) \
2177 $(VirtualBox_SOURCES.$(KBUILD_TYPE)) \
2178 )),$(eval $(abspath $(PATH_OBJ)/VirtualBox/$(basename $(x)).o): $$$$(VirtualBoxPch_0_OUTDIR)/src/precomp.h.gch))
2179
2180 TOOL_VirtualBoxPchLinker = Linker for VirtualBoxPch
2181 define TOOL_VirtualBoxPchLinker_LINK_MISCBIN_CMDS
2182 $(APPEND) -t $(out)
2183 endef
2184
2185 MISCBINS += VirtualBoxPch
2186 VirtualBoxPch_EXTENDS = VirtualBox
2187 VirtualBoxPch_LDTOOL = VirtualBoxPchLinker
2188 VirtualBoxPch_INSTTYPE = none
2189 VirtualBoxPch_NAME = VirtualBoxPch
2190 VirtualBoxPch_INTERMEDIATES = $(filter-out %.h.gch, $(VirtualBox_INTERMEDIATES))
2191 VirtualBoxPch_SOURCES = src/precomp.h
2192 VirtualBoxPch_CXXFLAGS = $(filter-out -Winvalid-pch -fpch-preprocess, $(VirtualBox_CXXFLAGS)) -x c++-header
2193 VirtualBoxPch_CXXOBJSUFF = .h.gch
2194 VirtualBoxPch_SRC_HANDLERS = .h:def_src_handler_cxx
2195 VirtualBoxPch_SOURCES.darwin = $(NO_SUCH_VARIABLE)
2196 VirtualBoxPch_SOURCES.solaris = $(NO_SUCH_VARIABLE)
2197 VirtualBoxPch_SOURCES.freebsd = $(NO_SUCH_VARIABLE)
2198 VirtualBoxPch_SOURCES.linux = $(NO_SUCH_VARIABLE)
2199 VirtualBoxPch_SOURCES.win = $(NO_SUCH_VARIABLE)
2200 VirtualBoxPch_QT_MODULES = $(VirtualBox_QT_MODULES) # "bug" - not inherited.
2201 VirtualBoxPch_INCS = $(VirtualBox_INCS) # "bug" - missing qtuic and qtmoc
2202 endif # obsolete experiment
2203endif
2204
2205ifeq ($(KBUILD_TARGET),win)
2206#
2207# On Windows we'll have to generate/edit part of the resource file.
2208# The IDI_ICON1 name is Qt specific.
2209#
2210src/platform/win/VirtualBox.rc_INCS = $(VirtualBox_0_OUTDIR)
2211src/platform/win/VirtualBox.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
2212src/platform/win/VirtualBox.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
2213
2214$$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
2215 $(APPEND) -t $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
2216
2217endif # win
2218
2219
2220#
2221# Unset everything that was loaded from VBoxUI.pro.
2222#
2223FORMS :=
2224TRANSLATIONS :=
2225
2226
2227ifeq ($(KBUILD_TARGET),darwin)
2228#
2229# Create directories for each approved language or the application
2230# menu won't be translated.
2231#
2232INSTALLS += VirtualBox.lproj
2233VirtualBox.lproj_INST = $(INST_VIRTUALBOX)Contents/Resources/
2234VirtualBox.lproj_MODE = 755
2235VirtualBox.lproj_DIRS := $(addsuffix .lproj,$(VBOX_APPROVED_GUI_LANGUAGES))
2236
2237#
2238# On OS X (darwin) we need to install icon resources and compulsory bundle contents.
2239# The VirtualBoxVM.app helper is for launching VMs (fixes some issues with the dock).
2240#
2241INSTALLS += VirtualBox.app
2242VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
2243VirtualBox.app_MODE = 644
2244VirtualBox.app_SOURCES = \
2245 src/platform/darwin/PkgInfo \
2246 $(VirtualBox.app_0_OUTDIR)/Info.plist \
2247 $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
2248 $(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
2249 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox.icns=>Resources/virtualbox-vbox.icns \
2250 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox-extpack.icns=>Resources/virtualbox-vbox-extpack.icns \
2251 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ovf.icns=>Resources/virtualbox-ovf.icns \
2252 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ova.icns=>Resources/virtualbox-ova.icns \
2253 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vdi.icns=>Resources/virtualbox-vdi.icns \
2254 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vmdk.icns=>Resources/virtualbox-vmdk.icns \
2255 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vhd.icns=>Resources/virtualbox-vhd.icns \
2256 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-hdd.icns=>Resources/virtualbox-hdd.icns
2257
2258 # Qt5 requires qt.conf on Mac OS X:
2259 VirtualBox.app_SOURCES += \
2260 $(VirtualBox.app_0_OUTDIR)/qt.conf=>Resources/qt.conf
2261
2262 $$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2263 $(call MSG_GENERATE,VirtualBox.app,$<,$@)
2264 $(QUIET)$(RM) -f $@
2265 $(QUIET)$(SED) \
2266 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2267 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2268 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2269 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2270 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2271 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2272 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2273 $< > $@
2274
2275 $$(VirtualBox.app_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
2276 $(QUIET)$(RM) -f $@
2277 $(QUIET)$(APPEND) $@ "[Paths]"
2278 $(QUIET)$(APPEND) $@ "Prefix =" $(PATH_OUT)/$(VirtualBox.app_INST)
2279
2280 INSTALLS += VirtualBoxVM.app
2281 VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
2282 VirtualBoxVM.app_MODE = 644
2283 VirtualBoxVM.app_SOURCES = \
2284 src/platform/darwin/VM-PkgInfo=>PkgInfo \
2285 $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist \
2286 $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
2287 VirtualBoxVM.app_SYMLINKS = \
2288 MacOS=>../../../MacOS/
2289
2290 $$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2291 $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
2292 $(QUIET)$(RM) -f $@
2293 $(QUIET)$(SED) \
2294 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2295 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2296 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2297 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2298 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2299 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2300 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2301 --output $@ $<
2302
2303 PROGRAMS += vmstarter
2304 vmstarter_TEMPLATE = VBOXR3EXE
2305 ifdef VBOX_WITH_NEW_XCODE
2306 vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
2307 else
2308 vmstarter_OBJCXXFLAGS += -Wno-deprecated-declarations
2309 endif
2310 vmstarter_LDFLAGS += -framework AppKit
2311 vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
2312 vmstarter_INST = $(INST_BIN)vmstarter
2313
2314 INSTALLS += vmstarter.app
2315 vmstarter.app_INST = $(VirtualBox.app_INST)Resources/vmstarter.app/Contents/
2316 vmstarter.app_MODE = 644
2317 vmstarter.app_SOURCES = \
2318 src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
2319 $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist \
2320 $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
2321 vmstarter.app_SYMLINKS = \
2322 MacOS=>../../../MacOS \
2323
2324 $$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2325 $(call MSG_GENERATE,vmstarter.app,$<,$@)
2326 $(QUIET)$(RM) -f $@
2327 $(QUIET)$(SED) \
2328 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2329 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2330 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2331 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2332 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2333 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2334 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2335 --output $@ $<
2336endif # darwin
2337
2338#
2339# App for testing GL support
2340#
2341if defined(VBOX_WITH_VIDEOHWACCEL)
2342 if1of ($(KBUILD_TARGET), win linux freebsd)
2343 LIBRARIES += VBoxOGL2D
2344 VBoxOGL2D_TEMPLATE = $(if $(VBOX_WITH_VIDEOHWACCEL),$(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE),VBOXMAINEXE)
2345 VBoxOGL2D_DEFS = QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
2346 VBoxOGL2D_QT_MODULES += OpenGL
2347 VBoxOGL2D_SOURCES = \
2348 src/VBoxGLSupportInfo.cpp
2349 VBoxOGL2D_INCS = include
2350 endif
2351endif
2352
2353
2354#
2355# Testcase for the darwin keyboard routines.
2356#
2357ifdef VBOX_WITH_TESTCASES
2358 PROGRAMS.darwin += tstDarwinKeyboard
2359 tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE
2360 tstDarwinKeyboard_DEFS.x86 = USE_HID_FOR_MODIFIERS
2361 tstDarwinKeyboard_INCS = \
2362 $(VBOX_GUI_INC_DIRS)
2363 tstDarwinKeyboard_SOURCES = \
2364 src/platform/darwin/tstDarwinKeyboard.cpp \
2365 src/platform/darwin/DarwinKeyboard.cpp
2366 tstDarwinKeyboard_SOURCES.amd64 = \
2367 src/platform/darwin/CocoaEventHelper.mm
2368 tstDarwinKeyboard_LDFLAGS = -framework IOKit -framework Carbon -framework AppKit
2369 tstDarwinKeyboard_LIBS = \
2370 $(LIB_RUNTIME)
2371 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
2372 tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
2373 endif
2374endif
2375
2376
2377#
2378# Testcase for SSL certificate downloading.
2379#
2380if defined(VBOX_WITH_TESTCASES) && defined(VBOX_GUI_WITH_NETWORK_MANAGER)
2381 PROGRAMS += tstSSLCertDownloads
2382 tstSSLCertDownloads_TEMPLATE = VBOXQTGUIEXE
2383 tstSSLCertDownloads_USES = qt5
2384 tstSSLCertDownloads_QTTOOL = QT5
2385 tstSSLCertDownloads_QT_MODULES = Core Gui
2386 tstSSLCertDownloads_DEFS = VBOX_GUI_IN_TST_SSL_CERT_DOWNLOADS
2387 tstSSLCertDownloads_INCS = \
2388 $(VBOX_GUI_INC_DIRS)
2389 tstSSLCertDownloads_SOURCES = \
2390 src/net/tstSSLCertDownloads.cpp
2391endif
2392
2393
2394#
2395# Doxygen documentation.
2396#
2397QTGUI_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/qtgui
2398BLDDIRS += $(QTGUI_DOXYFILE_OUTPUT)
2399OTHER_CLEAN += \
2400 $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui \
2401 $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep \
2402 $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2403
2404QTGUI_DOXYFILE_INPUT_DIRS := \
2405 $(addprefix $(PATH_SUB_CURRENT)/src/, \
2406 converter \
2407 extensions \
2408 extensions/graphics \
2409 extradata \
2410 globals \
2411 medium \
2412 net \
2413 objects \
2414 platform \
2415 platform/darwin \
2416 platform/os2 \
2417 platform/win \
2418 platform/x11 \
2419 runtime \
2420 runtime/fullscreen \
2421 runtime/information \
2422 runtime/guestctrl \
2423 runtime/normal \
2424 runtime/scale \
2425 runtime/seamless \
2426 selector \
2427 selector/graphics \
2428 selector/graphics/chooser \
2429 selector/graphics/details \
2430 settings \
2431 settings/global \
2432 settings/machine \
2433 widgets \
2434 widgets/graphics \
2435 wizards \
2436 wizards/clonevd \
2437 wizards/clonevm \
2438 wizards/exportappliance \
2439 wizards/firstrun \
2440 wizards/importappliance \
2441 wizards/newvd \
2442 wizards/newvm)
2443
2444QTGUI_DOXYFILE_INPUT := \
2445 $(foreach dir, $(QTGUI_DOXYFILE_INPUT_DIRS), \
2446 $(sort $(wildcard $(dir)/*.h)) \
2447 $(sort $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm)))
2448
2449includedep $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
2450
2451# Generate the Doxyfile
2452$(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui: \
2453 $(PATH_SUB_CURRENT)/Doxyfile \
2454 $(PATH_SUB_CURRENT)/Makefile.kmk \
2455 $(comp-vars QTGUI_DOXYFILE_INPUT,DOXYGEN_QTGUI_INPUT_PREV,FORCE) \
2456 $(comp-vars QTGUI_DOXYFILE_OUTPUT,DOXYGEN_QTGUI_OUTPUT_PREV,FORCE) \
2457 | $$(dir $$@)
2458 $(QUIET)$(RM) -f $@ [email protected] [email protected]
2459 $(QUIET)$(CP) -f $< [email protected]
2460 $(QUIET)$(APPEND) [email protected]
2461 $(QUIET)$(APPEND) [email protected] "OUTPUT_DIRECTORY = $(QTGUI_DOXYFILE_OUTPUT)"
2462 $(QUIET)$(APPEND) [email protected] "WARN_LOGFILE = $(QTGUI_DOXYFILE_OUTPUT)/errors"
2463 $(QUIET)$(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include ."
2464 $(QUIET)$(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)"
2465 $(QUIET)$(APPEND) [email protected]
2466 $(QUIET)$(APPEND) [email protected] 'INPUT = $(foreach x,$(QTGUI_DOXYFILE_INPUT),\$(NLTAB)$(x))'
2467 $(QUIET)$(APPEND) [email protected]
2468 $(QUIET)$(MV) -f [email protected] $@
2469 @$(APPEND) [email protected] "DOXYGEN_QTGUI_OUTPUT_PREV = $(QTGUI_DOXYFILE_OUTPUT)"
2470 @$(APPEND) [email protected] "DOXYGEN_QTGUI_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
2471
2472# Do the actual job.
2473$(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) \
2474 | $(QTGUI_DOXYFILE_OUTPUT)/
2475 $(call MSG_L1,doxygen qtgui)
2476 $(QUIET)$(RM) -f $@
2477 $(QUIET)$(RM) -Rf -- $(QTGUI_DOXYFILE_OUTPUT)/html/
2478 doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
2479 $(APPEND) $@
2480
2481# aliases
2482docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2483if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
2484docs: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2485endif
2486
2487
2488
2489# Commit the magic.
2490# (note: before custom rules that make usage of generated variables!).
2491include $(FILE_KBUILD_SUB_FOOTER)
2492
2493
2494#
2495# Update all known NLS translation (.ts) files in the nls/ subdirectory.
2496#
2497# NOTE: This target is intended to be run only by the GUI maintainer shortly
2498# before a new product release. VirtualBox_xx_YY.ts is a template for new
2499# languages and should never be actually translated or installed.
2500#
2501# Use the checknls target for checking again common mistakes done by the
2502# translators.
2503#
2504# For Qt >= 4.6.0 it maybe necessary to add -I $(VBOX_GUI_INC_DIRS) to the
2505# lupdate call
2506#
2507#VirtualBox_QT_TRANSLATIONS = nls/VirtualBox_de.ts
2508checknls::
2509 # Check for missing :/ in image paths
2510 grep -i "src=[^:%]" $(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))
2511
2512updatenls:: makeallnls nls/VirtualBox_en.ts
2513
2514makeallnls:: \
2515 $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
2516 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
2517 $(call MSG_L1,lupdate all languages (nls/*.ts))
2518 $(QUIET)$(TOOL_QT5_LUPDATE) \
2519 $^ \
2520 -ts \
2521 $(filter-out nls/VirtualBox_en.ts,$(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))) \
2522 nls/VirtualBox_xx_YY.ts
2523
2524# Create the English translation file. This is something special cause it will
2525# contain the plural forms only.
2526nls/VirtualBox_en.ts: \
2527 $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
2528 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
2529 $(call MSG_L1,lupdate $@)
2530 $(QUIET)$(TOOL_QT5_LUPDATE) \
2531 $^ \
2532 -ts \
2533 $@
2534 $(QUIET)$(SED) -n -i -e \
2535 '/<context>/,/<\/context>/!p;/<context>/h;/<name>/H;/<message numerus="yes">/,/<\/message>/H;/<\/context>/{H;x;/<message/p}' \
2536 $@
2537
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette