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