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