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