1 | # $Id: Makefile.kmk 94653 2022-04-20 15:15:43Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the VirtualBox Qt GUI.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2022 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 |
|
---|
18 | SUB_DEPTH = ../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | #
|
---|
23 | # Globals.
|
---|
24 | #
|
---|
25 | VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT)
|
---|
26 | VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
|
---|
27 | ifndef VBOX_WITH_QT6
|
---|
28 | USES += qt5
|
---|
29 | else
|
---|
30 | USES += qt6
|
---|
31 | endif
|
---|
32 |
|
---|
33 |
|
---|
34 | #
|
---|
35 | # Targets.
|
---|
36 | #
|
---|
37 | ifdef VBOX_WITH_HARDENING
|
---|
38 | PROGRAMS += VirtualBox
|
---|
39 | PROGRAMS += VirtualBoxHardenedVM
|
---|
40 | DLLS += VirtualBoxVM
|
---|
41 | DLLS += UICommon
|
---|
42 | else
|
---|
43 | PROGRAMS += VirtualBox
|
---|
44 | PROGRAMS += VirtualBoxVM
|
---|
45 | DLLS += UICommon
|
---|
46 | endif
|
---|
47 | INSTALLS += VirtualBox.nls
|
---|
48 |
|
---|
49 |
|
---|
50 | #
|
---|
51 | # Include the language lists.
|
---|
52 | #
|
---|
53 | include $(PATH_SUB_CURRENT)/nls/ApprovedLanguages.kmk
|
---|
54 |
|
---|
55 |
|
---|
56 | #
|
---|
57 | # Hardened VirtualBoxVM.
|
---|
58 | #
|
---|
59 | ifdef VBOX_WITH_HARDENING
|
---|
60 | VirtualBoxHardenedVM_TEMPLATE = VBOXR3HARDENEDEXE
|
---|
61 | VirtualBoxHardenedVM_INST.darwin = $(INST_VIRTUALBOX)Contents/Resources/VirtualBoxVM.app/Contents/MacOS/
|
---|
62 | VirtualBoxHardenedVM_NAME = VirtualBoxVM
|
---|
63 | VirtualBoxHardenedVM_DEFS += $(if $(VBOX_WITH_DRIVERLESS_NEM_FALLBACK),VBOX_WITH_DRIVERLESS_NEM_FALLBACK,)
|
---|
64 | VirtualBoxHardenedVM_SOURCES = src/hardenedmain.cpp
|
---|
65 | VirtualBoxHardenedVM_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)
|
---|
66 | $(call VBOX_SET_VER_INFO_EXE,VirtualBoxHardenedVM,VirtualBox Virtual Machine,$(VBOX_WINDOWS_ICON_FILE))
|
---|
67 | endif
|
---|
68 |
|
---|
69 |
|
---|
70 | #
|
---|
71 | # Include Qt project file, we'll use FORMS and TRANSLATIONS in
|
---|
72 | # the VirtualBox setup below.
|
---|
73 | #
|
---|
74 | # This is a bit messy. We boldly ASSUME that LANGUAGE, IMAGES, FORMS
|
---|
75 | # and TRANSLATIONS are all unused by kBuild and the host toolchain.
|
---|
76 | #
|
---|
77 | SAVED_TEMPLATE := $(TEMPLATE)
|
---|
78 | include $(PATH_SUB_CURRENT)/VBoxUI.pro
|
---|
79 | TEMPLATE := $(SAVED_TEMPLATE)
|
---|
80 | SAVED_TEMPLATE :=
|
---|
81 | LANGUAGE :=
|
---|
82 | IMAGES :=
|
---|
83 | # FORMS and TRANSLATIONS are reset further down.
|
---|
84 |
|
---|
85 |
|
---|
86 | #
|
---|
87 | # Perform initial new version check on startup.
|
---|
88 | # If this setting is disabled the user can still check using the menu.
|
---|
89 | #
|
---|
90 | ifndef VBOX_OSE
|
---|
91 | VBOX_WITH_UPDATE_REQUEST := 1
|
---|
92 | endif
|
---|
93 |
|
---|
94 |
|
---|
95 | #
|
---|
96 | # VirtualBox Manager Application
|
---|
97 | #
|
---|
98 | VirtualBox_TEMPLATE := VBOXQTGUIEXE
|
---|
99 | VirtualBox_NAME = VirtualBox
|
---|
100 | VirtualBox_DEPS = $(UICommon_0_OUTDIR)/include/COMWrappers
|
---|
101 | VirtualBox_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
102 | VirtualBox_DEFS =
|
---|
103 | ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
|
---|
104 | VirtualBox_DEFS += VBOX_IS_QT6_OR_LATER
|
---|
105 | endif
|
---|
106 | VirtualBox_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
107 | VirtualBox_DEFS.linux = VBOX_WS_X11 QT_NO_DEPRECATED_WARNINGS
|
---|
108 | VirtualBox_DEFS.solaris = VBOX_WS_X11
|
---|
109 | VirtualBox_DEFS.freebsd = VBOX_WS_X11
|
---|
110 | VirtualBox_DEFS.darwin = VBOX_WS_MAC
|
---|
111 | VirtualBox_DEFS.win = VBOX_WS_WIN
|
---|
112 | VirtualBox_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
113 | VirtualBox_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
114 | VirtualBox_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
115 | VirtualBox_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
|
---|
116 | VirtualBox_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
117 | ifn1of ($(KBUILD_TARGET_ARCH), arm64) # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
|
---|
118 | VirtualBox_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
119 | endif
|
---|
120 | VirtualBox_DEFS.win += UNICODE QT_DLL
|
---|
121 | VirtualBox_DEFS += \
|
---|
122 | $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
|
---|
123 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
124 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
125 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
126 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
127 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
128 | $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
|
---|
129 | $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
|
---|
130 | $(if $(VBOX_WITH_3D_ACCELERATION),VBOX_WITH_3D_ACCELERATION) \
|
---|
131 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
132 | $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
|
---|
133 | $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
|
---|
134 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
135 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
|
---|
136 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
137 | VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
138 | if "$(KBUILD_TYPE)" != "release"
|
---|
139 | VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
140 | endif
|
---|
141 | endif
|
---|
142 | ifdef VBOX_WITH_LIBCURL
|
---|
143 | VirtualBox_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
144 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
145 | endif
|
---|
146 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
147 | VirtualBox_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
148 | endif
|
---|
149 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
150 | VirtualBox_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
151 | endif
|
---|
152 |
|
---|
153 |
|
---|
154 | #
|
---|
155 | # VirtualBox Virtual Machine Application
|
---|
156 | #
|
---|
157 | VirtualBoxVM_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
|
---|
158 | VirtualBoxVM_NAME = VirtualBoxVM
|
---|
159 | ifndef VBOX_WITH_HARDENING
|
---|
160 | VirtualBoxVM_INST.darwin = $(INST_VIRTUALBOX)Contents/Resources/VirtualBoxVM.app/Contents/MacOS/
|
---|
161 | endif
|
---|
162 | VirtualBoxVM_DEPS = $(UICommon_0_OUTDIR)/include/COMWrappers
|
---|
163 | VirtualBoxVM_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
164 | VirtualBoxVM_DEFS = VBOX_RUNTIME_UI
|
---|
165 | ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
|
---|
166 | VirtualBoxVM_DEFS += VBOX_IS_QT6_OR_LATER
|
---|
167 | endif
|
---|
168 | VirtualBoxVM_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
169 | VirtualBoxVM_DEFS.linux = VBOX_WS_X11 QT_NO_DEPRECATED_WARNINGS
|
---|
170 | VirtualBoxVM_DEFS.solaris = VBOX_WS_X11
|
---|
171 | VirtualBoxVM_DEFS.freebsd = VBOX_WS_X11
|
---|
172 | VirtualBoxVM_DEFS.darwin = VBOX_WS_MAC
|
---|
173 | VirtualBoxVM_DEFS.win = VBOX_WS_WIN
|
---|
174 | VirtualBoxVM_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
175 | VirtualBoxVM_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
176 | VirtualBoxVM_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
177 | VirtualBoxVM_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
|
---|
178 | VirtualBoxVM_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
179 | ifdef VBOX_WITH_VMNET
|
---|
180 | VirtualBoxVM_DEFS.darwin += VBOX_WITH_VMNET
|
---|
181 | endif
|
---|
182 | ifn1of ($(KBUILD_TARGET_ARCH), arm64) # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
|
---|
183 | VirtualBoxVM_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
184 | endif
|
---|
185 | VirtualBoxVM_DEFS.win += UNICODE QT_DLL
|
---|
186 | VirtualBoxVM_DEFS += \
|
---|
187 | $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
|
---|
188 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
189 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
190 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
191 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
192 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
193 | $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
|
---|
194 | $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
|
---|
195 | $(if $(VBOX_WITH_3D_ACCELERATION),VBOX_WITH_3D_ACCELERATION) \
|
---|
196 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
197 | $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
|
---|
198 | $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
|
---|
199 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
200 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
|
---|
201 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
202 | VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
203 | if "$(KBUILD_TYPE)" != "release"
|
---|
204 | VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
205 | endif
|
---|
206 | endif
|
---|
207 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
208 | VirtualBoxVM_DEFS += VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
209 | endif
|
---|
210 | ifdef VBOX_WITH_LIBCURL
|
---|
211 | VirtualBoxVM_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
212 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
213 | endif
|
---|
214 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
215 | VirtualBoxVM_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
216 | endif
|
---|
217 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
218 | VirtualBoxVM_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
219 | endif
|
---|
220 |
|
---|
221 |
|
---|
222 | #
|
---|
223 | # VirtualBox - GUI Global Shared Library.
|
---|
224 | #
|
---|
225 | UICommon_TEMPLATE = VBOXQTGUI
|
---|
226 | UICommon_NAME = UICommon
|
---|
227 | UICommon_DEFS = VBOX_GUI_LIBRARY
|
---|
228 | ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
|
---|
229 | UICommon_DEFS += VBOX_IS_QT6_OR_LATER
|
---|
230 | endif
|
---|
231 | UICommon_DEFS.darwin = VBOX_WS_MAC
|
---|
232 | UICommon_DEFS.freebsd = VBOX_WS_X11
|
---|
233 | UICommon_DEFS.linux = VBOX_WS_X11 QT_NO_DEPRECATED_WARNINGS
|
---|
234 | UICommon_DEFS.solaris = VBOX_WS_X11
|
---|
235 | UICommon_DEFS.win = VBOX_WS_WIN
|
---|
236 | UICommon_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
237 | ifdef VBOX_WITH_VMNET
|
---|
238 | UICommon_DEFS.darwin += VBOX_WITH_VMNET
|
---|
239 | endif
|
---|
240 | ifn1of ($(KBUILD_TARGET_ARCH), arm64) # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
|
---|
241 | UICommon_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
242 | endif
|
---|
243 | #UICommon_DEFS.win += UNICODE QT_DLL
|
---|
244 | UICommon_DEFS += \
|
---|
245 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
246 | $(if $(VBOX_WITH_CLOUD_NET),VBOX_WITH_CLOUD_NET) \
|
---|
247 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
248 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
249 | $(if $(VBOX_WITH_KCHMVIEWER),VBOX_WITH_KCHMVIEWER) \
|
---|
250 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
251 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
252 | $(if $(VBOX_WITH_3D_ACCELERATION),VBOX_WITH_3D_ACCELERATION) \
|
---|
253 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
254 | $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
|
---|
255 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
256 | $(if $(VBOX_WITH_QHELP_VIEWER),VBOX_WITH_QHELP_VIEWER) \
|
---|
257 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,) \
|
---|
258 | $(if $(VBOX_WITH_UPDATE_AGENT),VBOX_WITH_UPDATE_AGENT)
|
---|
259 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
260 | UICommon_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
261 | if "$(KBUILD_TYPE)" != "release"
|
---|
262 | UICommon_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
263 | endif
|
---|
264 | endif
|
---|
265 | ifdef VBOX_WITH_LIBCURL
|
---|
266 | UICommon_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
267 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
268 | endif
|
---|
269 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
270 | UICommon_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
271 | endif
|
---|
272 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
273 | UICommon_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
274 | endif
|
---|
275 |
|
---|
276 |
|
---|
277 | #
|
---|
278 | # Include folders.
|
---|
279 | #
|
---|
280 | VBOX_GUI_INC_DIRS = \
|
---|
281 | ./src \
|
---|
282 | ./src/cloud/consolemanager \
|
---|
283 | ./src/cloud/machinesettings \
|
---|
284 | ./src/cloud/profilemanager \
|
---|
285 | ./src/converter \
|
---|
286 | ./src/extensionpackmanager \
|
---|
287 | ./src/extensions \
|
---|
288 | ./src/extensions/graphics \
|
---|
289 | ./src/extradata \
|
---|
290 | ./src/globals \
|
---|
291 | ./src/helpbrowser \
|
---|
292 | ./src/logviewer \
|
---|
293 | ./src/medium \
|
---|
294 | ./src/medium/viso \
|
---|
295 | ./src/networkmanager \
|
---|
296 | ./src/notificationcenter \
|
---|
297 | ./src/objects \
|
---|
298 | ./src/platform \
|
---|
299 | ./src/platform/darwin \
|
---|
300 | ./src/platform/win \
|
---|
301 | ./src/platform/x11 \
|
---|
302 | ./src/runtime \
|
---|
303 | ./src/runtime/fullscreen \
|
---|
304 | ./src/runtime/normal \
|
---|
305 | ./src/runtime/scale \
|
---|
306 | ./src/runtime/seamless \
|
---|
307 | ./src/runtime/information \
|
---|
308 | ./src/guestctrl \
|
---|
309 | ./src/settings \
|
---|
310 | ./src/settings/editors \
|
---|
311 | ./src/settings/global \
|
---|
312 | ./src/settings/machine \
|
---|
313 | ./src/softkeyboard \
|
---|
314 | ./src/snapshots \
|
---|
315 | ./src/widgets \
|
---|
316 | ./src/widgets/graphics \
|
---|
317 | ./src/wizards \
|
---|
318 | ./src/wizards/addcloudvm \
|
---|
319 | ./src/wizards/newcloudvm \
|
---|
320 | ./src/wizards/newvm \
|
---|
321 | ./src/wizards/newvd \
|
---|
322 | ./src/wizards/clonevm \
|
---|
323 | ./src/wizards/clonevd \
|
---|
324 | ./src/wizards/exportappliance \
|
---|
325 | ./src/wizards/importappliance \
|
---|
326 | ./src/wizards/editors
|
---|
327 |
|
---|
328 | VBOX_GUI_INC_DIRS += \
|
---|
329 | ./src/manager \
|
---|
330 | ./src/manager/chooser \
|
---|
331 | ./src/manager/details \
|
---|
332 | ./src/manager/tools \
|
---|
333 | ./src/activity \
|
---|
334 | ./src/activity/overview \
|
---|
335 | ./src/activity/vmactivity
|
---|
336 |
|
---|
337 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
338 | VBOX_GUI_INC_DIRS += \
|
---|
339 | ./src/networking
|
---|
340 | endif
|
---|
341 |
|
---|
342 | #
|
---|
343 | # VirtualBox Manager Application
|
---|
344 | # Include folders.
|
---|
345 | #
|
---|
346 | VirtualBox_INCS = \
|
---|
347 | $(VBOX_GUI_INC_DIRS) \
|
---|
348 | $(UICommon_0_OUTDIR)/include \
|
---|
349 | $(VBOX_GRAPHICS_INCS)
|
---|
350 |
|
---|
351 | #
|
---|
352 | # VirtualBox Virtual Machine Application
|
---|
353 | # Include folders.
|
---|
354 | #
|
---|
355 | VirtualBoxVM_INCS = \
|
---|
356 | $(VBOX_GUI_INC_DIRS) \
|
---|
357 | $(UICommon_0_OUTDIR)/include \
|
---|
358 | $(VBOX_GRAPHICS_INCS)
|
---|
359 |
|
---|
360 | #
|
---|
361 | # VirtualBox - GUI Global Shared Library.
|
---|
362 | # Include folders.
|
---|
363 | #
|
---|
364 | UICommon_INCS = \
|
---|
365 | $(VBOX_GUI_INC_DIRS) \
|
---|
366 | $(UICommon_0_OUTDIR)/include
|
---|
367 |
|
---|
368 |
|
---|
369 | #
|
---|
370 | # VirtualBox Manager Application
|
---|
371 | # Compiling/linking flags.
|
---|
372 | #
|
---|
373 | ifneq ($(KBUILD_TARGET),win)
|
---|
374 | VirtualBox_CXXFLAGS += -Wno-switch
|
---|
375 | endif
|
---|
376 |
|
---|
377 | VirtualBox_CXXFLAGS.linux += -Wno-class-memaccess
|
---|
378 |
|
---|
379 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
380 | VirtualBox_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
381 | VirtualBox_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
382 | VirtualBox_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
383 |
|
---|
384 | ifeq ($(KBUILD_TYPE),release)
|
---|
385 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
386 | else
|
---|
387 | VirtualBox_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
|
---|
388 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
|
---|
389 | endif
|
---|
390 |
|
---|
391 | VirtualBox_LDFLAGS.darwin = \
|
---|
392 | $(if $(VBOX_WITH_HARDENING),,-rpath @executable_path/../MacOS -rpath @executable_path/../Frameworks) \
|
---|
393 | -framework AppKit -framework Carbon -framework IOKit
|
---|
394 |
|
---|
395 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
396 | VirtualBox_LDFLAGS.darwin += -framework OpenGL
|
---|
397 | endif
|
---|
398 |
|
---|
399 |
|
---|
400 | #
|
---|
401 | # VirtualBox Virtual Machine Application
|
---|
402 | # Compiling/linking flags.
|
---|
403 | #
|
---|
404 | ifneq ($(KBUILD_TARGET),win)
|
---|
405 | VirtualBoxVM_CXXFLAGS += -Wno-switch
|
---|
406 | endif
|
---|
407 |
|
---|
408 | VirtualBoxVM_CXXFLAGS.linux += -Wno-class-memaccess
|
---|
409 |
|
---|
410 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
411 | VirtualBoxVM_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
412 | VirtualBoxVM_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
413 | VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
414 |
|
---|
415 | ifeq ($(KBUILD_TYPE),release)
|
---|
416 | VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
417 | else
|
---|
418 | VirtualBoxVM_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
|
---|
419 | VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:console
|
---|
420 | endif
|
---|
421 |
|
---|
422 | VirtualBoxVM_LDFLAGS.darwin = \
|
---|
423 | $(if $(VBOX_WITH_HARDENING)\
|
---|
424 | ,-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBoxVM.dylib \
|
---|
425 | ,-rpath @executable_path/../../../../MacOS \
|
---|
426 | -rpath @executable_path/../../../../Frameworks) \
|
---|
427 | -framework AppKit -framework Carbon -framework IOKit \
|
---|
428 |
|
---|
429 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
430 | VirtualBoxVM_LDFLAGS.darwin += -framework OpenGL
|
---|
431 | endif
|
---|
432 |
|
---|
433 |
|
---|
434 | #
|
---|
435 | # VirtualBox - GUI Global Shared Library.
|
---|
436 | # Compiling/linking flags.
|
---|
437 | #
|
---|
438 |
|
---|
439 | UICommon_CXXFLAGS.linux += -Wno-class-memaccess
|
---|
440 | UICommon_CXXFLAGS.win += -wd4868 # prevents std::stable_sort from using functor/function comparator
|
---|
441 | UICommon_CXXFLAGS.win += -bigobj # COMWrappers.cpp fails with too many sections on win64-dep otherwise.
|
---|
442 |
|
---|
443 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
444 | UICommon_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
445 | UICommon_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
446 | UICommon_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
447 |
|
---|
448 | UICommon_LDFLAGS.darwin = \
|
---|
449 | -install_name "$(VBOX_DYLD_EXECUTABLE_PATH)/UICommon.dylib" \
|
---|
450 | -framework AppKit \
|
---|
451 | -framework Carbon \
|
---|
452 | -framework IOKit
|
---|
453 |
|
---|
454 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
455 | UICommon_LDFLAGS.darwin += -framework OpenGL
|
---|
456 | endif
|
---|
457 |
|
---|
458 | #
|
---|
459 | # VirtualBox Manager Application
|
---|
460 | # Libraries.
|
---|
461 | #
|
---|
462 |
|
---|
463 | # Library required for the hdd backend enumeration:
|
---|
464 | VirtualBox_LIBS = $(LIB_DDU)
|
---|
465 |
|
---|
466 | # Runtime library loader required on X11 hosts:
|
---|
467 | if1of ($(KBUILD_TARGET), linux netbsd openbsd)
|
---|
468 | VirtualBox_LIBS += dl
|
---|
469 | endif
|
---|
470 |
|
---|
471 | # Xinerama library required for multi-monitor support:
|
---|
472 | VirtualBox_LIBS.linux += Xinerama
|
---|
473 | VirtualBox_LIBS.solaris += Xinerama
|
---|
474 | VirtualBox_LIBS.freebsd += Xinerama
|
---|
475 |
|
---|
476 | # XCB library required for direct XCB native code support:
|
---|
477 | VirtualBox_LIBS.linux += xcb
|
---|
478 | VirtualBox_LIBS.solaris += xcb
|
---|
479 | VirtualBox_LIBS.freebsd += xcb
|
---|
480 |
|
---|
481 | # Various Windows hosts libraries:
|
---|
482 | VirtualBox_LIBS.win = \
|
---|
483 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
|
---|
484 | ifdef VBOX_WITH_NEW_WINDOWS_SDK
|
---|
485 | VirtualBox_LIBS.win += \
|
---|
486 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
|
---|
487 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
|
---|
488 | else
|
---|
489 | VirtualBox_LIBS.win += \
|
---|
490 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
|
---|
491 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
|
---|
492 | endif
|
---|
493 |
|
---|
494 | # VBox keyboard shared library for X11 hosts:
|
---|
495 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
496 | VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
497 | endif
|
---|
498 |
|
---|
499 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
500 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
501 | VirtualBox_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
502 | VirtualBox_LIBS.solaris += GL
|
---|
503 | VirtualBox_LIBS.linux += GL
|
---|
504 | VirtualBox_LIBS.freebsd += GL
|
---|
505 | endif
|
---|
506 | ifdef VBOX_WITH_3D_ACCELERATION
|
---|
507 | VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
508 | endif
|
---|
509 |
|
---|
510 | # This one is global shared GUI library:
|
---|
511 | ifeq ($(KBUILD_TARGET),win)
|
---|
512 | VirtualBox_LIBS += $(PATH_STAGE_LIB)/UICommon$(VBOX_SUFF_LIB)
|
---|
513 | else
|
---|
514 | VirtualBox_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL)
|
---|
515 | endif
|
---|
516 |
|
---|
517 |
|
---|
518 | #
|
---|
519 | # VirtualBox Virtual Machine Application
|
---|
520 | # Libraries.
|
---|
521 | #
|
---|
522 |
|
---|
523 | # Library required for the hdd backend enumeration:
|
---|
524 | VirtualBoxVM_LIBS = $(LIB_DDU)
|
---|
525 |
|
---|
526 | # Runtime library loader required on X11 hosts:
|
---|
527 | if1of ($(KBUILD_TARGET), linux netbsd openbsd)
|
---|
528 | VirtualBoxVM_LIBS += dl
|
---|
529 | endif
|
---|
530 |
|
---|
531 | # Xinerama library required for multi-monitor support:
|
---|
532 | VirtualBoxVM_LIBS.linux += Xinerama
|
---|
533 | VirtualBoxVM_LIBS.solaris += Xinerama
|
---|
534 | VirtualBoxVM_LIBS.freebsd += Xinerama
|
---|
535 |
|
---|
536 | # XCB library required for direct XCB native code support:
|
---|
537 | VirtualBoxVM_LIBS.linux += xcb
|
---|
538 | VirtualBoxVM_LIBS.solaris += xcb
|
---|
539 | VirtualBoxVM_LIBS.freebsd += xcb
|
---|
540 |
|
---|
541 | # Various Windows hosts libraries:
|
---|
542 | VirtualBoxVM_LIBS.win = \
|
---|
543 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
|
---|
544 | ifdef VBOX_WITH_NEW_WINDOWS_SDK
|
---|
545 | VirtualBoxVM_LIBS.win += \
|
---|
546 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \
|
---|
547 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib
|
---|
548 | else
|
---|
549 | VirtualBoxVM_LIBS.win += \
|
---|
550 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
|
---|
551 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
|
---|
552 | endif
|
---|
553 |
|
---|
554 | # VBox keyboard shared library for X11 hosts:
|
---|
555 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
556 | VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
557 | endif
|
---|
558 |
|
---|
559 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
560 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
561 | VirtualBoxVM_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
562 | VirtualBoxVM_LIBS.solaris += GL
|
---|
563 | VirtualBoxVM_LIBS.linux += GL
|
---|
564 | VirtualBoxVM_LIBS.freebsd += GL
|
---|
565 | endif
|
---|
566 | ifdef VBOX_WITH_3D_ACCELERATION
|
---|
567 | VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
568 | endif
|
---|
569 |
|
---|
570 | ifeq ($(KBUILD_TARGET),win)
|
---|
571 | VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/UICommon$(VBOX_SUFF_LIB)
|
---|
572 | else
|
---|
573 | VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL)
|
---|
574 | endif
|
---|
575 |
|
---|
576 |
|
---|
577 | #
|
---|
578 | # VirtualBox - GUI Global Shared Library.
|
---|
579 | # Libraries.
|
---|
580 | #
|
---|
581 |
|
---|
582 | # Xinerama library required for multi-monitor support:
|
---|
583 | UICommon_LIBS.linux += Xinerama
|
---|
584 | UICommon_LIBS.solaris += Xinerama
|
---|
585 | UICommon_LIBS.freebsd += Xinerama
|
---|
586 |
|
---|
587 | # Various Windows hosts libraries:
|
---|
588 | UICommon_LIBS.win = \
|
---|
589 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
|
---|
590 |
|
---|
591 | # VBox keyboard shared library for X11 hosts:
|
---|
592 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
593 | UICommon_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
594 | endif
|
---|
595 |
|
---|
596 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
597 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
598 | UICommon_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
599 | UICommon_LIBS.solaris += GL
|
---|
600 | UICommon_LIBS.linux += GL
|
---|
601 | UICommon_LIBS.freebsd += GL
|
---|
602 | endif
|
---|
603 | ifdef VBOX_WITH_3D_ACCELERATION
|
---|
604 | UICommon_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
605 | endif
|
---|
606 |
|
---|
607 |
|
---|
608 | #
|
---|
609 | # VirtualBox Manager Application
|
---|
610 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
611 | #
|
---|
612 | VirtualBox_QT_MOCHDRS = \
|
---|
613 | src/cloud/consolemanager/UICloudConsoleDetailsWidget.h \
|
---|
614 | src/cloud/consolemanager/UICloudConsoleManager.h \
|
---|
615 | src/cloud/machinesettings/UICloudMachineSettingsDialog.h \
|
---|
616 | src/cloud/machinesettings/UICloudMachineSettingsDialogPage.h \
|
---|
617 | src/cloud/profilemanager/UICloudProfileDetailsWidget.h \
|
---|
618 | src/cloud/profilemanager/UICloudProfileManager.h \
|
---|
619 | src/extensionpackmanager/UIExtensionPackManager.h \
|
---|
620 | src/globals/UIStarter.h \
|
---|
621 | src/manager/UIErrorPane.h \
|
---|
622 | src/manager/UIProgressTaskReadCloudMachineList.h \
|
---|
623 | src/manager/UITaskCloudGetSettingsForm.h \
|
---|
624 | src/manager/UIToolPaneGlobal.h \
|
---|
625 | src/manager/UIToolPaneMachine.h \
|
---|
626 | src/manager/UIVirtualBoxManager.h \
|
---|
627 | src/manager/UIVirtualBoxManagerWidget.h \
|
---|
628 | src/manager/UIVirtualMachineItem.h \
|
---|
629 | src/manager/UIVirtualMachineItemCloud.h \
|
---|
630 | src/manager/UIVirtualMachineItemLocal.h \
|
---|
631 | src/manager/UIWelcomePane.h \
|
---|
632 | src/manager/chooser/UIChooser.h \
|
---|
633 | src/manager/chooser/UIChooserAbstractModel.h \
|
---|
634 | src/manager/chooser/UIChooserModel.h \
|
---|
635 | src/manager/chooser/UIChooserView.h \
|
---|
636 | src/manager/chooser/UIChooserHandlerMouse.h \
|
---|
637 | src/manager/chooser/UIChooserHandlerKeyboard.h \
|
---|
638 | src/manager/chooser/UIChooserItem.h \
|
---|
639 | src/manager/chooser/UIChooserItemGroup.h \
|
---|
640 | src/manager/chooser/UIChooserItemGlobal.h \
|
---|
641 | src/manager/chooser/UIChooserItemMachine.h \
|
---|
642 | src/manager/chooser/UIChooserNode.h \
|
---|
643 | src/manager/chooser/UIChooserNodeGroup.h \
|
---|
644 | src/manager/chooser/UIChooserNodeGlobal.h \
|
---|
645 | src/manager/chooser/UIChooserNodeMachine.h \
|
---|
646 | src/manager/chooser/UIChooserSearchWidget.h \
|
---|
647 | src/manager/details/UIDetails.h \
|
---|
648 | src/manager/details/UIDetailsContextMenu.h \
|
---|
649 | src/manager/details/UIDetailsModel.h \
|
---|
650 | src/manager/details/UIDetailsView.h \
|
---|
651 | src/manager/details/UIDetailsItem.h \
|
---|
652 | src/manager/details/UIDetailsGroup.h \
|
---|
653 | src/manager/details/UIDetailsSet.h \
|
---|
654 | src/manager/details/UIDetailsElement.h \
|
---|
655 | src/manager/details/UIDetailsElements.h \
|
---|
656 | src/manager/details/UIMachinePreview.h \
|
---|
657 | src/manager/tools/UITools.h \
|
---|
658 | src/manager/tools/UIToolsModel.h \
|
---|
659 | src/manager/tools/UIToolsView.h \
|
---|
660 | src/manager/tools/UIToolsHandlerMouse.h \
|
---|
661 | src/manager/tools/UIToolsHandlerKeyboard.h \
|
---|
662 | src/manager/tools/UIToolsItem.h \
|
---|
663 | src/medium/UIMediumDetailsWidget.h \
|
---|
664 | src/medium/UIMediumManager.h \
|
---|
665 | src/activity/overview/UIVMActivityOverviewWidget.h \
|
---|
666 | src/activity/overview/UIVMActivityToolWidget.h \
|
---|
667 | src/networkmanager/UIDetailsWidgetCloudNetwork.h \
|
---|
668 | src/networkmanager/UIDetailsWidgetHostNetwork.h \
|
---|
669 | src/networkmanager/UIDetailsWidgetNATNetwork.h \
|
---|
670 | src/networkmanager/UINetworkManager.h \
|
---|
671 | src/snapshots/UISnapshotDetailsWidget.h \
|
---|
672 | src/snapshots/UISnapshotPane.h \
|
---|
673 | src/widgets/UIApplianceEditorWidget.h \
|
---|
674 | src/widgets/UIApplianceExportEditorWidget.h \
|
---|
675 | src/widgets/UIApplianceImportEditorWidget.h \
|
---|
676 | src/widgets/UIEmptyFilePathSelector.h \
|
---|
677 | src/widgets/UIFormEditorWidget.h \
|
---|
678 | src/widgets/UIGuestOSTypeSelectionButton.h \
|
---|
679 | src/widgets/UILineTextEdit.h \
|
---|
680 | src/widgets/UISlidingAnimation.h \
|
---|
681 | src/widgets/UISlidingWidget.h \
|
---|
682 | src/widgets/UITabBar.h \
|
---|
683 | src/widgets/UIMenuToolBar.h \
|
---|
684 | src/widgets/graphics/UIGraphicsButton.h \
|
---|
685 | src/widgets/graphics/UIGraphicsRotatorButton.h \
|
---|
686 | src/widgets/graphics/UIGraphicsScrollArea.h \
|
---|
687 | src/widgets/graphics/UIGraphicsScrollBar.h \
|
---|
688 | src/widgets/graphics/UIGraphicsZoomButton.h \
|
---|
689 | src/widgets/graphics/UIGraphicsToolBar.h \
|
---|
690 | src/widgets/graphics/UIGraphicsTextPane.h \
|
---|
691 | src/wizards/addcloudvm/UIWizardAddCloudVM.h \
|
---|
692 | src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h \
|
---|
693 | src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.h \
|
---|
694 | src/wizards/editors/UIHostnameDomainNameEditor.h \
|
---|
695 | src/wizards/editors/UIWizardCloneVMEditors.h \
|
---|
696 | src/wizards/editors/UIWizardNewVMEditors.h \
|
---|
697 | src/wizards/newcloudvm/UIWizardNewCloudVM.h \
|
---|
698 | src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h \
|
---|
699 | src/wizards/newcloudvm/UIWizardNewCloudVMPageProperties.h \
|
---|
700 | src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.h \
|
---|
701 | src/wizards/newvm/UIWizardNewVM.h \
|
---|
702 | src/wizards/newvm/UIWizardNewVMNameOSTypePage.h \
|
---|
703 | src/wizards/newvm/UIWizardNewVMUnattendedPage.h \
|
---|
704 | src/wizards/newvm/UIWizardNewVMHardwarePage.h \
|
---|
705 | src/wizards/newvm/UIWizardNewVMDiskPage.h \
|
---|
706 | src/wizards/newvm/UIWizardNewVMExpertPage.h \
|
---|
707 | src/wizards/newvm/UIWizardNewVMSummaryPage.h \
|
---|
708 | src/wizards/clonevm/UIWizardCloneVM.h \
|
---|
709 | src/wizards/clonevm/UIWizardCloneVMNamePathPage.h \
|
---|
710 | src/wizards/clonevm/UIWizardCloneVMTypePage.h \
|
---|
711 | src/wizards/clonevm/UIWizardCloneVMModePage.h \
|
---|
712 | src/wizards/clonevm/UIWizardCloneVMExpertPage.h \
|
---|
713 | src/wizards/clonevd/UIWizardCloneVD.h \
|
---|
714 | src/wizards/clonevd/UIWizardCloneVDFormatPage.h \
|
---|
715 | src/wizards/clonevd/UIWizardCloneVDVariantPage.h \
|
---|
716 | src/wizards/clonevd/UIWizardCloneVDPathSizePage.h \
|
---|
717 | src/wizards/clonevd/UIWizardCloneVDExpertPage.h \
|
---|
718 | src/wizards/exportappliance/UIWizardExportApp.h \
|
---|
719 | src/wizards/exportappliance/UIWizardExportAppPageExpert.h \
|
---|
720 | src/wizards/exportappliance/UIWizardExportAppPageFormat.h \
|
---|
721 | src/wizards/exportappliance/UIWizardExportAppPageSettings.h \
|
---|
722 | src/wizards/exportappliance/UIWizardExportAppPageVMs.h \
|
---|
723 | src/wizards/importappliance/UIApplianceUnverifiedCertificateViewer.h \
|
---|
724 | src/wizards/importappliance/UIWizardImportApp.h \
|
---|
725 | src/wizards/importappliance/UIWizardImportAppPageExpert.h \
|
---|
726 | src/wizards/importappliance/UIWizardImportAppPageSettings.h \
|
---|
727 | src/wizards/importappliance/UIWizardImportAppPageSource.h
|
---|
728 |
|
---|
729 |
|
---|
730 | #
|
---|
731 | # VirtualBox Virtual Machine Application
|
---|
732 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
733 | #
|
---|
734 | VirtualBoxVM_QT_MOCHDRS = \
|
---|
735 | src/globals/UIStarter.h \
|
---|
736 | src/runtime/UIBootFailureDialog.h \
|
---|
737 | src/runtime/UIConsoleEventHandler.h \
|
---|
738 | src/runtime/UIFrameBuffer.h \
|
---|
739 | src/runtime/UIIndicatorsPool.h \
|
---|
740 | src/runtime/UIKeyboardHandler.h \
|
---|
741 | src/runtime/UIMachine.h \
|
---|
742 | src/runtime/UIMachineLogic.h \
|
---|
743 | src/runtime/UIMachineWindow.h \
|
---|
744 | src/runtime/UIMachineView.h \
|
---|
745 | src/runtime/UIMouseHandler.h \
|
---|
746 | src/runtime/UIMultiScreenLayout.h \
|
---|
747 | src/runtime/UISession.h \
|
---|
748 | src/runtime/UIVMCloseDialog.h \
|
---|
749 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
|
---|
750 | src/runtime/fullscreen/UIMachineLogicFullscreen.h \
|
---|
751 | src/runtime/fullscreen/UIMachineViewFullscreen.h \
|
---|
752 | src/runtime/fullscreen/UIMachineWindowFullscreen.h \
|
---|
753 | src/runtime/information/UIInformationConfiguration.h \
|
---|
754 | src/runtime/information/UIVMInformationDialog.h \
|
---|
755 | src/runtime/information/UIInformationRuntime.h \
|
---|
756 | src/guestctrl/UIFileManagerDialog.h \
|
---|
757 | src/guestctrl/UIGuestControlConsole.h \
|
---|
758 | src/guestctrl/UIGuestControlInterface.h \
|
---|
759 | src/guestctrl/UIGuestControlTreeItem.h \
|
---|
760 | src/guestctrl/UIGuestProcessControlDialog.h \
|
---|
761 | src/guestctrl/UIGuestProcessControlWidget.h \
|
---|
762 | src/runtime/normal/UIKeyboardHandlerNormal.h \
|
---|
763 | src/runtime/normal/UIMachineLogicNormal.h \
|
---|
764 | src/runtime/normal/UIMachineViewNormal.h \
|
---|
765 | src/runtime/normal/UIMachineWindowNormal.h \
|
---|
766 | src/runtime/scale/UIKeyboardHandlerScale.h \
|
---|
767 | src/runtime/scale/UIMachineLogicScale.h \
|
---|
768 | src/runtime/scale/UIMachineViewScale.h \
|
---|
769 | src/runtime/scale/UIMachineWindowScale.h \
|
---|
770 | src/runtime/seamless/UIKeyboardHandlerSeamless.h \
|
---|
771 | src/runtime/seamless/UIMachineLogicSeamless.h \
|
---|
772 | src/runtime/seamless/UIMachineViewSeamless.h \
|
---|
773 | src/runtime/seamless/UIMachineWindowSeamless.h \
|
---|
774 | src/softkeyboard/UISoftKeyboard.h \
|
---|
775 | src/widgets/UIMiniToolBar.h
|
---|
776 |
|
---|
777 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
778 | VirtualBoxVM_QT_MOCHDRS += \
|
---|
779 | src/runtime/UIDnDHandler.h
|
---|
780 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
781 | VirtualBoxVM_QT_MOCHDRS += \
|
---|
782 | src/runtime/UIDnDMIMEData.h
|
---|
783 | endif
|
---|
784 | endif
|
---|
785 |
|
---|
786 |
|
---|
787 | #
|
---|
788 | # VirtualBox - GUI Global Shared Library.
|
---|
789 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
790 | #
|
---|
791 | UICommon_QT_MOCHDRS = \
|
---|
792 | src/VBoxAboutDlg.h \
|
---|
793 | src/VBoxLicenseViewer.h \
|
---|
794 | src/UITakeSnapshotDialog.h \
|
---|
795 | src/extensions/QIAdvancedSlider.h \
|
---|
796 | src/extensions/QIArrowButtonPress.h \
|
---|
797 | src/extensions/QIArrowButtonSwitch.h \
|
---|
798 | src/extensions/QIArrowSplitter.h \
|
---|
799 | src/extensions/QIComboBox.h \
|
---|
800 | src/extensions/QIDialog.h \
|
---|
801 | src/extensions/QIDialogButtonBox.h \
|
---|
802 | src/extensions/QIDialogContainer.h \
|
---|
803 | src/extensions/QIFileDialog.h \
|
---|
804 | src/extensions/QIFlowLayout.h \
|
---|
805 | src/extensions/QIInputDialog.h \
|
---|
806 | src/extensions/QILabel.h \
|
---|
807 | src/extensions/QILabelSeparator.h \
|
---|
808 | src/extensions/QILineEdit.h \
|
---|
809 | src/extensions/QIMainDialog.h \
|
---|
810 | src/extensions/QIManagerDialog.h \
|
---|
811 | src/extensions/QIMenu.h \
|
---|
812 | src/extensions/QIMessageBox.h \
|
---|
813 | src/extensions/QIProcess.h \
|
---|
814 | src/extensions/QIRichTextLabel.h \
|
---|
815 | src/extensions/QIRichToolButton.h \
|
---|
816 | src/extensions/QISplitter.h \
|
---|
817 | src/extensions/QIStatusBar.h \
|
---|
818 | src/extensions/QIStatusBarIndicator.h \
|
---|
819 | src/extensions/QIStyledItemDelegate.h \
|
---|
820 | src/extensions/QITableView.h \
|
---|
821 | src/extensions/QITabWidget.h \
|
---|
822 | src/extensions/QIToolBar.h \
|
---|
823 | src/extensions/QIToolButton.h \
|
---|
824 | src/extensions/QITreeView.h \
|
---|
825 | src/extensions/QITreeWidget.h \
|
---|
826 | src/extensions/QIWidgetValidator.h \
|
---|
827 | src/extensions/graphics/QIGraphicsView.h \
|
---|
828 | src/extensions/graphics/QIGraphicsWidget.h \
|
---|
829 | src/extradata/UIExtraDataDefs.h \
|
---|
830 | src/extradata/UIExtraDataManager.h \
|
---|
831 | src/globals/UIActionPool.h \
|
---|
832 | src/globals/UIActionPoolManager.h \
|
---|
833 | src/globals/UIActionPoolRuntime.h \
|
---|
834 | src/globals/UIAnimationFramework.h \
|
---|
835 | src/globals/UICommon.h \
|
---|
836 | src/globals/UICustomFileSystemModel.h \
|
---|
837 | src/globals/UIDesktopWidgetWatchdog.h \
|
---|
838 | src/globals/UIDialogPanel.h \
|
---|
839 | src/globals/UIMainEventListener.h \
|
---|
840 | src/globals/UIMessageCenter.h \
|
---|
841 | src/globals/UIModalWindowManager.h \
|
---|
842 | src/globals/UIPopupCenter.h \
|
---|
843 | src/globals/UIProgressEventHandler.h \
|
---|
844 | src/globals/UIProgressObject.h \
|
---|
845 | src/globals/UIProgressTask.h \
|
---|
846 | src/globals/UIQObjectStuff.h \
|
---|
847 | src/globals/UIShortcutPool.h \
|
---|
848 | src/globals/UITask.h \
|
---|
849 | src/globals/UIThreadPool.h \
|
---|
850 | src/globals/UITextTable.h \
|
---|
851 | src/globals/UITranslator.h \
|
---|
852 | src/globals/UIVirtualBoxEventHandler.h \
|
---|
853 | src/globals/UIVirtualBoxClientEventHandler.h \
|
---|
854 | src/globals/VBoxUtils.h \
|
---|
855 | src/guestctrl/UIFileManager.h \
|
---|
856 | src/guestctrl/UIFileManagerGuestTable.h \
|
---|
857 | src/guestctrl/UIFileManagerHostTable.h \
|
---|
858 | src/guestctrl/UIFileManagerLogPanel.h \
|
---|
859 | src/guestctrl/UIFileManagerOperationsPanel.h \
|
---|
860 | src/guestctrl/UIFileManagerOptionsPanel.h \
|
---|
861 | src/guestctrl/UIFileManagerTable.h \
|
---|
862 | src/helpbrowser/UIHelpBrowserDialog.h \
|
---|
863 | src/logviewer/UIVMLogPage.h \
|
---|
864 | src/logviewer/UIVMLogViewerBookmarksPanel.h \
|
---|
865 | src/logviewer/UIVMLogViewerDialog.h \
|
---|
866 | src/logviewer/UIVMLogViewerFilterPanel.h \
|
---|
867 | src/logviewer/UIVMLogViewerOptionsPanel.h \
|
---|
868 | src/logviewer/UIVMLogViewerPanel.h \
|
---|
869 | src/logviewer/UIVMLogViewerSearchPanel.h \
|
---|
870 | src/logviewer/UIVMLogViewerTextEdit.h \
|
---|
871 | src/logviewer/UIVMLogViewerWidget.h \
|
---|
872 | src/activity/vmactivity/UIVMActivityMonitor.h \
|
---|
873 | src/medium/UIFDCreationDialog.h \
|
---|
874 | src/medium/UIMediumEnumerator.h \
|
---|
875 | src/medium/UIMediumItem.h \
|
---|
876 | src/medium/UIMediumSearchWidget.h \
|
---|
877 | src/medium/UIMediumSelector.h \
|
---|
878 | src/medium/viso/UIVisoBrowserBase.h \
|
---|
879 | src/medium/viso/UIVisoContentBrowser.h \
|
---|
880 | src/medium/viso/UIVisoCreator.h \
|
---|
881 | src/medium/viso/UIVisoConfigurationPanel.h \
|
---|
882 | src/medium/viso/UIVisoCreatorOptionsPanel.h \
|
---|
883 | src/medium/viso/UIVisoHostBrowser.h \
|
---|
884 | src/notificationcenter/UINotificationCenter.h \
|
---|
885 | src/notificationcenter/UINotificationModel.h \
|
---|
886 | src/notificationcenter/UINotificationObject.h \
|
---|
887 | src/notificationcenter/UINotificationObjectItem.h \
|
---|
888 | src/notificationcenter/UINotificationObjects.h \
|
---|
889 | src/notificationcenter/UINotificationProgressTask.h \
|
---|
890 | src/objects/UIExecutionQueue.h \
|
---|
891 | src/settings/UISettingsDialog.h \
|
---|
892 | src/settings/UISettingsDialogSpecific.h \
|
---|
893 | src/settings/UISettingsPage.h \
|
---|
894 | src/settings/UISettingsSelector.h \
|
---|
895 | src/settings/UISettingsSerializer.h \
|
---|
896 | src/settings/editors/UIAudioControllerEditor.h \
|
---|
897 | src/settings/editors/UIAudioHostDriverEditor.h \
|
---|
898 | src/settings/editors/UIAutoCaptureKeyboardEditor.h \
|
---|
899 | src/settings/editors/UIBaseMemoryEditor.h \
|
---|
900 | src/settings/editors/UIBootOrderEditor.h \
|
---|
901 | src/settings/editors/UIColorThemeEditor.h \
|
---|
902 | src/settings/editors/UIDefaultMachineFolderEditor.h \
|
---|
903 | src/settings/editors/UIDiskEncryptionSettingsEditor.h \
|
---|
904 | src/settings/editors/UIDragAndDropEditor.h \
|
---|
905 | src/settings/editors/UIGlobalDisplayFeaturesEditor.h \
|
---|
906 | src/settings/editors/UIGlobalProxyFeaturesEditor.h \
|
---|
907 | src/settings/editors/UIGraphicsControllerEditor.h \
|
---|
908 | src/settings/editors/UIHostComboEditor.h \
|
---|
909 | src/settings/editors/UIHotKeyEditor.h \
|
---|
910 | src/settings/editors/UILanguageSettingsEditor.h \
|
---|
911 | src/settings/editors/UIMachineAudioFeaturesEditor.h \
|
---|
912 | src/settings/editors/UIMachineDisplayScreenFeaturesEditor.h \
|
---|
913 | src/settings/editors/UIMachineDescriptionEditor.h \
|
---|
914 | src/settings/editors/UIMaximumGuestScreenSizeEditor.h \
|
---|
915 | src/settings/editors/UIMiniToolbarSettingsEditor.h \
|
---|
916 | src/settings/editors/UIMonitorCountEditor.h \
|
---|
917 | src/settings/editors/UINameAndSystemEditor.h \
|
---|
918 | src/settings/editors/UINetworkAttachmentEditor.h \
|
---|
919 | src/settings/editors/UINetworkFeaturesEditor.h \
|
---|
920 | src/settings/editors/UINetworkSettingsEditor.h \
|
---|
921 | src/settings/editors/UIRecordingSettingsEditor.h \
|
---|
922 | src/settings/editors/UIScaleFactorEditor.h \
|
---|
923 | src/settings/editors/UISharedClipboardEditor.h \
|
---|
924 | src/settings/editors/UIShortcutConfigurationEditor.h \
|
---|
925 | src/settings/editors/UISnapshotFolderEditor.h \
|
---|
926 | src/settings/editors/UIVideoMemoryEditor.h \
|
---|
927 | src/settings/editors/UIVirtualCPUEditor.h \
|
---|
928 | src/settings/editors/UIVisualStateEditor.h \
|
---|
929 | src/settings/editors/UIVRDEAuthLibraryEditor.h \
|
---|
930 | src/settings/editors/UIVRDESettingsEditor.h \
|
---|
931 | src/settings/global/UIGlobalSettingsGeneral.h \
|
---|
932 | src/settings/global/UIGlobalSettingsInput.h \
|
---|
933 | src/settings/global/UIGlobalSettingsLanguage.h \
|
---|
934 | src/settings/global/UIGlobalSettingsDisplay.h \
|
---|
935 | src/settings/global/UIGlobalSettingsInterface.h \
|
---|
936 | src/settings/machine/UIMachineSettingsAudio.h \
|
---|
937 | src/settings/machine/UIMachineSettingsDisplay.h \
|
---|
938 | src/settings/machine/UIMachineSettingsGeneral.h \
|
---|
939 | src/settings/machine/UIMachineSettingsInterface.h \
|
---|
940 | src/settings/machine/UIMachineSettingsNetwork.h \
|
---|
941 | src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
|
---|
942 | src/settings/machine/UIMachineSettingsSF.h \
|
---|
943 | src/settings/machine/UIMachineSettingsSFDetails.h \
|
---|
944 | src/settings/machine/UIMachineSettingsSerial.h \
|
---|
945 | src/settings/machine/UIMachineSettingsStorage.h \
|
---|
946 | src/settings/machine/UIMachineSettingsSystem.h \
|
---|
947 | src/settings/machine/UIMachineSettingsUSB.h \
|
---|
948 | src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
|
---|
949 | src/widgets/UIAddDiskEncryptionPasswordDialog.h \
|
---|
950 | src/widgets/UIFilePathSelector.h \
|
---|
951 | src/widgets/UIFilmContainer.h \
|
---|
952 | src/widgets/UIMediaComboBox.h \
|
---|
953 | src/widgets/UIMediumSizeEditor.h \
|
---|
954 | src/widgets/UIMenuBar.h \
|
---|
955 | src/widgets/UIMenuBarEditorWindow.h \
|
---|
956 | src/widgets/UIPopupBox.h \
|
---|
957 | src/widgets/UIPopupPane.h \
|
---|
958 | src/widgets/UIPopupPaneButtonPane.h \
|
---|
959 | src/widgets/UIPopupPaneMessage.h \
|
---|
960 | src/widgets/UIPopupPaneDetails.h \
|
---|
961 | src/widgets/UIPopupStack.h \
|
---|
962 | src/widgets/UIPopupStackViewport.h \
|
---|
963 | src/widgets/UIPortForwardingTable.h \
|
---|
964 | src/widgets/UIProgressDialog.h \
|
---|
965 | src/widgets/UISlidingToolBar.h \
|
---|
966 | src/widgets/UISpecialControls.h \
|
---|
967 | src/widgets/UIStatusBarEditorWindow.h \
|
---|
968 | src/widgets/UISearchLineEdit.h \
|
---|
969 | src/widgets/UIToolBox.h \
|
---|
970 | src/widgets/UIWarningPane.h \
|
---|
971 | src/wizards/UINativeWizard.h \
|
---|
972 | src/wizards/UINativeWizardPage.h \
|
---|
973 | src/wizards/editors/UIUserNamePasswordEditor.h \
|
---|
974 | src/wizards/editors/UIWizardDiskEditors.h \
|
---|
975 | src/wizards/newvd/UIWizardNewVD.h \
|
---|
976 | src/wizards/newvd/UIWizardNewVDFileTypePage.h \
|
---|
977 | src/wizards/newvd/UIWizardNewVDVariantPage.h \
|
---|
978 | src/wizards/newvd/UIWizardNewVDSizeLocationPage.h \
|
---|
979 | src/wizards/newvd/UIWizardNewVDExpertPage.h
|
---|
980 |
|
---|
981 | ifdef VBOX_WITH_QHELP_VIEWER
|
---|
982 | UICommon_QT_MOCHDRS += \
|
---|
983 | src/helpbrowser/UIHelpViewer.h \
|
---|
984 | src/helpbrowser/UIHelpBrowserWidget.h
|
---|
985 | endif
|
---|
986 |
|
---|
987 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
988 | UICommon_QT_MOCHDRS += \
|
---|
989 | src/networking/UIDownloader.h \
|
---|
990 | src/networking/UIDownloaderExtensionPack.h \
|
---|
991 | src/networking/UIDownloaderGuestAdditions.h \
|
---|
992 | src/networking/UIDownloaderUserManual.h \
|
---|
993 | src/networking/UINetworkCustomer.h \
|
---|
994 | src/networking/UINetworkRequestManager.h \
|
---|
995 | src/networking/UINetworkRequest.h \
|
---|
996 | src/networking/UINetworkReply.h \
|
---|
997 | src/networking/UINewVersionChecker.h \
|
---|
998 | src/networking/UIUpdateManager.h \
|
---|
999 | src/settings/editors/UIUpdateSettingsEditor.h \
|
---|
1000 | src/settings/global/UIGlobalSettingsProxy.h \
|
---|
1001 | src/settings/global/UIGlobalSettingsUpdate.h
|
---|
1002 | endif
|
---|
1003 |
|
---|
1004 | UICommon_QT_MOCHDRS.darwin += \
|
---|
1005 | src/platform/darwin/UICocoaSpecialControls.h \
|
---|
1006 | src/platform/darwin/UIWindowMenuManager.h
|
---|
1007 |
|
---|
1008 |
|
---|
1009 | #
|
---|
1010 | # VirtualBox Manager Application
|
---|
1011 | # Sources containing local definitions of classes that use the Q_OBJECT macro.
|
---|
1012 | #
|
---|
1013 | VirtualBox_QT_MOCSRCS = \
|
---|
1014 | src/cloud/consolemanager/UICloudConsoleManager.cpp \
|
---|
1015 | src/cloud/profilemanager/UICloudProfileManager.cpp \
|
---|
1016 | src/extensionpackmanager/UIExtensionPackManager.cpp \
|
---|
1017 | src/manager/UIVirtualBoxManager.cpp \
|
---|
1018 | src/manager/UIVirtualMachineItemCloud.cpp \
|
---|
1019 | src/manager/UIWelcomePane.cpp \
|
---|
1020 | src/manager/chooser/UIChooserAbstractModel.cpp \
|
---|
1021 | src/activity/overview/UIVMActivityOverviewWidget.cpp \
|
---|
1022 | src/networkmanager/UINetworkManager.cpp \
|
---|
1023 | src/snapshots/UISnapshotDetailsWidget.cpp \
|
---|
1024 | src/snapshots/UISnapshotPane.cpp \
|
---|
1025 | src/widgets/UIApplianceEditorWidget.cpp \
|
---|
1026 | src/widgets/UIFormEditorWidget.cpp \
|
---|
1027 | src/widgets/UIMenuToolBar.cpp \
|
---|
1028 | src/widgets/UITabBar.cpp \
|
---|
1029 | src/widgets/graphics/UIGraphicsScrollBar.cpp \
|
---|
1030 | src/wizards/importappliance/UIWizardImportApp.cpp \
|
---|
1031 | src/wizards/newvm/UIWizardNewVMSummaryPage.cpp
|
---|
1032 |
|
---|
1033 | #
|
---|
1034 | # VirtualBox Virtual Machine Application
|
---|
1035 | # Sources containing local definitions of classes that use the Q_OBJECT macro.
|
---|
1036 | #
|
---|
1037 | VirtualBoxVM_QT_MOCSRCS = \
|
---|
1038 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1039 | src/runtime/UIFrameBuffer.cpp \
|
---|
1040 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1041 | src/runtime/information/UIInformationRuntime.cpp \
|
---|
1042 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1043 | src/softkeyboard/UISoftKeyboard.cpp \
|
---|
1044 | src/widgets/UIMiniToolBar.cpp
|
---|
1045 |
|
---|
1046 |
|
---|
1047 | #
|
---|
1048 | # VirtualBox - GUI Global Shared Library.
|
---|
1049 | # Sources containing local definitions of classes that use the Q_OBJECT macro.
|
---|
1050 | #
|
---|
1051 | UICommon_QT_MOCSRCS = \
|
---|
1052 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1053 | src/extensions/QIArrowSplitter.cpp \
|
---|
1054 | src/extensions/QISplitter.cpp \
|
---|
1055 | src/extradata/UIExtraDataManager.cpp \
|
---|
1056 | src/globals/UIActionPool.cpp \
|
---|
1057 | src/globals/UIActionPoolManager.cpp \
|
---|
1058 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1059 | src/globals/UIMainEventListener.cpp \
|
---|
1060 | src/globals/UIThreadPool.cpp \
|
---|
1061 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1062 | src/globals/UIVirtualBoxClientEventHandler.cpp \
|
---|
1063 | src/guestctrl/UIFileManager.cpp \
|
---|
1064 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1065 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1066 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1067 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1068 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1069 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1070 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1071 | src/logviewer/UIVMLogViewerWidget.cpp \
|
---|
1072 | src/activity/vmactivity/UIVMActivityMonitor.cpp \
|
---|
1073 | src/medium/UIMediumEnumerator.cpp \
|
---|
1074 | src/medium/viso/UIVisoContentBrowser.cpp \
|
---|
1075 | src/medium/viso/UIVisoHostBrowser.cpp \
|
---|
1076 | src/medium/viso/UIVisoBrowserBase.cpp \
|
---|
1077 | src/notificationcenter/UINotificationCenter.cpp \
|
---|
1078 | src/settings/editors/UIBaseMemoryEditor.cpp \
|
---|
1079 | src/settings/editors/UIBootOrderEditor.cpp \
|
---|
1080 | src/settings/editors/UIHotKeyEditor.cpp \
|
---|
1081 | src/settings/editors/UILanguageSettingsEditor.cpp \
|
---|
1082 | src/settings/editors/UIShortcutConfigurationEditor.cpp \
|
---|
1083 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1084 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1085 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1086 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1087 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1088 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1089 | src/widgets/UIFilmContainer.cpp \
|
---|
1090 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1091 | src/widgets/UIStatusBarEditorWindow.cpp \
|
---|
1092 | src/widgets/UIToolBox.cpp
|
---|
1093 |
|
---|
1094 | ifdef VBOX_WITH_QHELP_VIEWER
|
---|
1095 | UICommon_QT_MOCSRCS += \
|
---|
1096 | src/helpbrowser/UIHelpViewer.cpp \
|
---|
1097 | src/helpbrowser/UIHelpBrowserWidget.cpp
|
---|
1098 | endif
|
---|
1099 |
|
---|
1100 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1101 | UICommon_QT_MOCSRCS += \
|
---|
1102 | src/networking/UINetworkReply.cpp \
|
---|
1103 | src/networking/UIUpdateManager.cpp
|
---|
1104 | endif
|
---|
1105 |
|
---|
1106 | ifdef VBOX_WITH_XPCOM
|
---|
1107 | UICommon_QT_MOCSRCS += \
|
---|
1108 | src/globals/COMDefs.cpp
|
---|
1109 | endif
|
---|
1110 |
|
---|
1111 | UICommon_QT_MOCSRCS.darwin += \
|
---|
1112 | src/platform/darwin/UIWindowMenuManager.cpp
|
---|
1113 |
|
---|
1114 | ifndef VBOX_GUI_WITH_CUSTOMIZATIONS1
|
---|
1115 | UICommon_QT_MOCSRCS.linux += \
|
---|
1116 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1117 | UICommon_QT_MOCSRCS.solaris += \
|
---|
1118 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1119 | UICommon_QT_MOCSRCS.freebsd += \
|
---|
1120 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1121 | endif
|
---|
1122 |
|
---|
1123 |
|
---|
1124 | #
|
---|
1125 | # VirtualBox Manager Application
|
---|
1126 | # Sources.
|
---|
1127 | #
|
---|
1128 | VirtualBox_SOURCES = \
|
---|
1129 | src/main.cpp \
|
---|
1130 | src/cloud/consolemanager/UICloudConsoleDetailsWidget.cpp \
|
---|
1131 | src/cloud/consolemanager/UICloudConsoleManager.cpp \
|
---|
1132 | src/cloud/machinesettings/UICloudMachineSettingsDialog.cpp \
|
---|
1133 | src/cloud/machinesettings/UICloudMachineSettingsDialogPage.cpp \
|
---|
1134 | src/cloud/profilemanager/UICloudProfileDetailsWidget.cpp \
|
---|
1135 | src/cloud/profilemanager/UICloudProfileManager.cpp \
|
---|
1136 | src/extensionpackmanager/UIExtensionPackManager.cpp \
|
---|
1137 | src/globals/UIStarter.cpp \
|
---|
1138 | src/manager/UICloudEntityKey.cpp \
|
---|
1139 | src/manager/UIErrorPane.cpp \
|
---|
1140 | src/manager/UIProgressTaskReadCloudMachineList.cpp \
|
---|
1141 | src/manager/UITaskCloudGetSettingsForm.cpp \
|
---|
1142 | src/manager/UIToolPaneGlobal.cpp \
|
---|
1143 | src/manager/UIToolPaneMachine.cpp \
|
---|
1144 | src/manager/UIVirtualBoxManager.cpp \
|
---|
1145 | src/manager/UIVirtualBoxManagerWidget.cpp \
|
---|
1146 | src/manager/UIVirtualMachineItem.cpp \
|
---|
1147 | src/manager/UIVirtualMachineItemCloud.cpp \
|
---|
1148 | src/manager/UIVirtualMachineItemLocal.cpp \
|
---|
1149 | src/manager/UIWelcomePane.cpp \
|
---|
1150 | src/manager/chooser/UIChooser.cpp \
|
---|
1151 | src/manager/chooser/UIChooserAbstractModel.cpp \
|
---|
1152 | src/manager/chooser/UIChooserModel.cpp \
|
---|
1153 | src/manager/chooser/UIChooserView.cpp \
|
---|
1154 | src/manager/chooser/UIChooserHandlerMouse.cpp \
|
---|
1155 | src/manager/chooser/UIChooserHandlerKeyboard.cpp \
|
---|
1156 | src/manager/chooser/UIChooserItem.cpp \
|
---|
1157 | src/manager/chooser/UIChooserItemGroup.cpp \
|
---|
1158 | src/manager/chooser/UIChooserItemGlobal.cpp \
|
---|
1159 | src/manager/chooser/UIChooserItemMachine.cpp \
|
---|
1160 | src/manager/chooser/UIChooserNode.cpp \
|
---|
1161 | src/manager/chooser/UIChooserNodeGroup.cpp \
|
---|
1162 | src/manager/chooser/UIChooserNodeGlobal.cpp \
|
---|
1163 | src/manager/chooser/UIChooserNodeMachine.cpp \
|
---|
1164 | src/manager/chooser/UIChooserSearchWidget.cpp \
|
---|
1165 | src/manager/details/UIDetails.cpp \
|
---|
1166 | src/manager/details/UIDetailsContextMenu.cpp \
|
---|
1167 | src/manager/details/UIDetailsModel.cpp \
|
---|
1168 | src/manager/details/UIDetailsView.cpp \
|
---|
1169 | src/manager/details/UIDetailsItem.cpp \
|
---|
1170 | src/manager/details/UIDetailsGroup.cpp \
|
---|
1171 | src/manager/details/UIDetailsSet.cpp \
|
---|
1172 | src/manager/details/UIDetailsElement.cpp \
|
---|
1173 | src/manager/details/UIDetailsElements.cpp \
|
---|
1174 | src/manager/details/UIMachinePreview.cpp \
|
---|
1175 | src/manager/tools/UITools.cpp \
|
---|
1176 | src/manager/tools/UIToolsModel.cpp \
|
---|
1177 | src/manager/tools/UIToolsView.cpp \
|
---|
1178 | src/manager/tools/UIToolsHandlerMouse.cpp \
|
---|
1179 | src/manager/tools/UIToolsHandlerKeyboard.cpp \
|
---|
1180 | src/manager/tools/UIToolsItem.cpp \
|
---|
1181 | src/medium/UIMediumDetailsWidget.cpp \
|
---|
1182 | src/medium/UIMediumManager.cpp \
|
---|
1183 | src/activity/overview/UIVMActivityOverviewWidget.cpp \
|
---|
1184 | src/activity/overview/UIVMActivityToolWidget.cpp \
|
---|
1185 | src/networkmanager/UIDetailsWidgetCloudNetwork.cpp \
|
---|
1186 | src/networkmanager/UIDetailsWidgetHostNetwork.cpp \
|
---|
1187 | src/networkmanager/UIDetailsWidgetNATNetwork.cpp \
|
---|
1188 | src/networkmanager/UINetworkManager.cpp \
|
---|
1189 | src/networkmanager/UINetworkManagerUtils.cpp \
|
---|
1190 | src/snapshots/UISnapshotDetailsWidget.cpp \
|
---|
1191 | src/snapshots/UISnapshotPane.cpp \
|
---|
1192 | src/widgets/UIApplianceEditorWidget.cpp \
|
---|
1193 | src/widgets/UIApplianceExportEditorWidget.cpp \
|
---|
1194 | src/widgets/UIApplianceImportEditorWidget.cpp \
|
---|
1195 | src/widgets/UIEmptyFilePathSelector.cpp \
|
---|
1196 | src/widgets/UIFormEditorWidget.cpp \
|
---|
1197 | src/widgets/UIGuestOSTypeSelectionButton.cpp \
|
---|
1198 | src/widgets/UILineTextEdit.cpp \
|
---|
1199 | src/widgets/UISlidingAnimation.cpp \
|
---|
1200 | src/widgets/UISlidingWidget.cpp \
|
---|
1201 | src/widgets/UITabBar.cpp \
|
---|
1202 | src/widgets/UIMenuToolBar.cpp \
|
---|
1203 | src/widgets/graphics/UIGraphicsButton.cpp \
|
---|
1204 | src/widgets/graphics/UIGraphicsRotatorButton.cpp \
|
---|
1205 | src/widgets/graphics/UIGraphicsScrollArea.cpp \
|
---|
1206 | src/widgets/graphics/UIGraphicsScrollBar.cpp \
|
---|
1207 | src/widgets/graphics/UIGraphicsZoomButton.cpp \
|
---|
1208 | src/widgets/graphics/UIGraphicsToolBar.cpp \
|
---|
1209 | src/widgets/graphics/UIGraphicsTextPane.cpp \
|
---|
1210 | src/wizards/addcloudvm/UIWizardAddCloudVM.cpp \
|
---|
1211 | src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp \
|
---|
1212 | src/wizards/addcloudvm/UIWizardAddCloudVMPageSource.cpp \
|
---|
1213 | src/wizards/editors/UIHostnameDomainNameEditor.cpp \
|
---|
1214 | src/wizards/editors/UIWizardCloneVMEditors.cpp \
|
---|
1215 | src/wizards/editors/UIWizardNewVMEditors.cpp \
|
---|
1216 | src/wizards/newcloudvm/UIWizardNewCloudVM.cpp \
|
---|
1217 | src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp \
|
---|
1218 | src/wizards/newcloudvm/UIWizardNewCloudVMPageProperties.cpp \
|
---|
1219 | src/wizards/newcloudvm/UIWizardNewCloudVMPageSource.cpp \
|
---|
1220 | src/wizards/newvm/UIWizardNewVM.cpp \
|
---|
1221 | src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp \
|
---|
1222 | src/wizards/newvm/UIWizardNewVMUnattendedPage.cpp \
|
---|
1223 | src/wizards/newvm/UIWizardNewVMHardwarePage.cpp \
|
---|
1224 | src/wizards/newvm/UIWizardNewVMDiskPage.cpp \
|
---|
1225 | src/wizards/newvm/UIWizardNewVMExpertPage.cpp \
|
---|
1226 | src/wizards/newvm/UIWizardNewVMSummaryPage.cpp \
|
---|
1227 | src/wizards/clonevm/UIWizardCloneVM.cpp \
|
---|
1228 | src/wizards/clonevm/UIWizardCloneVMNamePathPage.cpp \
|
---|
1229 | src/wizards/clonevm/UIWizardCloneVMTypePage.cpp \
|
---|
1230 | src/wizards/clonevm/UIWizardCloneVMModePage.cpp \
|
---|
1231 | src/wizards/clonevm/UIWizardCloneVMExpertPage.cpp \
|
---|
1232 | src/wizards/clonevd/UIWizardCloneVD.cpp \
|
---|
1233 | src/wizards/clonevd/UIWizardCloneVDFormatPage.cpp \
|
---|
1234 | src/wizards/clonevd/UIWizardCloneVDVariantPage.cpp \
|
---|
1235 | src/wizards/clonevd/UIWizardCloneVDPathSizePage.cpp \
|
---|
1236 | src/wizards/clonevd/UIWizardCloneVDExpertPage.cpp \
|
---|
1237 | src/wizards/exportappliance/UIWizardExportApp.cpp \
|
---|
1238 | src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp \
|
---|
1239 | src/wizards/exportappliance/UIWizardExportAppPageFormat.cpp \
|
---|
1240 | src/wizards/exportappliance/UIWizardExportAppPageSettings.cpp \
|
---|
1241 | src/wizards/exportappliance/UIWizardExportAppPageVMs.cpp \
|
---|
1242 | src/wizards/importappliance/UIApplianceUnverifiedCertificateViewer.cpp \
|
---|
1243 | src/wizards/importappliance/UIWizardImportApp.cpp \
|
---|
1244 | src/wizards/importappliance/UIWizardImportAppPageExpert.cpp \
|
---|
1245 | src/wizards/importappliance/UIWizardImportAppPageSettings.cpp \
|
---|
1246 | src/wizards/importappliance/UIWizardImportAppPageSource.cpp
|
---|
1247 |
|
---|
1248 | VirtualBox_SOURCES.darwin += \
|
---|
1249 | src/platform/darwin/UIDesktopServices_darwin.cpp \
|
---|
1250 | src/platform/darwin/UIDesktopServices_darwin_cocoa.mm
|
---|
1251 |
|
---|
1252 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
---|
1253 | VirtualBox_SOURCES += \
|
---|
1254 | src/platform/x11/UIDesktopServices_x11.cpp
|
---|
1255 | endif
|
---|
1256 |
|
---|
1257 | VirtualBox_SOURCES.win += \
|
---|
1258 | src/platform/win/UIDesktopServices_win.cpp
|
---|
1259 |
|
---|
1260 | $(call VBOX_SET_VER_INFO_EXE,VirtualBox,VirtualBox Manager,$(VBOX_WINDOWS_ICON_FILE),VirtualBoxGUI)
|
---|
1261 |
|
---|
1262 |
|
---|
1263 | #
|
---|
1264 | # VirtualBox Virtual Machine Application
|
---|
1265 | # Sources.
|
---|
1266 | #
|
---|
1267 | VirtualBoxVM_SOURCES = \
|
---|
1268 | src/main.cpp \
|
---|
1269 | src/globals/UIStarter.cpp \
|
---|
1270 | src/runtime/UIBootFailureDialog.cpp \
|
---|
1271 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1272 | src/runtime/UIFrameBuffer.cpp \
|
---|
1273 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1274 | src/runtime/UIKeyboardHandler.cpp \
|
---|
1275 | src/runtime/UIMachine.cpp \
|
---|
1276 | src/runtime/UIMachineLogic.cpp \
|
---|
1277 | src/runtime/UIMachineView.cpp \
|
---|
1278 | src/runtime/UIMachineWindow.cpp \
|
---|
1279 | src/runtime/UIMouseHandler.cpp \
|
---|
1280 | src/runtime/UIMultiScreenLayout.cpp \
|
---|
1281 | src/runtime/UISession.cpp \
|
---|
1282 | src/runtime/UIVMCloseDialog.cpp \
|
---|
1283 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
|
---|
1284 | src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
|
---|
1285 | src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
|
---|
1286 | src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
|
---|
1287 | src/runtime/information/UIInformationConfiguration.cpp \
|
---|
1288 | src/runtime/information/UIVMInformationDialog.cpp \
|
---|
1289 | src/runtime/information/UIInformationRuntime.cpp \
|
---|
1290 | src/guestctrl/UIFileManagerDialog.cpp \
|
---|
1291 | src/guestctrl/UIGuestControlConsole.cpp \
|
---|
1292 | src/guestctrl/UIGuestControlInterface.cpp \
|
---|
1293 | src/guestctrl/UIGuestControlTreeItem.cpp \
|
---|
1294 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1295 | src/guestctrl/UIGuestProcessControlDialog.cpp \
|
---|
1296 | src/runtime/normal/UIKeyboardHandlerNormal.cpp \
|
---|
1297 | src/runtime/normal/UIMachineLogicNormal.cpp \
|
---|
1298 | src/runtime/normal/UIMachineViewNormal.cpp \
|
---|
1299 | src/runtime/normal/UIMachineWindowNormal.cpp \
|
---|
1300 | src/runtime/scale/UIKeyboardHandlerScale.cpp \
|
---|
1301 | src/runtime/scale/UIMachineLogicScale.cpp \
|
---|
1302 | src/runtime/scale/UIMachineViewScale.cpp \
|
---|
1303 | src/runtime/scale/UIMachineWindowScale.cpp \
|
---|
1304 | src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
|
---|
1305 | src/runtime/seamless/UIMachineLogicSeamless.cpp \
|
---|
1306 | src/runtime/seamless/UIMachineViewSeamless.cpp \
|
---|
1307 | src/runtime/seamless/UIMachineWindowSeamless.cpp \
|
---|
1308 | src/softkeyboard/UISoftKeyboard.cpp \
|
---|
1309 | src/widgets/UIMiniToolBar.cpp
|
---|
1310 |
|
---|
1311 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
1312 | VirtualBoxVM_SOURCES += \
|
---|
1313 | src/runtime/UIDnDHandler.cpp
|
---|
1314 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
1315 | VirtualBoxVM_SOURCES += \
|
---|
1316 | src/runtime/UIDnDMIMEData.cpp
|
---|
1317 | VirtualBoxVM_SOURCES.win += \
|
---|
1318 | src/runtime/UIDnDDropSource_win.cpp \
|
---|
1319 | src/runtime/UIDnDDataObject_win.cpp \
|
---|
1320 | src/runtime/UIDnDEnumFormat_win.cpp
|
---|
1321 | endif
|
---|
1322 | endif
|
---|
1323 |
|
---|
1324 | VirtualBoxVM_SOURCES.darwin += \
|
---|
1325 | src/platform/darwin/UIAbstractDockIconPreview.cpp \
|
---|
1326 | src/platform/darwin/UICocoaDockIconPreview.mm
|
---|
1327 |
|
---|
1328 | ifdef VBOX_WITH_HARDENING
|
---|
1329 | $(call VBOX_SET_VER_INFO_DLL,VirtualBoxVM,VirtualBox Virtual Machine (dll),$(VBOX_WINDOWS_ICON_FILE))
|
---|
1330 | else
|
---|
1331 | $(call VBOX_SET_VER_INFO_EXE,VirtualBoxVM,VirtualBox Virtual Machine,$(VBOX_WINDOWS_ICON_FILE))
|
---|
1332 | endif
|
---|
1333 |
|
---|
1334 |
|
---|
1335 | #
|
---|
1336 | # VirtualBox - GUI Global Shared Library.
|
---|
1337 | # Sources.
|
---|
1338 | #
|
---|
1339 | UICommon_SOURCES = \
|
---|
1340 | src/VBoxAboutDlg.cpp \
|
---|
1341 | src/VBoxLicenseViewer.cpp \
|
---|
1342 | src/UITakeSnapshotDialog.cpp \
|
---|
1343 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1344 | src/extensions/QIArrowButtonPress.cpp \
|
---|
1345 | src/extensions/QIArrowButtonSwitch.cpp \
|
---|
1346 | src/extensions/QIArrowSplitter.cpp \
|
---|
1347 | src/extensions/QIComboBox.cpp \
|
---|
1348 | src/extensions/QIDialog.cpp \
|
---|
1349 | src/extensions/QIDialogButtonBox.cpp \
|
---|
1350 | src/extensions/QIDialogContainer.cpp \
|
---|
1351 | src/extensions/QIFileDialog.cpp \
|
---|
1352 | src/extensions/QIFlowLayout.cpp \
|
---|
1353 | src/extensions/QIInputDialog.cpp \
|
---|
1354 | src/extensions/QILabel.cpp \
|
---|
1355 | src/extensions/QILabelSeparator.cpp \
|
---|
1356 | src/extensions/QILineEdit.cpp \
|
---|
1357 | src/extensions/QIMainDialog.cpp \
|
---|
1358 | src/extensions/QIManagerDialog.cpp \
|
---|
1359 | src/extensions/QIMenu.cpp \
|
---|
1360 | src/extensions/QIMessageBox.cpp \
|
---|
1361 | src/extensions/QIProcess.cpp \
|
---|
1362 | src/extensions/QIRichTextLabel.cpp \
|
---|
1363 | src/extensions/QIRichToolButton.cpp \
|
---|
1364 | src/extensions/QISplitter.cpp \
|
---|
1365 | src/extensions/QIStatusBar.cpp \
|
---|
1366 | src/extensions/QIStatusBarIndicator.cpp \
|
---|
1367 | src/extensions/QIStyledItemDelegate.cpp \
|
---|
1368 | src/extensions/QITableView.cpp \
|
---|
1369 | src/extensions/QITabWidget.cpp \
|
---|
1370 | src/extensions/QIToolBar.cpp \
|
---|
1371 | src/extensions/QIToolButton.cpp \
|
---|
1372 | src/extensions/QITreeView.cpp \
|
---|
1373 | src/extensions/QITreeWidget.cpp \
|
---|
1374 | src/extensions/QIWidgetValidator.cpp \
|
---|
1375 | src/extensions/graphics/QIGraphicsView.cpp \
|
---|
1376 | src/extensions/graphics/QIGraphicsWidget.cpp \
|
---|
1377 | src/extradata/UIExtraDataDefs.cpp \
|
---|
1378 | src/extradata/UIExtraDataManager.cpp \
|
---|
1379 | src/converter/UIConverter.cpp \
|
---|
1380 | src/converter/UIConverterBackendCOM.cpp \
|
---|
1381 | src/converter/UIConverterBackendGlobal.cpp \
|
---|
1382 | src/globals/COMDefs.cpp \
|
---|
1383 | src/globals/UIActionPool.cpp \
|
---|
1384 | src/globals/UIActionPoolManager.cpp \
|
---|
1385 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1386 | src/globals/UIAnimationFramework.cpp \
|
---|
1387 | src/globals/UICloudNetworkingStuff.cpp \
|
---|
1388 | src/globals/UICommon.cpp \
|
---|
1389 | src/globals/UICursor.cpp \
|
---|
1390 | src/globals/UICustomFileSystemModel.cpp \
|
---|
1391 | src/globals/UIDefs.cpp \
|
---|
1392 | src/globals/UIDesktopWidgetWatchdog.cpp \
|
---|
1393 | src/globals/UIDetailsGenerator.cpp \
|
---|
1394 | src/globals/UIDialogPanel.cpp \
|
---|
1395 | src/globals/UIErrorString.cpp \
|
---|
1396 | src/globals/UIExtension.cpp \
|
---|
1397 | src/globals/UIIconPool.cpp \
|
---|
1398 | src/globals/UIImageTools.cpp \
|
---|
1399 | src/globals/UIMachineAttributeSetter.cpp \
|
---|
1400 | src/globals/UIMainEventListener.cpp \
|
---|
1401 | src/globals/UIMessageCenter.cpp \
|
---|
1402 | src/globals/UIModalWindowManager.cpp \
|
---|
1403 | src/globals/UIMousePointerShapeData.cpp \
|
---|
1404 | src/globals/UIPathOperations.cpp \
|
---|
1405 | src/globals/UIPopupCenter.cpp \
|
---|
1406 | src/globals/UIProgressEventHandler.cpp \
|
---|
1407 | src/globals/UIProgressObject.cpp \
|
---|
1408 | src/globals/UIProgressTask.cpp \
|
---|
1409 | src/globals/UIQObjectStuff.cpp \
|
---|
1410 | src/globals/UIShortcutPool.cpp \
|
---|
1411 | src/globals/UITextTable.cpp \
|
---|
1412 | src/globals/UITask.cpp \
|
---|
1413 | src/globals/UIThreadPool.cpp \
|
---|
1414 | src/globals/UITranslator.cpp \
|
---|
1415 | src/globals/UIVersion.cpp \
|
---|
1416 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1417 | src/globals/UIVirtualBoxClientEventHandler.cpp \
|
---|
1418 | src/guestctrl/UIFileManager.cpp \
|
---|
1419 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1420 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1421 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1422 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1423 | src/guestctrl/UIFileManagerOptionsPanel.cpp \
|
---|
1424 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1425 | src/helpbrowser/UIHelpBrowserDialog.cpp \
|
---|
1426 | src/logviewer/UIVMLogPage.cpp \
|
---|
1427 | src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
|
---|
1428 | src/logviewer/UIVMLogViewerDialog.cpp \
|
---|
1429 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1430 | src/logviewer/UIVMLogViewerOptionsPanel.cpp \
|
---|
1431 | src/logviewer/UIVMLogViewerPanel.cpp \
|
---|
1432 | src/logviewer/UIVMLogViewerSearchPanel.cpp \
|
---|
1433 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1434 | src/logviewer/UIVMLogViewerWidget.cpp \
|
---|
1435 | src/activity/UIMonitorCommon.cpp \
|
---|
1436 | src/activity/vmactivity/UIVMActivityMonitor.cpp \
|
---|
1437 | src/medium/UIFDCreationDialog.cpp \
|
---|
1438 | src/medium/UIMedium.cpp \
|
---|
1439 | src/medium/UIMediumDefs.cpp \
|
---|
1440 | src/medium/UIMediumEnumerator.cpp \
|
---|
1441 | src/medium/UIMediumItem.cpp \
|
---|
1442 | src/medium/UIMediumSearchWidget.cpp \
|
---|
1443 | src/medium/UIMediumSelector.cpp \
|
---|
1444 | src/medium/viso/UIVisoBrowserBase.cpp \
|
---|
1445 | src/medium/viso/UIVisoContentBrowser.cpp \
|
---|
1446 | src/medium/viso/UIVisoCreator.cpp \
|
---|
1447 | src/medium/viso/UIVisoConfigurationPanel.cpp \
|
---|
1448 | src/medium/viso/UIVisoCreatorOptionsPanel.cpp \
|
---|
1449 | src/medium/viso/UIVisoHostBrowser.cpp \
|
---|
1450 | src/notificationcenter/UINotificationCenter.cpp \
|
---|
1451 | src/notificationcenter/UINotificationModel.cpp \
|
---|
1452 | src/notificationcenter/UINotificationObject.cpp \
|
---|
1453 | src/notificationcenter/UINotificationObjectItem.cpp \
|
---|
1454 | src/notificationcenter/UINotificationObjects.cpp \
|
---|
1455 | src/notificationcenter/UINotificationProgressTask.cpp \
|
---|
1456 | src/objects/UIExecutionQueue.cpp \
|
---|
1457 | src/objects/UIRichTextString.cpp \
|
---|
1458 | src/settings/UISettingsDefs.cpp \
|
---|
1459 | src/settings/UISettingsDialog.cpp \
|
---|
1460 | src/settings/UISettingsDialogSpecific.cpp \
|
---|
1461 | src/settings/UISettingsPage.cpp \
|
---|
1462 | src/settings/UISettingsSelector.cpp \
|
---|
1463 | src/settings/UISettingsSerializer.cpp \
|
---|
1464 | src/settings/editors/UIAudioControllerEditor.cpp \
|
---|
1465 | src/settings/editors/UIAudioHostDriverEditor.cpp \
|
---|
1466 | src/settings/editors/UIAutoCaptureKeyboardEditor.cpp \
|
---|
1467 | src/settings/editors/UIBaseMemoryEditor.cpp \
|
---|
1468 | src/settings/editors/UIBootOrderEditor.cpp \
|
---|
1469 | src/settings/editors/UIColorThemeEditor.cpp \
|
---|
1470 | src/settings/editors/UIDefaultMachineFolderEditor.cpp \
|
---|
1471 | src/settings/editors/UIDiskEncryptionSettingsEditor.cpp \
|
---|
1472 | src/settings/editors/UIDragAndDropEditor.cpp \
|
---|
1473 | src/settings/editors/UIGlobalDisplayFeaturesEditor.cpp \
|
---|
1474 | src/settings/editors/UIGlobalProxyFeaturesEditor.cpp \
|
---|
1475 | src/settings/editors/UIGraphicsControllerEditor.cpp \
|
---|
1476 | src/settings/editors/UIHostComboEditor.cpp \
|
---|
1477 | src/settings/editors/UIHotKeyEditor.cpp \
|
---|
1478 | src/settings/editors/UILanguageSettingsEditor.cpp \
|
---|
1479 | src/settings/editors/UIMachineAudioFeaturesEditor.cpp \
|
---|
1480 | src/settings/editors/UIMachineDisplayScreenFeaturesEditor.cpp \
|
---|
1481 | src/settings/editors/UIMachineDescriptionEditor.cpp \
|
---|
1482 | src/settings/editors/UIMaximumGuestScreenSizeEditor.cpp \
|
---|
1483 | src/settings/editors/UIMiniToolbarSettingsEditor.cpp \
|
---|
1484 | src/settings/editors/UIMonitorCountEditor.cpp \
|
---|
1485 | src/settings/editors/UINameAndSystemEditor.cpp \
|
---|
1486 | src/settings/editors/UINetworkAttachmentEditor.cpp \
|
---|
1487 | src/settings/editors/UINetworkFeaturesEditor.cpp \
|
---|
1488 | src/settings/editors/UINetworkSettingsEditor.cpp \
|
---|
1489 | src/settings/editors/UIRecordingSettingsEditor.cpp \
|
---|
1490 | src/settings/editors/UIScaleFactorEditor.cpp \
|
---|
1491 | src/settings/editors/UISharedClipboardEditor.cpp \
|
---|
1492 | src/settings/editors/UIShortcutConfigurationEditor.cpp \
|
---|
1493 | src/settings/editors/UISnapshotFolderEditor.cpp \
|
---|
1494 | src/settings/editors/UIVideoMemoryEditor.cpp \
|
---|
1495 | src/settings/editors/UIVirtualCPUEditor.cpp \
|
---|
1496 | src/settings/editors/UIVisualStateEditor.cpp \
|
---|
1497 | src/settings/editors/UIVRDEAuthLibraryEditor.cpp \
|
---|
1498 | src/settings/editors/UIVRDESettingsEditor.cpp \
|
---|
1499 | src/settings/global/UIGlobalSettingsGeneral.cpp \
|
---|
1500 | src/settings/global/UIGlobalSettingsInput.cpp \
|
---|
1501 | src/settings/global/UIGlobalSettingsLanguage.cpp \
|
---|
1502 | src/settings/global/UIGlobalSettingsDisplay.cpp \
|
---|
1503 | src/settings/global/UIGlobalSettingsInterface.cpp \
|
---|
1504 | src/settings/machine/UIMachineSettingsAudio.cpp \
|
---|
1505 | src/settings/machine/UIMachineSettingsDisplay.cpp \
|
---|
1506 | src/settings/machine/UIMachineSettingsGeneral.cpp \
|
---|
1507 | src/settings/machine/UIMachineSettingsInterface.cpp \
|
---|
1508 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1509 | src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
|
---|
1510 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1511 | src/settings/machine/UIMachineSettingsSFDetails.cpp \
|
---|
1512 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1513 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1514 | src/settings/machine/UIMachineSettingsSystem.cpp \
|
---|
1515 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1516 | src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
|
---|
1517 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1518 | src/widgets/UIFilePathSelector.cpp \
|
---|
1519 | src/widgets/UIFilmContainer.cpp \
|
---|
1520 | src/widgets/UIMediaComboBox.cpp \
|
---|
1521 | src/widgets/UIMediumSizeEditor.cpp \
|
---|
1522 | src/widgets/UIMenuBar.cpp \
|
---|
1523 | src/widgets/UIMenuBarEditorWindow.cpp \
|
---|
1524 | src/widgets/UIPopupBox.cpp \
|
---|
1525 | src/widgets/UIPopupPane.cpp \
|
---|
1526 | src/widgets/UIPopupPaneButtonPane.cpp \
|
---|
1527 | src/widgets/UIPopupPaneMessage.cpp \
|
---|
1528 | src/widgets/UIPopupPaneDetails.cpp \
|
---|
1529 | src/widgets/UIPopupStack.cpp \
|
---|
1530 | src/widgets/UIPopupStackViewport.cpp \
|
---|
1531 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1532 | src/widgets/UIProgressDialog.cpp \
|
---|
1533 | src/widgets/UISearchLineEdit.cpp \
|
---|
1534 | src/widgets/UISlidingToolBar.cpp \
|
---|
1535 | src/widgets/UISpecialControls.cpp \
|
---|
1536 | src/widgets/UIStatusBarEditorWindow.cpp \
|
---|
1537 | src/widgets/UIToolBox.cpp \
|
---|
1538 | src/widgets/UIWarningPane.cpp \
|
---|
1539 | src/wizards/UINativeWizard.cpp \
|
---|
1540 | src/wizards/UINativeWizardPage.cpp \
|
---|
1541 | src/wizards/editors/UIUserNamePasswordEditor.cpp \
|
---|
1542 | src/wizards/editors/UIWizardDiskEditors.cpp \
|
---|
1543 | src/wizards/newvd/UIWizardNewVD.cpp \
|
---|
1544 | src/wizards/newvd/UIWizardNewVDFileTypePage.cpp \
|
---|
1545 | src/wizards/newvd/UIWizardNewVDVariantPage.cpp \
|
---|
1546 | src/wizards/newvd/UIWizardNewVDSizeLocationPage.cpp \
|
---|
1547 | src/wizards/newvd/UIWizardNewVDExpertPage.cpp
|
---|
1548 |
|
---|
1549 | ifdef VBOX_WITH_QHELP_VIEWER
|
---|
1550 | UICommon_SOURCES += \
|
---|
1551 | src/helpbrowser/UIHelpViewer.cpp \
|
---|
1552 | src/helpbrowser/UIHelpBrowserWidget.cpp
|
---|
1553 | endif
|
---|
1554 |
|
---|
1555 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1556 | UICommon_SOURCES += \
|
---|
1557 | src/networking/UIDownloader.cpp \
|
---|
1558 | src/networking/UIDownloaderExtensionPack.cpp \
|
---|
1559 | src/networking/UIDownloaderGuestAdditions.cpp \
|
---|
1560 | src/networking/UIDownloaderUserManual.cpp \
|
---|
1561 | src/networking/UINetworkCustomer.cpp \
|
---|
1562 | src/networking/UINetworkRequestManager.cpp \
|
---|
1563 | src/networking/UINetworkRequest.cpp \
|
---|
1564 | src/networking/UINetworkReply.cpp \
|
---|
1565 | src/networking/UIUpdateDefs.cpp \
|
---|
1566 | src/networking/UINewVersionChecker.cpp \
|
---|
1567 | src/networking/UIUpdateManager.cpp \
|
---|
1568 | src/settings/editors/UIUpdateSettingsEditor.cpp \
|
---|
1569 | src/settings/global/UIGlobalSettingsProxy.cpp \
|
---|
1570 | src/settings/global/UIGlobalSettingsUpdate.cpp
|
---|
1571 | endif
|
---|
1572 |
|
---|
1573 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
---|
1574 | UICommon_SOURCES += \
|
---|
1575 | src/platform/x11/VBoxUtils-x11.cpp \
|
---|
1576 | src/platform/x11/XKeyboard-new.cpp
|
---|
1577 | endif
|
---|
1578 |
|
---|
1579 | UICommon_SOURCES.win += \
|
---|
1580 | src/platform/win/VBoxUtils-win.cpp \
|
---|
1581 | src/platform/win/WinKeyboard.cpp
|
---|
1582 |
|
---|
1583 | UICommon_SOURCES.darwin += \
|
---|
1584 | src/platform/darwin/CocoaEventHelper.mm \
|
---|
1585 | src/platform/darwin/DarwinKeyboard.cpp \
|
---|
1586 | src/platform/darwin/UICocoaApplication.mm \
|
---|
1587 | src/platform/darwin/UICocoaSpecialControls.mm \
|
---|
1588 | src/platform/darwin/UIWindowMenuManager.cpp \
|
---|
1589 | src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
|
---|
1590 | src/platform/darwin/VBoxUtils-darwin.cpp
|
---|
1591 |
|
---|
1592 |
|
---|
1593 | #
|
---|
1594 | # VirtualBox Manager Application
|
---|
1595 | # Deployment.
|
---|
1596 | #
|
---|
1597 | if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
|
---|
1598 | INSTALLS.linux += VirtualBox.qt.conf
|
---|
1599 | INSTALLS.solaris += VirtualBox.qt.conf
|
---|
1600 | VirtualBox.qt.conf_INST = $(INST_BIN)
|
---|
1601 | VirtualBox.qt.conf_MODE = 644
|
---|
1602 | VirtualBox.qt.conf_SOURCES = $(VirtualBox_0_OUTDIR)/qt.conf=>qt.conf
|
---|
1603 |
|
---|
1604 | $$(VirtualBox_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
|
---|
1605 | $(QUIET)$(RM) -f $@
|
---|
1606 | $(QUIET)$(APPEND) $@ "[Paths]"
|
---|
1607 | $(QUIET)$(APPEND) $@ "Plugins =" $(PATH_OUT)/$(INST_BIN)/plugins
|
---|
1608 | endif
|
---|
1609 |
|
---|
1610 |
|
---|
1611 | #
|
---|
1612 | # VirtualBox Manager Application
|
---|
1613 | # The Qt modules we're using.
|
---|
1614 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
1615 | #
|
---|
1616 | VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport
|
---|
1617 | ifdef VBOX_WITH_QT6
|
---|
1618 | VirtualBox_QT_MODULES += StateMachine
|
---|
1619 | endif
|
---|
1620 | ifndef VBOX_WITH_QT6
|
---|
1621 | VirtualBox_QT_MODULES.linux += X11Extras
|
---|
1622 | VirtualBox_QT_MODULES.solaris += X11Extras
|
---|
1623 | VirtualBox_QT_MODULES.freebsd += X11Extras
|
---|
1624 | VirtualBox_QT_MODULES.darwin += MacExtras
|
---|
1625 | endif
|
---|
1626 | VirtualBox_QT_MODULES.win += WinExtras
|
---|
1627 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
1628 | VirtualBox_QT_MODULES += OpenGL
|
---|
1629 | endif
|
---|
1630 |
|
---|
1631 |
|
---|
1632 | #
|
---|
1633 | # VirtualBox Virtual Machine Application
|
---|
1634 | # The Qt modules we're using.
|
---|
1635 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
1636 | #
|
---|
1637 | VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport
|
---|
1638 | ifdef VBOX_WITH_QT6
|
---|
1639 | VirtualBoxVM_QT_MODULES += StateMachine
|
---|
1640 | endif
|
---|
1641 | ifndef VBOX_WITH_QT6
|
---|
1642 | VirtualBoxVM_QT_MODULES.linux += X11Extras
|
---|
1643 | VirtualBoxVM_QT_MODULES.solaris += X11Extras
|
---|
1644 | VirtualBoxVM_QT_MODULES.freebsd += X11Extras
|
---|
1645 | VirtualBoxVM_QT_MODULES.darwin += MacExtras
|
---|
1646 | endif
|
---|
1647 | VirtualBoxVM_QT_MODULES.win += WinExtras
|
---|
1648 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
1649 | VirtualBoxVM_QT_MODULES += OpenGL
|
---|
1650 | endif
|
---|
1651 |
|
---|
1652 |
|
---|
1653 | #
|
---|
1654 | # VirtualBox - GUI Global Shared Library.
|
---|
1655 | # The Qt modules we're using.
|
---|
1656 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
1657 | #
|
---|
1658 | UICommon_QT_MODULES = Core Gui Widgets
|
---|
1659 | ifdef VBOX_WITH_QT6
|
---|
1660 | UICommon_QT_MODULES += StateMachine
|
---|
1661 | endif
|
---|
1662 | ifndef VBOX_WITH_QT6
|
---|
1663 | UICommon_QT_MODULES.linux += X11Extras
|
---|
1664 | endif
|
---|
1665 | UICommon_QT_MODULES.linux += DBus
|
---|
1666 | UICommon_QT_MODULES.linux += Xml
|
---|
1667 | ifndef VBOX_WITH_QT6
|
---|
1668 | UICommon_QT_MODULES.solaris += X11Extras
|
---|
1669 | endif
|
---|
1670 | UICommon_QT_MODULES.solaris += DBus
|
---|
1671 | UICommon_QT_MODULES.solaris += Xml
|
---|
1672 | ifndef VBOX_WITH_QT6
|
---|
1673 | UICommon_QT_MODULES.freebsd += X11Extras
|
---|
1674 | endif
|
---|
1675 | UICommon_QT_MODULES.freebsd += DBus
|
---|
1676 | UICommon_QT_MODULES.freebsd += Xml
|
---|
1677 | ifndef VBOX_WITH_QT6
|
---|
1678 | UICommon_QT_MODULES.darwin += MacExtras
|
---|
1679 | endif
|
---|
1680 | UICommon_QT_MODULES.win += WinExtras
|
---|
1681 |
|
---|
1682 | ifdef VBOX_WITH_QHELP_VIEWER
|
---|
1683 | UICommon_QT_MODULES += Help
|
---|
1684 | endif
|
---|
1685 |
|
---|
1686 | ifdef VBOX_GUI_WITH_QTGLFRAMEBUFFER
|
---|
1687 | UICommon_QT_MODULES += OpenGL
|
---|
1688 | endif
|
---|
1689 |
|
---|
1690 |
|
---|
1691 | # Pull in the ui files
|
---|
1692 | $(eval VirtualBox_SOURCES += $(FORMS))
|
---|
1693 | $(eval VirtualBoxVM_SOURCES += $(FORMS))
|
---|
1694 | $(eval UICommon_SOURCES += $(FORMS))
|
---|
1695 |
|
---|
1696 |
|
---|
1697 | # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
|
---|
1698 | UICommon_SOURCES += VirtualBox1.qrc
|
---|
1699 | VirtualBox1.qrc_RCCFLAGS = -name BASIC1
|
---|
1700 | UICommon_SOURCES += VirtualBox2.qrc
|
---|
1701 | VirtualBox2.qrc_RCCFLAGS = -name BASIC2
|
---|
1702 | UICommon_SOURCES += VirtualBox1_x2.qrc
|
---|
1703 | VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
|
---|
1704 | UICommon_SOURCES += VirtualBox2_x2.qrc
|
---|
1705 | VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
|
---|
1706 | UICommon_SOURCES += VirtualBox1_x3.qrc
|
---|
1707 | VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
|
---|
1708 | UICommon_SOURCES += VirtualBox2_x3.qrc
|
---|
1709 | VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
|
---|
1710 | UICommon_SOURCES += VirtualBox1_x4.qrc
|
---|
1711 | VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
|
---|
1712 | UICommon_SOURCES += VirtualBox2_x4.qrc
|
---|
1713 | VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
|
---|
1714 | UICommon_SOURCES += VirtualBox_xml.qrc
|
---|
1715 | VirtualBox_xml.qrc_RCCFLAGS = -name BASIC_XML
|
---|
1716 | UICommon_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
|
---|
1717 | $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
|
---|
1718 |
|
---|
1719 |
|
---|
1720 | # Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts
|
---|
1721 | VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS) \
|
---|
1722 | $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts, $(filter nls/VirtualBox_%.ts,$(TRANSLATIONS)))
|
---|
1723 | # Compress the translation units.
|
---|
1724 | VirtualBox_LRCFLAGS = -silent
|
---|
1725 | # Where to install the translations (a separate install target, VirtualBox-nls-inst is created).
|
---|
1726 | VirtualBox_QT_TRANSLATIONS_INST = $(INST_BIN)nls/
|
---|
1727 | # All files which contain translatable strings.
|
---|
1728 | VirtualBox_VBOX_ALL_NLS_SOURCES = $(VirtualBox_SOURCES) $(VirtualBoxVM_SOURCES) $(UICommon_SOURCES)
|
---|
1729 |
|
---|
1730 |
|
---|
1731 | ## @todo how to detect what tool is used?
|
---|
1732 | ## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
|
---|
1733 | # more generic -Wno-extra
|
---|
1734 | # bird: What about $(if $(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-extra))?
|
---|
1735 | ifdef VBOX_WITH_XPCOM
|
---|
1736 | VirtualBox_src/globals/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
|
---|
1737 | endif
|
---|
1738 |
|
---|
1739 |
|
---|
1740 | #
|
---|
1741 | # Build generated COM wrappers as part of app.
|
---|
1742 | # VirtualBox - GUI Global Shared Library.
|
---|
1743 | #
|
---|
1744 | includedep $(PATH_TARGET)/UICommonComWrapperFiles.dep
|
---|
1745 | UICommon_BLDDIRS += $(UICommon_0_OUTDIR)/include
|
---|
1746 | UICommon_INTERMEDIATES += $(UICommon_0_OUTDIR)/include/COMWrappers
|
---|
1747 | UICommon_SOURCES += $(UICommon_0_OUTDIR)/include/COMWrappers.cpp
|
---|
1748 | UICommon_CLEAN += $(wildcard $(UICommon_0_OUTDIR)/include/*) $(PATH_TARGET)/UICommonComWrapperFiles.dep
|
---|
1749 |
|
---|
1750 | ## @todo kmk doesn't remake optional outputs when they are missing...
|
---|
1751 | $$(UICommon_0_OUTDIR)/include/COMWrappers \
|
---|
1752 | + $(PATH_TARGET)/UICommonComWrapperFiles.dep \
|
---|
1753 | +| $(if-expr defined(UICommon_VBOX_COMWRAPPERS) \
|
---|
1754 | , $(UICommon_VBOX_COMWRAPPERS) \
|
---|
1755 | , $$(UICommon_0_OUTDIR)/include/COMEnums.h \
|
---|
1756 | $$(UICommon_0_OUTDIR)/include/COMWrappers.cpp \
|
---|
1757 | ): \
|
---|
1758 | $(VBOX_XIDL_FILE) \
|
---|
1759 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
|
---|
1760 | $(VBOX_FILESPLIT) \
|
---|
1761 | | $$(dir $$@)
|
---|
1762 | $(call MSG_GENERATE,UICommon,$<,$@)
|
---|
1763 | $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/UICommonComWrapperFiles.dep"
|
---|
1764 | $(QUIET)$(VBOX_XSLTPROC) -o $@ \
|
---|
1765 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
|
---|
1766 | $(QUIET)$(VBOX_FILESPLIT) $@ $(UICommon_0_OUTDIR)/include \
|
---|
1767 | $(PATH_TARGET)/UICommonComWrapperFiles.dep UICommon_VBOX_COMWRAPPERS
|
---|
1768 | $(APPEND) "$@"
|
---|
1769 |
|
---|
1770 | # alias for generating the COM Wrappers file.
|
---|
1771 | testwrappers:: $$(UICommon_0_OUTDIR)/include/COMWrappers
|
---|
1772 |
|
---|
1773 |
|
---|
1774 | #
|
---|
1775 | # Generate qrc file with branded icons.
|
---|
1776 | #
|
---|
1777 | VirtualBox_BLDDIRS += $(VBOX_VIRTUALBOX_OUT_DIR)
|
---|
1778 | VirtualBox_CLEAN += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
|
---|
1779 | $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc: \
|
---|
1780 | $(VBOX_VIRTUALBOX_SRC)/VirtualBoxBrand.qrc \
|
---|
1781 | $(PATH_ROOT)/Config.kmk \
|
---|
1782 | | $$(dir $$@)
|
---|
1783 | $(call MSG_GENERATE,VirtualBox,$<,$@)
|
---|
1784 | $(QUIET)$(SED) \
|
---|
1785 | -e 's;@VBOX_ABOUT_PNG@;$(VBOX_BRAND_GUI_ABOUT_PNG);g' \
|
---|
1786 | -e 's;@VBOX_ABOUT_X2_PNG@;$(VBOX_BRAND_GUI_ABOUT_X2_PNG);g' \
|
---|
1787 | -e 's;@VBOX_ABOUT_X3_PNG@;$(VBOX_BRAND_GUI_ABOUT_X3_PNG);g' \
|
---|
1788 | -e 's;@VBOX_ABOUT_X4_PNG@;$(VBOX_BRAND_GUI_ABOUT_X4_PNG);g' \
|
---|
1789 | -e 's;@VBOX_ABOUT_16PX_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_PNG);g' \
|
---|
1790 | -e 's;@VBOX_ABOUT_16PX_X2_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X2_PNG);g' \
|
---|
1791 | -e 's;@VBOX_ABOUT_16PX_X3_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X3_PNG);g' \
|
---|
1792 | -e 's;@VBOX_ABOUT_16PX_X4_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X4_PNG);g' \
|
---|
1793 | -e 's;@VBOX_VBOX_16PX_PNG@;$(VBOX_BRAND_GUI_VBOX_16PX_PNG);g' \
|
---|
1794 | -e 's;@VBOX_VBOX_20PX_PNG@;$(VBOX_BRAND_GUI_VBOX_20PX_PNG);g' \
|
---|
1795 | -e 's;@VBOX_VBOX_32PX_PNG@;$(VBOX_BRAND_GUI_VBOX_32PX_PNG);g' \
|
---|
1796 | -e 's;@VBOX_VBOX_40PX_PNG@;$(VBOX_BRAND_GUI_VBOX_40PX_PNG);g' \
|
---|
1797 | -e 's;@VBOX_VBOX_48PX_PNG@;$(VBOX_BRAND_GUI_VBOX_48PX_PNG);g' \
|
---|
1798 | -e 's;@VBOX_VBOX_64PX_PNG@;$(VBOX_BRAND_GUI_VBOX_64PX_PNG);g' \
|
---|
1799 | -e 's;@VBOX_CUBE_42PX_PNG@;$(VBOX_BRAND_GUI_CUBE_42PX_PNG);g' \
|
---|
1800 | -e 's;@VBOX_CUBE_SVG@;$(VBOX_BRAND_GUI_VBOX_SVG);g' \
|
---|
1801 | --output $@ \
|
---|
1802 | $<
|
---|
1803 |
|
---|
1804 |
|
---|
1805 | #
|
---|
1806 | # Precompiled header
|
---|
1807 | # win.amd64 without: kmk_time: 3m51.962058s
|
---|
1808 | # win.amd64 with: kmk_time: 2m23.336252s
|
---|
1809 | # linux.amd64 without: time: real 1m03.719s user 26m26.766s sys 2m03.526s
|
---|
1810 | # linux.amd64 with: time: real 0m42.650s user 14m46.332s sys 1m28.463s
|
---|
1811 | #
|
---|
1812 | ifdef VBOX_WITH_PRECOMPILED_HEADERS
|
---|
1813 | if1of ($(KBUILD_TARGET),win)
|
---|
1814 | VirtualBox_USES += vccprecomp
|
---|
1815 | VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
1816 |
|
---|
1817 | VirtualBoxVM_USES += vccprecomp
|
---|
1818 | VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
1819 |
|
---|
1820 | UICommon_USES += vccprecomp
|
---|
1821 | UICommon_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
1822 |
|
---|
1823 | else if $(KBUILD_KMK_REVISION) >= 3256 && "$(KBUILD_TARGET)" != "darwin" && !defined(VBOX_WITHOUT_PRECOMPILED_HEADERS)
|
---|
1824 | if $(VBOX_GCC_VERSION_CXX) >= 50000 # GCC 4.x runs into trouble compiling the header.
|
---|
1825 | UICommon_USES += gccprecomp
|
---|
1826 | UICommon_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h
|
---|
1827 | #UICommon_CXXFLAGS.linux += -H
|
---|
1828 |
|
---|
1829 | VirtualBox_USES += gccprecomp
|
---|
1830 | VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h
|
---|
1831 | #VirtualBox_CXXFLAGS.linux += -H
|
---|
1832 |
|
---|
1833 | VirtualBoxVM_USES += gccprecomp
|
---|
1834 | VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_gcc.h
|
---|
1835 | #VirtualBoxVM_CXXFLAGS.linux += -H
|
---|
1836 |
|
---|
1837 | # GCC precompiled headers seems to work more efficiently when #pragma once is involved.
|
---|
1838 | # So, we've cooked our own camel cased qt wrapper headers with #pragma once inside.
|
---|
1839 | VBOX_GUI_INC_DIRS <= precomptricks
|
---|
1840 | endif
|
---|
1841 | endif
|
---|
1842 | endif
|
---|
1843 |
|
---|
1844 | ifeq ($(KBUILD_TARGET),win)
|
---|
1845 | #
|
---|
1846 | # On Windows we'll have to generate/edit part of the resource file.
|
---|
1847 | # The IDI_ICON1 name is Qt specific.
|
---|
1848 | #
|
---|
1849 | src/platform/win/VirtualBox.rc_INCS = $(VirtualBox_0_OUTDIR)
|
---|
1850 | src/platform/win/VirtualBox.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
1851 | src/platform/win/VirtualBox.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
1852 | src/platform/win/VirtualBoxVM.rc_INCS = $(VirtualBox_0_OUTDIR)
|
---|
1853 | src/platform/win/VirtualBoxVM.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
1854 | src/platform/win/VirtualBoxVM.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
1855 |
|
---|
1856 | $$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
|
---|
1857 | $(APPEND) -t $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
|
---|
1858 |
|
---|
1859 | endif # win
|
---|
1860 |
|
---|
1861 |
|
---|
1862 | #
|
---|
1863 | # Unset everything that was loaded from VBoxUI.pro.
|
---|
1864 | #
|
---|
1865 | FORMS :=
|
---|
1866 | TRANSLATIONS :=
|
---|
1867 |
|
---|
1868 |
|
---|
1869 |
|
---|
1870 | ifeq ($(KBUILD_TARGET),win)
|
---|
1871 | #
|
---|
1872 | # Install the visual manifest and associated PNGs.
|
---|
1873 | #
|
---|
1874 | INSTALLS.win += VirtualBoxManifest
|
---|
1875 | VirtualBoxManifest_INST = $(INST_VIRTUALBOX)
|
---|
1876 | VirtualBoxManifest_DEFPATH = $(PATH_ROOT)/src/VBox/Artwork/$(if-expr defined(VBOX_OSE),OSE,NonOSE)/
|
---|
1877 | VirtualBoxManifest_SOURCES := \
|
---|
1878 | virtualbox-70px.png=>VirtualBox_70px.png \
|
---|
1879 | virtualbox-150px.png=>VirtualBox_150px.png \
|
---|
1880 | $(PATH_SUB_CURRENT)/src/platform/win/VirtualBox.VisualElementsManifest.xml
|
---|
1881 |
|
---|
1882 | endif
|
---|
1883 |
|
---|
1884 |
|
---|
1885 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
1886 | #
|
---|
1887 | # Create directories for each approved language or the application
|
---|
1888 | # menu won't be translated.
|
---|
1889 | #
|
---|
1890 | INSTALLS += VirtualBox.lproj
|
---|
1891 | VirtualBox.lproj_INST = $(INST_VIRTUALBOX)Contents/Resources/
|
---|
1892 | VirtualBox.lproj_MODE = 755
|
---|
1893 | VirtualBox.lproj_DIRS := $(addsuffix .lproj,$(VBOX_APPROVED_GUI_LANGUAGES))
|
---|
1894 |
|
---|
1895 | #
|
---|
1896 | # On OS X (darwin) we need to install icon resources and compulsory bundle contents.
|
---|
1897 | # The VirtualBoxVM.app helper is for launching VMs (fixes some issues with the dock).
|
---|
1898 | #
|
---|
1899 | INSTALLS += VirtualBox.app
|
---|
1900 | VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
|
---|
1901 | VirtualBox.app_MODE = 644
|
---|
1902 | VirtualBox.app_SOURCES = \
|
---|
1903 | src/platform/darwin/PkgInfo \
|
---|
1904 | $(VirtualBox.app_0_OUTDIR)/Info.plist \
|
---|
1905 | $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
|
---|
1906 | $(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
|
---|
1907 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox.icns=>Resources/virtualbox-vbox.icns \
|
---|
1908 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox-extpack.icns=>Resources/virtualbox-vbox-extpack.icns \
|
---|
1909 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ovf.icns=>Resources/virtualbox-ovf.icns \
|
---|
1910 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ova.icns=>Resources/virtualbox-ova.icns \
|
---|
1911 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vdi.icns=>Resources/virtualbox-vdi.icns \
|
---|
1912 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vmdk.icns=>Resources/virtualbox-vmdk.icns \
|
---|
1913 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vhd.icns=>Resources/virtualbox-vhd.icns \
|
---|
1914 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-hdd.icns=>Resources/virtualbox-hdd.icns
|
---|
1915 |
|
---|
1916 | # Qt5 requires qt.conf on Mac OS X:
|
---|
1917 | VirtualBox.app_SOURCES += \
|
---|
1918 | $(VirtualBox.app_0_OUTDIR)/qt.conf=>Resources/qt.conf
|
---|
1919 |
|
---|
1920 | $$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
1921 | $(call MSG_GENERATE,VirtualBox.app,$<,$@)
|
---|
1922 | $(QUIET)$(RM) -f $@
|
---|
1923 | $(QUIET)$(SED) \
|
---|
1924 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
1925 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
1926 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
1927 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
1928 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
1929 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
1930 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
1931 | $< > $@
|
---|
1932 |
|
---|
1933 | $$(VirtualBox.app_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
|
---|
1934 | $(QUIET)$(RM) -f $@
|
---|
1935 | $(QUIET)$(APPEND) $@ "[Paths]"
|
---|
1936 | ifdef VBOX_WITH_HARDENING # Not necessary and will screwup copying files elsewhere to test.
|
---|
1937 | $(QUIET)$(APPEND) $@ "Prefix =" $(PATH_OUT)/$(VirtualBox.app_INST)
|
---|
1938 | endif
|
---|
1939 |
|
---|
1940 | INSTALLS += VirtualBoxVM.app
|
---|
1941 | VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
|
---|
1942 | VirtualBoxVM.app_MODE = 644
|
---|
1943 | VirtualBoxVM.app_SOURCES = \
|
---|
1944 | src/platform/darwin/VM-PkgInfo=>PkgInfo \
|
---|
1945 | $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist \
|
---|
1946 | $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
|
---|
1947 |
|
---|
1948 | $$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
1949 | $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
|
---|
1950 | $(QUIET)$(RM) -f $@
|
---|
1951 | $(QUIET)$(SED) \
|
---|
1952 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
1953 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
1954 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
1955 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
1956 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
1957 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
1958 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
1959 | --output $@ $<
|
---|
1960 |
|
---|
1961 | PROGRAMS += vmstarter
|
---|
1962 | vmstarter_TEMPLATE = VBOXR3EXE
|
---|
1963 | vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
|
---|
1964 | vmstarter_LDFLAGS += -framework AppKit
|
---|
1965 | vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
|
---|
1966 | vmstarter_INST = $(INST_BIN)vmstarter
|
---|
1967 |
|
---|
1968 | INSTALLS += vmstarter.app
|
---|
1969 | vmstarter.app_INST = $(VirtualBox.app_INST)Resources/vmstarter.app/Contents/
|
---|
1970 | vmstarter.app_MODE = 644
|
---|
1971 | vmstarter.app_SOURCES = \
|
---|
1972 | src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
|
---|
1973 | $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist \
|
---|
1974 | $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
|
---|
1975 | vmstarter.app_SYMLINKS = \
|
---|
1976 | MacOS=>../../../MacOS \
|
---|
1977 |
|
---|
1978 | $$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
1979 | $(call MSG_GENERATE,vmstarter.app,$<,$@)
|
---|
1980 | $(QUIET)$(RM) -f $@
|
---|
1981 | $(QUIET)$(SED) \
|
---|
1982 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
1983 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
1984 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
1985 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
1986 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
1987 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
1988 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
1989 | --output $@ $<
|
---|
1990 | endif # darwin
|
---|
1991 |
|
---|
1992 |
|
---|
1993 | #
|
---|
1994 | # Testcase for the darwin keyboard routines.
|
---|
1995 | #
|
---|
1996 | ifdef VBOX_WITH_TESTCASES
|
---|
1997 | PROGRAMS.darwin += tstDarwinKeyboard
|
---|
1998 | tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE
|
---|
1999 | tstDarwinKeyboard_DEFS.x86 = USE_HID_FOR_MODIFIERS
|
---|
2000 | tstDarwinKeyboard_INCS = \
|
---|
2001 | $(VBOX_GUI_INC_DIRS)
|
---|
2002 | tstDarwinKeyboard_SOURCES = \
|
---|
2003 | src/platform/darwin/tstDarwinKeyboard.cpp \
|
---|
2004 | src/platform/darwin/DarwinKeyboard.cpp \
|
---|
2005 | src/platform/darwin/CocoaEventHelper.mm
|
---|
2006 | tstDarwinKeyboard_LDFLAGS = -framework IOKit -framework Carbon -framework AppKit
|
---|
2007 | tstDarwinKeyboard_LIBS = \
|
---|
2008 | $(LIB_RUNTIME)
|
---|
2009 | tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/UICommon$(VBOX_SUFF_DLL)
|
---|
2010 | endif
|
---|
2011 |
|
---|
2012 |
|
---|
2013 | #
|
---|
2014 | # Doxygen documentation.
|
---|
2015 | #
|
---|
2016 | QTGUI_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/qtgui
|
---|
2017 | BLDDIRS += $(QTGUI_DOXYFILE_OUTPUT)
|
---|
2018 | OTHER_CLEAN += \
|
---|
2019 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui \
|
---|
2020 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep \
|
---|
2021 | $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2022 |
|
---|
2023 | QTGUI_DOXYFILE_INPUT_DIRS := \
|
---|
2024 | $(addprefix $(PATH_SUB_CURRENT)/src/, \
|
---|
2025 | converter \
|
---|
2026 | extensions \
|
---|
2027 | extensions/graphics \
|
---|
2028 | extradata \
|
---|
2029 | globals \
|
---|
2030 | manager \
|
---|
2031 | manager/chooser \
|
---|
2032 | manager/details \
|
---|
2033 | manager/tools \
|
---|
2034 | manager \
|
---|
2035 | manager \
|
---|
2036 | medium \
|
---|
2037 | net \
|
---|
2038 | objects \
|
---|
2039 | platform \
|
---|
2040 | platform/darwin \
|
---|
2041 | platform/os2 \
|
---|
2042 | platform/win \
|
---|
2043 | platform/x11 \
|
---|
2044 | runtime \
|
---|
2045 | runtime/fullscreen \
|
---|
2046 | runtime/information \
|
---|
2047 | runtime/guestctrl \
|
---|
2048 | runtime/normal \
|
---|
2049 | runtime/scale \
|
---|
2050 | runtime/seamless \
|
---|
2051 | selector \
|
---|
2052 | selector/graphics \
|
---|
2053 | selector/graphics/chooser \
|
---|
2054 | selector/graphics/details \
|
---|
2055 | settings \
|
---|
2056 | settings/global \
|
---|
2057 | settings/machine \
|
---|
2058 | widgets \
|
---|
2059 | widgets/graphics \
|
---|
2060 | wizards \
|
---|
2061 | wizards/addcloudvm \
|
---|
2062 | wizards/clonevd \
|
---|
2063 | wizards/clonevm \
|
---|
2064 | wizards/exportappliance \
|
---|
2065 | wizards/importappliance \
|
---|
2066 | wizards/newcloudvm \
|
---|
2067 | wizards/newvd \
|
---|
2068 | wizards/newvm)
|
---|
2069 |
|
---|
2070 | QTGUI_DOXYFILE_INPUT := \
|
---|
2071 | $(foreach dir, $(QTGUI_DOXYFILE_INPUT_DIRS), \
|
---|
2072 | $(sort $(wildcard $(dir)/*.h)) \
|
---|
2073 | $(sort $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm)))
|
---|
2074 |
|
---|
2075 | includedep $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
|
---|
2076 |
|
---|
2077 | # Generate the Doxyfile
|
---|
2078 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui: \
|
---|
2079 | $(PATH_SUB_CURRENT)/Doxyfile \
|
---|
2080 | $(PATH_SUB_CURRENT)/Makefile.kmk \
|
---|
2081 | $(comp-vars QTGUI_DOXYFILE_INPUT,DOXYGEN_QTGUI_INPUT_PREV,FORCE) \
|
---|
2082 | $(comp-vars QTGUI_DOXYFILE_OUTPUT,DOXYGEN_QTGUI_OUTPUT_PREV,FORCE) \
|
---|
2083 | | $$(dir $$@)
|
---|
2084 | $(QUIET)$(RM) -f $@ [email protected] [email protected]
|
---|
2085 | $(QUIET)$(CP) -f $< [email protected]
|
---|
2086 | $(QUIET)$(APPEND) [email protected]
|
---|
2087 | $(QUIET)$(APPEND) [email protected] "OUTPUT_DIRECTORY = $(QTGUI_DOXYFILE_OUTPUT)"
|
---|
2088 | $(QUIET)$(APPEND) [email protected] "WARN_LOGFILE = $(QTGUI_DOXYFILE_OUTPUT)/errors"
|
---|
2089 | $(QUIET)$(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include ."
|
---|
2090 | $(QUIET)$(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)"
|
---|
2091 | $(QUIET)$(APPEND) [email protected]
|
---|
2092 | $(QUIET)$(APPEND) [email protected] 'INPUT = $(foreach x,$(QTGUI_DOXYFILE_INPUT),\$(NLTAB)$(x))'
|
---|
2093 | $(QUIET)$(APPEND) [email protected]
|
---|
2094 | $(QUIET)$(MV) -f [email protected] $@
|
---|
2095 | @$(APPEND) [email protected] "DOXYGEN_QTGUI_OUTPUT_PREV = $(QTGUI_DOXYFILE_OUTPUT)"
|
---|
2096 | @$(APPEND) [email protected] "DOXYGEN_QTGUI_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
|
---|
2097 |
|
---|
2098 | # Do the actual job.
|
---|
2099 | $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) \
|
---|
2100 | | $(QTGUI_DOXYFILE_OUTPUT)/
|
---|
2101 | $(call MSG_L1,doxygen qtgui)
|
---|
2102 | $(QUIET)$(RM) -f $@
|
---|
2103 | $(QUIET)$(RM) -Rf -- $(QTGUI_DOXYFILE_OUTPUT)/html/
|
---|
2104 | doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
|
---|
2105 | $(APPEND) $@
|
---|
2106 |
|
---|
2107 | # aliases
|
---|
2108 | docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2109 | if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
|
---|
2110 | docs: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2111 | endif
|
---|
2112 |
|
---|
2113 |
|
---|
2114 | # Commit the magic.
|
---|
2115 | # (note: before custom rules that make usage of generated variables!).
|
---|
2116 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
2117 |
|
---|
2118 |
|
---|
2119 | #
|
---|
2120 | # Update all known NLS translation (.ts) files in the nls/ subdirectory.
|
---|
2121 | #
|
---|
2122 | # NOTE: This target is intended to be run only by the GUI maintainer shortly
|
---|
2123 | # before a new product release. VirtualBox_xx_YY.ts is a template for new
|
---|
2124 | # languages and should never be actually translated or installed.
|
---|
2125 | #
|
---|
2126 | # Use the checknls target for checking again common mistakes done by the
|
---|
2127 | # translators.
|
---|
2128 | #
|
---|
2129 | # For Qt >= 4.6.0 it maybe necessary to add -I $(VBOX_GUI_INC_DIRS) to the
|
---|
2130 | # lupdate call
|
---|
2131 | #
|
---|
2132 | #VirtualBox_QT_TRANSLATIONS = nls/VirtualBox_de.ts
|
---|
2133 | checknls::
|
---|
2134 | # Check for missing :/ in image paths
|
---|
2135 | grep -i "src=[^:%]" $(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))
|
---|
2136 |
|
---|
2137 | updatenls:: makeallnls nls/VirtualBox_en.ts
|
---|
2138 |
|
---|
2139 | makeallnls:: \
|
---|
2140 | $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
|
---|
2141 | $(filter-out %.qrc,$(VirtualBox_VBOX_ALL_NLS_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
|
---|
2142 | $(call MSG_L1,lupdate all languages (nls/*.ts))
|
---|
2143 | $(QUIET)$(TOOL_QT5_LUPDATE) \
|
---|
2144 | $^ \
|
---|
2145 | -ts \
|
---|
2146 | $(filter-out nls/VirtualBox_en.ts,$(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))) \
|
---|
2147 | nls/VirtualBox_xx_YY.ts
|
---|
2148 |
|
---|
2149 | # Create the English translation file. This is something special cause it will
|
---|
2150 | # contain the plural forms only.
|
---|
2151 | nls/VirtualBox_en.ts: \
|
---|
2152 | $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
|
---|
2153 | $(filter-out %.qrc,$(VirtualBox_VBOX_ALL_NLS_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
|
---|
2154 | $(call MSG_L1,lupdate $@)
|
---|
2155 | $(QUIET)$(TOOL_QT5_LUPDATE) \
|
---|
2156 | $^ \
|
---|
2157 | -ts \
|
---|
2158 | $@
|
---|
2159 | $(QUIET)$(SED) -n -i -e \
|
---|
2160 | '/<context>/,/<\/context>/!p;/<context>/h;/<name>/H;/<message numerus="yes">/,/<\/message>/H;/<\/context>/{H;x;/<message/p}' \
|
---|
2161 | $@
|
---|
2162 |
|
---|