VirtualBox

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

Last change on this file since 72331 was 72289, checked in by vboxsync, 7 years ago

FE/Qt bugref:6769 Removing an obsolete widget class (RIP UIVMNamePathSelector)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 90.0 KB
Line 
1# $Id: Makefile.kmk 72289 2018-05-22 14:51:38Z 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/UIWarningPane.h \
897 src/wizards/UIWizard.h \
898 src/wizards/UIWizardPage.h \
899 src/wizards/firstrun/UIWizardFirstRun.h \
900 src/wizards/firstrun/UIWizardFirstRunPageBasic.h \
901 src/wizards/newvd/UIWizardNewVD.h \
902 src/wizards/newvd/UIWizardNewVDPageBasic1.h \
903 src/wizards/newvd/UIWizardNewVDPageBasic2.h \
904 src/wizards/newvd/UIWizardNewVDPageBasic3.h \
905 src/wizards/newvd/UIWizardNewVDPageExpert.h
906
907 ifdef VBOX_WITH_DRAG_AND_DROP
908 VirtualBox_QT_MOCHDRS += \
909 src/runtime/UIDnDHandler.h
910 ifdef VBOX_WITH_DRAG_AND_DROP_GH
911 VirtualBox_QT_MOCHDRS += \
912 src/runtime/UIDnDMIMEData.h
913 endif
914 endif
915
916 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
917 VirtualBox_QT_MOCHDRS += \
918 src/net/UIDownloader.h \
919 src/net/UIDownloaderAdditions.h \
920 src/net/UIDownloaderExtensionPack.h \
921 src/net/UIDownloaderUserManual.h \
922 src/net/UINetworkCustomer.h \
923 src/net/UINetworkManager.h \
924 src/net/UINetworkManagerDialog.h \
925 src/net/UINetworkManagerIndicator.h \
926 src/net/UINetworkRequest.h \
927 src/net/UINetworkRequestWidget.h \
928 src/net/UINetworkReply.h \
929 src/net/UIUpdateManager.h \
930 src/settings/global/UIGlobalSettingsProxy.h \
931 src/settings/global/UIGlobalSettingsUpdate.h
932 endif
933
934 VirtualBox_QT_MOCHDRS.darwin += \
935 src/platform/darwin/UICocoaSpecialControls.h \
936 src/platform/darwin/UIWindowMenuManager.h
937endif
938
939
940ifdef VBOX_GUI_WITH_SHARED_LIBRARY
941 #
942 # VirtualBox Virtual Machine Application
943 # Headers containing definitions of classes that use the Q_OBJECT macro.
944 #
945 VirtualBoxVM_QT_MOCHDRS = \
946 src/globals/UIStarter.h \
947 src/runtime/UIConsoleEventHandler.h \
948 src/runtime/UIFrameBuffer.h \
949 src/runtime/UIIndicatorsPool.h \
950 src/runtime/UIKeyboardHandler.h \
951 src/runtime/UIMachine.h \
952 src/runtime/UIMachineLogic.h \
953 src/runtime/UIMachineWindow.h \
954 src/runtime/UIMachineView.h \
955 src/runtime/UIMouseHandler.h \
956 src/runtime/UIMultiScreenLayout.h \
957 src/runtime/UISession.h \
958 src/runtime/UIVMCloseDialog.h \
959 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
960 src/runtime/fullscreen/UIMachineLogicFullscreen.h \
961 src/runtime/fullscreen/UIMachineViewFullscreen.h \
962 src/runtime/fullscreen/UIMachineWindowFullscreen.h \
963 src/runtime/information/UIInformationConfiguration.h \
964 src/runtime/information/UIInformationDataItem.h \
965 src/runtime/information/UIInformationItem.h \
966 src/runtime/information/UIInformationModel.h \
967 src/runtime/information/UIInformationRuntime.h \
968 src/runtime/information/UIInformationView.h \
969 src/runtime/information/UIVMInformationDialog.h \
970 src/runtime/guestctrl/UIGuestControlConsole.h \
971 src/runtime/guestctrl/UIGuestControlFileManager.h \
972 src/runtime/guestctrl/UIGuestControlFileModel.h \
973 src/runtime/guestctrl/UIGuestControlFileTable.h \
974 src/runtime/guestctrl/UIGuestControlInterface.h \
975 src/runtime/guestctrl/UIGuestControlTreeItem.h \
976 src/runtime/guestctrl/UIGuestControlWidget.h \
977 src/runtime/guestctrl/UIGuestFileTable.h \
978 src/runtime/guestctrl/UIHostFileTable.h \
979 src/runtime/normal/UIKeyboardHandlerNormal.h \
980 src/runtime/normal/UIMachineLogicNormal.h \
981 src/runtime/normal/UIMachineViewNormal.h \
982 src/runtime/normal/UIMachineWindowNormal.h \
983 src/runtime/scale/UIKeyboardHandlerScale.h \
984 src/runtime/scale/UIMachineLogicScale.h \
985 src/runtime/scale/UIMachineViewScale.h \
986 src/runtime/scale/UIMachineWindowScale.h \
987 src/runtime/seamless/UIKeyboardHandlerSeamless.h \
988 src/runtime/seamless/UIMachineLogicSeamless.h \
989 src/runtime/seamless/UIMachineViewSeamless.h \
990 src/runtime/seamless/UIMachineWindowSeamless.h \
991 src/widgets/UIMiniToolBar.h \
992 src/wizards/firstrun/UIWizardFirstRun.h \
993 src/wizards/firstrun/UIWizardFirstRunPageBasic.h
994
995 ifdef VBOX_WITH_DRAG_AND_DROP
996 VirtualBoxVM_QT_MOCHDRS += \
997 src/runtime/UIDnDHandler.h
998 ifdef VBOX_WITH_DRAG_AND_DROP_GH
999 VirtualBoxVM_QT_MOCHDRS += \
1000 src/runtime/UIDnDMIMEData.h
1001 endif
1002 endif
1003
1004
1005 #
1006 # VirtualBox - GUI Global Shared Library.
1007 # Headers containing definitions of classes that use the Q_OBJECT macro.
1008 #
1009 VBoxGlobal_QT_MOCHDRS = \
1010 src/VBoxAboutDlg.h \
1011 src/VBoxLicenseViewer.h \
1012 src/UITakeSnapshotDialog.h \
1013 src/extensions/QIAdvancedSlider.h \
1014 src/extensions/QIArrowButtonPress.h \
1015 src/extensions/QIArrowButtonSwitch.h \
1016 src/extensions/QIArrowSplitter.h \
1017 src/extensions/QIComboBox.h \
1018 src/extensions/QIDialog.h \
1019 src/extensions/QIDialogButtonBox.h \
1020 src/extensions/QIFileDialog.h \
1021 src/extensions/QIFlowLayout.h \
1022 src/extensions/QILabel.h \
1023 src/extensions/QILabelSeparator.h \
1024 src/extensions/QILineEdit.h \
1025 src/extensions/QIMainDialog.h \
1026 src/extensions/QIMainWindow.h \
1027 src/extensions/QIManagerDialog.h \
1028 src/extensions/QIMenu.h \
1029 src/extensions/QIMessageBox.h \
1030 src/extensions/QIProcess.h \
1031 src/extensions/QIRichTextLabel.h \
1032 src/extensions/QIRichToolButton.h \
1033 src/extensions/QISplitter.h \
1034 src/extensions/QIStatusBar.h \
1035 src/extensions/QIStatusBarIndicator.h \
1036 src/extensions/QIStyledItemDelegate.h \
1037 src/extensions/QITableView.h \
1038 src/extensions/QITabWidget.h \
1039 src/extensions/QIToolButton.h \
1040 src/extensions/QITreeView.h \
1041 src/extensions/QITreeWidget.h \
1042 src/extensions/QIWidgetValidator.h \
1043 src/extensions/graphics/QIGraphicsView.h \
1044 src/extensions/graphics/QIGraphicsWidget.h \
1045 src/extradata/UIExtraDataDefs.h \
1046 src/extradata/UIExtraDataManager.h \
1047 src/globals/UIActionPool.h \
1048 src/globals/UIAnimationFramework.h \
1049 src/globals/UIDesktopWidgetWatchdog.h \
1050 src/globals/UIMainEventListener.h \
1051 src/globals/UIMessageCenter.h \
1052 src/globals/UIModalWindowManager.h \
1053 src/globals/UIPopupCenter.h \
1054 src/globals/UIShortcutPool.h \
1055 src/globals/UIThreadPool.h \
1056 src/globals/VBoxGlobal.h \
1057 src/globals/VBoxUtils.h \
1058 src/logviewer/UIVMLogPage.h \
1059 src/logviewer/UIVMLogViewerBookmarksPanel.h \
1060 src/logviewer/UIVMLogViewerDialog.h \
1061 src/logviewer/UIVMLogViewerFilterPanel.h \
1062 src/logviewer/UIVMLogViewerPanel.h \
1063 src/logviewer/UIVMLogViewerSearchPanel.h \
1064 src/logviewer/UIVMLogViewerSettingsPanel.h \
1065 src/logviewer/UIVMLogViewerTextEdit.h \
1066 src/logviewer/UIVMLogViewerWidget.h \
1067 src/medium/UIMediumEnumerator.h \
1068 src/runtime/UIActionPoolRuntime.h \
1069 src/selector/UIActionPoolSelector.h \
1070 src/selector/UIVirtualBoxEventHandler.h \
1071 src/settings/UISettingsDialog.h \
1072 src/settings/UISettingsDialogSpecific.h \
1073 src/settings/UISettingsPage.h \
1074 src/settings/UISettingsSelector.h \
1075 src/settings/UISettingsSerializer.h \
1076 src/settings/global/UIGlobalSettingsExtension.h \
1077 src/settings/global/UIGlobalSettingsGeneral.h \
1078 src/settings/global/UIGlobalSettingsInput.h \
1079 src/settings/global/UIGlobalSettingsLanguage.h \
1080 src/settings/global/UIGlobalSettingsDisplay.h \
1081 src/settings/global/UIGlobalSettingsNetwork.h \
1082 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
1083 src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
1084 src/settings/machine/UIMachineSettingsAudio.h \
1085 src/settings/machine/UIMachineSettingsDisplay.h \
1086 src/settings/machine/UIMachineSettingsGeneral.h \
1087 src/settings/machine/UIMachineSettingsInterface.h \
1088 src/settings/machine/UIMachineSettingsNetwork.h \
1089 src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
1090 src/settings/machine/UIMachineSettingsSF.h \
1091 src/settings/machine/UIMachineSettingsSFDetails.h \
1092 src/settings/machine/UIMachineSettingsSerial.h \
1093 src/settings/machine/UIMachineSettingsStorage.h \
1094 src/settings/machine/UIMachineSettingsSystem.h \
1095 src/settings/machine/UIMachineSettingsUSB.h \
1096 src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
1097 src/widgets/UIAddDiskEncryptionPasswordDialog.h \
1098 src/widgets/UIBootTable.h \
1099 src/widgets/UIFilePathSelector.h \
1100 src/widgets/UIFilmContainer.h \
1101 src/widgets/UIGuestRAMSlider.h \
1102 src/widgets/UIHostComboEditor.h \
1103 src/widgets/UIHotKeyEditor.h \
1104 src/widgets/UIMediaComboBox.h \
1105 src/widgets/UIMediumSizeEditor.h \
1106 src/widgets/UIMenuBar.h \
1107 src/widgets/UIMenuBarEditorWindow.h \
1108 src/widgets/UINameAndSystemEditor.h \
1109 src/widgets/UIPopupBox.h \
1110 src/widgets/UIPopupPane.h \
1111 src/widgets/UIPopupPaneButtonPane.h \
1112 src/widgets/UIPopupPaneMessage.h \
1113 src/widgets/UIPopupPaneDetails.h \
1114 src/widgets/UIPopupStack.h \
1115 src/widgets/UIPopupStackViewport.h \
1116 src/widgets/UIPortForwardingTable.h \
1117 src/widgets/UIProgressDialog.h \
1118 src/widgets/UISlidingToolBar.h \
1119 src/widgets/UISpecialControls.h \
1120 src/widgets/UIStatusBarEditorWindow.h \
1121 src/widgets/UIToolBar.h \
1122 src/widgets/UIWarningPane.h \
1123 src/wizards/UIWizard.h \
1124 src/wizards/UIWizardPage.h \
1125 src/wizards/newvd/UIWizardNewVD.h \
1126 src/wizards/newvd/UIWizardNewVDPageBasic1.h \
1127 src/wizards/newvd/UIWizardNewVDPageBasic2.h \
1128 src/wizards/newvd/UIWizardNewVDPageBasic3.h \
1129 src/wizards/newvd/UIWizardNewVDPageExpert.h
1130
1131 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1132 VBoxGlobal_QT_MOCHDRS += \
1133 src/net/UIDownloader.h \
1134 src/net/UIDownloaderAdditions.h \
1135 src/net/UIDownloaderExtensionPack.h \
1136 src/net/UIDownloaderUserManual.h \
1137 src/net/UINetworkCustomer.h \
1138 src/net/UINetworkManager.h \
1139 src/net/UINetworkManagerDialog.h \
1140 src/net/UINetworkManagerIndicator.h \
1141 src/net/UINetworkRequest.h \
1142 src/net/UINetworkRequestWidget.h \
1143 src/net/UINetworkReply.h \
1144 src/net/UIUpdateManager.h \
1145 src/settings/global/UIGlobalSettingsProxy.h \
1146 src/settings/global/UIGlobalSettingsUpdate.h
1147 endif
1148
1149 VBoxGlobal_QT_MOCHDRS.darwin += \
1150 src/platform/darwin/UICocoaSpecialControls.h \
1151 src/platform/darwin/UIWindowMenuManager.h
1152endif
1153
1154
1155#
1156# VirtualBox Manager Application
1157# Sources containing local definitions of classes that use the Q_OBJECT macro.
1158#
1159VirtualBox_QT_MOCSRCS = \
1160 src/selector/UIDesktopPane.cpp \
1161 src/selector/UISnapshotDetailsWidget.cpp \
1162 src/selector/UISnapshotPane.cpp \
1163 src/widgets/UIMenuToolBar.cpp \
1164 src/widgets/UITabBar.cpp \
1165 src/wizards/importappliance/UIWizardImportApp.cpp
1166
1167ifndef VBOX_GUI_WITH_SHARED_LIBRARY
1168 VirtualBox_QT_MOCSRCS += \
1169 src/extensions/QIAdvancedSlider.cpp \
1170 src/extensions/QIArrowSplitter.cpp \
1171 src/extensions/QISplitter.cpp \
1172 src/extradata/UIExtraDataManager.cpp \
1173 src/globals/UIActionPool.cpp \
1174 src/globals/UIMainEventListener.cpp \
1175 src/globals/UIThreadPool.cpp \
1176 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1177 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1178 src/logviewer/UIVMLogViewerTextEdit.cpp \
1179 src/medium/UIMediumEnumerator.cpp \
1180 src/runtime/UIActionPoolRuntime.cpp \
1181 src/runtime/UIConsoleEventHandler.cpp \
1182 src/runtime/UIFrameBuffer.cpp \
1183 src/runtime/UIIndicatorsPool.cpp \
1184 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1185 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1186 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1187 src/runtime/guestctrl/UIGuestFileTable.cpp \
1188 src/runtime/guestctrl/UIHostFileTable.cpp \
1189 src/selector/UIActionPoolSelector.cpp \
1190 src/selector/UIVirtualBoxEventHandler.cpp \
1191 src/settings/global/UIGlobalSettingsInput.cpp \
1192 src/settings/machine/UIMachineSettingsNetwork.cpp \
1193 src/settings/machine/UIMachineSettingsSerial.cpp \
1194 src/settings/machine/UIMachineSettingsStorage.cpp \
1195 src/settings/machine/UIMachineSettingsUSB.cpp \
1196 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1197 src/widgets/UIFilmContainer.cpp \
1198 src/widgets/UIHotKeyEditor.cpp \
1199 src/widgets/UIMiniToolBar.cpp \
1200 src/widgets/UIPortForwardingTable.cpp \
1201 src/widgets/UIProgressDialog.cpp \
1202 src/widgets/UIStatusBarEditorWindow.cpp
1203
1204 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1205 VirtualBox_QT_MOCSRCS += \
1206 src/net/UINetworkReply.cpp \
1207 src/net/UIUpdateManager.cpp
1208 endif
1209
1210 ifdef VBOX_WITH_XPCOM
1211 VirtualBox_QT_MOCSRCS += \
1212 src/globals/COMDefs.cpp
1213 endif
1214
1215 VirtualBox_QT_MOCSRCS.darwin += \
1216 src/platform/darwin/UIWindowMenuManager.cpp
1217
1218 VirtualBox_QT_MOCSRCS.linux += \
1219 src/globals/UIDesktopWidgetWatchdog.cpp
1220 VirtualBox_QT_MOCSRCS.solaris += \
1221 src/globals/UIDesktopWidgetWatchdog.cpp
1222 VirtualBox_QT_MOCSRCS.freebsd += \
1223 src/globals/UIDesktopWidgetWatchdog.cpp
1224endif
1225
1226
1227ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1228 #
1229 # VirtualBox Virtual Machine Application
1230 # Sources containing local definitions of classes that use the Q_OBJECT macro.
1231 #
1232 VirtualBoxVM_QT_MOCSRCS = \
1233 src/runtime/UIConsoleEventHandler.cpp \
1234 src/runtime/UIFrameBuffer.cpp \
1235 src/runtime/UIIndicatorsPool.cpp \
1236 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1237 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1238 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1239 src/runtime/guestctrl/UIGuestFileTable.cpp \
1240 src/runtime/guestctrl/UIHostFileTable.cpp \
1241 src/widgets/UIMiniToolBar.cpp
1242
1243
1244 #
1245 # VirtualBox - GUI Global Shared Library.
1246 # Sources.
1247 #
1248 VBoxGlobal_QT_MOCSRCS = \
1249 src/extensions/QIAdvancedSlider.cpp \
1250 src/extensions/QIArrowSplitter.cpp \
1251 src/extensions/QISplitter.cpp \
1252 src/extradata/UIExtraDataManager.cpp \
1253 src/globals/UIActionPool.cpp \
1254 src/globals/UIMainEventListener.cpp \
1255 src/globals/UIThreadPool.cpp \
1256 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1257 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1258 src/logviewer/UIVMLogViewerTextEdit.cpp \
1259 src/medium/UIMediumEnumerator.cpp \
1260 src/runtime/UIActionPoolRuntime.cpp \
1261 src/selector/UIActionPoolSelector.cpp \
1262 src/selector/UIVirtualBoxEventHandler.cpp \
1263 src/settings/global/UIGlobalSettingsInput.cpp \
1264 src/settings/machine/UIMachineSettingsNetwork.cpp \
1265 src/settings/machine/UIMachineSettingsSerial.cpp \
1266 src/settings/machine/UIMachineSettingsStorage.cpp \
1267 src/settings/machine/UIMachineSettingsUSB.cpp \
1268 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1269 src/widgets/UIFilmContainer.cpp \
1270 src/widgets/UIHotKeyEditor.cpp \
1271 src/widgets/UIPortForwardingTable.cpp \
1272 src/widgets/UIProgressDialog.cpp \
1273 src/widgets/UIStatusBarEditorWindow.cpp
1274
1275 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1276 VBoxGlobal_QT_MOCSRCS += \
1277 src/net/UINetworkReply.cpp \
1278 src/net/UIUpdateManager.cpp
1279 endif
1280
1281 ifdef VBOX_WITH_XPCOM
1282 VBoxGlobal_QT_MOCSRCS += \
1283 src/globals/COMDefs.cpp
1284 endif
1285
1286 VBoxGlobal_QT_MOCSRCS.darwin += \
1287 src/platform/darwin/UIWindowMenuManager.cpp
1288
1289 VBoxGlobal_QT_MOCSRCS.linux += \
1290 src/globals/UIDesktopWidgetWatchdog.cpp
1291 VBoxGlobal_QT_MOCSRCS.solaris += \
1292 src/globals/UIDesktopWidgetWatchdog.cpp
1293 VBoxGlobal_QT_MOCSRCS.freebsd += \
1294 src/globals/UIDesktopWidgetWatchdog.cpp
1295endif
1296
1297
1298#
1299# VirtualBox Manager Application
1300# Sources.
1301#
1302VirtualBox_SOURCES = \
1303 src/main.cpp \
1304 src/globals/UIStarter.cpp \
1305 src/hostnetwork/UIHostNetworkDetailsWidget.cpp \
1306 src/hostnetwork/UIHostNetworkManager.cpp \
1307 src/hostnetwork/UIHostNetworkUtils.cpp \
1308 src/medium/UIMediumDetailsWidget.cpp \
1309 src/medium/UIMediumManager.cpp \
1310 src/selector/UIDesktopPane.cpp \
1311 src/selector/UIVMItem.cpp \
1312 src/selector/UISelectorWindow.cpp \
1313 src/selector/UISnapshotDetailsWidget.cpp \
1314 src/selector/UISnapshotPane.cpp \
1315 src/selector/UIToolsPaneGlobal.cpp \
1316 src/selector/UIToolsPaneMachine.cpp \
1317 src/selector/UIToolsToolbar.cpp \
1318 src/selector/graphics/chooser/UIGChooser.cpp \
1319 src/selector/graphics/chooser/UIGChooserModel.cpp \
1320 src/selector/graphics/chooser/UIGChooserView.cpp \
1321 src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp \
1322 src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp \
1323 src/selector/graphics/chooser/UIGChooserItem.cpp \
1324 src/selector/graphics/chooser/UIGChooserItemGroup.cpp \
1325 src/selector/graphics/chooser/UIGChooserItemMachine.cpp \
1326 src/selector/graphics/details/UIGDetails.cpp \
1327 src/selector/graphics/details/UIGDetailsModel.cpp \
1328 src/selector/graphics/details/UIGDetailsView.cpp \
1329 src/selector/graphics/details/UIGDetailsItem.cpp \
1330 src/selector/graphics/details/UIGDetailsGroup.cpp \
1331 src/selector/graphics/details/UIGDetailsSet.cpp \
1332 src/selector/graphics/details/UIGDetailsElement.cpp \
1333 src/selector/graphics/details/UIGDetailsElements.cpp \
1334 src/selector/graphics/details/UIGMachinePreview.cpp \
1335 src/widgets/UIApplianceEditorWidget.cpp \
1336 src/widgets/UIApplianceExportEditorWidget.cpp \
1337 src/widgets/UIApplianceImportEditorWidget.cpp \
1338 src/widgets/UIEmptyFilePathSelector.cpp \
1339 src/widgets/UILineTextEdit.cpp \
1340 src/widgets/UISlidingWidget.cpp \
1341 src/widgets/UITabBar.cpp \
1342 src/widgets/UIMenuToolBar.cpp \
1343 src/widgets/VBoxOSTypeSelectorButton.cpp \
1344 src/widgets/graphics/UIGraphicsButton.cpp \
1345 src/widgets/graphics/UIGraphicsRotatorButton.cpp \
1346 src/widgets/graphics/UIGraphicsZoomButton.cpp \
1347 src/widgets/graphics/UIGraphicsToolBar.cpp \
1348 src/widgets/graphics/UIGraphicsTextPane.cpp \
1349 src/wizards/newvm/UIWizardNewVM.cpp \
1350 src/wizards/newvm/UIWizardNewVMPageBasic1.cpp \
1351 src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \
1352 src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \
1353 src/wizards/newvm/UIWizardNewVMPageExpert.cpp \
1354 src/wizards/clonevm/UIWizardCloneVM.cpp \
1355 src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp \
1356 src/wizards/clonevm/UIWizardCloneVMPageBasic2.cpp \
1357 src/wizards/clonevm/UIWizardCloneVMPageBasic3.cpp \
1358 src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp \
1359 src/wizards/clonevd/UIWizardCloneVD.cpp \
1360 src/wizards/clonevd/UIWizardCloneVDPageBasic1.cpp \
1361 src/wizards/clonevd/UIWizardCloneVDPageBasic2.cpp \
1362 src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp \
1363 src/wizards/clonevd/UIWizardCloneVDPageBasic4.cpp \
1364 src/wizards/clonevd/UIWizardCloneVDPageExpert.cpp \
1365 src/wizards/exportappliance/UIWizardExportApp.cpp \
1366 src/wizards/exportappliance/UIWizardExportAppPageBasic1.cpp \
1367 src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp \
1368 src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp \
1369 src/wizards/exportappliance/UIWizardExportAppPageBasic4.cpp \
1370 src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp \
1371 src/wizards/importappliance/UIWizardImportApp.cpp \
1372 src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp \
1373 src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp \
1374 src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
1375
1376VirtualBox_SOURCES.darwin += \
1377 src/platform/darwin/UIDesktopServices_darwin.cpp \
1378 src/platform/darwin/UIDesktopServices_darwin_cocoa.mm
1379
1380if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1381 VirtualBox_SOURCES += \
1382 src/platform/x11/UIDesktopServices_x11.cpp
1383endif
1384
1385VirtualBox_SOURCES.win += \
1386 src/platform/win/VirtualBox.rc \
1387 src/platform/win/UIDesktopServices_win.cpp
1388
1389ifdef VBOX_WITH_ICHAT_THEATER
1390 VirtualBox_SOURCES.darwin += \
1391 src/platform/darwin/VBoxIChatTheaterWrapper.m
1392endif
1393
1394if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1395 VirtualBox_SOURCES += \
1396 src/VBox2DHelpers.cpp \
1397 src/VBoxFBOverlay.cpp \
1398 src/VBoxGLSupportInfo.cpp
1399endif
1400
1401ifndef VBOX_GUI_WITH_SHARED_LIBRARY
1402 VirtualBox_SOURCES += \
1403 src/VBoxAboutDlg.cpp \
1404 src/VBoxLicenseViewer.cpp \
1405 src/UITakeSnapshotDialog.cpp \
1406 src/extensions/QIAdvancedSlider.cpp \
1407 src/extensions/QIArrowButtonPress.cpp \
1408 src/extensions/QIArrowButtonSwitch.cpp \
1409 src/extensions/QIArrowSplitter.cpp \
1410 src/extensions/QIComboBox.cpp \
1411 src/extensions/QIDialog.cpp \
1412 src/extensions/QIDialogButtonBox.cpp \
1413 src/extensions/QIFileDialog.cpp \
1414 src/extensions/QIFlowLayout.cpp \
1415 src/extensions/QILabel.cpp \
1416 src/extensions/QILabelSeparator.cpp \
1417 src/extensions/QILineEdit.cpp \
1418 src/extensions/QIMainDialog.cpp \
1419 src/extensions/QIMainWindow.cpp \
1420 src/extensions/QIManagerDialog.cpp \
1421 src/extensions/QIMenu.cpp \
1422 src/extensions/QIMessageBox.cpp \
1423 src/extensions/QIProcess.cpp \
1424 src/extensions/QIRichTextLabel.cpp \
1425 src/extensions/QIRichToolButton.cpp \
1426 src/extensions/QISplitter.cpp \
1427 src/extensions/QIStatusBar.cpp \
1428 src/extensions/QIStatusBarIndicator.cpp \
1429 src/extensions/QIStyledItemDelegate.cpp \
1430 src/extensions/QITableView.cpp \
1431 src/extensions/QITabWidget.cpp \
1432 src/extensions/QIToolButton.cpp \
1433 src/extensions/QITreeView.cpp \
1434 src/extensions/QITreeWidget.cpp \
1435 src/extensions/QIWidgetValidator.cpp \
1436 src/extensions/graphics/QIGraphicsView.cpp \
1437 src/extensions/graphics/QIGraphicsWidget.cpp \
1438 src/extradata/UIExtraDataDefs.cpp \
1439 src/extradata/UIExtraDataManager.cpp \
1440 src/converter/UIConverter.cpp \
1441 src/converter/UIConverterBackendCOM.cpp \
1442 src/converter/UIConverterBackendGlobal.cpp \
1443 src/globals/COMDefs.cpp \
1444 src/globals/UIActionPool.cpp \
1445 src/globals/UIAnimationFramework.cpp \
1446 src/globals/UIDefs.cpp \
1447 src/globals/UIDesktopWidgetWatchdog.cpp \
1448 src/globals/UIErrorString.cpp \
1449 src/globals/UIIconPool.cpp \
1450 src/globals/UIImageTools.cpp \
1451 src/globals/UIMainEventListener.cpp \
1452 src/globals/UIMessageCenter.cpp \
1453 src/globals/UIModalWindowManager.cpp \
1454 src/globals/UIPopupCenter.cpp \
1455 src/globals/UIShortcutPool.cpp \
1456 src/globals/UIThreadPool.cpp \
1457 src/globals/VBoxGlobal.cpp \
1458 src/logviewer/UIVMLogPage.cpp \
1459 src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
1460 src/logviewer/UIVMLogViewerDialog.cpp \
1461 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1462 src/logviewer/UIVMLogViewerPanel.cpp \
1463 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1464 src/logviewer/UIVMLogViewerSettingsPanel.cpp \
1465 src/logviewer/UIVMLogViewerTextEdit.cpp \
1466 src/logviewer/UIVMLogViewerWidget.cpp \
1467 src/medium/UIMedium.cpp \
1468 src/medium/UIMediumDefs.cpp \
1469 src/medium/UIMediumEnumerator.cpp \
1470 src/objects/UIRichTextString.cpp \
1471 src/runtime/UIActionPoolRuntime.cpp \
1472 src/runtime/UIConsoleEventHandler.cpp \
1473 src/runtime/UIFrameBuffer.cpp \
1474 src/runtime/UIIndicatorsPool.cpp \
1475 src/runtime/UIKeyboardHandler.cpp \
1476 src/runtime/UIMachine.cpp \
1477 src/runtime/UIMachineLogic.cpp \
1478 src/runtime/UIMachineView.cpp \
1479 src/runtime/UIMachineWindow.cpp \
1480 src/runtime/UIMouseHandler.cpp \
1481 src/runtime/UIMultiScreenLayout.cpp \
1482 src/runtime/UISession.cpp \
1483 src/runtime/UIVMCloseDialog.cpp \
1484 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
1485 src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
1486 src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
1487 src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
1488 src/runtime/information/UIInformationConfiguration.cpp \
1489 src/runtime/information/UIInformationDataItem.cpp \
1490 src/runtime/information/UIInformationItem.cpp \
1491 src/runtime/information/UIInformationModel.cpp \
1492 src/runtime/information/UIInformationRuntime.cpp \
1493 src/runtime/information/UIInformationView.cpp \
1494 src/runtime/information/UIVMInformationDialog.cpp \
1495 src/runtime/guestctrl/UIGuestControlConsole.cpp \
1496 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1497 src/runtime/guestctrl/UIGuestControlFileModel.cpp \
1498 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1499 src/runtime/guestctrl/UIGuestControlInterface.cpp \
1500 src/runtime/guestctrl/UIGuestControlTreeItem.cpp \
1501 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1502 src/runtime/guestctrl/UIGuestFileTable.cpp \
1503 src/runtime/guestctrl/UIHostFileTable.cpp \
1504 src/runtime/normal/UIKeyboardHandlerNormal.cpp \
1505 src/runtime/normal/UIMachineLogicNormal.cpp \
1506 src/runtime/normal/UIMachineViewNormal.cpp \
1507 src/runtime/normal/UIMachineWindowNormal.cpp \
1508 src/runtime/scale/UIKeyboardHandlerScale.cpp \
1509 src/runtime/scale/UIMachineLogicScale.cpp \
1510 src/runtime/scale/UIMachineViewScale.cpp \
1511 src/runtime/scale/UIMachineWindowScale.cpp \
1512 src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
1513 src/runtime/seamless/UIMachineLogicSeamless.cpp \
1514 src/runtime/seamless/UIMachineViewSeamless.cpp \
1515 src/runtime/seamless/UIMachineWindowSeamless.cpp \
1516 src/selector/UIActionPoolSelector.cpp \
1517 src/selector/UIVirtualBoxEventHandler.cpp \
1518 src/settings/UISettingsDefs.cpp \
1519 src/settings/UISettingsDialog.cpp \
1520 src/settings/UISettingsDialogSpecific.cpp \
1521 src/settings/UISettingsPage.cpp \
1522 src/settings/UISettingsSelector.cpp \
1523 src/settings/UISettingsSerializer.cpp \
1524 src/settings/global/UIGlobalSettingsExtension.cpp \
1525 src/settings/global/UIGlobalSettingsGeneral.cpp \
1526 src/settings/global/UIGlobalSettingsInput.cpp \
1527 src/settings/global/UIGlobalSettingsLanguage.cpp \
1528 src/settings/global/UIGlobalSettingsDisplay.cpp \
1529 src/settings/global/UIGlobalSettingsNetwork.cpp \
1530 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
1531 src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
1532 src/settings/machine/UIMachineSettingsAudio.cpp \
1533 src/settings/machine/UIMachineSettingsDisplay.cpp \
1534 src/settings/machine/UIMachineSettingsGeneral.cpp \
1535 src/settings/machine/UIMachineSettingsInterface.cpp \
1536 src/settings/machine/UIMachineSettingsNetwork.cpp \
1537 src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
1538 src/settings/machine/UIMachineSettingsSF.cpp \
1539 src/settings/machine/UIMachineSettingsSFDetails.cpp \
1540 src/settings/machine/UIMachineSettingsSerial.cpp \
1541 src/settings/machine/UIMachineSettingsStorage.cpp \
1542 src/settings/machine/UIMachineSettingsSystem.cpp \
1543 src/settings/machine/UIMachineSettingsUSB.cpp \
1544 src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
1545 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1546 src/widgets/UIBootTable.cpp \
1547 src/widgets/UIFilePathSelector.cpp \
1548 src/widgets/UIFilmContainer.cpp \
1549 src/widgets/UIGuestRAMSlider.cpp \
1550 src/widgets/UIHostComboEditor.cpp \
1551 src/widgets/UIHotKeyEditor.cpp \
1552 src/widgets/UIMediaComboBox.cpp \
1553 src/widgets/UIMediumSizeEditor.cpp \
1554 src/widgets/UIMenuBar.cpp \
1555 src/widgets/UIMenuBarEditorWindow.cpp \
1556 src/widgets/UIMiniToolBar.cpp \
1557 src/widgets/UINameAndSystemEditor.cpp \
1558 src/widgets/UIPopupBox.cpp \
1559 src/widgets/UIPopupPane.cpp \
1560 src/widgets/UIPopupPaneButtonPane.cpp \
1561 src/widgets/UIPopupPaneMessage.cpp \
1562 src/widgets/UIPopupPaneDetails.cpp \
1563 src/widgets/UIPopupStack.cpp \
1564 src/widgets/UIPopupStackViewport.cpp \
1565 src/widgets/UIPortForwardingTable.cpp \
1566 src/widgets/UIProgressDialog.cpp \
1567 src/widgets/UISlidingToolBar.cpp \
1568 src/widgets/UISpecialControls.cpp \
1569 src/widgets/UIStatusBarEditorWindow.cpp \
1570 src/widgets/UIToolBar.cpp \
1571 src/widgets/UIWarningPane.cpp \
1572 src/wizards/UIWizard.cpp \
1573 src/wizards/UIWizardPage.cpp \
1574 src/wizards/firstrun/UIWizardFirstRun.cpp \
1575 src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp \
1576 src/wizards/newvd/UIWizardNewVD.cpp \
1577 src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
1578 src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
1579 src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
1580 src/wizards/newvd/UIWizardNewVDPageExpert.cpp
1581
1582 ifdef VBOX_WITH_DRAG_AND_DROP
1583 VirtualBox_SOURCES += \
1584 src/runtime/UIDnDHandler.cpp
1585 ifdef VBOX_WITH_DRAG_AND_DROP_GH
1586 VirtualBox_SOURCES += \
1587 src/runtime/UIDnDMIMEData.cpp
1588 VirtualBox_SOURCES.win += \
1589 src/runtime/UIDnDDropSource_win.cpp \
1590 src/runtime/UIDnDDataObject_win.cpp \
1591 src/runtime/UIDnDEnumFormat_win.cpp
1592 endif
1593 endif
1594
1595 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1596 VirtualBox_SOURCES += \
1597 src/net/UIDownloader.cpp \
1598 src/net/UIDownloaderAdditions.cpp \
1599 src/net/UIDownloaderExtensionPack.cpp \
1600 src/net/UIDownloaderUserManual.cpp \
1601 src/net/UINetworkCustomer.cpp \
1602 src/net/UINetworkManager.cpp \
1603 src/net/UINetworkManagerDialog.cpp \
1604 src/net/UINetworkManagerIndicator.cpp \
1605 src/net/UINetworkRequest.cpp \
1606 src/net/UINetworkRequestWidget.cpp \
1607 src/net/UINetworkReply.cpp \
1608 src/net/UIUpdateDefs.cpp \
1609 src/net/UIUpdateManager.cpp \
1610 src/settings/global/UIGlobalSettingsProxy.cpp \
1611 src/settings/global/UIGlobalSettingsUpdate.cpp
1612 endif
1613
1614 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1615 VirtualBox_SOURCES += \
1616 src/platform/x11/VBoxX11Helper.cpp \
1617 src/platform/x11/XKeyboard-new.cpp
1618 endif
1619
1620 VirtualBox_SOURCES.win += \
1621 src/platform/win/VBoxUtils-win.cpp \
1622 src/platform/win/WinKeyboard.cpp
1623
1624 VirtualBox_SOURCES.darwin += \
1625 src/platform/darwin/CocoaEventHelper.mm \
1626 src/platform/darwin/DarwinKeyboard.cpp \
1627 src/platform/darwin/UIAbstractDockIconPreview.cpp \
1628 src/platform/darwin/UICocoaApplication.mm \
1629 src/platform/darwin/UICocoaDockIconPreview.mm \
1630 src/platform/darwin/UICocoaSpecialControls.mm \
1631 src/platform/darwin/UIWindowMenuManager.cpp \
1632 src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
1633 src/platform/darwin/VBoxUtils-darwin.cpp
1634endif
1635
1636
1637ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1638 #
1639 # VirtualBox Virtual Machine Application
1640 # Sources.
1641 #
1642 VirtualBoxVM_SOURCES = \
1643 src/main.cpp \
1644 src/globals/UIStarter.cpp \
1645 src/runtime/UIConsoleEventHandler.cpp \
1646 src/runtime/UIFrameBuffer.cpp \
1647 src/runtime/UIIndicatorsPool.cpp \
1648 src/runtime/UIKeyboardHandler.cpp \
1649 src/runtime/UIMachine.cpp \
1650 src/runtime/UIMachineLogic.cpp \
1651 src/runtime/UIMachineView.cpp \
1652 src/runtime/UIMachineWindow.cpp \
1653 src/runtime/UIMouseHandler.cpp \
1654 src/runtime/UIMultiScreenLayout.cpp \
1655 src/runtime/UISession.cpp \
1656 src/runtime/UIVMCloseDialog.cpp \
1657 src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
1658 src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
1659 src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
1660 src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
1661 src/runtime/information/UIInformationConfiguration.cpp \
1662 src/runtime/information/UIInformationDataItem.cpp \
1663 src/runtime/information/UIInformationItem.cpp \
1664 src/runtime/information/UIInformationModel.cpp \
1665 src/runtime/information/UIInformationRuntime.cpp \
1666 src/runtime/information/UIInformationView.cpp \
1667 src/runtime/information/UIVMInformationDialog.cpp \
1668 src/runtime/guestctrl/UIGuestControlConsole.cpp \
1669 src/runtime/guestctrl/UIGuestControlFileManager.cpp \
1670 src/runtime/guestctrl/UIGuestControlFileModel.cpp \
1671 src/runtime/guestctrl/UIGuestControlFileTable.cpp \
1672 src/runtime/guestctrl/UIGuestControlInterface.cpp \
1673 src/runtime/guestctrl/UIGuestControlTreeItem.cpp \
1674 src/runtime/guestctrl/UIGuestControlWidget.cpp \
1675 src/runtime/guestctrl/UIGuestFileTable.cpp \
1676 src/runtime/guestctrl/UIHostFileTable.cpp \
1677 src/runtime/normal/UIKeyboardHandlerNormal.cpp \
1678 src/runtime/normal/UIMachineLogicNormal.cpp \
1679 src/runtime/normal/UIMachineViewNormal.cpp \
1680 src/runtime/normal/UIMachineWindowNormal.cpp \
1681 src/runtime/scale/UIKeyboardHandlerScale.cpp \
1682 src/runtime/scale/UIMachineLogicScale.cpp \
1683 src/runtime/scale/UIMachineViewScale.cpp \
1684 src/runtime/scale/UIMachineWindowScale.cpp \
1685 src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
1686 src/runtime/seamless/UIMachineLogicSeamless.cpp \
1687 src/runtime/seamless/UIMachineViewSeamless.cpp \
1688 src/runtime/seamless/UIMachineWindowSeamless.cpp \
1689 src/widgets/UIMiniToolBar.cpp \
1690 src/wizards/firstrun/UIWizardFirstRun.cpp \
1691 src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
1692
1693 ifdef VBOX_WITH_DRAG_AND_DROP
1694 VirtualBoxVM_SOURCES += \
1695 src/runtime/UIDnDHandler.cpp
1696 ifdef VBOX_WITH_DRAG_AND_DROP_GH
1697 VirtualBoxVM_SOURCES += \
1698 src/runtime/UIDnDMIMEData.cpp
1699 VirtualBoxVM_SOURCES.win += \
1700 src/runtime/UIDnDDropSource_win.cpp \
1701 src/runtime/UIDnDDataObject_win.cpp \
1702 src/runtime/UIDnDEnumFormat_win.cpp
1703 endif
1704 endif
1705
1706 ifdef VBOX_WITH_ICHAT_THEATER
1707 VirtualBoxVM_SOURCES.darwin += \
1708 src/platform/darwin/VBoxIChatTheaterWrapper.m
1709 endif
1710
1711 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1712 VirtualBoxVM_SOURCES += \
1713 src/VBox2DHelpers.cpp \
1714 src/VBoxFBOverlay.cpp \
1715 src/VBoxGLSupportInfo.cpp
1716 endif
1717
1718 VirtualBoxVM_SOURCES.darwin += \
1719 src/platform/darwin/UIAbstractDockIconPreview.cpp \
1720 src/platform/darwin/UICocoaDockIconPreview.mm
1721
1722 VirtualBoxVM_SOURCES.win += \
1723 src/platform/win/VirtualBox.rc
1724
1725
1726 #
1727 # VirtualBox - GUI Global Shared Library.
1728 # Sources.
1729 #
1730 VBoxGlobal_SOURCES = \
1731 src/VBoxAboutDlg.cpp \
1732 src/VBoxLicenseViewer.cpp \
1733 src/UITakeSnapshotDialog.cpp \
1734 src/extensions/QIAdvancedSlider.cpp \
1735 src/extensions/QIArrowButtonPress.cpp \
1736 src/extensions/QIArrowButtonSwitch.cpp \
1737 src/extensions/QIArrowSplitter.cpp \
1738 src/extensions/QIComboBox.cpp \
1739 src/extensions/QIDialog.cpp \
1740 src/extensions/QIDialogButtonBox.cpp \
1741 src/extensions/QIFileDialog.cpp \
1742 src/extensions/QIFlowLayout.cpp \
1743 src/extensions/QILabel.cpp \
1744 src/extensions/QILabelSeparator.cpp \
1745 src/extensions/QILineEdit.cpp \
1746 src/extensions/QIMainDialog.cpp \
1747 src/extensions/QIMainWindow.cpp \
1748 src/extensions/QIManagerDialog.cpp \
1749 src/extensions/QIMenu.cpp \
1750 src/extensions/QIMessageBox.cpp \
1751 src/extensions/QIProcess.cpp \
1752 src/extensions/QIRichTextLabel.cpp \
1753 src/extensions/QIRichToolButton.cpp \
1754 src/extensions/QISplitter.cpp \
1755 src/extensions/QIStatusBar.cpp \
1756 src/extensions/QIStatusBarIndicator.cpp \
1757 src/extensions/QIStyledItemDelegate.cpp \
1758 src/extensions/QITableView.cpp \
1759 src/extensions/QITabWidget.cpp \
1760 src/extensions/QIToolButton.cpp \
1761 src/extensions/QITreeView.cpp \
1762 src/extensions/QITreeWidget.cpp \
1763 src/extensions/QIWidgetValidator.cpp \
1764 src/extensions/graphics/QIGraphicsView.cpp \
1765 src/extensions/graphics/QIGraphicsWidget.cpp \
1766 src/extradata/UIExtraDataDefs.cpp \
1767 src/extradata/UIExtraDataManager.cpp \
1768 src/converter/UIConverter.cpp \
1769 src/converter/UIConverterBackendCOM.cpp \
1770 src/converter/UIConverterBackendGlobal.cpp \
1771 src/globals/COMDefs.cpp \
1772 src/globals/UIActionPool.cpp \
1773 src/globals/UIAnimationFramework.cpp \
1774 src/globals/UIDefs.cpp \
1775 src/globals/UIDesktopWidgetWatchdog.cpp \
1776 src/globals/UIErrorString.cpp \
1777 src/globals/UIIconPool.cpp \
1778 src/globals/UIImageTools.cpp \
1779 src/globals/UIMainEventListener.cpp \
1780 src/globals/UIMessageCenter.cpp \
1781 src/globals/UIModalWindowManager.cpp \
1782 src/globals/UIPopupCenter.cpp \
1783 src/globals/UIShortcutPool.cpp \
1784 src/globals/UIThreadPool.cpp \
1785 src/globals/VBoxGlobal.cpp \
1786 src/logviewer/UIVMLogPage.cpp \
1787 src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
1788 src/logviewer/UIVMLogViewerDialog.cpp \
1789 src/logviewer/UIVMLogViewerFilterPanel.cpp \
1790 src/logviewer/UIVMLogViewerPanel.cpp \
1791 src/logviewer/UIVMLogViewerSearchPanel.cpp \
1792 src/logviewer/UIVMLogViewerSettingsPanel.cpp \
1793 src/logviewer/UIVMLogViewerTextEdit.cpp \
1794 src/logviewer/UIVMLogViewerWidget.cpp \
1795 src/medium/UIMedium.cpp \
1796 src/medium/UIMediumDefs.cpp \
1797 src/medium/UIMediumEnumerator.cpp \
1798 src/objects/UIRichTextString.cpp \
1799 src/runtime/UIActionPoolRuntime.cpp \
1800 src/selector/UIActionPoolSelector.cpp \
1801 src/selector/UIVirtualBoxEventHandler.cpp \
1802 src/settings/UISettingsDefs.cpp \
1803 src/settings/UISettingsDialog.cpp \
1804 src/settings/UISettingsDialogSpecific.cpp \
1805 src/settings/UISettingsPage.cpp \
1806 src/settings/UISettingsSelector.cpp \
1807 src/settings/UISettingsSerializer.cpp \
1808 src/settings/global/UIGlobalSettingsExtension.cpp \
1809 src/settings/global/UIGlobalSettingsGeneral.cpp \
1810 src/settings/global/UIGlobalSettingsInput.cpp \
1811 src/settings/global/UIGlobalSettingsLanguage.cpp \
1812 src/settings/global/UIGlobalSettingsDisplay.cpp \
1813 src/settings/global/UIGlobalSettingsNetwork.cpp \
1814 src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
1815 src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
1816 src/settings/machine/UIMachineSettingsAudio.cpp \
1817 src/settings/machine/UIMachineSettingsDisplay.cpp \
1818 src/settings/machine/UIMachineSettingsGeneral.cpp \
1819 src/settings/machine/UIMachineSettingsInterface.cpp \
1820 src/settings/machine/UIMachineSettingsNetwork.cpp \
1821 src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
1822 src/settings/machine/UIMachineSettingsSF.cpp \
1823 src/settings/machine/UIMachineSettingsSFDetails.cpp \
1824 src/settings/machine/UIMachineSettingsSerial.cpp \
1825 src/settings/machine/UIMachineSettingsStorage.cpp \
1826 src/settings/machine/UIMachineSettingsSystem.cpp \
1827 src/settings/machine/UIMachineSettingsUSB.cpp \
1828 src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
1829 src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
1830 src/widgets/UIBootTable.cpp \
1831 src/widgets/UIFilePathSelector.cpp \
1832 src/widgets/UIFilmContainer.cpp \
1833 src/widgets/UIGuestRAMSlider.cpp \
1834 src/widgets/UIHostComboEditor.cpp \
1835 src/widgets/UIHotKeyEditor.cpp \
1836 src/widgets/UIMediaComboBox.cpp \
1837 src/widgets/UIMediumSizeEditor.cpp \
1838 src/widgets/UIMenuBar.cpp \
1839 src/widgets/UIMenuBarEditorWindow.cpp \
1840 src/widgets/UINameAndSystemEditor.cpp \
1841 src/widgets/UIPopupBox.cpp \
1842 src/widgets/UIPopupPane.cpp \
1843 src/widgets/UIPopupPaneButtonPane.cpp \
1844 src/widgets/UIPopupPaneMessage.cpp \
1845 src/widgets/UIPopupPaneDetails.cpp \
1846 src/widgets/UIPopupStack.cpp \
1847 src/widgets/UIPopupStackViewport.cpp \
1848 src/widgets/UIPortForwardingTable.cpp \
1849 src/widgets/UIProgressDialog.cpp \
1850 src/widgets/UISlidingToolBar.cpp \
1851 src/widgets/UISpecialControls.cpp \
1852 src/widgets/UIStatusBarEditorWindow.cpp \
1853 src/widgets/UIToolBar.cpp \
1854 src/widgets/UIWarningPane.cpp \
1855 src/wizards/UIWizard.cpp \
1856 src/wizards/UIWizardPage.cpp \
1857 src/wizards/newvd/UIWizardNewVD.cpp \
1858 src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
1859 src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
1860 src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
1861 src/wizards/newvd/UIWizardNewVDPageExpert.cpp
1862
1863 ifdef VBOX_GUI_WITH_NETWORK_MANAGER
1864 VBoxGlobal_SOURCES += \
1865 src/net/UIDownloader.cpp \
1866 src/net/UIDownloaderAdditions.cpp \
1867 src/net/UIDownloaderExtensionPack.cpp \
1868 src/net/UIDownloaderUserManual.cpp \
1869 src/net/UINetworkCustomer.cpp \
1870 src/net/UINetworkManager.cpp \
1871 src/net/UINetworkManagerDialog.cpp \
1872 src/net/UINetworkManagerIndicator.cpp \
1873 src/net/UINetworkRequest.cpp \
1874 src/net/UINetworkRequestWidget.cpp \
1875 src/net/UINetworkReply.cpp \
1876 src/net/UIUpdateDefs.cpp \
1877 src/net/UIUpdateManager.cpp \
1878 src/settings/global/UIGlobalSettingsProxy.cpp \
1879 src/settings/global/UIGlobalSettingsUpdate.cpp
1880 endif
1881
1882 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
1883 VBoxGlobal_SOURCES += \
1884 src/platform/x11/VBoxX11Helper.cpp \
1885 src/platform/x11/XKeyboard-new.cpp
1886 endif
1887
1888 VBoxGlobal_SOURCES.win += \
1889 src/platform/win/VBoxUtils-win.cpp \
1890 src/platform/win/WinKeyboard.cpp
1891
1892 VBoxGlobal_SOURCES.darwin += \
1893 src/platform/darwin/CocoaEventHelper.mm \
1894 src/platform/darwin/DarwinKeyboard.cpp \
1895 src/platform/darwin/UICocoaApplication.mm \
1896 src/platform/darwin/UICocoaSpecialControls.mm \
1897 src/platform/darwin/UIWindowMenuManager.cpp \
1898 src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
1899 src/platform/darwin/VBoxUtils-darwin.cpp
1900
1901 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1902 VBoxGlobal_SOURCES += \
1903 src/VBox2DHelpers.cpp \
1904 src/VBoxGLSupportInfo.cpp
1905 endif
1906endif
1907
1908
1909#
1910# VirtualBox Manager Application
1911# Deployment.
1912#
1913if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
1914 INSTALLS.linux += VirtualBox.qt.conf
1915 INSTALLS.solaris += VirtualBox.qt.conf
1916 VirtualBox.qt.conf_INST = $(INST_BIN)
1917 VirtualBox.qt.conf_MODE = 644
1918 VirtualBox.qt.conf_SOURCES = $(VirtualBox_0_OUTDIR)/qt.conf=>qt.conf
1919
1920$$(VirtualBox_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
1921 $(QUIET)$(RM) -f $@
1922 $(QUIET)$(APPEND) $@ "[Paths]"
1923 $(QUIET)$(APPEND) $@ "Plugins =" $(PATH_OUT)/$(INST_BIN)/plugins
1924endif
1925
1926
1927#
1928# VirtualBox Manager Application
1929# The Qt modules we're using.
1930# (The include directory and lib/framework for each module will be added by the Qt unit.)
1931#
1932VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport
1933VirtualBox_QT_MODULES.linux += X11Extras
1934VirtualBox_QT_MODULES.solaris += X11Extras
1935VirtualBox_QT_MODULES.freebsd += X11Extras
1936VirtualBox_QT_MODULES.darwin += MacExtras
1937VirtualBox_QT_MODULES.win += WinExtras
1938if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1939 VirtualBox_QT_MODULES += OpenGL
1940endif
1941
1942
1943ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1944 #
1945 # VirtualBox Virtual Machine Application
1946 # The Qt modules we're using.
1947 # (The include directory and lib/framework for each module will be added by the Qt unit.)
1948 #
1949 VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport
1950 VirtualBoxVM_QT_MODULES.linux += X11Extras
1951 VirtualBoxVM_QT_MODULES.solaris += X11Extras
1952 VirtualBoxVM_QT_MODULES.freebsd += X11Extras
1953 VirtualBoxVM_QT_MODULES.darwin += MacExtras
1954 VirtualBoxVM_QT_MODULES.win += WinExtras
1955 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1956 VirtualBoxVM_QT_MODULES += OpenGL
1957 endif
1958
1959
1960 #
1961 # VirtualBox - GUI Global Shared Library.
1962 # The Qt modules we're using.
1963 # (The include directory and lib/framework for each module will be added by the Qt unit.)
1964 #
1965 VBoxGlobal_QT_MODULES = Core Gui Widgets
1966 VBoxGlobal_QT_MODULES.linux += X11Extras
1967 VBoxGlobal_QT_MODULES.solaris += X11Extras
1968 VBoxGlobal_QT_MODULES.freebsd += X11Extras
1969 VBoxGlobal_QT_MODULES.darwin += MacExtras
1970 VBoxGlobal_QT_MODULES.win += WinExtras
1971 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
1972 VBoxGlobal_QT_MODULES += OpenGL
1973 endif
1974endif
1975
1976
1977# Pull in the ui files
1978$(eval VirtualBox_SOURCES += $(FORMS))
1979ifdef VBOX_GUI_WITH_SHARED_LIBRARY
1980 $(eval VirtualBoxVM_SOURCES += $(FORMS))
1981 $(eval VBoxGlobal_SOURCES += $(FORMS))
1982endif
1983
1984
1985# Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
1986VirtualBox_SOURCES += VirtualBox1.qrc
1987VirtualBox1.qrc_RCCFLAGS = -name BASIC1
1988VirtualBox_SOURCES += VirtualBox2.qrc
1989VirtualBox2.qrc_RCCFLAGS = -name BASIC2
1990VirtualBox_SOURCES += VirtualBox1_x2.qrc
1991VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
1992VirtualBox_SOURCES += VirtualBox2_x2.qrc
1993VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
1994VirtualBox_SOURCES += VirtualBox1_x3.qrc
1995VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
1996VirtualBox_SOURCES += VirtualBox2_x3.qrc
1997VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
1998VirtualBox_SOURCES += VirtualBox1_x4.qrc
1999VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
2000VirtualBox_SOURCES += VirtualBox2_x4.qrc
2001VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
2002VirtualBox_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2003$(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
2004if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
2005 VirtualBox_SOURCES += VirtualBoxShaders.qrc
2006 VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
2007endif
2008
2009
2010ifdef VBOX_GUI_WITH_SHARED_LIBRARY
2011 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
2012 VirtualBoxVM_SOURCES += VirtualBox1.qrc
2013 VirtualBox1.qrc_RCCFLAGS = -name BASIC1
2014 VirtualBoxVM_SOURCES += VirtualBox2.qrc
2015 VirtualBox2.qrc_RCCFLAGS = -name BASIC2
2016 VirtualBoxVM_SOURCES += VirtualBox1_x2.qrc
2017 VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
2018 VirtualBoxVM_SOURCES += VirtualBox2_x2.qrc
2019 VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
2020 VirtualBoxVM_SOURCES += VirtualBox1_x3.qrc
2021 VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
2022 VirtualBoxVM_SOURCES += VirtualBox2_x3.qrc
2023 VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
2024 VirtualBoxVM_SOURCES += VirtualBox1_x4.qrc
2025 VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
2026 VirtualBoxVM_SOURCES += VirtualBox2_x4.qrc
2027 VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
2028 VirtualBoxVM_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2029 $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
2030 if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
2031 VirtualBoxVM_SOURCES += VirtualBoxShaders.qrc
2032 VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
2033 endif
2034endif
2035
2036
2037# Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts
2038VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS) \
2039 $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts, $(filter nls/VirtualBox_%.ts,$(TRANSLATIONS)))
2040# Compress the translation units.
2041VirtualBox_LRCFLAGS = -silent
2042# Where to install the translations (a separate install target, VirtualBox-nls-inst is created).
2043VirtualBox_QT_TRANSLATIONS_INST = $(INST_BIN)nls/
2044
2045
2046## @todo how to detect what tool is used?
2047## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
2048# more generic -Wno-extra
2049# bird: What about $(if $(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-extra))?
2050ifdef VBOX_WITH_XPCOM
2051 VirtualBox_src/globals/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
2052endif
2053
2054
2055#
2056# Build generated COM wrappers as part of app.
2057#
2058ifndef VBOX_GUI_WITH_SHARED_LIBRARY
2059
2060 #
2061 # VirtualBox Manager Application
2062 #
2063 includedep $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
2064 VirtualBox_BLDDIRS += $(VirtualBox_0_OUTDIR)/include
2065 VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers
2066 VirtualBox_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
2067 VirtualBox_CLEAN += $(wildcard $(VirtualBox_0_OUTDIR)/include/*) $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
2068
2069 ## @todo kmk doesn't remake optional outputs when they are missing...
2070 $$(VirtualBox_0_OUTDIR)/include/COMWrappers \
2071 + $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep \
2072 +| $(if-expr defined(VirtualBox_VBOX_COMWRAPPERS) \
2073 , $(VirtualBox_VBOX_COMWRAPPERS) \
2074 , $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
2075 $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp \
2076 ): \
2077 $(VBOX_XIDL_FILE) \
2078 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
2079 $(VBOX_FILESPLIT) \
2080 | $$(dir $$@)
2081 $(call MSG_GENERATE,VirtualBox,$<,$@)
2082 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep"
2083 $(QUIET)$(VBOX_XSLTPROC) -o $@ \
2084 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
2085 $(QUIET)$(VBOX_FILESPLIT) $@ $(VirtualBox_0_OUTDIR)/include \
2086 $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep VirtualBox_VBOX_COMWRAPPERS
2087 $(APPEND) "$@"
2088
2089 # alias for generating the COM Wrappers file.
2090 testwrappers:: $$(VirtualBox_0_OUTDIR)/include/COMWrappers
2091
2092else
2093
2094 #
2095 # VirtualBox - GUI Global Shared Library.
2096 #
2097 includedep $(PATH_TARGET)/VboxGlobalComWrapperFiles.dep
2098 VBoxGlobal_BLDDIRS += $(VBoxGlobal_0_OUTDIR)/include
2099 VBoxGlobal_INTERMEDIATES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers
2100 VBoxGlobal_SOURCES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp
2101 VBoxGlobal_CLEAN += $(wildcard $(VBoxGlobal_0_OUTDIR)/include/*) $(PATH_TARGET)/VboxGlobalComWrapperFiles.dep
2102
2103 ## @todo kmk doesn't remake optional outputs when they are missing...
2104 $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers \
2105 + $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep \
2106 +| $(if-expr defined(VBoxGlobal_VBOX_COMWRAPPERS) \
2107 , $(VBoxGlobal_VBOX_COMWRAPPERS) \
2108 , $$(VBoxGlobal_0_OUTDIR)/include/COMEnums.h \
2109 $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp \
2110 ): \
2111 $(VBOX_XIDL_FILE) \
2112 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
2113 $(VBOX_FILESPLIT) \
2114 | $$(dir $$@)
2115 $(call MSG_GENERATE,VBoxGlobal,$<,$@)
2116 $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep"
2117 $(QUIET)$(VBOX_XSLTPROC) -o $@ \
2118 $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
2119 $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxGlobal_0_OUTDIR)/include \
2120 $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep VBoxGlobal_VBOX_COMWRAPPERS
2121 $(APPEND) "$@"
2122
2123 # alias for generating the COM Wrappers file.
2124 testwrappers:: $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers
2125
2126endif
2127
2128
2129#
2130# Generate qrc file with branded icons.
2131#
2132VirtualBox_BLDDIRS += $(VBOX_VIRTUALBOX_OUT_DIR)
2133VirtualBox_CLEAN += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
2134$(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc: \
2135 $(VBOX_VIRTUALBOX_SRC)/VirtualBoxBrand.qrc \
2136 $(PATH_ROOT)/Config.kmk \
2137 | $$(dir $$@)
2138 $(call MSG_GENERATE,VirtualBox,$<,$@)
2139 $(QUIET)$(SED) \
2140 -e 's;@VBOX_ABOUT_PNG@;$(VBOX_BRAND_GUI_ABOUT_PNG);g' \
2141 -e 's;@VBOX_ABOUT_HIDPI_PNG@;$(VBOX_BRAND_GUI_ABOUT_HIDPI_PNG);g' \
2142 -e 's;@VBOX_ABOUT_16PX_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_PNG);g' \
2143 -e 's;@VBOX_ABOUT_16PX_HIDPI_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_HIDPI_PNG);g' \
2144 -e 's;@VBOX_VBOX_16PX_PNG@;$(VBOX_BRAND_GUI_VBOX_16PX_PNG);g' \
2145 -e 's;@VBOX_VBOX_20PX_PNG@;$(VBOX_BRAND_GUI_VBOX_20PX_PNG);g' \
2146 -e 's;@VBOX_VBOX_32PX_PNG@;$(VBOX_BRAND_GUI_VBOX_32PX_PNG);g' \
2147 -e 's;@VBOX_VBOX_40PX_PNG@;$(VBOX_BRAND_GUI_VBOX_40PX_PNG);g' \
2148 -e 's;@VBOX_VBOX_48PX_PNG@;$(VBOX_BRAND_GUI_VBOX_48PX_PNG);g' \
2149 -e 's;@VBOX_VBOX_64PX_PNG@;$(VBOX_BRAND_GUI_VBOX_64PX_PNG);g' \
2150 -e 's;@VBOX_CUBE_42PX_PNG@;$(VBOX_BRAND_GUI_CUBE_42PX_PNG);g' \
2151 -e 's;@VBOX_CUBE_SVG@;$(VBOX_BRAND_GUI_VBOX_SVG);g' \
2152 --output $@ \
2153 $<
2154
2155
2156#
2157# Precompiled header - non-functional atm.
2158#
2159ifdef VBOX_WITH_PRECOMPILED_HEADERS
2160 if1of ($(KBUILD_TARGET),win)
2161 VirtualBox_USES += vccprecomp
2162 VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
2163
2164 else # obsolete experiment
2165 VirtualBox_DEFS += VBOX_WITH_PRECOMPILED_HEADERS
2166 VirtualBox_INCS <= $(VirtualBoxPch_0_OUTDIR)/src
2167 VirtualBox_CXXFLAGS += -Winvalid-pch -fpch-preprocess
2168 $(foreach x,$(filter-out include/COMWrappers.cpp, $(filter %.cpp, \
2169 $(VirtualBox_SOURCES) \
2170 $(VirtualBox_SOURCES.$(KBUILD_TARGET)) \
2171 $(VirtualBox_SOURCES.$(KBUILD_TYPE)) \
2172 )),$(eval $(abspath $(PATH_OBJ)/VirtualBox/$(basename $(x)).o): $$$$(VirtualBoxPch_0_OUTDIR)/src/precomp.h.gch))
2173
2174 TOOL_VirtualBoxPchLinker = Linker for VirtualBoxPch
2175 define TOOL_VirtualBoxPchLinker_LINK_MISCBIN_CMDS
2176 $(APPEND) -t $(out)
2177 endef
2178
2179 MISCBINS += VirtualBoxPch
2180 VirtualBoxPch_EXTENDS = VirtualBox
2181 VirtualBoxPch_LDTOOL = VirtualBoxPchLinker
2182 VirtualBoxPch_INSTTYPE = none
2183 VirtualBoxPch_NAME = VirtualBoxPch
2184 VirtualBoxPch_INTERMEDIATES = $(filter-out %.h.gch, $(VirtualBox_INTERMEDIATES))
2185 VirtualBoxPch_SOURCES = src/precomp.h
2186 VirtualBoxPch_CXXFLAGS = $(filter-out -Winvalid-pch -fpch-preprocess, $(VirtualBox_CXXFLAGS)) -x c++-header
2187 VirtualBoxPch_CXXOBJSUFF = .h.gch
2188 VirtualBoxPch_SRC_HANDLERS = .h:def_src_handler_cxx
2189 VirtualBoxPch_SOURCES.darwin = $(NO_SUCH_VARIABLE)
2190 VirtualBoxPch_SOURCES.solaris = $(NO_SUCH_VARIABLE)
2191 VirtualBoxPch_SOURCES.freebsd = $(NO_SUCH_VARIABLE)
2192 VirtualBoxPch_SOURCES.linux = $(NO_SUCH_VARIABLE)
2193 VirtualBoxPch_SOURCES.win = $(NO_SUCH_VARIABLE)
2194 VirtualBoxPch_QT_MODULES = $(VirtualBox_QT_MODULES) # "bug" - not inherited.
2195 VirtualBoxPch_INCS = $(VirtualBox_INCS) # "bug" - missing qtuic and qtmoc
2196 endif # obsolete experiment
2197endif
2198
2199ifeq ($(KBUILD_TARGET),win)
2200#
2201# On Windows we'll have to generate/edit part of the resource file.
2202# The IDI_ICON1 name is Qt specific.
2203#
2204src/platform/win/VirtualBox.rc_INCS = $(VirtualBox_0_OUTDIR)
2205src/platform/win/VirtualBox.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
2206src/platform/win/VirtualBox.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
2207
2208$$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
2209 $(APPEND) -t $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
2210
2211endif # win
2212
2213
2214#
2215# Unset everything that was loaded from VBoxUI.pro.
2216#
2217FORMS :=
2218TRANSLATIONS :=
2219
2220
2221ifeq ($(KBUILD_TARGET),darwin)
2222#
2223# Create directories for each approved language or the application
2224# menu won't be translated.
2225#
2226INSTALLS += VirtualBox.lproj
2227VirtualBox.lproj_INST = $(INST_VIRTUALBOX)Contents/Resources/
2228VirtualBox.lproj_MODE = 755
2229VirtualBox.lproj_DIRS := $(addsuffix .lproj,$(VBOX_APPROVED_GUI_LANGUAGES))
2230
2231#
2232# On OS X (darwin) we need to install icon resources and compulsory bundle contents.
2233# The VirtualBoxVM.app helper is for launching VMs (fixes some issues with the dock).
2234#
2235INSTALLS += VirtualBox.app
2236VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
2237VirtualBox.app_MODE = 644
2238VirtualBox.app_SOURCES = \
2239 src/platform/darwin/PkgInfo \
2240 $(VirtualBox.app_0_OUTDIR)/Info.plist \
2241 $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
2242 $(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
2243 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox.icns=>Resources/virtualbox-vbox.icns \
2244 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox-extpack.icns=>Resources/virtualbox-vbox-extpack.icns \
2245 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ovf.icns=>Resources/virtualbox-ovf.icns \
2246 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ova.icns=>Resources/virtualbox-ova.icns \
2247 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vdi.icns=>Resources/virtualbox-vdi.icns \
2248 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vmdk.icns=>Resources/virtualbox-vmdk.icns \
2249 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vhd.icns=>Resources/virtualbox-vhd.icns \
2250 $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-hdd.icns=>Resources/virtualbox-hdd.icns
2251
2252 # Qt5 requires qt.conf on Mac OS X:
2253 VirtualBox.app_SOURCES += \
2254 $(VirtualBox.app_0_OUTDIR)/qt.conf=>Resources/qt.conf
2255
2256 $$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2257 $(call MSG_GENERATE,VirtualBox.app,$<,$@)
2258 $(QUIET)$(RM) -f $@
2259 $(QUIET)$(SED) \
2260 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2261 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2262 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2263 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2264 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2265 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2266 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2267 $< > $@
2268
2269 $$(VirtualBox.app_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
2270 $(QUIET)$(RM) -f $@
2271 $(QUIET)$(APPEND) $@ "[Paths]"
2272 $(QUIET)$(APPEND) $@ "Prefix =" $(PATH_OUT)/$(VirtualBox.app_INST)
2273
2274 INSTALLS += VirtualBoxVM.app
2275 VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
2276 VirtualBoxVM.app_MODE = 644
2277 VirtualBoxVM.app_SOURCES = \
2278 src/platform/darwin/VM-PkgInfo=>PkgInfo \
2279 $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist \
2280 $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
2281 VirtualBoxVM.app_SYMLINKS = \
2282 MacOS=>../../../MacOS/
2283
2284 $$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2285 $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
2286 $(QUIET)$(RM) -f $@
2287 $(QUIET)$(SED) \
2288 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2289 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2290 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2291 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2292 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2293 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2294 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2295 --output $@ $<
2296
2297 PROGRAMS += vmstarter
2298 vmstarter_TEMPLATE = VBOXR3EXE
2299 ifdef VBOX_WITH_NEW_XCODE
2300 vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
2301 else
2302 vmstarter_OBJCXXFLAGS += -Wno-deprecated-declarations
2303 endif
2304 vmstarter_LDFLAGS += -framework AppKit
2305 vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
2306 vmstarter_INST = $(INST_BIN)vmstarter
2307
2308 INSTALLS += vmstarter.app
2309 vmstarter.app_INST = $(VirtualBox.app_INST)Resources/vmstarter.app/Contents/
2310 vmstarter.app_MODE = 644
2311 vmstarter.app_SOURCES = \
2312 src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
2313 $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist \
2314 $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
2315 vmstarter.app_SYMLINKS = \
2316 MacOS=>../../../MacOS \
2317
2318 $$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
2319 $(call MSG_GENERATE,vmstarter.app,$<,$@)
2320 $(QUIET)$(RM) -f $@
2321 $(QUIET)$(SED) \
2322 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
2323 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
2324 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
2325 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
2326 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
2327 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
2328 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
2329 --output $@ $<
2330endif # darwin
2331
2332#
2333# App for testing GL support
2334#
2335if defined(VBOX_WITH_VIDEOHWACCEL)
2336 if1of ($(KBUILD_TARGET), win linux freebsd)
2337 LIBRARIES += VBoxOGL2D
2338 VBoxOGL2D_TEMPLATE = $(if $(VBOX_WITH_VIDEOHWACCEL),$(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE),VBOXMAINEXE)
2339 VBoxOGL2D_DEFS = QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
2340 VBoxOGL2D_QT_MODULES += OpenGL
2341 VBoxOGL2D_SOURCES = \
2342 src/VBoxGLSupportInfo.cpp
2343 VBoxOGL2D_INCS = include
2344 endif
2345endif
2346
2347
2348#
2349# Testcase for the darwin keyboard routines.
2350#
2351ifdef VBOX_WITH_TESTCASES
2352 PROGRAMS.darwin += tstDarwinKeyboard
2353 tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE
2354 tstDarwinKeyboard_DEFS.x86 = USE_HID_FOR_MODIFIERS
2355 tstDarwinKeyboard_INCS = \
2356 $(VBOX_GUI_INC_DIRS)
2357 tstDarwinKeyboard_SOURCES = \
2358 src/platform/darwin/tstDarwinKeyboard.cpp \
2359 src/platform/darwin/DarwinKeyboard.cpp
2360 tstDarwinKeyboard_SOURCES.amd64 = \
2361 src/platform/darwin/CocoaEventHelper.mm
2362 tstDarwinKeyboard_LDFLAGS = -framework IOKit -framework Carbon -framework AppKit
2363 tstDarwinKeyboard_LIBS = \
2364 $(LIB_RUNTIME)
2365 ifdef VBOX_GUI_WITH_SHARED_LIBRARY
2366 tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
2367 endif
2368endif
2369
2370
2371#
2372# Testcase for SSL certificate downloading.
2373#
2374if defined(VBOX_WITH_TESTCASES) && defined(VBOX_GUI_WITH_NETWORK_MANAGER)
2375 PROGRAMS += tstSSLCertDownloads
2376 tstSSLCertDownloads_TEMPLATE = VBOXQTGUIEXE
2377 tstSSLCertDownloads_USES = qt5
2378 tstSSLCertDownloads_QTTOOL = QT5
2379 tstSSLCertDownloads_QT_MODULES = Core Gui
2380 tstSSLCertDownloads_DEFS = VBOX_GUI_IN_TST_SSL_CERT_DOWNLOADS
2381 tstSSLCertDownloads_INCS = \
2382 $(VBOX_GUI_INC_DIRS)
2383 tstSSLCertDownloads_SOURCES = \
2384 src/net/tstSSLCertDownloads.cpp
2385endif
2386
2387
2388#
2389# Doxygen documentation.
2390#
2391QTGUI_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/qtgui
2392BLDDIRS += $(QTGUI_DOXYFILE_OUTPUT)
2393OTHER_CLEAN += \
2394 $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui \
2395 $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep \
2396 $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2397
2398QTGUI_DOXYFILE_INPUT_DIRS := \
2399 $(addprefix $(PATH_SUB_CURRENT)/src/, \
2400 converter \
2401 extensions \
2402 extensions/graphics \
2403 extradata \
2404 globals \
2405 medium \
2406 net \
2407 objects \
2408 platform \
2409 platform/darwin \
2410 platform/os2 \
2411 platform/win \
2412 platform/x11 \
2413 runtime \
2414 runtime/fullscreen \
2415 runtime/information \
2416 runtime/guestctrl \
2417 runtime/normal \
2418 runtime/scale \
2419 runtime/seamless \
2420 selector \
2421 selector/graphics \
2422 selector/graphics/chooser \
2423 selector/graphics/details \
2424 settings \
2425 settings/global \
2426 settings/machine \
2427 widgets \
2428 widgets/graphics \
2429 wizards \
2430 wizards/clonevd \
2431 wizards/clonevm \
2432 wizards/exportappliance \
2433 wizards/firstrun \
2434 wizards/importappliance \
2435 wizards/newvd \
2436 wizards/newvm)
2437
2438QTGUI_DOXYFILE_INPUT := \
2439 $(foreach dir, $(QTGUI_DOXYFILE_INPUT_DIRS), \
2440 $(sort $(wildcard $(dir)/*.h)) \
2441 $(sort $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm)))
2442
2443includedep $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
2444
2445# Generate the Doxyfile
2446$(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui: \
2447 $(PATH_SUB_CURRENT)/Doxyfile \
2448 $(PATH_SUB_CURRENT)/Makefile.kmk \
2449 $(comp-vars QTGUI_DOXYFILE_INPUT,DOXYGEN_QTGUI_INPUT_PREV,FORCE) \
2450 $(comp-vars QTGUI_DOXYFILE_OUTPUT,DOXYGEN_QTGUI_OUTPUT_PREV,FORCE) \
2451 | $$(dir $$@)
2452 $(QUIET)$(RM) -f $@ [email protected] [email protected]
2453 $(QUIET)$(CP) -f $< [email protected]
2454 $(QUIET)$(APPEND) [email protected]
2455 $(QUIET)$(APPEND) [email protected] "OUTPUT_DIRECTORY = $(QTGUI_DOXYFILE_OUTPUT)"
2456 $(QUIET)$(APPEND) [email protected] "WARN_LOGFILE = $(QTGUI_DOXYFILE_OUTPUT)/errors"
2457 $(QUIET)$(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include ."
2458 $(QUIET)$(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)"
2459 $(QUIET)$(APPEND) [email protected]
2460 $(QUIET)$(APPEND) [email protected] 'INPUT = $(foreach x,$(QTGUI_DOXYFILE_INPUT),\$(NLTAB)$(x))'
2461 $(QUIET)$(APPEND) [email protected]
2462 $(QUIET)$(MV) -f [email protected] $@
2463 @$(APPEND) [email protected] "DOXYGEN_QTGUI_OUTPUT_PREV = $(QTGUI_DOXYFILE_OUTPUT)"
2464 @$(APPEND) [email protected] "DOXYGEN_QTGUI_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
2465
2466# Do the actual job.
2467$(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) \
2468 | $(QTGUI_DOXYFILE_OUTPUT)/
2469 $(call MSG_L1,doxygen qtgui)
2470 $(QUIET)$(RM) -f $@
2471 $(QUIET)$(RM) -Rf -- $(QTGUI_DOXYFILE_OUTPUT)/html/
2472 doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
2473 $(APPEND) $@
2474
2475# aliases
2476docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2477if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
2478docs: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
2479endif
2480
2481
2482
2483# Commit the magic.
2484# (note: before custom rules that make usage of generated variables!).
2485include $(FILE_KBUILD_SUB_FOOTER)
2486
2487
2488#
2489# Update all known NLS translation (.ts) files in the nls/ subdirectory.
2490#
2491# NOTE: This target is intended to be run only by the GUI maintainer shortly
2492# before a new product release. VirtualBox_xx_YY.ts is a template for new
2493# languages and should never be actually translated or installed.
2494#
2495# Use the checknls target for checking again common mistakes done by the
2496# translators.
2497#
2498# For Qt >= 4.6.0 it maybe necessary to add -I $(VBOX_GUI_INC_DIRS) to the
2499# lupdate call
2500#
2501#VirtualBox_QT_TRANSLATIONS = nls/VirtualBox_de.ts
2502checknls::
2503 # Check for missing :/ in image paths
2504 grep -i "src=[^:%]" $(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))
2505
2506updatenls:: makeallnls nls/VirtualBox_en.ts
2507
2508makeallnls:: \
2509 $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
2510 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
2511 $(call MSG_L1,lupdate all languages (nls/*.ts))
2512 $(QUIET)$(TOOL_QT5_LUPDATE) \
2513 $^ \
2514 -ts \
2515 $(filter-out nls/VirtualBox_en.ts,$(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))) \
2516 nls/VirtualBox_xx_YY.ts
2517
2518# Create the English translation file. This is something special cause it will
2519# contain the plural forms only.
2520nls/VirtualBox_en.ts: \
2521 $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
2522 $(filter-out %.qrc,$(VirtualBox_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
2523 $(call MSG_L1,lupdate $@)
2524 $(QUIET)$(TOOL_QT5_LUPDATE) \
2525 $^ \
2526 -ts \
2527 $@
2528 $(QUIET)$(SED) -n -i -e \
2529 '/<context>/,/<\/context>/!p;/<context>/h;/<name>/H;/<message numerus="yes">/,/<\/message>/H;/<\/context>/{H;x;/<message/p}' \
2530 $@
2531
Note: See TracBrowser for help on using the repository browser.

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