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