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