1 | # $Id: Makefile.kmk 76332 2018-12-21 10:27:23Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the VirtualBox Qt GUI.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2018 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | #
|
---|
23 | # Globals.
|
---|
24 | #
|
---|
25 | VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT)
|
---|
26 | VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
|
---|
27 | USES += qt5
|
---|
28 |
|
---|
29 |
|
---|
30 | #
|
---|
31 | # Targets.
|
---|
32 | #
|
---|
33 | ifdef VBOX_WITH_HARDENING
|
---|
34 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
35 | PROGRAMS += VirtualBoxHardened
|
---|
36 | PROGRAMS.darwin += VirtualBoxVM
|
---|
37 | DLLS += VirtualBox
|
---|
38 | else
|
---|
39 | PROGRAMS += VirtualBox
|
---|
40 | PROGRAMS += VirtualBoxHardenedVM
|
---|
41 | DLLS += VirtualBoxVM
|
---|
42 | DLLS += VBoxGlobal
|
---|
43 | endif
|
---|
44 | else
|
---|
45 | PROGRAMS += VirtualBox
|
---|
46 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
47 | PROGRAMS += VirtualBoxVM
|
---|
48 | DLLS += VBoxGlobal
|
---|
49 | endif
|
---|
50 | endif
|
---|
51 | INSTALLS += VirtualBox.nls
|
---|
52 |
|
---|
53 |
|
---|
54 | #
|
---|
55 | # Include the language lists.
|
---|
56 | #
|
---|
57 | include $(PATH_SUB_CURRENT)/nls/ApprovedLanguages.kmk
|
---|
58 |
|
---|
59 |
|
---|
60 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
61 |
|
---|
62 | #
|
---|
63 | # Hardened VirtualBox.
|
---|
64 | #
|
---|
65 | VirtualBoxHardened_TEMPLATE = VBOXR3HARDENEDEXE
|
---|
66 | VirtualBoxHardened_SOURCES = src/hardenedmain.cpp
|
---|
67 | VirtualBoxHardened_SOURCES.win = src/platform/win/VirtualBoxHardened.rc
|
---|
68 | VirtualBoxHardened_NAME = VirtualBox
|
---|
69 | VirtualBoxHardened_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)
|
---|
70 | src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR)
|
---|
71 | src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
72 |
|
---|
73 | #
|
---|
74 | # Hardened VirtualBoxVM.
|
---|
75 | #
|
---|
76 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
77 | VirtualBoxVM_EXTENDS = VirtualBoxHardened
|
---|
78 | VirtualBoxVM_NAME = VirtualBoxVM
|
---|
79 | VirtualBoxVM_DEFS = $(VirtualBoxHardened_DEFS) VBOX_RUNTIME_UI
|
---|
80 | endif
|
---|
81 |
|
---|
82 | else # !VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
83 |
|
---|
84 | #
|
---|
85 | # Hardened VirtualBoxVM.
|
---|
86 | #
|
---|
87 | VirtualBoxHardenedVM_TEMPLATE = VBOXR3HARDENEDEXE
|
---|
88 | VirtualBoxHardenedVM_SOURCES = src/hardenedmain.cpp
|
---|
89 | VirtualBoxHardenedVM_SOURCES.win = src/platform/win/VirtualBoxHardened.rc
|
---|
90 | VirtualBoxHardenedVM_NAME = VirtualBoxVM
|
---|
91 | VirtualBoxHardenedVM_DEFS = VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
92 | VirtualBoxHardenedVM_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)
|
---|
93 | src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR)
|
---|
94 | src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
95 |
|
---|
96 | endif # !VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
97 |
|
---|
98 |
|
---|
99 | #
|
---|
100 | # Include Qt project file, we'll use FORMS and TRANSLATIONS in
|
---|
101 | # the VirtualBox setup below.
|
---|
102 | #
|
---|
103 | # This is a bit messy. We boldly ASSUME that LANGUAGE, IMAGES, FORMS
|
---|
104 | # and TRANSLATIONS are all unused by kBuild and the host toolchain.
|
---|
105 | #
|
---|
106 | SAVED_TEMPLATE := $(TEMPLATE)
|
---|
107 | include $(PATH_SUB_CURRENT)/VBoxUI.pro
|
---|
108 | TEMPLATE := $(SAVED_TEMPLATE)
|
---|
109 | SAVED_TEMPLATE :=
|
---|
110 | LANGUAGE :=
|
---|
111 | IMAGES :=
|
---|
112 | # FORMS and TRANSLATIONS are reset further down.
|
---|
113 |
|
---|
114 |
|
---|
115 | #
|
---|
116 | # Perform initial new version check on startup.
|
---|
117 | # If this setting is disabled the user can still check using the menu.
|
---|
118 | #
|
---|
119 | ifndef VBOX_OSE
|
---|
120 | VBOX_WITH_UPDATE_REQUEST := 1
|
---|
121 | endif
|
---|
122 |
|
---|
123 |
|
---|
124 | #
|
---|
125 | # VirtualBox Manager Application
|
---|
126 | #
|
---|
127 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
128 | VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
|
---|
129 | else
|
---|
130 | VirtualBox_TEMPLATE := VBOXQTGUIEXE
|
---|
131 | endif
|
---|
132 | VirtualBox_NAME = VirtualBox
|
---|
133 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
134 | VirtualBox_DEPS = $(VBoxGlobal_0_OUTDIR)/include/COMWrappers
|
---|
135 | endif
|
---|
136 | # For the launch trick we need different inode numbers.
|
---|
137 | if !defined(VBOX_WITH_HARDENING) && !defined(VBOX_GUI_WITH_SHARED_LIBRARY)
|
---|
138 | VirtualBox_INST.darwin = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM
|
---|
139 | endif
|
---|
140 | VirtualBox_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
141 |
|
---|
142 | VirtualBox_DEFS =
|
---|
143 | VirtualBox_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
144 | VirtualBox_DEFS.linux = VBOX_WS_X11
|
---|
145 | VirtualBox_DEFS.solaris = VBOX_WS_X11
|
---|
146 | VirtualBox_DEFS.freebsd = VBOX_WS_X11
|
---|
147 | VirtualBox_DEFS.darwin = VBOX_WS_MAC
|
---|
148 | VirtualBox_DEFS.win = VBOX_WS_WIN
|
---|
149 | VirtualBox_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
150 | VirtualBox_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
151 | VirtualBox_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
152 | VirtualBox_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
|
---|
153 | VirtualBox_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
154 | VirtualBox_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
155 | VirtualBox_DEFS.win += UNICODE QT_DLL
|
---|
156 | VirtualBox_DEFS += \
|
---|
157 | $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
|
---|
158 | $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
|
---|
159 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
160 | $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
|
---|
161 | $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
|
---|
162 | $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
|
---|
163 | $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
|
---|
164 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
165 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
166 | $(if $(VBOX_WITH_UDPTUNNEL),VBOX_WITH_UDPTUNNEL) \
|
---|
167 | $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
|
---|
168 | $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
|
---|
169 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
170 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
171 | $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
|
---|
172 | $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
|
---|
173 | $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
|
---|
174 | $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
|
---|
175 | $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM) \
|
---|
176 | $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
|
---|
177 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
178 | $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
|
---|
179 | $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
|
---|
180 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
181 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
|
---|
182 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
183 | VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
184 | if "$(KBUILD_TYPE)" != "release"
|
---|
185 | VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
186 | endif
|
---|
187 | endif
|
---|
188 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
189 | VirtualBox_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
|
---|
190 | else ifdef VBOX_GUI_USE_QGL
|
---|
191 | VirtualBox_DEFS += VBOX_GUI_USE_QGL
|
---|
192 | endif
|
---|
193 | ifdef VBOX_WITH_LIBCURL
|
---|
194 | VirtualBox_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
195 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
196 | endif
|
---|
197 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
198 | VirtualBox_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
199 | endif
|
---|
200 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
201 | VirtualBox_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
202 | endif
|
---|
203 |
|
---|
204 |
|
---|
205 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
206 |
|
---|
207 | #
|
---|
208 | # VirtualBox Virtual Machine Application
|
---|
209 | #
|
---|
210 | VirtualBoxVM_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE)
|
---|
211 | VirtualBoxVM_NAME = VirtualBoxVM
|
---|
212 | VirtualBoxVM_DEPS = $(VBoxGlobal_0_OUTDIR)/include/COMWrappers
|
---|
213 | VirtualBoxVM_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
214 | VirtualBoxVM_DEFS += VBOX_RUNTIME_UI
|
---|
215 | VirtualBoxVM_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
216 | VirtualBoxVM_DEFS.linux = VBOX_WS_X11
|
---|
217 | VirtualBoxVM_DEFS.solaris = VBOX_WS_X11
|
---|
218 | VirtualBoxVM_DEFS.freebsd = VBOX_WS_X11
|
---|
219 | VirtualBoxVM_DEFS.darwin = VBOX_WS_MAC
|
---|
220 | VirtualBoxVM_DEFS.win = VBOX_WS_WIN
|
---|
221 | VirtualBoxVM_DEFS.linux += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
222 | VirtualBoxVM_DEFS.solaris += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
223 | VirtualBoxVM_DEFS.freebsd += VBOX_WITH_MASKED_SEAMLESS VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
224 | VirtualBoxVM_DEFS.darwin += VBOX_WITH_TRANSLUCENT_SEAMLESS # VBOX_WITH_MASKED_SEAMLESS
|
---|
225 | VirtualBoxVM_DEFS.win += VBOX_WITH_MASKED_SEAMLESS # VBOX_WITH_TRANSLUCENT_SEAMLESS
|
---|
226 | VirtualBoxVM_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
227 | VirtualBoxVM_DEFS.win += UNICODE QT_DLL
|
---|
228 | VirtualBoxVM_DEFS += \
|
---|
229 | $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
|
---|
230 | $(if $(VBOX_WITH_ADDITIONS_AUTOUPDATE_UI),VBOX_WITH_ADDITIONS_AUTOUPDATE_UI) \
|
---|
231 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
232 | $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
|
---|
233 | $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
|
---|
234 | $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
|
---|
235 | $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
|
---|
236 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
237 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
238 | $(if $(VBOX_WITH_UDPTUNNEL),VBOX_WITH_UDPTUNNEL) \
|
---|
239 | $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
|
---|
240 | $(if $(VBOX_WITH_EHCI),VBOX_WITH_EHCI) \
|
---|
241 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
242 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
243 | $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH) \
|
---|
244 | $(if $(VBOX_WITH_DRAG_AND_DROP_PROMISES),VBOX_WITH_DRAG_AND_DROP_PROMISES) \
|
---|
245 | $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
|
---|
246 | $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
|
---|
247 | $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM) \
|
---|
248 | $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
|
---|
249 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
250 | $(if $(VBOX_GUI_WITH_KEYS_RESET_HANDLER),VBOX_GUI_WITH_KEYS_RESET_HANDLER) \
|
---|
251 | $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
|
---|
252 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
253 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
|
---|
254 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
255 | VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
256 | if "$(KBUILD_TYPE)" != "release"
|
---|
257 | VirtualBoxVM_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
258 | endif
|
---|
259 | endif
|
---|
260 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
261 | VirtualBoxVM_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
|
---|
262 | else ifdef VBOX_GUI_USE_QGL
|
---|
263 | VirtualBoxVM_DEFS += VBOX_GUI_USE_QGL
|
---|
264 | endif
|
---|
265 | ifdef VBOX_WITH_LIBCURL
|
---|
266 | VirtualBoxVM_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
267 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
268 | endif
|
---|
269 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
270 | VirtualBoxVM_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
271 | endif
|
---|
272 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
273 | VirtualBoxVM_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
274 | endif
|
---|
275 |
|
---|
276 |
|
---|
277 | #
|
---|
278 | # VirtualBox - GUI Global Shared Library.
|
---|
279 | #
|
---|
280 | VBoxGlobal_TEMPLATE = VBOXQTGUI
|
---|
281 | VBoxGlobal_NAME = VBoxGlobal
|
---|
282 | VBoxGlobal_DEFS =
|
---|
283 | VBoxGlobal_DEFS += VBOX_GUI_LIBRARY
|
---|
284 | VBoxGlobal_DEFS.darwin = VBOX_WS_MAC
|
---|
285 | VBoxGlobal_DEFS.freebsd = VBOX_WS_X11
|
---|
286 | VBoxGlobal_DEFS.linux = VBOX_WS_X11
|
---|
287 | VBoxGlobal_DEFS.solaris = VBOX_WS_X11
|
---|
288 | VBoxGlobal_DEFS.win = VBOX_WS_WIN
|
---|
289 | VBoxGlobal_DEFS.debug = VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
290 | VBoxGlobal_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
|
---|
291 | #VBoxGlobal_DEFS.win += UNICODE QT_DLL
|
---|
292 | VBoxGlobal_DEFS += \
|
---|
293 | $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \
|
---|
294 | $(if $(VBOX_WITH_UPDATE_REQUEST),VBOX_WITH_UPDATE_REQUEST) \
|
---|
295 | $(if $(VBOX_WITH_AUDIO_OSS),VBOX_WITH_AUDIO_OSS) \
|
---|
296 | $(if $(VBOX_WITH_AUDIO_ALSA),VBOX_WITH_AUDIO_ALSA) \
|
---|
297 | $(if $(VBOX_WITH_AUDIO_PULSE),VBOX_WITH_AUDIO_PULSE) \
|
---|
298 | $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
|
---|
299 | $(if $(VBOX_WITH_NETFLT)$(eq $(KBUILD_TARGET),freebsd),VBOX_WITH_NETFLT) \
|
---|
300 | $(if $(VBOX_WITH_VDE),VBOX_WITH_VDE) \
|
---|
301 | $(if $(VBOX_WITH_EXTPACK),VBOX_WITH_EXTPACK) \
|
---|
302 | $(if $(VBOX_WITH_HARDENING),VBOXR3_HARDENED_DLL) \
|
---|
303 | $(if $(VBOX_WITH_DRAG_AND_DROP),VBOX_WITH_DRAG_AND_DROP) \
|
---|
304 | $(if $(VBOX_WITH_CRHGSMI),VBOX_WITH_CRHGSMI) \
|
---|
305 | $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO) \
|
---|
306 | $(if $(VBOX_WITH_CROGL),VBOX_WITH_CROGL) \
|
---|
307 | $(if $(VBOX_GUI_WITH_PIDFILE),VBOX_GUI_WITH_PIDFILE) \
|
---|
308 | $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
|
---|
309 | $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
|
---|
310 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
311 | VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI
|
---|
312 | if "$(KBUILD_TYPE)" != "release"
|
---|
313 | VBoxGlobal_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
314 | endif
|
---|
315 | endif
|
---|
316 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
317 | VBoxGlobal_DEFS += VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
|
---|
318 | else ifdef VBOX_GUI_USE_QGL
|
---|
319 | VBoxGlobal_DEFS += VBOX_GUI_USE_QGL
|
---|
320 | endif
|
---|
321 | ifdef VBOX_WITH_LIBCURL
|
---|
322 | VBoxGlobal_DEFS += VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
323 | VBOX_GUI_WITH_NETWORK_MANAGER := 1
|
---|
324 | endif
|
---|
325 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_EXTRADATA_MANAGER_UI)
|
---|
326 | VBoxGlobal_DEFS += VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
|
---|
327 | endif
|
---|
328 | if "$(KBUILD_TYPE)" != "release" || defined(VBOX_GUI_WITH_GUEST_CONTROL_UI)
|
---|
329 | VBoxGlobal_DEFS += VBOX_GUI_WITH_GUEST_CONTROL_UI
|
---|
330 | endif
|
---|
331 | ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
|
---|
332 | VBoxGlobal_DEFS += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
|
---|
333 | endif
|
---|
334 |
|
---|
335 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
336 |
|
---|
337 |
|
---|
338 | #
|
---|
339 | # Include folders.
|
---|
340 | #
|
---|
341 | VBOX_GUI_INC_DIRS = \
|
---|
342 | ./src \
|
---|
343 | ./src/cloud \
|
---|
344 | ./src/converter \
|
---|
345 | ./src/extensions \
|
---|
346 | ./src/extensions/graphics \
|
---|
347 | ./src/extradata \
|
---|
348 | ./src/globals \
|
---|
349 | ./src/hostnetwork \
|
---|
350 | ./src/logviewer \
|
---|
351 | ./src/medium \
|
---|
352 | ./src/objects \
|
---|
353 | ./src/platform \
|
---|
354 | ./src/platform/darwin \
|
---|
355 | ./src/platform/win \
|
---|
356 | ./src/platform/x11 \
|
---|
357 | ./src/runtime \
|
---|
358 | ./src/runtime/fullscreen \
|
---|
359 | ./src/runtime/normal \
|
---|
360 | ./src/runtime/scale \
|
---|
361 | ./src/runtime/seamless \
|
---|
362 | ./src/runtime/information \
|
---|
363 | ./src/guestctrl \
|
---|
364 | ./src/settings \
|
---|
365 | ./src/settings/global \
|
---|
366 | ./src/settings/machine \
|
---|
367 | ./src/snapshots \
|
---|
368 | ./src/widgets \
|
---|
369 | ./src/widgets/graphics \
|
---|
370 | ./src/wizards \
|
---|
371 | ./src/wizards/newvm \
|
---|
372 | ./src/wizards/newvd \
|
---|
373 | ./src/wizards/clonevm \
|
---|
374 | ./src/wizards/clonevd \
|
---|
375 | ./src/wizards/exportappliance \
|
---|
376 | ./src/wizards/importappliance \
|
---|
377 | ./src/wizards/firstrun
|
---|
378 |
|
---|
379 | VBOX_GUI_INC_DIRS += \
|
---|
380 | ./src/manager \
|
---|
381 | ./src/manager/chooser \
|
---|
382 | ./src/manager/details \
|
---|
383 | ./src/manager/tools
|
---|
384 |
|
---|
385 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
386 | VBOX_GUI_INC_DIRS += \
|
---|
387 | ./src/net
|
---|
388 | endif
|
---|
389 |
|
---|
390 | #
|
---|
391 | # VirtualBox Manager Application
|
---|
392 | # Include folders.
|
---|
393 | #
|
---|
394 | VirtualBox_INCS = \
|
---|
395 | $(VBOX_GUI_INC_DIRS) \
|
---|
396 | $(if-expr defined(VBOX_GUI_WITH_SHARED_LIBRARY),$(VBoxGlobal_0_OUTDIR)/include,$(VirtualBox_0_OUTDIR)/include) \
|
---|
397 | $(VBOX_GRAPHICS_INCS)
|
---|
398 |
|
---|
399 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
400 |
|
---|
401 | #
|
---|
402 | # VirtualBox Virtual Machine Application
|
---|
403 | # Include folders.
|
---|
404 | #
|
---|
405 | VirtualBoxVM_INCS = \
|
---|
406 | $(VBOX_GUI_INC_DIRS) \
|
---|
407 | $(VBoxGlobal_0_OUTDIR)/include \
|
---|
408 | $(VBOX_GRAPHICS_INCS)
|
---|
409 |
|
---|
410 | #
|
---|
411 | # VirtualBox - GUI Global Shared Library.
|
---|
412 | # Include folders.
|
---|
413 | #
|
---|
414 | VBoxGlobal_INCS = \
|
---|
415 | $(VBOX_GUI_INC_DIRS) \
|
---|
416 | $(VBoxGlobal_0_OUTDIR)/include
|
---|
417 |
|
---|
418 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
419 |
|
---|
420 |
|
---|
421 | #
|
---|
422 | # VirtualBox Manager Application
|
---|
423 | # Compiling/linking flags.
|
---|
424 | #
|
---|
425 | ifneq ($(KBUILD_TARGET),win)
|
---|
426 | VirtualBox_CXXFLAGS += -Wno-switch
|
---|
427 | endif
|
---|
428 |
|
---|
429 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
430 | ifdef VBOX_WITH_NEW_XCODE
|
---|
431 | VirtualBox_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
432 | VirtualBox_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
433 | VirtualBox_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
434 | else
|
---|
435 | VirtualBox_CXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
436 | VirtualBox_OBJCFLAGS.darwin += -Wno-deprecated-declarations
|
---|
437 | VirtualBox_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
438 | endif
|
---|
439 |
|
---|
440 | ifeq ($(KBUILD_TYPE),release)
|
---|
441 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
442 | else
|
---|
443 | VirtualBox_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
|
---|
444 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
|
---|
445 | endif
|
---|
446 |
|
---|
447 | VirtualBox_LDFLAGS.darwin = \
|
---|
448 | -framework AppKit -framework Carbon -framework IOKit
|
---|
449 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
450 | VirtualBox_LDFLAGS.darwin += \
|
---|
451 | $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBox.dylib)
|
---|
452 | endif
|
---|
453 |
|
---|
454 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
455 | VirtualBox_LDFLAGS.darwin += -framework OpenGL
|
---|
456 | endif
|
---|
457 |
|
---|
458 |
|
---|
459 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
460 |
|
---|
461 | #
|
---|
462 | # VirtualBox Virtual Machine Application
|
---|
463 | # Compiling/linking flags.
|
---|
464 | #
|
---|
465 | ifneq ($(KBUILD_TARGET),win)
|
---|
466 | VirtualBoxVM_CXXFLAGS += -Wno-switch
|
---|
467 | endif
|
---|
468 |
|
---|
469 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
470 | ifdef VBOX_WITH_NEW_XCODE
|
---|
471 | VirtualBoxVM_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
472 | VirtualBoxVM_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
473 | VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
474 | else
|
---|
475 | VirtualBoxVM_CXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
476 | VirtualBoxVM_OBJCFLAGS.darwin += -Wno-deprecated-declarations
|
---|
477 | VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
478 | endif
|
---|
479 |
|
---|
480 | ifeq ($(KBUILD_TYPE),release)
|
---|
481 | VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
482 | else
|
---|
483 | VirtualBoxVM_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
|
---|
484 | VirtualBoxVM_LDFLAGS.win += /SUBSYSTEM:console
|
---|
485 | endif
|
---|
486 |
|
---|
487 | VirtualBoxVM_LDFLAGS.darwin = \
|
---|
488 | -framework AppKit -framework Carbon -framework IOKit \
|
---|
489 | $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBoxVM.dylib)
|
---|
490 |
|
---|
491 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
492 | VirtualBoxVM_LDFLAGS.darwin += -framework OpenGL
|
---|
493 | endif
|
---|
494 |
|
---|
495 |
|
---|
496 | #
|
---|
497 | # VirtualBox - GUI Global Shared Library.
|
---|
498 | # Compiling/linking flags.
|
---|
499 | #
|
---|
500 |
|
---|
501 | ## @todo we're using a number of deprecated APIs, please fix and remove these!
|
---|
502 | ifdef VBOX_WITH_NEW_XCODE
|
---|
503 | VBoxGlobal_CXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
504 | VBoxGlobal_OBJCFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
505 | VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
|
---|
506 | else
|
---|
507 | VBoxGlobal_CXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
508 | VBoxGlobal_OBJCFLAGS.darwin += -Wno-deprecated-declarations
|
---|
509 | VBoxGlobal_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
|
---|
510 | endif
|
---|
511 |
|
---|
512 | VBoxGlobal_LDFLAGS.darwin = \
|
---|
513 | -framework AppKit -framework Carbon -framework IOKit \
|
---|
514 | $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxGlobal.dylib)
|
---|
515 |
|
---|
516 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
517 | VBoxGlobal_LDFLAGS.darwin += -framework OpenGL
|
---|
518 | endif
|
---|
519 |
|
---|
520 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
521 |
|
---|
522 |
|
---|
523 | #
|
---|
524 | # VirtualBox Manager Application
|
---|
525 | # Libraries.
|
---|
526 | #
|
---|
527 |
|
---|
528 | # Library required for the hdd backend enumeration:
|
---|
529 | VirtualBox_LIBS = $(LIB_DDU)
|
---|
530 |
|
---|
531 | # Runtime library loader required on X11 hosts:
|
---|
532 | if1of ($(KBUILD_TARGET), linux netbsd openbsd)
|
---|
533 | VirtualBox_LIBS += dl
|
---|
534 | endif
|
---|
535 |
|
---|
536 | # Xinerama library required for multi-monitor support:
|
---|
537 | VirtualBox_LIBS.linux += Xinerama
|
---|
538 | VirtualBox_LIBS.solaris += Xinerama
|
---|
539 | VirtualBox_LIBS.freebsd += Xinerama
|
---|
540 |
|
---|
541 | # XCB library required for direct XCB native code support:
|
---|
542 | VirtualBox_LIBS.linux += xcb
|
---|
543 | VirtualBox_LIBS.solaris += xcb
|
---|
544 | VirtualBox_LIBS.freebsd += xcb
|
---|
545 |
|
---|
546 | # Various Windows hosts libraries:
|
---|
547 | VirtualBox_LIBS.win = \
|
---|
548 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
|
---|
549 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
|
---|
550 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
|
---|
551 |
|
---|
552 | # VBox keyboard shared library for X11 hosts:
|
---|
553 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
554 | VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
555 | endif
|
---|
556 |
|
---|
557 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
558 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
559 | VirtualBox_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
560 | VirtualBox_LIBS.solaris += GL
|
---|
561 | VirtualBox_LIBS.linux += GL
|
---|
562 | VirtualBox_LIBS.freebsd += GL
|
---|
563 | endif
|
---|
564 | ifdef VBOX_WITH_CROGL
|
---|
565 | VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
566 | endif
|
---|
567 |
|
---|
568 | # This one is global shared GUI library:
|
---|
569 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
570 | ifeq ($(KBUILD_TARGET),win)
|
---|
571 | VirtualBox_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
|
---|
572 | else
|
---|
573 | VirtualBox_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
|
---|
574 | endif
|
---|
575 | endif
|
---|
576 |
|
---|
577 |
|
---|
578 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
579 |
|
---|
580 | #
|
---|
581 | # VirtualBox Virtual Machine Application
|
---|
582 | # Libraries.
|
---|
583 | #
|
---|
584 |
|
---|
585 | # Library required for the hdd backend enumeration:
|
---|
586 | VirtualBoxVM_LIBS = $(LIB_DDU)
|
---|
587 |
|
---|
588 | # Runtime library loader required on X11 hosts:
|
---|
589 | if1of ($(KBUILD_TARGET), linux netbsd openbsd)
|
---|
590 | VirtualBoxVM_LIBS += dl
|
---|
591 | endif
|
---|
592 |
|
---|
593 | # Xinerama library required for multi-monitor support:
|
---|
594 | VirtualBoxVM_LIBS.linux += Xinerama
|
---|
595 | VirtualBoxVM_LIBS.solaris += Xinerama
|
---|
596 | VirtualBoxVM_LIBS.freebsd += Xinerama
|
---|
597 |
|
---|
598 | # XCB library required for direct XCB native code support:
|
---|
599 | VirtualBoxVM_LIBS.linux += xcb
|
---|
600 | VirtualBoxVM_LIBS.solaris += xcb
|
---|
601 | VirtualBoxVM_LIBS.freebsd += xcb
|
---|
602 |
|
---|
603 | # Various Windows hosts libraries:
|
---|
604 | VirtualBoxVM_LIBS.win = \
|
---|
605 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib \
|
---|
606 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
|
---|
607 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
|
---|
608 |
|
---|
609 | # VBox keyboard shared library for X11 hosts:
|
---|
610 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
611 | VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
612 | endif
|
---|
613 |
|
---|
614 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
615 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
616 | VirtualBoxVM_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
617 | VirtualBoxVM_LIBS.solaris += GL
|
---|
618 | VirtualBoxVM_LIBS.linux += GL
|
---|
619 | VirtualBoxVM_LIBS.freebsd += GL
|
---|
620 | endif
|
---|
621 | ifdef VBOX_WITH_CROGL
|
---|
622 | VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
623 | endif
|
---|
624 |
|
---|
625 | # This one is global shared GUI library:
|
---|
626 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
627 | ifeq ($(KBUILD_TARGET),win)
|
---|
628 | VirtualBoxVM_LIBS += $(PATH_STAGE_LIB)/VBoxGlobal$(VBOX_SUFF_LIB)
|
---|
629 | else
|
---|
630 | VirtualBoxVM_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
|
---|
631 | endif
|
---|
632 | endif
|
---|
633 |
|
---|
634 |
|
---|
635 | #
|
---|
636 | # VirtualBox - GUI Global Shared Library.
|
---|
637 | # Libraries.
|
---|
638 | #
|
---|
639 |
|
---|
640 | # Xinerama library required for multi-monitor support:
|
---|
641 | VBoxGlobal_LIBS.linux += Xinerama
|
---|
642 | VBoxGlobal_LIBS.solaris += Xinerama
|
---|
643 | VBoxGlobal_LIBS.freebsd += Xinerama
|
---|
644 |
|
---|
645 | # Various Windows hosts libraries:
|
---|
646 | VBoxGlobal_LIBS.win = \
|
---|
647 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib
|
---|
648 |
|
---|
649 | # VBox keyboard shared library for X11 hosts:
|
---|
650 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
651 | VBoxGlobal_LIBS += $(PATH_STAGE_DLL)/VBoxKeyboard$(VBOX_SUFF_DLL)
|
---|
652 | endif
|
---|
653 |
|
---|
654 | # These are 2D Video Acceleration and 3D Acceleration related libs:
|
---|
655 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
656 | VBoxGlobal_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
|
---|
657 | VBoxGlobal_LIBS.solaris += GL
|
---|
658 | VBoxGlobal_LIBS.linux += GL
|
---|
659 | VBoxGlobal_LIBS.freebsd += GL
|
---|
660 | endif
|
---|
661 | ifdef VBOX_WITH_CROGL
|
---|
662 | VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGLTest$(VBOX_SUFF_LIB)
|
---|
663 | endif
|
---|
664 | if defined(VBOX_WITH_VIDEOHWACCEL)
|
---|
665 | if1of ($(KBUILD_TARGET), win linux freebsd)
|
---|
666 | VBoxGlobal_LIBS += $(PATH_STAGE_LIB)/VBoxOGL2D$(VBOX_SUFF_LIB)
|
---|
667 | endif
|
---|
668 | endif
|
---|
669 |
|
---|
670 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
671 |
|
---|
672 |
|
---|
673 | #
|
---|
674 | # VirtualBox Manager Application
|
---|
675 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
676 | #
|
---|
677 | VirtualBox_QT_MOCHDRS = \
|
---|
678 | src/cloud/UICloudProfileDetailsWidget.h \
|
---|
679 | src/cloud/UICloudProfileManager.h \
|
---|
680 | src/globals/UIStarter.h \
|
---|
681 | src/hostnetwork/UIHostNetworkDetailsWidget.h \
|
---|
682 | src/hostnetwork/UIHostNetworkManager.h \
|
---|
683 | src/medium/UIMediumDetailsWidget.h \
|
---|
684 | src/medium/UIMediumManager.h \
|
---|
685 | src/snapshots/UISnapshotDetailsWidget.h \
|
---|
686 | src/snapshots/UISnapshotPane.h \
|
---|
687 | src/widgets/UIApplianceEditorWidget.h \
|
---|
688 | src/widgets/UIApplianceExportEditorWidget.h \
|
---|
689 | src/widgets/UIApplianceImportEditorWidget.h \
|
---|
690 | src/widgets/UIEmptyFilePathSelector.h \
|
---|
691 | src/widgets/UIGuestOSTypeSelectionButton.h \
|
---|
692 | src/widgets/UILineTextEdit.h \
|
---|
693 | src/widgets/UISlidingAnimation.h \
|
---|
694 | src/widgets/UISlidingWidget.h \
|
---|
695 | src/widgets/UITabBar.h \
|
---|
696 | src/widgets/UIMenuToolBar.h \
|
---|
697 | src/widgets/graphics/UIGraphicsButton.h \
|
---|
698 | src/widgets/graphics/UIGraphicsRotatorButton.h \
|
---|
699 | src/widgets/graphics/UIGraphicsZoomButton.h \
|
---|
700 | src/widgets/graphics/UIGraphicsToolBar.h \
|
---|
701 | src/widgets/graphics/UIGraphicsTextPane.h \
|
---|
702 | src/wizards/newvm/UIWizardNewVM.h \
|
---|
703 | src/wizards/newvm/UIWizardNewVMPageBasic1.h \
|
---|
704 | src/wizards/newvm/UIWizardNewVMPageBasic2.h \
|
---|
705 | src/wizards/newvm/UIWizardNewVMPageBasic3.h \
|
---|
706 | src/wizards/newvm/UIWizardNewVMPageExpert.h \
|
---|
707 | src/wizards/clonevm/UIWizardCloneVM.h \
|
---|
708 | src/wizards/clonevm/UIWizardCloneVMPageBasic1.h \
|
---|
709 | src/wizards/clonevm/UIWizardCloneVMPageBasic2.h \
|
---|
710 | src/wizards/clonevm/UIWizardCloneVMPageBasic3.h \
|
---|
711 | src/wizards/clonevm/UIWizardCloneVMPageExpert.h \
|
---|
712 | src/wizards/clonevd/UIWizardCloneVD.h \
|
---|
713 | src/wizards/clonevd/UIWizardCloneVDPageBasic1.h \
|
---|
714 | src/wizards/clonevd/UIWizardCloneVDPageBasic2.h \
|
---|
715 | src/wizards/clonevd/UIWizardCloneVDPageBasic3.h \
|
---|
716 | src/wizards/clonevd/UIWizardCloneVDPageBasic4.h \
|
---|
717 | src/wizards/clonevd/UIWizardCloneVDPageExpert.h \
|
---|
718 | src/wizards/exportappliance/UIWizardExportApp.h \
|
---|
719 | src/wizards/exportappliance/UIWizardExportAppPageBasic1.h \
|
---|
720 | src/wizards/exportappliance/UIWizardExportAppPageBasic2.h \
|
---|
721 | src/wizards/exportappliance/UIWizardExportAppPageBasic3.h \
|
---|
722 | src/wizards/exportappliance/UIWizardExportAppPageExpert.h \
|
---|
723 | src/wizards/importappliance/UIWizardImportApp.h \
|
---|
724 | src/wizards/importappliance/UIWizardImportAppPageBasic1.h \
|
---|
725 | src/wizards/importappliance/UIWizardImportAppPageBasic2.h \
|
---|
726 | src/wizards/importappliance/UIWizardImportAppPageExpert.h
|
---|
727 |
|
---|
728 | VirtualBox_QT_MOCHDRS += \
|
---|
729 | src/manager/UIErrorPane.h \
|
---|
730 | src/manager/UIToolPaneGlobal.h \
|
---|
731 | src/manager/UIToolPaneMachine.h \
|
---|
732 | src/manager/UIVirtualBoxManager.h \
|
---|
733 | src/manager/UIVirtualBoxManagerWidget.h \
|
---|
734 | src/manager/UIVirtualMachineItem.h \
|
---|
735 | src/manager/UIWelcomePane.h \
|
---|
736 | src/manager/chooser/UIChooser.h \
|
---|
737 | src/manager/chooser/UIChooserModel.h \
|
---|
738 | src/manager/chooser/UIChooserView.h \
|
---|
739 | src/manager/chooser/UIChooserHandlerMouse.h \
|
---|
740 | src/manager/chooser/UIChooserHandlerKeyboard.h \
|
---|
741 | src/manager/chooser/UIChooserItem.h \
|
---|
742 | src/manager/chooser/UIChooserItemGroup.h \
|
---|
743 | src/manager/chooser/UIChooserItemGlobal.h \
|
---|
744 | src/manager/chooser/UIChooserItemMachine.h \
|
---|
745 | src/manager/details/UIDetails.h \
|
---|
746 | src/manager/details/UIDetailsContextMenu.h \
|
---|
747 | src/manager/details/UIDetailsModel.h \
|
---|
748 | src/manager/details/UIDetailsView.h \
|
---|
749 | src/manager/details/UIDetailsItem.h \
|
---|
750 | src/manager/details/UIDetailsGroup.h \
|
---|
751 | src/manager/details/UIDetailsSet.h \
|
---|
752 | src/manager/details/UIDetailsElement.h \
|
---|
753 | src/manager/details/UIDetailsElements.h \
|
---|
754 | src/manager/details/UIMachinePreview.h \
|
---|
755 | src/manager/tools/UITools.h \
|
---|
756 | src/manager/tools/UIToolsModel.h \
|
---|
757 | src/manager/tools/UIToolsView.h \
|
---|
758 | src/manager/tools/UIToolsHandlerMouse.h \
|
---|
759 | src/manager/tools/UIToolsHandlerKeyboard.h \
|
---|
760 | src/manager/tools/UIToolsItem.h
|
---|
761 |
|
---|
762 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
763 | VirtualBox_QT_MOCHDRS += \
|
---|
764 | src/VBoxAboutDlg.h \
|
---|
765 | src/VBoxLicenseViewer.h \
|
---|
766 | src/UITakeSnapshotDialog.h \
|
---|
767 | src/extensions/QIAdvancedSlider.h \
|
---|
768 | src/extensions/QIArrowButtonPress.h \
|
---|
769 | src/extensions/QIArrowButtonSwitch.h \
|
---|
770 | src/extensions/QIArrowSplitter.h \
|
---|
771 | src/extensions/QIComboBox.h \
|
---|
772 | src/extensions/QIDialog.h \
|
---|
773 | src/extensions/QIDialogButtonBox.h \
|
---|
774 | src/extensions/QIFileDialog.h \
|
---|
775 | src/extensions/QIFlowLayout.h \
|
---|
776 | src/extensions/QIInputDialog.h \
|
---|
777 | src/extensions/QILabel.h \
|
---|
778 | src/extensions/QILabelSeparator.h \
|
---|
779 | src/extensions/QILineEdit.h \
|
---|
780 | src/extensions/QIMainDialog.h \
|
---|
781 | src/extensions/QIMainWindow.h \
|
---|
782 | src/extensions/QIManagerDialog.h \
|
---|
783 | src/extensions/QIMenu.h \
|
---|
784 | src/extensions/QIMessageBox.h \
|
---|
785 | src/extensions/QIProcess.h \
|
---|
786 | src/extensions/QIRichTextLabel.h \
|
---|
787 | src/extensions/QIRichToolButton.h \
|
---|
788 | src/extensions/QISplitter.h \
|
---|
789 | src/extensions/QIStatusBar.h \
|
---|
790 | src/extensions/QIStatusBarIndicator.h \
|
---|
791 | src/extensions/QIStyledItemDelegate.h \
|
---|
792 | src/extensions/QITableView.h \
|
---|
793 | src/extensions/QITabWidget.h \
|
---|
794 | src/extensions/QIToolButton.h \
|
---|
795 | src/extensions/QITreeView.h \
|
---|
796 | src/extensions/QITreeWidget.h \
|
---|
797 | src/extensions/QIWidgetValidator.h \
|
---|
798 | src/extensions/graphics/QIGraphicsView.h \
|
---|
799 | src/extensions/graphics/QIGraphicsWidget.h \
|
---|
800 | src/extradata/UIExtraDataDefs.h \
|
---|
801 | src/extradata/UIExtraDataManager.h \
|
---|
802 | src/globals/UIActionPool.h \
|
---|
803 | src/globals/UIActionPoolManager.h \
|
---|
804 | src/globals/UIActionPoolRuntime.h \
|
---|
805 | src/globals/UIAnimationFramework.h \
|
---|
806 | src/globals/UICustomFileSystemModel.h \
|
---|
807 | src/globals/UIDesktopWidgetWatchdog.h \
|
---|
808 | src/globals/UIMainEventListener.h \
|
---|
809 | src/globals/UIMessageCenter.h \
|
---|
810 | src/globals/UIModalWindowManager.h \
|
---|
811 | src/globals/UIPathOperations.h \
|
---|
812 | src/globals/UIPopupCenter.h \
|
---|
813 | src/globals/UIProgressEventHandler.h \
|
---|
814 | src/globals/UIShortcutPool.h \
|
---|
815 | src/globals/UIThreadPool.h \
|
---|
816 | src/globals/UIVirtualBoxEventHandler.h \
|
---|
817 | src/globals/VBoxGlobal.h \
|
---|
818 | src/globals/VBoxUtils.h \
|
---|
819 | src/logviewer/UIVMLogPage.h \
|
---|
820 | src/logviewer/UIVMLogViewerBookmarksPanel.h \
|
---|
821 | src/logviewer/UIVMLogViewerDialog.h \
|
---|
822 | src/logviewer/UIVMLogViewerFilterPanel.h \
|
---|
823 | src/logviewer/UIVMLogViewerOptionsPanel.h \
|
---|
824 | src/logviewer/UIVMLogViewerPanel.h \
|
---|
825 | src/logviewer/UIVMLogViewerSearchPanel.h \
|
---|
826 | src/logviewer/UIVMLogViewerTextEdit.h \
|
---|
827 | src/logviewer/UIVMLogViewerWidget.h \
|
---|
828 | src/medium/UIFDCreationDialog.h \
|
---|
829 | src/medium/UIMediumEnumerator.h \
|
---|
830 | src/medium/UIMediumItem.h \
|
---|
831 | src/medium/UIMediumSelector.h \
|
---|
832 | src/runtime/UIConsoleEventHandler.h \
|
---|
833 | src/runtime/UIFrameBuffer.h \
|
---|
834 | src/runtime/UIIndicatorsPool.h \
|
---|
835 | src/runtime/UIKeyboardHandler.h \
|
---|
836 | src/runtime/UIMachine.h \
|
---|
837 | src/runtime/UIMachineLogic.h \
|
---|
838 | src/runtime/UIMachineWindow.h \
|
---|
839 | src/runtime/UIMachineView.h \
|
---|
840 | src/runtime/UIMouseHandler.h \
|
---|
841 | src/runtime/UIMultiScreenLayout.h \
|
---|
842 | src/runtime/UISession.h \
|
---|
843 | src/runtime/UIVMCloseDialog.h \
|
---|
844 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
|
---|
845 | src/runtime/fullscreen/UIMachineLogicFullscreen.h \
|
---|
846 | src/runtime/fullscreen/UIMachineViewFullscreen.h \
|
---|
847 | src/runtime/fullscreen/UIMachineWindowFullscreen.h \
|
---|
848 | src/runtime/information/UIInformationConfiguration.h \
|
---|
849 | src/runtime/information/UIInformationDataItem.h \
|
---|
850 | src/runtime/information/UIInformationItem.h \
|
---|
851 | src/runtime/information/UIInformationModel.h \
|
---|
852 | src/runtime/information/UIInformationRuntime.h \
|
---|
853 | src/runtime/information/UIInformationView.h \
|
---|
854 | src/runtime/information/UIVMInformationDialog.h \
|
---|
855 | src/guestctrl/UIGuestControlConsole.h \
|
---|
856 | src/guestctrl/UIFileManager.h \
|
---|
857 | src/guestctrl/UIFileManagerDialog.h \
|
---|
858 | src/guestctrl/UIFileManagerLogPanel.h \
|
---|
859 | src/guestctrl/UIFileManagerOperationsPanel.h \
|
---|
860 | src/guestctrl/UIFileManagerOptionsPanel.h \
|
---|
861 | src/guestctrl/UIFileManagerPanel.h \
|
---|
862 | src/guestctrl/UIFileManagerSessionPanel.h \
|
---|
863 | src/guestctrl/UIFileManagerTable.h \
|
---|
864 | src/guestctrl/UIGuestControlInterface.h \
|
---|
865 | src/guestctrl/UIGuestControlTreeItem.h \
|
---|
866 | src/guestctrl/UIFileManagerGuestTable.h \
|
---|
867 | src/guestctrl/UIGuestProcessControlDialog.h \
|
---|
868 | src/guestctrl/UIGuestProcessControlWidget.h \
|
---|
869 | src/guestctrl/UIFileManagerHostTable.h \
|
---|
870 | src/runtime/normal/UIKeyboardHandlerNormal.h \
|
---|
871 | src/runtime/normal/UIMachineLogicNormal.h \
|
---|
872 | src/runtime/normal/UIMachineViewNormal.h \
|
---|
873 | src/runtime/normal/UIMachineWindowNormal.h \
|
---|
874 | src/runtime/scale/UIKeyboardHandlerScale.h \
|
---|
875 | src/runtime/scale/UIMachineLogicScale.h \
|
---|
876 | src/runtime/scale/UIMachineViewScale.h \
|
---|
877 | src/runtime/scale/UIMachineWindowScale.h \
|
---|
878 | src/runtime/seamless/UIKeyboardHandlerSeamless.h \
|
---|
879 | src/runtime/seamless/UIMachineLogicSeamless.h \
|
---|
880 | src/runtime/seamless/UIMachineViewSeamless.h \
|
---|
881 | src/runtime/seamless/UIMachineWindowSeamless.h \
|
---|
882 | src/settings/UISettingsDialog.h \
|
---|
883 | src/settings/UISettingsDialogSpecific.h \
|
---|
884 | src/settings/UISettingsPage.h \
|
---|
885 | src/settings/UISettingsSelector.h \
|
---|
886 | src/settings/UISettingsSerializer.h \
|
---|
887 | src/settings/global/UIGlobalSettingsExtension.h \
|
---|
888 | src/settings/global/UIGlobalSettingsGeneral.h \
|
---|
889 | src/settings/global/UIGlobalSettingsInput.h \
|
---|
890 | src/settings/global/UIGlobalSettingsLanguage.h \
|
---|
891 | src/settings/global/UIGlobalSettingsDisplay.h \
|
---|
892 | src/settings/global/UIGlobalSettingsNetwork.h \
|
---|
893 | src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
|
---|
894 | src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
|
---|
895 | src/settings/machine/UIMachineSettingsAudio.h \
|
---|
896 | src/settings/machine/UIMachineSettingsDisplay.h \
|
---|
897 | src/settings/machine/UIMachineSettingsGeneral.h \
|
---|
898 | src/settings/machine/UIMachineSettingsInterface.h \
|
---|
899 | src/settings/machine/UIMachineSettingsNetwork.h \
|
---|
900 | src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
|
---|
901 | src/settings/machine/UIMachineSettingsSF.h \
|
---|
902 | src/settings/machine/UIMachineSettingsSFDetails.h \
|
---|
903 | src/settings/machine/UIMachineSettingsSerial.h \
|
---|
904 | src/settings/machine/UIMachineSettingsStorage.h \
|
---|
905 | src/settings/machine/UIMachineSettingsSystem.h \
|
---|
906 | src/settings/machine/UIMachineSettingsUSB.h \
|
---|
907 | src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
|
---|
908 | src/widgets/UIAddDiskEncryptionPasswordDialog.h \
|
---|
909 | src/widgets/UIBootTable.h \
|
---|
910 | src/widgets/UIFilePathSelector.h \
|
---|
911 | src/widgets/UIFilmContainer.h \
|
---|
912 | src/widgets/UIGuestRAMSlider.h \
|
---|
913 | src/widgets/UIHostComboEditor.h \
|
---|
914 | src/widgets/UIHotKeyEditor.h \
|
---|
915 | src/widgets/UIMediaComboBox.h \
|
---|
916 | src/widgets/UIMediumSizeEditor.h \
|
---|
917 | src/widgets/UIMenuBar.h \
|
---|
918 | src/widgets/UIMenuBarEditorWindow.h \
|
---|
919 | src/widgets/UIMiniToolBar.h \
|
---|
920 | src/widgets/UINameAndSystemEditor.h \
|
---|
921 | src/widgets/UIPopupBox.h \
|
---|
922 | src/widgets/UIPopupPane.h \
|
---|
923 | src/widgets/UIPopupPaneButtonPane.h \
|
---|
924 | src/widgets/UIPopupPaneMessage.h \
|
---|
925 | src/widgets/UIPopupPaneDetails.h \
|
---|
926 | src/widgets/UIPopupStack.h \
|
---|
927 | src/widgets/UIPopupStackViewport.h \
|
---|
928 | src/widgets/UIPortForwardingTable.h \
|
---|
929 | src/widgets/UIProgressDialog.h \
|
---|
930 | src/widgets/UIScaleFactorEditor.h \
|
---|
931 | src/widgets/UISlidingToolBar.h \
|
---|
932 | src/widgets/UISpecialControls.h \
|
---|
933 | src/widgets/UIStatusBarEditorWindow.h \
|
---|
934 | src/widgets/UIToolBar.h \
|
---|
935 | src/widgets/UIWarningPane.h \
|
---|
936 | src/wizards/UIWizard.h \
|
---|
937 | src/wizards/UIWizardPage.h \
|
---|
938 | src/wizards/firstrun/UIWizardFirstRun.h \
|
---|
939 | src/wizards/firstrun/UIWizardFirstRunPageBasic.h \
|
---|
940 | src/wizards/newvd/UIWizardNewVD.h \
|
---|
941 | src/wizards/newvd/UIWizardNewVDPageBasic1.h \
|
---|
942 | src/wizards/newvd/UIWizardNewVDPageBasic2.h \
|
---|
943 | src/wizards/newvd/UIWizardNewVDPageBasic3.h \
|
---|
944 | src/wizards/newvd/UIWizardNewVDPageExpert.h
|
---|
945 |
|
---|
946 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
947 | VirtualBox_QT_MOCHDRS += \
|
---|
948 | src/runtime/UIDnDHandler.h
|
---|
949 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
950 | VirtualBox_QT_MOCHDRS += \
|
---|
951 | src/runtime/UIDnDMIMEData.h
|
---|
952 | endif
|
---|
953 | endif
|
---|
954 |
|
---|
955 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
956 | VirtualBox_QT_MOCHDRS += \
|
---|
957 | src/net/UIDownloader.h \
|
---|
958 | src/net/UIDownloaderAdditions.h \
|
---|
959 | src/net/UIDownloaderExtensionPack.h \
|
---|
960 | src/net/UIDownloaderUserManual.h \
|
---|
961 | src/net/UINetworkCustomer.h \
|
---|
962 | src/net/UINetworkManager.h \
|
---|
963 | src/net/UINetworkManagerDialog.h \
|
---|
964 | src/net/UINetworkManagerIndicator.h \
|
---|
965 | src/net/UINetworkRequest.h \
|
---|
966 | src/net/UINetworkRequestWidget.h \
|
---|
967 | src/net/UINetworkReply.h \
|
---|
968 | src/net/UIUpdateManager.h \
|
---|
969 | src/settings/global/UIGlobalSettingsProxy.h \
|
---|
970 | src/settings/global/UIGlobalSettingsUpdate.h
|
---|
971 | endif
|
---|
972 |
|
---|
973 | VirtualBox_QT_MOCHDRS.darwin += \
|
---|
974 | src/platform/darwin/UICocoaSpecialControls.h \
|
---|
975 | src/platform/darwin/UIWindowMenuManager.h
|
---|
976 | endif
|
---|
977 |
|
---|
978 |
|
---|
979 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
980 |
|
---|
981 | #
|
---|
982 | # VirtualBox Virtual Machine Application
|
---|
983 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
984 | #
|
---|
985 | VirtualBoxVM_QT_MOCHDRS = \
|
---|
986 | src/globals/UICustomFileSystemModel.h \
|
---|
987 | src/globals/UIPathOperations.h \
|
---|
988 | src/globals/UIStarter.h \
|
---|
989 | src/runtime/UIConsoleEventHandler.h \
|
---|
990 | src/runtime/UIFrameBuffer.h \
|
---|
991 | src/runtime/UIIndicatorsPool.h \
|
---|
992 | src/runtime/UIKeyboardHandler.h \
|
---|
993 | src/runtime/UIMachine.h \
|
---|
994 | src/runtime/UIMachineLogic.h \
|
---|
995 | src/runtime/UIMachineWindow.h \
|
---|
996 | src/runtime/UIMachineView.h \
|
---|
997 | src/runtime/UIMouseHandler.h \
|
---|
998 | src/runtime/UIMultiScreenLayout.h \
|
---|
999 | src/runtime/UISession.h \
|
---|
1000 | src/runtime/UIVMCloseDialog.h \
|
---|
1001 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.h \
|
---|
1002 | src/runtime/fullscreen/UIMachineLogicFullscreen.h \
|
---|
1003 | src/runtime/fullscreen/UIMachineViewFullscreen.h \
|
---|
1004 | src/runtime/fullscreen/UIMachineWindowFullscreen.h \
|
---|
1005 | src/runtime/information/UIInformationConfiguration.h \
|
---|
1006 | src/runtime/information/UIInformationDataItem.h \
|
---|
1007 | src/runtime/information/UIInformationItem.h \
|
---|
1008 | src/runtime/information/UIInformationModel.h \
|
---|
1009 | src/runtime/information/UIInformationRuntime.h \
|
---|
1010 | src/runtime/information/UIInformationView.h \
|
---|
1011 | src/runtime/information/UIVMInformationDialog.h \
|
---|
1012 | src/guestctrl/UIGuestControlConsole.h \
|
---|
1013 | src/guestctrl/UIFileManager.h \
|
---|
1014 | src/guestctrl/UIFileManagerDialog.h \
|
---|
1015 | src/guestctrl/UIFileManagerLogPanel.h \
|
---|
1016 | src/guestctrl/UIFileManagerOperationsPanel.h \
|
---|
1017 | src/guestctrl/UIFileManagerOptionsPanel.h \
|
---|
1018 | src/guestctrl/UIFileManagerPanel.h \
|
---|
1019 | src/guestctrl/UIFileManagerSessionPanel.h \
|
---|
1020 | src/guestctrl/UIFileManagerTable.h \
|
---|
1021 | src/guestctrl/UIGuestControlInterface.h \
|
---|
1022 | src/guestctrl/UIGuestControlTreeItem.h \
|
---|
1023 | src/guestctrl/UIFileManagerGuestTable.h \
|
---|
1024 | src/guestctrl/UIGuestProcessControlDialog.h \
|
---|
1025 | src/guestctrl/UIGuestProcessControlWidget.h \
|
---|
1026 | src/guestctrl/UIFileManagerHostTable.h \
|
---|
1027 | src/runtime/normal/UIKeyboardHandlerNormal.h \
|
---|
1028 | src/runtime/normal/UIMachineLogicNormal.h \
|
---|
1029 | src/runtime/normal/UIMachineViewNormal.h \
|
---|
1030 | src/runtime/normal/UIMachineWindowNormal.h \
|
---|
1031 | src/runtime/scale/UIKeyboardHandlerScale.h \
|
---|
1032 | src/runtime/scale/UIMachineLogicScale.h \
|
---|
1033 | src/runtime/scale/UIMachineViewScale.h \
|
---|
1034 | src/runtime/scale/UIMachineWindowScale.h \
|
---|
1035 | src/runtime/seamless/UIKeyboardHandlerSeamless.h \
|
---|
1036 | src/runtime/seamless/UIMachineLogicSeamless.h \
|
---|
1037 | src/runtime/seamless/UIMachineViewSeamless.h \
|
---|
1038 | src/runtime/seamless/UIMachineWindowSeamless.h \
|
---|
1039 | src/widgets/UIMiniToolBar.h \
|
---|
1040 | src/wizards/firstrun/UIWizardFirstRun.h \
|
---|
1041 | src/wizards/firstrun/UIWizardFirstRunPageBasic.h
|
---|
1042 |
|
---|
1043 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
1044 | VirtualBoxVM_QT_MOCHDRS += \
|
---|
1045 | src/runtime/UIDnDHandler.h
|
---|
1046 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
1047 | VirtualBoxVM_QT_MOCHDRS += \
|
---|
1048 | src/runtime/UIDnDMIMEData.h
|
---|
1049 | endif
|
---|
1050 | endif
|
---|
1051 |
|
---|
1052 |
|
---|
1053 | #
|
---|
1054 | # VirtualBox - GUI Global Shared Library.
|
---|
1055 | # Headers containing definitions of classes that use the Q_OBJECT macro.
|
---|
1056 | #
|
---|
1057 | VBoxGlobal_QT_MOCHDRS = \
|
---|
1058 | src/VBoxAboutDlg.h \
|
---|
1059 | src/VBoxLicenseViewer.h \
|
---|
1060 | src/UITakeSnapshotDialog.h \
|
---|
1061 | src/extensions/QIAdvancedSlider.h \
|
---|
1062 | src/extensions/QIArrowButtonPress.h \
|
---|
1063 | src/extensions/QIArrowButtonSwitch.h \
|
---|
1064 | src/extensions/QIArrowSplitter.h \
|
---|
1065 | src/extensions/QIComboBox.h \
|
---|
1066 | src/extensions/QIDialog.h \
|
---|
1067 | src/extensions/QIDialogButtonBox.h \
|
---|
1068 | src/extensions/QIFileDialog.h \
|
---|
1069 | src/extensions/QIFlowLayout.h \
|
---|
1070 | src/extensions/QIInputDialog.h \
|
---|
1071 | src/extensions/QILabel.h \
|
---|
1072 | src/extensions/QILabelSeparator.h \
|
---|
1073 | src/extensions/QILineEdit.h \
|
---|
1074 | src/extensions/QIMainDialog.h \
|
---|
1075 | src/extensions/QIMainWindow.h \
|
---|
1076 | src/extensions/QIManagerDialog.h \
|
---|
1077 | src/extensions/QIMenu.h \
|
---|
1078 | src/extensions/QIMessageBox.h \
|
---|
1079 | src/extensions/QIProcess.h \
|
---|
1080 | src/extensions/QIRichTextLabel.h \
|
---|
1081 | src/extensions/QIRichToolButton.h \
|
---|
1082 | src/extensions/QISplitter.h \
|
---|
1083 | src/extensions/QIStatusBar.h \
|
---|
1084 | src/extensions/QIStatusBarIndicator.h \
|
---|
1085 | src/extensions/QIStyledItemDelegate.h \
|
---|
1086 | src/extensions/QITableView.h \
|
---|
1087 | src/extensions/QITabWidget.h \
|
---|
1088 | src/extensions/QIToolButton.h \
|
---|
1089 | src/extensions/QITreeView.h \
|
---|
1090 | src/extensions/QITreeWidget.h \
|
---|
1091 | src/extensions/QIWidgetValidator.h \
|
---|
1092 | src/extensions/graphics/QIGraphicsView.h \
|
---|
1093 | src/extensions/graphics/QIGraphicsWidget.h \
|
---|
1094 | src/extradata/UIExtraDataDefs.h \
|
---|
1095 | src/extradata/UIExtraDataManager.h \
|
---|
1096 | src/globals/UIActionPool.h \
|
---|
1097 | src/globals/UIActionPoolManager.h \
|
---|
1098 | src/globals/UIActionPoolRuntime.h \
|
---|
1099 | src/globals/UIAnimationFramework.h \
|
---|
1100 | src/globals/UIDesktopWidgetWatchdog.h \
|
---|
1101 | src/globals/UIMainEventListener.h \
|
---|
1102 | src/globals/UIMessageCenter.h \
|
---|
1103 | src/globals/UIModalWindowManager.h \
|
---|
1104 | src/globals/UIPopupCenter.h \
|
---|
1105 | src/globals/UIProgressEventHandler.h \
|
---|
1106 | src/globals/UIShortcutPool.h \
|
---|
1107 | src/globals/UIThreadPool.h \
|
---|
1108 | src/globals/UIVirtualBoxEventHandler.h \
|
---|
1109 | src/globals/VBoxGlobal.h \
|
---|
1110 | src/globals/VBoxUtils.h \
|
---|
1111 | src/logviewer/UIVMLogPage.h \
|
---|
1112 | src/logviewer/UIVMLogViewerBookmarksPanel.h \
|
---|
1113 | src/logviewer/UIVMLogViewerDialog.h \
|
---|
1114 | src/logviewer/UIVMLogViewerFilterPanel.h \
|
---|
1115 | src/logviewer/UIVMLogViewerOptionsPanel.h \
|
---|
1116 | src/logviewer/UIVMLogViewerPanel.h \
|
---|
1117 | src/logviewer/UIVMLogViewerSearchPanel.h \
|
---|
1118 | src/logviewer/UIVMLogViewerTextEdit.h \
|
---|
1119 | src/logviewer/UIVMLogViewerWidget.h \
|
---|
1120 | src/medium/UIFDCreationDialog.h \
|
---|
1121 | src/medium/UIMediumEnumerator.h \
|
---|
1122 | src/medium/UIMediumItem.h \
|
---|
1123 | src/medium/UIMediumSelector.h \
|
---|
1124 | src/settings/UISettingsDialog.h \
|
---|
1125 | src/settings/UISettingsDialogSpecific.h \
|
---|
1126 | src/settings/UISettingsPage.h \
|
---|
1127 | src/settings/UISettingsSelector.h \
|
---|
1128 | src/settings/UISettingsSerializer.h \
|
---|
1129 | src/settings/global/UIGlobalSettingsExtension.h \
|
---|
1130 | src/settings/global/UIGlobalSettingsGeneral.h \
|
---|
1131 | src/settings/global/UIGlobalSettingsInput.h \
|
---|
1132 | src/settings/global/UIGlobalSettingsLanguage.h \
|
---|
1133 | src/settings/global/UIGlobalSettingsDisplay.h \
|
---|
1134 | src/settings/global/UIGlobalSettingsNetwork.h \
|
---|
1135 | src/settings/global/UIGlobalSettingsNetworkDetailsNAT.h \
|
---|
1136 | src/settings/global/UIGlobalSettingsPortForwardingDlg.h \
|
---|
1137 | src/settings/machine/UIMachineSettingsAudio.h \
|
---|
1138 | src/settings/machine/UIMachineSettingsDisplay.h \
|
---|
1139 | src/settings/machine/UIMachineSettingsGeneral.h \
|
---|
1140 | src/settings/machine/UIMachineSettingsInterface.h \
|
---|
1141 | src/settings/machine/UIMachineSettingsNetwork.h \
|
---|
1142 | src/settings/machine/UIMachineSettingsPortForwardingDlg.h \
|
---|
1143 | src/settings/machine/UIMachineSettingsSF.h \
|
---|
1144 | src/settings/machine/UIMachineSettingsSFDetails.h \
|
---|
1145 | src/settings/machine/UIMachineSettingsSerial.h \
|
---|
1146 | src/settings/machine/UIMachineSettingsStorage.h \
|
---|
1147 | src/settings/machine/UIMachineSettingsSystem.h \
|
---|
1148 | src/settings/machine/UIMachineSettingsUSB.h \
|
---|
1149 | src/settings/machine/UIMachineSettingsUSBFilterDetails.h \
|
---|
1150 | src/widgets/UIAddDiskEncryptionPasswordDialog.h \
|
---|
1151 | src/widgets/UIBootTable.h \
|
---|
1152 | src/widgets/UIFilePathSelector.h \
|
---|
1153 | src/widgets/UIFilmContainer.h \
|
---|
1154 | src/widgets/UIGuestRAMSlider.h \
|
---|
1155 | src/widgets/UIHostComboEditor.h \
|
---|
1156 | src/widgets/UIHotKeyEditor.h \
|
---|
1157 | src/widgets/UIMediaComboBox.h \
|
---|
1158 | src/widgets/UIMediumSizeEditor.h \
|
---|
1159 | src/widgets/UIMenuBar.h \
|
---|
1160 | src/widgets/UIMenuBarEditorWindow.h \
|
---|
1161 | src/widgets/UINameAndSystemEditor.h \
|
---|
1162 | src/widgets/UIPopupBox.h \
|
---|
1163 | src/widgets/UIPopupPane.h \
|
---|
1164 | src/widgets/UIPopupPaneButtonPane.h \
|
---|
1165 | src/widgets/UIPopupPaneMessage.h \
|
---|
1166 | src/widgets/UIPopupPaneDetails.h \
|
---|
1167 | src/widgets/UIPopupStack.h \
|
---|
1168 | src/widgets/UIPopupStackViewport.h \
|
---|
1169 | src/widgets/UIPortForwardingTable.h \
|
---|
1170 | src/widgets/UIProgressDialog.h \
|
---|
1171 | src/widgets/UIScaleFactorEditor.h \
|
---|
1172 | src/widgets/UISlidingToolBar.h \
|
---|
1173 | src/widgets/UISpecialControls.h \
|
---|
1174 | src/widgets/UIStatusBarEditorWindow.h \
|
---|
1175 | src/widgets/UIToolBar.h \
|
---|
1176 | src/widgets/UIWarningPane.h \
|
---|
1177 | src/wizards/UIWizard.h \
|
---|
1178 | src/wizards/UIWizardPage.h \
|
---|
1179 | src/wizards/newvd/UIWizardNewVD.h \
|
---|
1180 | src/wizards/newvd/UIWizardNewVDPageBasic1.h \
|
---|
1181 | src/wizards/newvd/UIWizardNewVDPageBasic2.h \
|
---|
1182 | src/wizards/newvd/UIWizardNewVDPageBasic3.h \
|
---|
1183 | src/wizards/newvd/UIWizardNewVDPageExpert.h
|
---|
1184 |
|
---|
1185 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1186 | VBoxGlobal_QT_MOCHDRS += \
|
---|
1187 | src/net/UIDownloader.h \
|
---|
1188 | src/net/UIDownloaderAdditions.h \
|
---|
1189 | src/net/UIDownloaderExtensionPack.h \
|
---|
1190 | src/net/UIDownloaderUserManual.h \
|
---|
1191 | src/net/UINetworkCustomer.h \
|
---|
1192 | src/net/UINetworkManager.h \
|
---|
1193 | src/net/UINetworkManagerDialog.h \
|
---|
1194 | src/net/UINetworkManagerIndicator.h \
|
---|
1195 | src/net/UINetworkRequest.h \
|
---|
1196 | src/net/UINetworkRequestWidget.h \
|
---|
1197 | src/net/UINetworkReply.h \
|
---|
1198 | src/net/UIUpdateManager.h \
|
---|
1199 | src/settings/global/UIGlobalSettingsProxy.h \
|
---|
1200 | src/settings/global/UIGlobalSettingsUpdate.h
|
---|
1201 | endif
|
---|
1202 |
|
---|
1203 | VBoxGlobal_QT_MOCHDRS.darwin += \
|
---|
1204 | src/platform/darwin/UICocoaSpecialControls.h \
|
---|
1205 | src/platform/darwin/UIWindowMenuManager.h
|
---|
1206 |
|
---|
1207 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1208 |
|
---|
1209 |
|
---|
1210 | #
|
---|
1211 | # VirtualBox Manager Application
|
---|
1212 | # Sources containing local definitions of classes that use the Q_OBJECT macro.
|
---|
1213 | #
|
---|
1214 | VirtualBox_QT_MOCSRCS = \
|
---|
1215 | src/hostnetwork/UIHostNetworkManager.cpp \
|
---|
1216 | src/snapshots/UISnapshotDetailsWidget.cpp \
|
---|
1217 | src/snapshots/UISnapshotPane.cpp \
|
---|
1218 | src/widgets/UIApplianceEditorWidget.cpp \
|
---|
1219 | src/widgets/UIMenuToolBar.cpp \
|
---|
1220 | src/widgets/UITabBar.cpp \
|
---|
1221 | src/wizards/importappliance/UIWizardImportApp.cpp
|
---|
1222 |
|
---|
1223 | VirtualBox_QT_MOCSRCS += \
|
---|
1224 | src/manager/UIWelcomePane.cpp
|
---|
1225 |
|
---|
1226 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1227 | VirtualBox_QT_MOCSRCS += \
|
---|
1228 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1229 | src/extensions/QIArrowSplitter.cpp \
|
---|
1230 | src/extensions/QISplitter.cpp \
|
---|
1231 | src/extradata/UIExtraDataManager.cpp \
|
---|
1232 | src/globals/UIActionPool.cpp \
|
---|
1233 | src/globals/UIActionPoolManager.cpp \
|
---|
1234 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1235 | src/globals/UIMainEventListener.cpp \
|
---|
1236 | src/globals/UIThreadPool.cpp \
|
---|
1237 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1238 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1239 | src/logviewer/UIVMLogViewerSearchPanel.cpp \
|
---|
1240 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1241 | src/medium/UIMediumEnumerator.cpp \
|
---|
1242 | src/medium/UIMediumSelector.cpp \
|
---|
1243 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1244 | src/runtime/UIFrameBuffer.cpp \
|
---|
1245 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1246 | src/guestctrl/UIFileManager.cpp \
|
---|
1247 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1248 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1249 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1250 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1251 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1252 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1253 | src/settings/global/UIGlobalSettingsExtension.cpp \
|
---|
1254 | src/settings/global/UIGlobalSettingsInput.cpp \
|
---|
1255 | src/settings/global/UIGlobalSettingsLanguage.cpp \
|
---|
1256 | src/settings/global/UIGlobalSettingsNetwork.cpp \
|
---|
1257 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1258 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1259 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1260 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1261 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1262 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1263 | src/widgets/UIFilmContainer.cpp \
|
---|
1264 | src/widgets/UIHotKeyEditor.cpp \
|
---|
1265 | src/widgets/UIMiniToolBar.cpp \
|
---|
1266 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1267 | src/widgets/UIStatusBarEditorWindow.cpp
|
---|
1268 |
|
---|
1269 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1270 | VirtualBox_QT_MOCSRCS += \
|
---|
1271 | src/net/UINetworkReply.cpp \
|
---|
1272 | src/net/UIUpdateManager.cpp
|
---|
1273 | endif
|
---|
1274 |
|
---|
1275 | ifdef VBOX_WITH_XPCOM
|
---|
1276 | VirtualBox_QT_MOCSRCS += \
|
---|
1277 | src/globals/COMDefs.cpp
|
---|
1278 | endif
|
---|
1279 |
|
---|
1280 | VirtualBox_QT_MOCSRCS.darwin += \
|
---|
1281 | src/platform/darwin/UIWindowMenuManager.cpp
|
---|
1282 |
|
---|
1283 | VirtualBox_QT_MOCSRCS.linux += \
|
---|
1284 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1285 | VirtualBox_QT_MOCSRCS.solaris += \
|
---|
1286 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1287 | VirtualBox_QT_MOCSRCS.freebsd += \
|
---|
1288 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1289 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1290 |
|
---|
1291 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1292 |
|
---|
1293 | #
|
---|
1294 | # VirtualBox Virtual Machine Application
|
---|
1295 | # Sources containing local definitions of classes that use the Q_OBJECT macro.
|
---|
1296 | #
|
---|
1297 | VirtualBoxVM_QT_MOCSRCS = \
|
---|
1298 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1299 | src/runtime/UIFrameBuffer.cpp \
|
---|
1300 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1301 | src/guestctrl/UIFileManager.cpp \
|
---|
1302 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1303 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1304 | src/guestctrl/UIFileManagerSessionPanel.cpp \
|
---|
1305 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1306 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1307 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1308 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1309 | src/widgets/UIMiniToolBar.cpp
|
---|
1310 |
|
---|
1311 |
|
---|
1312 | #
|
---|
1313 | # VirtualBox - GUI Global Shared Library.
|
---|
1314 | # Sources.
|
---|
1315 | #
|
---|
1316 | VBoxGlobal_QT_MOCSRCS = \
|
---|
1317 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1318 | src/extensions/QIArrowSplitter.cpp \
|
---|
1319 | src/extensions/QISplitter.cpp \
|
---|
1320 | src/extradata/UIExtraDataManager.cpp \
|
---|
1321 | src/globals/UIActionPool.cpp \
|
---|
1322 | src/globals/UIActionPoolManager.cpp \
|
---|
1323 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1324 | src/globals/UIMainEventListener.cpp \
|
---|
1325 | src/globals/UIThreadPool.cpp \
|
---|
1326 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1327 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1328 | src/logviewer/UIVMLogViewerSearchPanel.cpp \
|
---|
1329 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1330 | src/medium/UIMediumEnumerator.cpp \
|
---|
1331 | src/medium/UIMediumSelector.cpp \
|
---|
1332 | src/settings/global/UIGlobalSettingsExtension.cpp \
|
---|
1333 | src/settings/global/UIGlobalSettingsInput.cpp \
|
---|
1334 | src/settings/global/UIGlobalSettingsLanguage.cpp \
|
---|
1335 | src/settings/global/UIGlobalSettingsNetwork.cpp \
|
---|
1336 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1337 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1338 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1339 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1340 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1341 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1342 | src/widgets/UIFilmContainer.cpp \
|
---|
1343 | src/widgets/UIHotKeyEditor.cpp \
|
---|
1344 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1345 | src/widgets/UIStatusBarEditorWindow.cpp
|
---|
1346 |
|
---|
1347 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1348 | VBoxGlobal_QT_MOCSRCS += \
|
---|
1349 | src/net/UINetworkReply.cpp \
|
---|
1350 | src/net/UIUpdateManager.cpp
|
---|
1351 | endif
|
---|
1352 |
|
---|
1353 | ifdef VBOX_WITH_XPCOM
|
---|
1354 | VBoxGlobal_QT_MOCSRCS += \
|
---|
1355 | src/globals/COMDefs.cpp
|
---|
1356 | endif
|
---|
1357 |
|
---|
1358 | VBoxGlobal_QT_MOCSRCS.darwin += \
|
---|
1359 | src/platform/darwin/UIWindowMenuManager.cpp
|
---|
1360 |
|
---|
1361 | VBoxGlobal_QT_MOCSRCS.linux += \
|
---|
1362 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1363 | VBoxGlobal_QT_MOCSRCS.solaris += \
|
---|
1364 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1365 | VBoxGlobal_QT_MOCSRCS.freebsd += \
|
---|
1366 | src/globals/UIDesktopWidgetWatchdog.cpp
|
---|
1367 |
|
---|
1368 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1369 |
|
---|
1370 |
|
---|
1371 | #
|
---|
1372 | # VirtualBox Manager Application
|
---|
1373 | # Sources.
|
---|
1374 | #
|
---|
1375 | VirtualBox_SOURCES = \
|
---|
1376 | src/main.cpp \
|
---|
1377 | src/cloud/UICloudProfileDetailsWidget.cpp \
|
---|
1378 | src/cloud/UICloudProfileManager.cpp \
|
---|
1379 | src/globals/UIStarter.cpp \
|
---|
1380 | src/hostnetwork/UIHostNetworkDetailsWidget.cpp \
|
---|
1381 | src/hostnetwork/UIHostNetworkManager.cpp \
|
---|
1382 | src/hostnetwork/UIHostNetworkUtils.cpp \
|
---|
1383 | src/medium/UIMediumDetailsWidget.cpp \
|
---|
1384 | src/medium/UIMediumManager.cpp \
|
---|
1385 | src/snapshots/UISnapshotDetailsWidget.cpp \
|
---|
1386 | src/snapshots/UISnapshotPane.cpp \
|
---|
1387 | src/widgets/UIApplianceEditorWidget.cpp \
|
---|
1388 | src/widgets/UIApplianceExportEditorWidget.cpp \
|
---|
1389 | src/widgets/UIApplianceImportEditorWidget.cpp \
|
---|
1390 | src/widgets/UIEmptyFilePathSelector.cpp \
|
---|
1391 | src/widgets/UIGuestOSTypeSelectionButton.cpp \
|
---|
1392 | src/widgets/UILineTextEdit.cpp \
|
---|
1393 | src/widgets/UISlidingAnimation.cpp \
|
---|
1394 | src/widgets/UISlidingWidget.cpp \
|
---|
1395 | src/widgets/UITabBar.cpp \
|
---|
1396 | src/widgets/UIMenuToolBar.cpp \
|
---|
1397 | src/widgets/graphics/UIGraphicsButton.cpp \
|
---|
1398 | src/widgets/graphics/UIGraphicsRotatorButton.cpp \
|
---|
1399 | src/widgets/graphics/UIGraphicsZoomButton.cpp \
|
---|
1400 | src/widgets/graphics/UIGraphicsToolBar.cpp \
|
---|
1401 | src/widgets/graphics/UIGraphicsTextPane.cpp \
|
---|
1402 | src/wizards/newvm/UIWizardNewVM.cpp \
|
---|
1403 | src/wizards/newvm/UIWizardNewVMPageBasic1.cpp \
|
---|
1404 | src/wizards/newvm/UIWizardNewVMPageBasic2.cpp \
|
---|
1405 | src/wizards/newvm/UIWizardNewVMPageBasic3.cpp \
|
---|
1406 | src/wizards/newvm/UIWizardNewVMPageExpert.cpp \
|
---|
1407 | src/wizards/clonevm/UIWizardCloneVM.cpp \
|
---|
1408 | src/wizards/clonevm/UIWizardCloneVMPageBasic1.cpp \
|
---|
1409 | src/wizards/clonevm/UIWizardCloneVMPageBasic2.cpp \
|
---|
1410 | src/wizards/clonevm/UIWizardCloneVMPageBasic3.cpp \
|
---|
1411 | src/wizards/clonevm/UIWizardCloneVMPageExpert.cpp \
|
---|
1412 | src/wizards/clonevd/UIWizardCloneVD.cpp \
|
---|
1413 | src/wizards/clonevd/UIWizardCloneVDPageBasic1.cpp \
|
---|
1414 | src/wizards/clonevd/UIWizardCloneVDPageBasic2.cpp \
|
---|
1415 | src/wizards/clonevd/UIWizardCloneVDPageBasic3.cpp \
|
---|
1416 | src/wizards/clonevd/UIWizardCloneVDPageBasic4.cpp \
|
---|
1417 | src/wizards/clonevd/UIWizardCloneVDPageExpert.cpp \
|
---|
1418 | src/wizards/exportappliance/UIWizardExportApp.cpp \
|
---|
1419 | src/wizards/exportappliance/UIWizardExportAppPageBasic1.cpp \
|
---|
1420 | src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp \
|
---|
1421 | src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp \
|
---|
1422 | src/wizards/exportappliance/UIWizardExportAppPageExpert.cpp \
|
---|
1423 | src/wizards/importappliance/UIWizardImportApp.cpp \
|
---|
1424 | src/wizards/importappliance/UIWizardImportAppPageBasic1.cpp \
|
---|
1425 | src/wizards/importappliance/UIWizardImportAppPageBasic2.cpp \
|
---|
1426 | src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
|
---|
1427 |
|
---|
1428 | VirtualBox_SOURCES += \
|
---|
1429 | src/manager/UIErrorPane.cpp \
|
---|
1430 | src/manager/UIToolPaneGlobal.cpp \
|
---|
1431 | src/manager/UIToolPaneMachine.cpp \
|
---|
1432 | src/manager/UIVirtualBoxManager.cpp \
|
---|
1433 | src/manager/UIVirtualBoxManagerWidget.cpp \
|
---|
1434 | src/manager/UIVirtualMachineItem.cpp \
|
---|
1435 | src/manager/UIWelcomePane.cpp \
|
---|
1436 | src/manager/chooser/UIChooser.cpp \
|
---|
1437 | src/manager/chooser/UIChooserModel.cpp \
|
---|
1438 | src/manager/chooser/UIChooserView.cpp \
|
---|
1439 | src/manager/chooser/UIChooserHandlerMouse.cpp \
|
---|
1440 | src/manager/chooser/UIChooserHandlerKeyboard.cpp \
|
---|
1441 | src/manager/chooser/UIChooserItem.cpp \
|
---|
1442 | src/manager/chooser/UIChooserItemGroup.cpp \
|
---|
1443 | src/manager/chooser/UIChooserItemGlobal.cpp \
|
---|
1444 | src/manager/chooser/UIChooserItemMachine.cpp \
|
---|
1445 | src/manager/details/UIDetails.cpp \
|
---|
1446 | src/manager/details/UIDetailsContextMenu.cpp \
|
---|
1447 | src/manager/details/UIDetailsModel.cpp \
|
---|
1448 | src/manager/details/UIDetailsView.cpp \
|
---|
1449 | src/manager/details/UIDetailsItem.cpp \
|
---|
1450 | src/manager/details/UIDetailsGroup.cpp \
|
---|
1451 | src/manager/details/UIDetailsSet.cpp \
|
---|
1452 | src/manager/details/UIDetailsElement.cpp \
|
---|
1453 | src/manager/details/UIDetailsElements.cpp \
|
---|
1454 | src/manager/details/UIMachinePreview.cpp \
|
---|
1455 | src/manager/tools/UITools.cpp \
|
---|
1456 | src/manager/tools/UIToolsModel.cpp \
|
---|
1457 | src/manager/tools/UIToolsView.cpp \
|
---|
1458 | src/manager/tools/UIToolsHandlerMouse.cpp \
|
---|
1459 | src/manager/tools/UIToolsHandlerKeyboard.cpp \
|
---|
1460 | src/manager/tools/UIToolsItem.cpp
|
---|
1461 |
|
---|
1462 | VirtualBox_SOURCES.darwin += \
|
---|
1463 | src/platform/darwin/UIDesktopServices_darwin.cpp \
|
---|
1464 | src/platform/darwin/UIDesktopServices_darwin_cocoa.mm
|
---|
1465 |
|
---|
1466 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
---|
1467 | VirtualBox_SOURCES += \
|
---|
1468 | src/platform/x11/UIDesktopServices_x11.cpp
|
---|
1469 | endif
|
---|
1470 |
|
---|
1471 | VirtualBox_SOURCES.win += \
|
---|
1472 | src/platform/win/VirtualBox.rc \
|
---|
1473 | src/platform/win/UIDesktopServices_win.cpp
|
---|
1474 |
|
---|
1475 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
1476 | VirtualBox_SOURCES += \
|
---|
1477 | src/VBox2DHelpers.cpp \
|
---|
1478 | src/VBoxFBOverlay.cpp \
|
---|
1479 | src/VBoxGLSupportInfo.cpp
|
---|
1480 | endif
|
---|
1481 |
|
---|
1482 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1483 | VirtualBox_SOURCES += \
|
---|
1484 | src/VBoxAboutDlg.cpp \
|
---|
1485 | src/VBoxLicenseViewer.cpp \
|
---|
1486 | src/UITakeSnapshotDialog.cpp \
|
---|
1487 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1488 | src/extensions/QIArrowButtonPress.cpp \
|
---|
1489 | src/extensions/QIArrowButtonSwitch.cpp \
|
---|
1490 | src/extensions/QIArrowSplitter.cpp \
|
---|
1491 | src/extensions/QIComboBox.cpp \
|
---|
1492 | src/extensions/QIDialog.cpp \
|
---|
1493 | src/extensions/QIDialogButtonBox.cpp \
|
---|
1494 | src/extensions/QIFileDialog.cpp \
|
---|
1495 | src/extensions/QIFlowLayout.cpp \
|
---|
1496 | src/extensions/QIInputDialog.cpp \
|
---|
1497 | src/extensions/QILabel.cpp \
|
---|
1498 | src/extensions/QILabelSeparator.cpp \
|
---|
1499 | src/extensions/QILineEdit.cpp \
|
---|
1500 | src/extensions/QIMainDialog.cpp \
|
---|
1501 | src/extensions/QIMainWindow.cpp \
|
---|
1502 | src/extensions/QIManagerDialog.cpp \
|
---|
1503 | src/extensions/QIMenu.cpp \
|
---|
1504 | src/extensions/QIMessageBox.cpp \
|
---|
1505 | src/extensions/QIProcess.cpp \
|
---|
1506 | src/extensions/QIRichTextLabel.cpp \
|
---|
1507 | src/extensions/QIRichToolButton.cpp \
|
---|
1508 | src/extensions/QISplitter.cpp \
|
---|
1509 | src/extensions/QIStatusBar.cpp \
|
---|
1510 | src/extensions/QIStatusBarIndicator.cpp \
|
---|
1511 | src/extensions/QIStyledItemDelegate.cpp \
|
---|
1512 | src/extensions/QITableView.cpp \
|
---|
1513 | src/extensions/QITabWidget.cpp \
|
---|
1514 | src/extensions/QIToolButton.cpp \
|
---|
1515 | src/extensions/QITreeView.cpp \
|
---|
1516 | src/extensions/QITreeWidget.cpp \
|
---|
1517 | src/extensions/QIWidgetValidator.cpp \
|
---|
1518 | src/extensions/graphics/QIGraphicsView.cpp \
|
---|
1519 | src/extensions/graphics/QIGraphicsWidget.cpp \
|
---|
1520 | src/extradata/UIExtraDataDefs.cpp \
|
---|
1521 | src/extradata/UIExtraDataManager.cpp \
|
---|
1522 | src/converter/UIConverter.cpp \
|
---|
1523 | src/converter/UIConverterBackendCOM.cpp \
|
---|
1524 | src/converter/UIConverterBackendGlobal.cpp \
|
---|
1525 | src/globals/COMDefs.cpp \
|
---|
1526 | src/globals/UIActionPool.cpp \
|
---|
1527 | src/globals/UIActionPoolManager.cpp \
|
---|
1528 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1529 | src/globals/UIAnimationFramework.cpp \
|
---|
1530 | src/globals/UICustomFileSystemModel.cpp \
|
---|
1531 | src/globals/UIDefs.cpp \
|
---|
1532 | src/globals/UIDesktopWidgetWatchdog.cpp \
|
---|
1533 | src/globals/UIErrorString.cpp \
|
---|
1534 | src/globals/UIIconPool.cpp \
|
---|
1535 | src/globals/UIImageTools.cpp \
|
---|
1536 | src/globals/UIMainEventListener.cpp \
|
---|
1537 | src/globals/UIMessageCenter.cpp \
|
---|
1538 | src/globals/UIModalWindowManager.cpp \
|
---|
1539 | src/globals/UIPathOperations.cpp \
|
---|
1540 | src/globals/UIPopupCenter.cpp \
|
---|
1541 | src/globals/UIProgressEventHandler.cpp \
|
---|
1542 | src/globals/UIShortcutPool.cpp \
|
---|
1543 | src/globals/UIThreadPool.cpp \
|
---|
1544 | src/globals/UIVersion.cpp \
|
---|
1545 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1546 | src/globals/VBoxGlobal.cpp \
|
---|
1547 | src/logviewer/UIVMLogPage.cpp \
|
---|
1548 | src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
|
---|
1549 | src/logviewer/UIVMLogViewerDialog.cpp \
|
---|
1550 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1551 | src/logviewer/UIVMLogViewerOptionsPanel.cpp \
|
---|
1552 | src/logviewer/UIVMLogViewerPanel.cpp \
|
---|
1553 | src/logviewer/UIVMLogViewerSearchPanel.cpp \
|
---|
1554 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1555 | src/logviewer/UIVMLogViewerWidget.cpp \
|
---|
1556 | src/medium/UIFDCreationDialog.cpp \
|
---|
1557 | src/medium/UIMedium.cpp \
|
---|
1558 | src/medium/UIMediumDefs.cpp \
|
---|
1559 | src/medium/UIMediumEnumerator.cpp \
|
---|
1560 | src/medium/UIMediumItem.cpp \
|
---|
1561 | src/medium/UIMediumSelector.cpp \
|
---|
1562 | src/objects/UIRichTextString.cpp \
|
---|
1563 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1564 | src/runtime/UIFrameBuffer.cpp \
|
---|
1565 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1566 | src/runtime/UIKeyboardHandler.cpp \
|
---|
1567 | src/runtime/UIMachine.cpp \
|
---|
1568 | src/runtime/UIMachineLogic.cpp \
|
---|
1569 | src/runtime/UIMachineView.cpp \
|
---|
1570 | src/runtime/UIMachineWindow.cpp \
|
---|
1571 | src/runtime/UIMouseHandler.cpp \
|
---|
1572 | src/runtime/UIMultiScreenLayout.cpp \
|
---|
1573 | src/runtime/UISession.cpp \
|
---|
1574 | src/runtime/UIVMCloseDialog.cpp \
|
---|
1575 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
|
---|
1576 | src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
|
---|
1577 | src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
|
---|
1578 | src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
|
---|
1579 | src/runtime/information/UIInformationConfiguration.cpp \
|
---|
1580 | src/runtime/information/UIInformationDataItem.cpp \
|
---|
1581 | src/runtime/information/UIInformationItem.cpp \
|
---|
1582 | src/runtime/information/UIInformationModel.cpp \
|
---|
1583 | src/runtime/information/UIInformationRuntime.cpp \
|
---|
1584 | src/runtime/information/UIInformationView.cpp \
|
---|
1585 | src/runtime/information/UIVMInformationDialog.cpp \
|
---|
1586 | src/guestctrl/UIGuestControlConsole.cpp \
|
---|
1587 | src/guestctrl/UIFileManager.cpp \
|
---|
1588 | src/guestctrl/UIFileManagerDialog.cpp \
|
---|
1589 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1590 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1591 | src/guestctrl/UIFileManagerOptionsPanel.cpp \
|
---|
1592 | src/guestctrl/UIFileManagerPanel.cpp \
|
---|
1593 | src/guestctrl/UIFileManagerSessionPanel.cpp \
|
---|
1594 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1595 | src/guestctrl/UIGuestControlInterface.cpp \
|
---|
1596 | src/guestctrl/UIGuestControlTreeItem.cpp \
|
---|
1597 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1598 | src/guestctrl/UIGuestProcessControlDialog.cpp \
|
---|
1599 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1600 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1601 | src/runtime/normal/UIKeyboardHandlerNormal.cpp \
|
---|
1602 | src/runtime/normal/UIMachineLogicNormal.cpp \
|
---|
1603 | src/runtime/normal/UIMachineViewNormal.cpp \
|
---|
1604 | src/runtime/normal/UIMachineWindowNormal.cpp \
|
---|
1605 | src/runtime/scale/UIKeyboardHandlerScale.cpp \
|
---|
1606 | src/runtime/scale/UIMachineLogicScale.cpp \
|
---|
1607 | src/runtime/scale/UIMachineViewScale.cpp \
|
---|
1608 | src/runtime/scale/UIMachineWindowScale.cpp \
|
---|
1609 | src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
|
---|
1610 | src/runtime/seamless/UIMachineLogicSeamless.cpp \
|
---|
1611 | src/runtime/seamless/UIMachineViewSeamless.cpp \
|
---|
1612 | src/runtime/seamless/UIMachineWindowSeamless.cpp \
|
---|
1613 | src/settings/UISettingsDefs.cpp \
|
---|
1614 | src/settings/UISettingsDialog.cpp \
|
---|
1615 | src/settings/UISettingsDialogSpecific.cpp \
|
---|
1616 | src/settings/UISettingsPage.cpp \
|
---|
1617 | src/settings/UISettingsSelector.cpp \
|
---|
1618 | src/settings/UISettingsSerializer.cpp \
|
---|
1619 | src/settings/global/UIGlobalSettingsExtension.cpp \
|
---|
1620 | src/settings/global/UIGlobalSettingsGeneral.cpp \
|
---|
1621 | src/settings/global/UIGlobalSettingsInput.cpp \
|
---|
1622 | src/settings/global/UIGlobalSettingsLanguage.cpp \
|
---|
1623 | src/settings/global/UIGlobalSettingsDisplay.cpp \
|
---|
1624 | src/settings/global/UIGlobalSettingsNetwork.cpp \
|
---|
1625 | src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
|
---|
1626 | src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
|
---|
1627 | src/settings/machine/UIMachineSettingsAudio.cpp \
|
---|
1628 | src/settings/machine/UIMachineSettingsDisplay.cpp \
|
---|
1629 | src/settings/machine/UIMachineSettingsGeneral.cpp \
|
---|
1630 | src/settings/machine/UIMachineSettingsInterface.cpp \
|
---|
1631 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1632 | src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
|
---|
1633 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1634 | src/settings/machine/UIMachineSettingsSFDetails.cpp \
|
---|
1635 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1636 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1637 | src/settings/machine/UIMachineSettingsSystem.cpp \
|
---|
1638 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1639 | src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
|
---|
1640 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1641 | src/widgets/UIBootTable.cpp \
|
---|
1642 | src/widgets/UIFilePathSelector.cpp \
|
---|
1643 | src/widgets/UIFilmContainer.cpp \
|
---|
1644 | src/widgets/UIGuestRAMSlider.cpp \
|
---|
1645 | src/widgets/UIHostComboEditor.cpp \
|
---|
1646 | src/widgets/UIHotKeyEditor.cpp \
|
---|
1647 | src/widgets/UIMediaComboBox.cpp \
|
---|
1648 | src/widgets/UIMediumSizeEditor.cpp \
|
---|
1649 | src/widgets/UIMenuBar.cpp \
|
---|
1650 | src/widgets/UIMenuBarEditorWindow.cpp \
|
---|
1651 | src/widgets/UIMiniToolBar.cpp \
|
---|
1652 | src/widgets/UINameAndSystemEditor.cpp \
|
---|
1653 | src/widgets/UIPopupBox.cpp \
|
---|
1654 | src/widgets/UIPopupPane.cpp \
|
---|
1655 | src/widgets/UIPopupPaneButtonPane.cpp \
|
---|
1656 | src/widgets/UIPopupPaneMessage.cpp \
|
---|
1657 | src/widgets/UIPopupPaneDetails.cpp \
|
---|
1658 | src/widgets/UIPopupStack.cpp \
|
---|
1659 | src/widgets/UIPopupStackViewport.cpp \
|
---|
1660 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1661 | src/widgets/UIProgressDialog.cpp \
|
---|
1662 | src/widgets/UIScaleFactorEditor.cpp \
|
---|
1663 | src/widgets/UISlidingToolBar.cpp \
|
---|
1664 | src/widgets/UISpecialControls.cpp \
|
---|
1665 | src/widgets/UIStatusBarEditorWindow.cpp \
|
---|
1666 | src/widgets/UIToolBar.cpp \
|
---|
1667 | src/widgets/UIWarningPane.cpp \
|
---|
1668 | src/wizards/UIWizard.cpp \
|
---|
1669 | src/wizards/UIWizardPage.cpp \
|
---|
1670 | src/wizards/firstrun/UIWizardFirstRun.cpp \
|
---|
1671 | src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp \
|
---|
1672 | src/wizards/newvd/UIWizardNewVD.cpp \
|
---|
1673 | src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
|
---|
1674 | src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
|
---|
1675 | src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
|
---|
1676 | src/wizards/newvd/UIWizardNewVDPageExpert.cpp
|
---|
1677 |
|
---|
1678 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
1679 | VirtualBox_SOURCES += \
|
---|
1680 | src/runtime/UIDnDHandler.cpp
|
---|
1681 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
1682 | VirtualBox_SOURCES += \
|
---|
1683 | src/runtime/UIDnDMIMEData.cpp
|
---|
1684 | VirtualBox_SOURCES.win += \
|
---|
1685 | src/runtime/UIDnDDropSource_win.cpp \
|
---|
1686 | src/runtime/UIDnDDataObject_win.cpp \
|
---|
1687 | src/runtime/UIDnDEnumFormat_win.cpp
|
---|
1688 | endif
|
---|
1689 | endif
|
---|
1690 |
|
---|
1691 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1692 | VirtualBox_SOURCES += \
|
---|
1693 | src/net/UIDownloader.cpp \
|
---|
1694 | src/net/UIDownloaderAdditions.cpp \
|
---|
1695 | src/net/UIDownloaderExtensionPack.cpp \
|
---|
1696 | src/net/UIDownloaderUserManual.cpp \
|
---|
1697 | src/net/UINetworkCustomer.cpp \
|
---|
1698 | src/net/UINetworkManager.cpp \
|
---|
1699 | src/net/UINetworkManagerDialog.cpp \
|
---|
1700 | src/net/UINetworkManagerIndicator.cpp \
|
---|
1701 | src/net/UINetworkRequest.cpp \
|
---|
1702 | src/net/UINetworkRequestWidget.cpp \
|
---|
1703 | src/net/UINetworkReply.cpp \
|
---|
1704 | src/net/UIUpdateDefs.cpp \
|
---|
1705 | src/net/UIUpdateManager.cpp \
|
---|
1706 | src/settings/global/UIGlobalSettingsProxy.cpp \
|
---|
1707 | src/settings/global/UIGlobalSettingsUpdate.cpp
|
---|
1708 | endif
|
---|
1709 |
|
---|
1710 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
---|
1711 | VirtualBox_SOURCES += \
|
---|
1712 | src/platform/x11/VBoxX11Helper.cpp \
|
---|
1713 | src/platform/x11/XKeyboard-new.cpp
|
---|
1714 | endif
|
---|
1715 |
|
---|
1716 | VirtualBox_SOURCES.win += \
|
---|
1717 | src/platform/win/VBoxUtils-win.cpp \
|
---|
1718 | src/platform/win/WinKeyboard.cpp
|
---|
1719 |
|
---|
1720 | VirtualBox_SOURCES.darwin += \
|
---|
1721 | src/platform/darwin/CocoaEventHelper.mm \
|
---|
1722 | src/platform/darwin/DarwinKeyboard.cpp \
|
---|
1723 | src/platform/darwin/UIAbstractDockIconPreview.cpp \
|
---|
1724 | src/platform/darwin/UICocoaApplication.mm \
|
---|
1725 | src/platform/darwin/UICocoaDockIconPreview.mm \
|
---|
1726 | src/platform/darwin/UICocoaSpecialControls.mm \
|
---|
1727 | src/platform/darwin/UIWindowMenuManager.cpp \
|
---|
1728 | src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
|
---|
1729 | src/platform/darwin/VBoxUtils-darwin.cpp
|
---|
1730 |
|
---|
1731 | endif # !VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1732 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
1733 |
|
---|
1734 | #
|
---|
1735 | # VirtualBox Virtual Machine Application
|
---|
1736 | # Sources.
|
---|
1737 | #
|
---|
1738 | VirtualBoxVM_SOURCES = \
|
---|
1739 | src/main.cpp \
|
---|
1740 | src/globals/UICustomFileSystemModel.cpp \
|
---|
1741 | src/globals/UIPathOperations.cpp \
|
---|
1742 | src/globals/UIStarter.cpp \
|
---|
1743 | src/runtime/UIConsoleEventHandler.cpp \
|
---|
1744 | src/runtime/UIFrameBuffer.cpp \
|
---|
1745 | src/runtime/UIIndicatorsPool.cpp \
|
---|
1746 | src/runtime/UIKeyboardHandler.cpp \
|
---|
1747 | src/runtime/UIMachine.cpp \
|
---|
1748 | src/runtime/UIMachineLogic.cpp \
|
---|
1749 | src/runtime/UIMachineView.cpp \
|
---|
1750 | src/runtime/UIMachineWindow.cpp \
|
---|
1751 | src/runtime/UIMouseHandler.cpp \
|
---|
1752 | src/runtime/UIMultiScreenLayout.cpp \
|
---|
1753 | src/runtime/UISession.cpp \
|
---|
1754 | src/runtime/UIVMCloseDialog.cpp \
|
---|
1755 | src/runtime/fullscreen/UIKeyboardHandlerFullscreen.cpp \
|
---|
1756 | src/runtime/fullscreen/UIMachineLogicFullscreen.cpp \
|
---|
1757 | src/runtime/fullscreen/UIMachineViewFullscreen.cpp \
|
---|
1758 | src/runtime/fullscreen/UIMachineWindowFullscreen.cpp \
|
---|
1759 | src/runtime/information/UIInformationConfiguration.cpp \
|
---|
1760 | src/runtime/information/UIInformationDataItem.cpp \
|
---|
1761 | src/runtime/information/UIInformationItem.cpp \
|
---|
1762 | src/runtime/information/UIInformationModel.cpp \
|
---|
1763 | src/runtime/information/UIInformationRuntime.cpp \
|
---|
1764 | src/runtime/information/UIInformationView.cpp \
|
---|
1765 | src/runtime/information/UIVMInformationDialog.cpp \
|
---|
1766 | src/guestctrl/UIGuestControlConsole.cpp \
|
---|
1767 | src/guestctrl/UIFileManager.cpp \
|
---|
1768 | src/guestctrl/UIFileManagerDialog.cpp \
|
---|
1769 | src/guestctrl/UIFileManagerLogPanel.cpp \
|
---|
1770 | src/guestctrl/UIFileManagerOperationsPanel.cpp \
|
---|
1771 | src/guestctrl/UIFileManagerOptionsPanel.cpp \
|
---|
1772 | src/guestctrl/UIFileManagerPanel.cpp \
|
---|
1773 | src/guestctrl/UIFileManagerSessionPanel.cpp \
|
---|
1774 | src/guestctrl/UIFileManagerTable.cpp \
|
---|
1775 | src/guestctrl/UIGuestControlInterface.cpp \
|
---|
1776 | src/guestctrl/UIGuestControlTreeItem.cpp \
|
---|
1777 | src/guestctrl/UIFileManagerGuestTable.cpp \
|
---|
1778 | src/guestctrl/UIGuestProcessControlWidget.cpp \
|
---|
1779 | src/guestctrl/UIGuestProcessControlDialog.cpp \
|
---|
1780 | src/guestctrl/UIFileManagerHostTable.cpp \
|
---|
1781 | src/runtime/normal/UIKeyboardHandlerNormal.cpp \
|
---|
1782 | src/runtime/normal/UIMachineLogicNormal.cpp \
|
---|
1783 | src/runtime/normal/UIMachineViewNormal.cpp \
|
---|
1784 | src/runtime/normal/UIMachineWindowNormal.cpp \
|
---|
1785 | src/runtime/scale/UIKeyboardHandlerScale.cpp \
|
---|
1786 | src/runtime/scale/UIMachineLogicScale.cpp \
|
---|
1787 | src/runtime/scale/UIMachineViewScale.cpp \
|
---|
1788 | src/runtime/scale/UIMachineWindowScale.cpp \
|
---|
1789 | src/runtime/seamless/UIKeyboardHandlerSeamless.cpp \
|
---|
1790 | src/runtime/seamless/UIMachineLogicSeamless.cpp \
|
---|
1791 | src/runtime/seamless/UIMachineViewSeamless.cpp \
|
---|
1792 | src/runtime/seamless/UIMachineWindowSeamless.cpp \
|
---|
1793 | src/widgets/UIMiniToolBar.cpp \
|
---|
1794 | src/wizards/firstrun/UIWizardFirstRun.cpp \
|
---|
1795 | src/wizards/firstrun/UIWizardFirstRunPageBasic.cpp
|
---|
1796 |
|
---|
1797 | ifdef VBOX_WITH_DRAG_AND_DROP
|
---|
1798 | VirtualBoxVM_SOURCES += \
|
---|
1799 | src/runtime/UIDnDHandler.cpp
|
---|
1800 | ifdef VBOX_WITH_DRAG_AND_DROP_GH
|
---|
1801 | VirtualBoxVM_SOURCES += \
|
---|
1802 | src/runtime/UIDnDMIMEData.cpp
|
---|
1803 | VirtualBoxVM_SOURCES.win += \
|
---|
1804 | src/runtime/UIDnDDropSource_win.cpp \
|
---|
1805 | src/runtime/UIDnDDataObject_win.cpp \
|
---|
1806 | src/runtime/UIDnDEnumFormat_win.cpp
|
---|
1807 | endif
|
---|
1808 | endif
|
---|
1809 |
|
---|
1810 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
1811 | VirtualBoxVM_SOURCES += \
|
---|
1812 | src/VBox2DHelpers.cpp \
|
---|
1813 | src/VBoxFBOverlay.cpp \
|
---|
1814 | src/VBoxGLSupportInfo.cpp
|
---|
1815 | endif
|
---|
1816 |
|
---|
1817 | VirtualBoxVM_SOURCES.darwin += \
|
---|
1818 | src/platform/darwin/UIAbstractDockIconPreview.cpp \
|
---|
1819 | src/platform/darwin/UICocoaDockIconPreview.mm
|
---|
1820 |
|
---|
1821 | VirtualBoxVM_SOURCES.win += \
|
---|
1822 | src/platform/win/VirtualBox.rc
|
---|
1823 |
|
---|
1824 |
|
---|
1825 | #
|
---|
1826 | # VirtualBox - GUI Global Shared Library.
|
---|
1827 | # Sources.
|
---|
1828 | #
|
---|
1829 | VBoxGlobal_SOURCES = \
|
---|
1830 | src/VBoxAboutDlg.cpp \
|
---|
1831 | src/VBoxLicenseViewer.cpp \
|
---|
1832 | src/UITakeSnapshotDialog.cpp \
|
---|
1833 | src/extensions/QIAdvancedSlider.cpp \
|
---|
1834 | src/extensions/QIArrowButtonPress.cpp \
|
---|
1835 | src/extensions/QIArrowButtonSwitch.cpp \
|
---|
1836 | src/extensions/QIArrowSplitter.cpp \
|
---|
1837 | src/extensions/QIComboBox.cpp \
|
---|
1838 | src/extensions/QIDialog.cpp \
|
---|
1839 | src/extensions/QIDialogButtonBox.cpp \
|
---|
1840 | src/extensions/QIFileDialog.cpp \
|
---|
1841 | src/extensions/QIFlowLayout.cpp \
|
---|
1842 | src/extensions/QIInputDialog.cpp \
|
---|
1843 | src/extensions/QILabel.cpp \
|
---|
1844 | src/extensions/QILabelSeparator.cpp \
|
---|
1845 | src/extensions/QILineEdit.cpp \
|
---|
1846 | src/extensions/QIMainDialog.cpp \
|
---|
1847 | src/extensions/QIMainWindow.cpp \
|
---|
1848 | src/extensions/QIManagerDialog.cpp \
|
---|
1849 | src/extensions/QIMenu.cpp \
|
---|
1850 | src/extensions/QIMessageBox.cpp \
|
---|
1851 | src/extensions/QIProcess.cpp \
|
---|
1852 | src/extensions/QIRichTextLabel.cpp \
|
---|
1853 | src/extensions/QIRichToolButton.cpp \
|
---|
1854 | src/extensions/QISplitter.cpp \
|
---|
1855 | src/extensions/QIStatusBar.cpp \
|
---|
1856 | src/extensions/QIStatusBarIndicator.cpp \
|
---|
1857 | src/extensions/QIStyledItemDelegate.cpp \
|
---|
1858 | src/extensions/QITableView.cpp \
|
---|
1859 | src/extensions/QITabWidget.cpp \
|
---|
1860 | src/extensions/QIToolButton.cpp \
|
---|
1861 | src/extensions/QITreeView.cpp \
|
---|
1862 | src/extensions/QITreeWidget.cpp \
|
---|
1863 | src/extensions/QIWidgetValidator.cpp \
|
---|
1864 | src/extensions/graphics/QIGraphicsView.cpp \
|
---|
1865 | src/extensions/graphics/QIGraphicsWidget.cpp \
|
---|
1866 | src/extradata/UIExtraDataDefs.cpp \
|
---|
1867 | src/extradata/UIExtraDataManager.cpp \
|
---|
1868 | src/converter/UIConverter.cpp \
|
---|
1869 | src/converter/UIConverterBackendCOM.cpp \
|
---|
1870 | src/converter/UIConverterBackendGlobal.cpp \
|
---|
1871 | src/globals/COMDefs.cpp \
|
---|
1872 | src/globals/UIActionPool.cpp \
|
---|
1873 | src/globals/UIActionPoolManager.cpp \
|
---|
1874 | src/globals/UIActionPoolRuntime.cpp \
|
---|
1875 | src/globals/UIAnimationFramework.cpp \
|
---|
1876 | src/globals/UIDefs.cpp \
|
---|
1877 | src/globals/UIDesktopWidgetWatchdog.cpp \
|
---|
1878 | src/globals/UIErrorString.cpp \
|
---|
1879 | src/globals/UIIconPool.cpp \
|
---|
1880 | src/globals/UIImageTools.cpp \
|
---|
1881 | src/globals/UIMainEventListener.cpp \
|
---|
1882 | src/globals/UIMessageCenter.cpp \
|
---|
1883 | src/globals/UIModalWindowManager.cpp \
|
---|
1884 | src/globals/UIPopupCenter.cpp \
|
---|
1885 | src/globals/UIProgressEventHandler.cpp \
|
---|
1886 | src/globals/UIShortcutPool.cpp \
|
---|
1887 | src/globals/UIThreadPool.cpp \
|
---|
1888 | src/globals/UIVersion.cpp \
|
---|
1889 | src/globals/UIVirtualBoxEventHandler.cpp \
|
---|
1890 | src/globals/VBoxGlobal.cpp \
|
---|
1891 | src/logviewer/UIVMLogPage.cpp \
|
---|
1892 | src/logviewer/UIVMLogViewerBookmarksPanel.cpp \
|
---|
1893 | src/logviewer/UIVMLogViewerDialog.cpp \
|
---|
1894 | src/logviewer/UIVMLogViewerFilterPanel.cpp \
|
---|
1895 | src/logviewer/UIVMLogViewerOptionsPanel.cpp \
|
---|
1896 | src/logviewer/UIVMLogViewerPanel.cpp \
|
---|
1897 | src/logviewer/UIVMLogViewerSearchPanel.cpp \
|
---|
1898 | src/logviewer/UIVMLogViewerTextEdit.cpp \
|
---|
1899 | src/logviewer/UIVMLogViewerWidget.cpp \
|
---|
1900 | src/medium/UIFDCreationDialog.cpp \
|
---|
1901 | src/medium/UIMedium.cpp \
|
---|
1902 | src/medium/UIMediumDefs.cpp \
|
---|
1903 | src/medium/UIMediumEnumerator.cpp \
|
---|
1904 | src/medium/UIMediumItem.cpp \
|
---|
1905 | src/medium/UIMediumSelector.cpp \
|
---|
1906 | src/objects/UIRichTextString.cpp \
|
---|
1907 | src/settings/UISettingsDefs.cpp \
|
---|
1908 | src/settings/UISettingsDialog.cpp \
|
---|
1909 | src/settings/UISettingsDialogSpecific.cpp \
|
---|
1910 | src/settings/UISettingsPage.cpp \
|
---|
1911 | src/settings/UISettingsSelector.cpp \
|
---|
1912 | src/settings/UISettingsSerializer.cpp \
|
---|
1913 | src/settings/global/UIGlobalSettingsExtension.cpp \
|
---|
1914 | src/settings/global/UIGlobalSettingsGeneral.cpp \
|
---|
1915 | src/settings/global/UIGlobalSettingsInput.cpp \
|
---|
1916 | src/settings/global/UIGlobalSettingsLanguage.cpp \
|
---|
1917 | src/settings/global/UIGlobalSettingsDisplay.cpp \
|
---|
1918 | src/settings/global/UIGlobalSettingsNetwork.cpp \
|
---|
1919 | src/settings/global/UIGlobalSettingsNetworkDetailsNAT.cpp \
|
---|
1920 | src/settings/global/UIGlobalSettingsPortForwardingDlg.cpp \
|
---|
1921 | src/settings/machine/UIMachineSettingsAudio.cpp \
|
---|
1922 | src/settings/machine/UIMachineSettingsDisplay.cpp \
|
---|
1923 | src/settings/machine/UIMachineSettingsGeneral.cpp \
|
---|
1924 | src/settings/machine/UIMachineSettingsInterface.cpp \
|
---|
1925 | src/settings/machine/UIMachineSettingsNetwork.cpp \
|
---|
1926 | src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp \
|
---|
1927 | src/settings/machine/UIMachineSettingsSF.cpp \
|
---|
1928 | src/settings/machine/UIMachineSettingsSFDetails.cpp \
|
---|
1929 | src/settings/machine/UIMachineSettingsSerial.cpp \
|
---|
1930 | src/settings/machine/UIMachineSettingsStorage.cpp \
|
---|
1931 | src/settings/machine/UIMachineSettingsSystem.cpp \
|
---|
1932 | src/settings/machine/UIMachineSettingsUSB.cpp \
|
---|
1933 | src/settings/machine/UIMachineSettingsUSBFilterDetails.cpp \
|
---|
1934 | src/widgets/UIAddDiskEncryptionPasswordDialog.cpp \
|
---|
1935 | src/widgets/UIBootTable.cpp \
|
---|
1936 | src/widgets/UIFilePathSelector.cpp \
|
---|
1937 | src/widgets/UIFilmContainer.cpp \
|
---|
1938 | src/widgets/UIGuestRAMSlider.cpp \
|
---|
1939 | src/widgets/UIHostComboEditor.cpp \
|
---|
1940 | src/widgets/UIHotKeyEditor.cpp \
|
---|
1941 | src/widgets/UIMediaComboBox.cpp \
|
---|
1942 | src/widgets/UIMediumSizeEditor.cpp \
|
---|
1943 | src/widgets/UIMenuBar.cpp \
|
---|
1944 | src/widgets/UIMenuBarEditorWindow.cpp \
|
---|
1945 | src/widgets/UINameAndSystemEditor.cpp \
|
---|
1946 | src/widgets/UIPopupBox.cpp \
|
---|
1947 | src/widgets/UIPopupPane.cpp \
|
---|
1948 | src/widgets/UIPopupPaneButtonPane.cpp \
|
---|
1949 | src/widgets/UIPopupPaneMessage.cpp \
|
---|
1950 | src/widgets/UIPopupPaneDetails.cpp \
|
---|
1951 | src/widgets/UIPopupStack.cpp \
|
---|
1952 | src/widgets/UIPopupStackViewport.cpp \
|
---|
1953 | src/widgets/UIPortForwardingTable.cpp \
|
---|
1954 | src/widgets/UIProgressDialog.cpp \
|
---|
1955 | src/widgets/UIScaleFactorEditor.cpp \
|
---|
1956 | src/widgets/UISlidingToolBar.cpp \
|
---|
1957 | src/widgets/UISpecialControls.cpp \
|
---|
1958 | src/widgets/UIStatusBarEditorWindow.cpp \
|
---|
1959 | src/widgets/UIToolBar.cpp \
|
---|
1960 | src/widgets/UIWarningPane.cpp \
|
---|
1961 | src/wizards/UIWizard.cpp \
|
---|
1962 | src/wizards/UIWizardPage.cpp \
|
---|
1963 | src/wizards/newvd/UIWizardNewVD.cpp \
|
---|
1964 | src/wizards/newvd/UIWizardNewVDPageBasic1.cpp \
|
---|
1965 | src/wizards/newvd/UIWizardNewVDPageBasic2.cpp \
|
---|
1966 | src/wizards/newvd/UIWizardNewVDPageBasic3.cpp \
|
---|
1967 | src/wizards/newvd/UIWizardNewVDPageExpert.cpp
|
---|
1968 |
|
---|
1969 | ifdef VBOX_GUI_WITH_NETWORK_MANAGER
|
---|
1970 | VBoxGlobal_SOURCES += \
|
---|
1971 | src/net/UIDownloader.cpp \
|
---|
1972 | src/net/UIDownloaderAdditions.cpp \
|
---|
1973 | src/net/UIDownloaderExtensionPack.cpp \
|
---|
1974 | src/net/UIDownloaderUserManual.cpp \
|
---|
1975 | src/net/UINetworkCustomer.cpp \
|
---|
1976 | src/net/UINetworkManager.cpp \
|
---|
1977 | src/net/UINetworkManagerDialog.cpp \
|
---|
1978 | src/net/UINetworkManagerIndicator.cpp \
|
---|
1979 | src/net/UINetworkRequest.cpp \
|
---|
1980 | src/net/UINetworkRequestWidget.cpp \
|
---|
1981 | src/net/UINetworkReply.cpp \
|
---|
1982 | src/net/UIUpdateDefs.cpp \
|
---|
1983 | src/net/UIUpdateManager.cpp \
|
---|
1984 | src/settings/global/UIGlobalSettingsProxy.cpp \
|
---|
1985 | src/settings/global/UIGlobalSettingsUpdate.cpp
|
---|
1986 | endif
|
---|
1987 |
|
---|
1988 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11
|
---|
1989 | VBoxGlobal_SOURCES += \
|
---|
1990 | src/platform/x11/VBoxX11Helper.cpp \
|
---|
1991 | src/platform/x11/XKeyboard-new.cpp
|
---|
1992 | endif
|
---|
1993 |
|
---|
1994 | VBoxGlobal_SOURCES.win += \
|
---|
1995 | src/platform/win/VBoxUtils-win.cpp \
|
---|
1996 | src/platform/win/WinKeyboard.cpp
|
---|
1997 |
|
---|
1998 | VBoxGlobal_SOURCES.darwin += \
|
---|
1999 | src/platform/darwin/CocoaEventHelper.mm \
|
---|
2000 | src/platform/darwin/DarwinKeyboard.cpp \
|
---|
2001 | src/platform/darwin/UICocoaApplication.mm \
|
---|
2002 | src/platform/darwin/UICocoaSpecialControls.mm \
|
---|
2003 | src/platform/darwin/UIWindowMenuManager.cpp \
|
---|
2004 | src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
|
---|
2005 | src/platform/darwin/VBoxUtils-darwin.cpp
|
---|
2006 |
|
---|
2007 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2008 | VBoxGlobal_SOURCES += \
|
---|
2009 | src/VBox2DHelpers.cpp \
|
---|
2010 | src/VBoxGLSupportInfo.cpp
|
---|
2011 | endif
|
---|
2012 |
|
---|
2013 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2014 |
|
---|
2015 |
|
---|
2016 | #
|
---|
2017 | # VirtualBox Manager Application
|
---|
2018 | # Deployment.
|
---|
2019 | #
|
---|
2020 | if defined(VBOX_WITH_ORACLE_QT) || defined(VBOX_WITH_QT_PAYLOAD)
|
---|
2021 | INSTALLS.linux += VirtualBox.qt.conf
|
---|
2022 | INSTALLS.solaris += VirtualBox.qt.conf
|
---|
2023 | VirtualBox.qt.conf_INST = $(INST_BIN)
|
---|
2024 | VirtualBox.qt.conf_MODE = 644
|
---|
2025 | VirtualBox.qt.conf_SOURCES = $(VirtualBox_0_OUTDIR)/qt.conf=>qt.conf
|
---|
2026 |
|
---|
2027 | $$(VirtualBox_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
|
---|
2028 | $(QUIET)$(RM) -f $@
|
---|
2029 | $(QUIET)$(APPEND) $@ "[Paths]"
|
---|
2030 | $(QUIET)$(APPEND) $@ "Plugins =" $(PATH_OUT)/$(INST_BIN)/plugins
|
---|
2031 | endif
|
---|
2032 |
|
---|
2033 |
|
---|
2034 | #
|
---|
2035 | # VirtualBox Manager Application
|
---|
2036 | # The Qt modules we're using.
|
---|
2037 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
2038 | #
|
---|
2039 | VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport
|
---|
2040 | VirtualBox_QT_MODULES.linux += X11Extras
|
---|
2041 | VirtualBox_QT_MODULES.solaris += X11Extras
|
---|
2042 | VirtualBox_QT_MODULES.freebsd += X11Extras
|
---|
2043 | VirtualBox_QT_MODULES.darwin += MacExtras
|
---|
2044 | VirtualBox_QT_MODULES.win += WinExtras
|
---|
2045 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2046 | VirtualBox_QT_MODULES += OpenGL
|
---|
2047 | endif
|
---|
2048 |
|
---|
2049 |
|
---|
2050 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2051 |
|
---|
2052 | #
|
---|
2053 | # VirtualBox Virtual Machine Application
|
---|
2054 | # The Qt modules we're using.
|
---|
2055 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
2056 | #
|
---|
2057 | VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport
|
---|
2058 | VirtualBoxVM_QT_MODULES.linux += X11Extras
|
---|
2059 | VirtualBoxVM_QT_MODULES.solaris += X11Extras
|
---|
2060 | VirtualBoxVM_QT_MODULES.freebsd += X11Extras
|
---|
2061 | VirtualBoxVM_QT_MODULES.darwin += MacExtras
|
---|
2062 | VirtualBoxVM_QT_MODULES.win += WinExtras
|
---|
2063 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2064 | VirtualBoxVM_QT_MODULES += OpenGL
|
---|
2065 | endif
|
---|
2066 |
|
---|
2067 |
|
---|
2068 | #
|
---|
2069 | # VirtualBox - GUI Global Shared Library.
|
---|
2070 | # The Qt modules we're using.
|
---|
2071 | # (The include directory and lib/framework for each module will be added by the Qt unit.)
|
---|
2072 | #
|
---|
2073 | VBoxGlobal_QT_MODULES = Core Gui Widgets
|
---|
2074 | VBoxGlobal_QT_MODULES.linux += X11Extras
|
---|
2075 | VBoxGlobal_QT_MODULES.solaris += X11Extras
|
---|
2076 | VBoxGlobal_QT_MODULES.freebsd += X11Extras
|
---|
2077 | VBoxGlobal_QT_MODULES.darwin += MacExtras
|
---|
2078 | VBoxGlobal_QT_MODULES.win += WinExtras
|
---|
2079 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2080 | VBoxGlobal_QT_MODULES += OpenGL
|
---|
2081 | endif
|
---|
2082 |
|
---|
2083 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2084 |
|
---|
2085 |
|
---|
2086 | # Pull in the ui files
|
---|
2087 | $(eval VirtualBox_SOURCES += $(FORMS))
|
---|
2088 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2089 | $(eval VirtualBoxVM_SOURCES += $(FORMS))
|
---|
2090 | $(eval VBoxGlobal_SOURCES += $(FORMS))
|
---|
2091 | endif
|
---|
2092 |
|
---|
2093 |
|
---|
2094 | # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
|
---|
2095 | VirtualBox_SOURCES += VirtualBox1.qrc
|
---|
2096 | VirtualBox1.qrc_RCCFLAGS = -name BASIC1
|
---|
2097 | VirtualBox_SOURCES += VirtualBox2.qrc
|
---|
2098 | VirtualBox2.qrc_RCCFLAGS = -name BASIC2
|
---|
2099 | VirtualBox_SOURCES += VirtualBox1_x2.qrc
|
---|
2100 | VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
|
---|
2101 | VirtualBox_SOURCES += VirtualBox2_x2.qrc
|
---|
2102 | VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
|
---|
2103 | VirtualBox_SOURCES += VirtualBox1_x3.qrc
|
---|
2104 | VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
|
---|
2105 | VirtualBox_SOURCES += VirtualBox2_x3.qrc
|
---|
2106 | VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
|
---|
2107 | VirtualBox_SOURCES += VirtualBox1_x4.qrc
|
---|
2108 | VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
|
---|
2109 | VirtualBox_SOURCES += VirtualBox2_x4.qrc
|
---|
2110 | VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
|
---|
2111 | VirtualBox_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
|
---|
2112 | $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
|
---|
2113 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2114 | VirtualBox_SOURCES += VirtualBoxShaders.qrc
|
---|
2115 | VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
|
---|
2116 | endif
|
---|
2117 |
|
---|
2118 |
|
---|
2119 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2120 | # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down).
|
---|
2121 | VirtualBoxVM_SOURCES += VirtualBox1.qrc
|
---|
2122 | VirtualBox1.qrc_RCCFLAGS = -name BASIC1
|
---|
2123 | VirtualBoxVM_SOURCES += VirtualBox2.qrc
|
---|
2124 | VirtualBox2.qrc_RCCFLAGS = -name BASIC2
|
---|
2125 | VirtualBoxVM_SOURCES += VirtualBox1_x2.qrc
|
---|
2126 | VirtualBox1_x2.qrc_RCCFLAGS = -name BASIC1_X2
|
---|
2127 | VirtualBoxVM_SOURCES += VirtualBox2_x2.qrc
|
---|
2128 | VirtualBox2_x2.qrc_RCCFLAGS = -name BASIC2_X2
|
---|
2129 | VirtualBoxVM_SOURCES += VirtualBox1_x3.qrc
|
---|
2130 | VirtualBox1_x3.qrc_RCCFLAGS = -name BASIC1_X3
|
---|
2131 | VirtualBoxVM_SOURCES += VirtualBox2_x3.qrc
|
---|
2132 | VirtualBox2_x3.qrc_RCCFLAGS = -name BASIC2_X3
|
---|
2133 | VirtualBoxVM_SOURCES += VirtualBox1_x4.qrc
|
---|
2134 | VirtualBox1_x4.qrc_RCCFLAGS = -name BASIC1_X4
|
---|
2135 | VirtualBoxVM_SOURCES += VirtualBox2_x4.qrc
|
---|
2136 | VirtualBox2_x4.qrc_RCCFLAGS = -name BASIC2_X4
|
---|
2137 | VirtualBoxVM_SOURCES += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
|
---|
2138 | $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name BRAND
|
---|
2139 | if defined(VBOX_WITH_VIDEOHWACCEL) || defined(VBOX_GUI_USE_QGL)
|
---|
2140 | VirtualBoxVM_SOURCES += VirtualBoxShaders.qrc
|
---|
2141 | VirtualBoxShaders.qrc_RCCFLAGS = -name SHADERS
|
---|
2142 | endif
|
---|
2143 | endif
|
---|
2144 |
|
---|
2145 |
|
---|
2146 | # Import the translation source from VBoxUI.pro and add the qt_xx_YY counterparts
|
---|
2147 | VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS) \
|
---|
2148 | $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts, $(filter nls/VirtualBox_%.ts,$(TRANSLATIONS)))
|
---|
2149 | # Compress the translation units.
|
---|
2150 | VirtualBox_LRCFLAGS = -silent
|
---|
2151 | # Where to install the translations (a separate install target, VirtualBox-nls-inst is created).
|
---|
2152 | VirtualBox_QT_TRANSLATIONS_INST = $(INST_BIN)nls/
|
---|
2153 | # All files which contain translatable strings.
|
---|
2154 | VirtualBox_VBOX_ALL_NLS_SOURCES = $(VirtualBox_SOURCES) \
|
---|
2155 | $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),$(VirtualBoxVM_SOURCES) $(VBoxGlobal_SOURCES))
|
---|
2156 |
|
---|
2157 |
|
---|
2158 | ## @todo how to detect what tool is used?
|
---|
2159 | ## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
|
---|
2160 | # more generic -Wno-extra
|
---|
2161 | # bird: What about $(if $(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-missing-base-class-initializer),$(VBOX_GCC_Wno-extra))?
|
---|
2162 | ifdef VBOX_WITH_XPCOM
|
---|
2163 | VirtualBox_src/globals/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
|
---|
2164 | endif
|
---|
2165 |
|
---|
2166 |
|
---|
2167 | #
|
---|
2168 | # Build generated COM wrappers as part of app.
|
---|
2169 | #
|
---|
2170 | ifndef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2171 |
|
---|
2172 | #
|
---|
2173 | # VirtualBox Manager Application
|
---|
2174 | #
|
---|
2175 | includedep $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
|
---|
2176 | VirtualBox_BLDDIRS += $(VirtualBox_0_OUTDIR)/include
|
---|
2177 | VirtualBox_INTERMEDIATES += $(VirtualBox_0_OUTDIR)/include/COMWrappers
|
---|
2178 | VirtualBox_SOURCES += $(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp
|
---|
2179 | VirtualBox_CLEAN += $(wildcard $(VirtualBox_0_OUTDIR)/include/*) $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep
|
---|
2180 |
|
---|
2181 | ## @todo kmk doesn't remake optional outputs when they are missing...
|
---|
2182 | $$(VirtualBox_0_OUTDIR)/include/COMWrappers \
|
---|
2183 | + $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep \
|
---|
2184 | +| $(if-expr defined(VirtualBox_VBOX_COMWRAPPERS) \
|
---|
2185 | , $(VirtualBox_VBOX_COMWRAPPERS) \
|
---|
2186 | , $$(VirtualBox_0_OUTDIR)/include/COMEnums.h \
|
---|
2187 | $$(VirtualBox_0_OUTDIR)/include/COMWrappers.cpp \
|
---|
2188 | ): \
|
---|
2189 | $(VBOX_XIDL_FILE) \
|
---|
2190 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
|
---|
2191 | $(VBOX_FILESPLIT) \
|
---|
2192 | | $$(dir $$@)
|
---|
2193 | $(call MSG_GENERATE,VirtualBox,$<,$@)
|
---|
2194 | $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VirtualBoxComWrapperFiles.dep"
|
---|
2195 | $(QUIET)$(VBOX_XSLTPROC) -o $@ \
|
---|
2196 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
|
---|
2197 | $(QUIET)$(VBOX_FILESPLIT) $@ $(VirtualBox_0_OUTDIR)/include \
|
---|
2198 | $(PATH_TARGET)/VirtualBoxComWrapperFiles.dep VirtualBox_VBOX_COMWRAPPERS
|
---|
2199 | $(APPEND) "$@"
|
---|
2200 |
|
---|
2201 | # alias for generating the COM Wrappers file.
|
---|
2202 | testwrappers:: $$(VirtualBox_0_OUTDIR)/include/COMWrappers
|
---|
2203 |
|
---|
2204 | else # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2205 |
|
---|
2206 | #
|
---|
2207 | # VirtualBox - GUI Global Shared Library.
|
---|
2208 | #
|
---|
2209 | includedep $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep
|
---|
2210 | VBoxGlobal_BLDDIRS += $(VBoxGlobal_0_OUTDIR)/include
|
---|
2211 | VBoxGlobal_INTERMEDIATES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers
|
---|
2212 | VBoxGlobal_SOURCES += $(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp
|
---|
2213 | VBoxGlobal_CLEAN += $(wildcard $(VBoxGlobal_0_OUTDIR)/include/*) $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep
|
---|
2214 |
|
---|
2215 | ## @todo kmk doesn't remake optional outputs when they are missing...
|
---|
2216 | $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers \
|
---|
2217 | + $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep \
|
---|
2218 | +| $(if-expr defined(VBoxGlobal_VBOX_COMWRAPPERS) \
|
---|
2219 | , $(VBoxGlobal_VBOX_COMWRAPPERS) \
|
---|
2220 | , $$(VBoxGlobal_0_OUTDIR)/include/COMEnums.h \
|
---|
2221 | $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers.cpp \
|
---|
2222 | ): \
|
---|
2223 | $(VBOX_XIDL_FILE) \
|
---|
2224 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl \
|
---|
2225 | $(VBOX_FILESPLIT) \
|
---|
2226 | | $$(dir $$@)
|
---|
2227 | $(call MSG_GENERATE,VBoxGlobal,$<,$@)
|
---|
2228 | $(QUIET)$(RM) -f -- "$@" "$(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep"
|
---|
2229 | $(QUIET)$(VBOX_XSLTPROC) -o $@ \
|
---|
2230 | $(VBOX_VIRTUALBOX_SRC)/src/globals/COMWrappers.xsl $<
|
---|
2231 | $(QUIET)$(VBOX_FILESPLIT) $@ $(VBoxGlobal_0_OUTDIR)/include \
|
---|
2232 | $(PATH_TARGET)/VBoxGlobalComWrapperFiles.dep VBoxGlobal_VBOX_COMWRAPPERS
|
---|
2233 | $(APPEND) "$@"
|
---|
2234 |
|
---|
2235 | # alias for generating the COM Wrappers file.
|
---|
2236 | testwrappers:: $$(VBoxGlobal_0_OUTDIR)/include/COMWrappers
|
---|
2237 |
|
---|
2238 | endif # VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2239 |
|
---|
2240 |
|
---|
2241 | #
|
---|
2242 | # Generate qrc file with branded icons.
|
---|
2243 | #
|
---|
2244 | VirtualBox_BLDDIRS += $(VBOX_VIRTUALBOX_OUT_DIR)
|
---|
2245 | VirtualBox_CLEAN += $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc
|
---|
2246 | $(VBOX_VIRTUALBOX_OUT_DIR)/VirtualBoxBrand.qrc: \
|
---|
2247 | $(VBOX_VIRTUALBOX_SRC)/VirtualBoxBrand.qrc \
|
---|
2248 | $(PATH_ROOT)/Config.kmk \
|
---|
2249 | | $$(dir $$@)
|
---|
2250 | $(call MSG_GENERATE,VirtualBox,$<,$@)
|
---|
2251 | $(QUIET)$(SED) \
|
---|
2252 | -e 's;@VBOX_ABOUT_PNG@;$(VBOX_BRAND_GUI_ABOUT_PNG);g' \
|
---|
2253 | -e 's;@VBOX_ABOUT_X2_PNG@;$(VBOX_BRAND_GUI_ABOUT_X2_PNG);g' \
|
---|
2254 | -e 's;@VBOX_ABOUT_X3_PNG@;$(VBOX_BRAND_GUI_ABOUT_X3_PNG);g' \
|
---|
2255 | -e 's;@VBOX_ABOUT_X4_PNG@;$(VBOX_BRAND_GUI_ABOUT_X4_PNG);g' \
|
---|
2256 | -e 's;@VBOX_ABOUT_16PX_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_PNG);g' \
|
---|
2257 | -e 's;@VBOX_ABOUT_16PX_X2_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X2_PNG);g' \
|
---|
2258 | -e 's;@VBOX_ABOUT_16PX_X3_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X3_PNG);g' \
|
---|
2259 | -e 's;@VBOX_ABOUT_16PX_X4_PNG@;$(VBOX_BRAND_GUI_ABOUT_16PX_X4_PNG);g' \
|
---|
2260 | -e 's;@VBOX_VBOX_16PX_PNG@;$(VBOX_BRAND_GUI_VBOX_16PX_PNG);g' \
|
---|
2261 | -e 's;@VBOX_VBOX_20PX_PNG@;$(VBOX_BRAND_GUI_VBOX_20PX_PNG);g' \
|
---|
2262 | -e 's;@VBOX_VBOX_32PX_PNG@;$(VBOX_BRAND_GUI_VBOX_32PX_PNG);g' \
|
---|
2263 | -e 's;@VBOX_VBOX_40PX_PNG@;$(VBOX_BRAND_GUI_VBOX_40PX_PNG);g' \
|
---|
2264 | -e 's;@VBOX_VBOX_48PX_PNG@;$(VBOX_BRAND_GUI_VBOX_48PX_PNG);g' \
|
---|
2265 | -e 's;@VBOX_VBOX_64PX_PNG@;$(VBOX_BRAND_GUI_VBOX_64PX_PNG);g' \
|
---|
2266 | -e 's;@VBOX_CUBE_42PX_PNG@;$(VBOX_BRAND_GUI_CUBE_42PX_PNG);g' \
|
---|
2267 | -e 's;@VBOX_CUBE_SVG@;$(VBOX_BRAND_GUI_VBOX_SVG);g' \
|
---|
2268 | --output $@ \
|
---|
2269 | $<
|
---|
2270 |
|
---|
2271 |
|
---|
2272 | #
|
---|
2273 | # Precompiled header
|
---|
2274 | # win.amd64 without: kmk_time: 3m51.962058s
|
---|
2275 | # win.amd64 with: kmk_time: 2m23.336252s
|
---|
2276 | #
|
---|
2277 | ifdef VBOX_WITH_PRECOMPILED_HEADERS
|
---|
2278 | if1of ($(KBUILD_TARGET),win)
|
---|
2279 | VirtualBox_USES += vccprecomp
|
---|
2280 | VirtualBox_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
2281 |
|
---|
2282 | VirtualBoxVM_USES += vccprecomp
|
---|
2283 | VirtualBoxVM_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
2284 |
|
---|
2285 | VBoxGlobal_USES += vccprecomp
|
---|
2286 | VBoxGlobal_PCH_HDR := $(PATH_SUB_CURRENT)/src/precomp_vcc.h
|
---|
2287 |
|
---|
2288 | else if 0 # Obsolete experiment - non-functional. Needs to be redone the same way as on windows.
|
---|
2289 | VirtualBox_DEFS += VBOX_WITH_PRECOMPILED_HEADERS
|
---|
2290 | VirtualBox_INCS <= $(VirtualBoxPch_0_OUTDIR)/src
|
---|
2291 | VirtualBox_CXXFLAGS += -Winvalid-pch -fpch-preprocess
|
---|
2292 | $(foreach x,$(filter-out include/COMWrappers.cpp, $(filter %.cpp, \
|
---|
2293 | $(VirtualBox_SOURCES) \
|
---|
2294 | $(VirtualBox_SOURCES.$(KBUILD_TARGET)) \
|
---|
2295 | $(VirtualBox_SOURCES.$(KBUILD_TYPE)) \
|
---|
2296 | )),$(eval $(abspath $(PATH_OBJ)/VirtualBox/$(basename $(x)).o): $$$$(VirtualBoxPch_0_OUTDIR)/src/precomp.h.gch))
|
---|
2297 |
|
---|
2298 | TOOL_VirtualBoxPchLinker = Linker for VirtualBoxPch
|
---|
2299 | define TOOL_VirtualBoxPchLinker_LINK_MISCBIN_CMDS
|
---|
2300 | $(APPEND) -t $(out)
|
---|
2301 | endef
|
---|
2302 |
|
---|
2303 | MISCBINS += VirtualBoxPch
|
---|
2304 | VirtualBoxPch_EXTENDS = VirtualBox
|
---|
2305 | VirtualBoxPch_LDTOOL = VirtualBoxPchLinker
|
---|
2306 | VirtualBoxPch_INSTTYPE = none
|
---|
2307 | VirtualBoxPch_NAME = VirtualBoxPch
|
---|
2308 | VirtualBoxPch_INTERMEDIATES = $(filter-out %.h.gch, $(VirtualBox_INTERMEDIATES))
|
---|
2309 | VirtualBoxPch_SOURCES = src/precomp.h
|
---|
2310 | VirtualBoxPch_CXXFLAGS = $(filter-out -Winvalid-pch -fpch-preprocess, $(VirtualBox_CXXFLAGS)) -x c++-header
|
---|
2311 | VirtualBoxPch_CXXOBJSUFF = .h.gch
|
---|
2312 | VirtualBoxPch_SRC_HANDLERS = .h:def_src_handler_cxx
|
---|
2313 | VirtualBoxPch_SOURCES.darwin = $(NO_SUCH_VARIABLE)
|
---|
2314 | VirtualBoxPch_SOURCES.solaris = $(NO_SUCH_VARIABLE)
|
---|
2315 | VirtualBoxPch_SOURCES.freebsd = $(NO_SUCH_VARIABLE)
|
---|
2316 | VirtualBoxPch_SOURCES.linux = $(NO_SUCH_VARIABLE)
|
---|
2317 | VirtualBoxPch_SOURCES.win = $(NO_SUCH_VARIABLE)
|
---|
2318 | VirtualBoxPch_QT_MODULES = $(VirtualBox_QT_MODULES) # "bug" - not inherited.
|
---|
2319 | VirtualBoxPch_INCS = $(VirtualBox_INCS) # "bug" - missing qtuic and qtmoc
|
---|
2320 | endif # obsolete experiment
|
---|
2321 | endif
|
---|
2322 |
|
---|
2323 | ifeq ($(KBUILD_TARGET),win)
|
---|
2324 | #
|
---|
2325 | # On Windows we'll have to generate/edit part of the resource file.
|
---|
2326 | # The IDI_ICON1 name is Qt specific.
|
---|
2327 | #
|
---|
2328 | src/platform/win/VirtualBox.rc_INCS = $(VirtualBox_0_OUTDIR)
|
---|
2329 | src/platform/win/VirtualBox.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
2330 | src/platform/win/VirtualBox.rc_CLEAN = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc
|
---|
2331 |
|
---|
2332 | $$(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc: $(MAKEFILE_CURRENT) $(VBOX_WINDOWS_ICON_FILE) | $$(dir $$@)
|
---|
2333 | $(APPEND) -t $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
|
---|
2334 |
|
---|
2335 | endif # win
|
---|
2336 |
|
---|
2337 |
|
---|
2338 | #
|
---|
2339 | # Unset everything that was loaded from VBoxUI.pro.
|
---|
2340 | #
|
---|
2341 | FORMS :=
|
---|
2342 | TRANSLATIONS :=
|
---|
2343 |
|
---|
2344 |
|
---|
2345 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
2346 | #
|
---|
2347 | # Create directories for each approved language or the application
|
---|
2348 | # menu won't be translated.
|
---|
2349 | #
|
---|
2350 | INSTALLS += VirtualBox.lproj
|
---|
2351 | VirtualBox.lproj_INST = $(INST_VIRTUALBOX)Contents/Resources/
|
---|
2352 | VirtualBox.lproj_MODE = 755
|
---|
2353 | VirtualBox.lproj_DIRS := $(addsuffix .lproj,$(VBOX_APPROVED_GUI_LANGUAGES))
|
---|
2354 |
|
---|
2355 | #
|
---|
2356 | # On OS X (darwin) we need to install icon resources and compulsory bundle contents.
|
---|
2357 | # The VirtualBoxVM.app helper is for launching VMs (fixes some issues with the dock).
|
---|
2358 | #
|
---|
2359 | INSTALLS += VirtualBox.app
|
---|
2360 | VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
|
---|
2361 | VirtualBox.app_MODE = 644
|
---|
2362 | VirtualBox.app_SOURCES = \
|
---|
2363 | src/platform/darwin/PkgInfo \
|
---|
2364 | $(VirtualBox.app_0_OUTDIR)/Info.plist \
|
---|
2365 | $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns \
|
---|
2366 | $(VBOX_BRAND_GUI_VBOX_64PX_PNG)=>Resources/virtualbox.png \
|
---|
2367 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox.icns=>Resources/virtualbox-vbox.icns \
|
---|
2368 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vbox-extpack.icns=>Resources/virtualbox-vbox-extpack.icns \
|
---|
2369 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ovf.icns=>Resources/virtualbox-ovf.icns \
|
---|
2370 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-ova.icns=>Resources/virtualbox-ova.icns \
|
---|
2371 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vdi.icns=>Resources/virtualbox-vdi.icns \
|
---|
2372 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vmdk.icns=>Resources/virtualbox-vmdk.icns \
|
---|
2373 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-vhd.icns=>Resources/virtualbox-vhd.icns \
|
---|
2374 | $(PATH_ROOT)/src/VBox/Artwork/darwin/virtualbox-hdd.icns=>Resources/virtualbox-hdd.icns
|
---|
2375 |
|
---|
2376 | # Qt5 requires qt.conf on Mac OS X:
|
---|
2377 | VirtualBox.app_SOURCES += \
|
---|
2378 | $(VirtualBox.app_0_OUTDIR)/qt.conf=>Resources/qt.conf
|
---|
2379 |
|
---|
2380 | $$(VirtualBox.app_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
2381 | $(call MSG_GENERATE,VirtualBox.app,$<,$@)
|
---|
2382 | $(QUIET)$(RM) -f $@
|
---|
2383 | $(QUIET)$(SED) \
|
---|
2384 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
2385 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
2386 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
2387 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
2388 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
2389 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
2390 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
2391 | $< > $@
|
---|
2392 |
|
---|
2393 | $$(VirtualBox.app_0_OUTDIR)/qt.conf: $(PATH_SUB_CURRENT)/Makefile.kmk $(VBOX_VERSION_MK) | $$(@D)/
|
---|
2394 | $(QUIET)$(RM) -f $@
|
---|
2395 | $(QUIET)$(APPEND) $@ "[Paths]"
|
---|
2396 | $(QUIET)$(APPEND) $@ "Prefix =" $(PATH_OUT)/$(VirtualBox.app_INST)
|
---|
2397 |
|
---|
2398 | INSTALLS += VirtualBoxVM.app
|
---|
2399 | VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
|
---|
2400 | VirtualBoxVM.app_MODE = 644
|
---|
2401 | VirtualBoxVM.app_SOURCES = \
|
---|
2402 | src/platform/darwin/VM-PkgInfo=>PkgInfo \
|
---|
2403 | $(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist=>Info.plist \
|
---|
2404 | $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
|
---|
2405 | VirtualBoxVM.app_SYMLINKS = \
|
---|
2406 | MacOS=>../../../MacOS/
|
---|
2407 |
|
---|
2408 | $$(VirtualBoxVM.app_0_OUTDIR)/VM-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
2409 | $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
|
---|
2410 | $(QUIET)$(RM) -f $@
|
---|
2411 | $(QUIET)$(SED) \
|
---|
2412 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
2413 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
2414 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
2415 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
2416 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
2417 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
2418 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
2419 | --output $@ $<
|
---|
2420 |
|
---|
2421 | PROGRAMS += vmstarter
|
---|
2422 | vmstarter_TEMPLATE = VBOXR3EXE
|
---|
2423 | ifdef VBOX_WITH_NEW_XCODE
|
---|
2424 | vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
|
---|
2425 | else
|
---|
2426 | vmstarter_OBJCXXFLAGS += -Wno-deprecated-declarations
|
---|
2427 | endif
|
---|
2428 | vmstarter_LDFLAGS += -framework AppKit
|
---|
2429 | vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
|
---|
2430 | vmstarter_INST = $(INST_BIN)vmstarter
|
---|
2431 |
|
---|
2432 | INSTALLS += vmstarter.app
|
---|
2433 | vmstarter.app_INST = $(VirtualBox.app_INST)Resources/vmstarter.app/Contents/
|
---|
2434 | vmstarter.app_MODE = 644
|
---|
2435 | vmstarter.app_SOURCES = \
|
---|
2436 | src/platform/darwin/vmstarter-PkgInfo=>PkgInfo \
|
---|
2437 | $(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist=>Info.plist \
|
---|
2438 | $(foreach mysrc,$(VirtualBox.app_SOURCES),$(if-expr $(pos =>Resources/,$(mysrc)) > 0,$(mysrc),))
|
---|
2439 | vmstarter.app_SYMLINKS = \
|
---|
2440 | MacOS=>../../../MacOS \
|
---|
2441 |
|
---|
2442 | $$(vmstarter.app_0_OUTDIR)/vmstarter-Info.plist: $(PATH_SUB_CURRENT)/src/platform/darwin/vmstarter-Info.plist $(VBOX_VERSION_MK) | $$(@D)/
|
---|
2443 | $(call MSG_GENERATE,vmstarter.app,$<,$@)
|
---|
2444 | $(QUIET)$(RM) -f $@
|
---|
2445 | $(QUIET)$(SED) \
|
---|
2446 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
2447 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
2448 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
2449 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
2450 | -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
|
---|
2451 | -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
|
---|
2452 | -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
|
---|
2453 | --output $@ $<
|
---|
2454 | endif # darwin
|
---|
2455 |
|
---|
2456 | #
|
---|
2457 | # App for testing GL support
|
---|
2458 | #
|
---|
2459 | if defined(VBOX_WITH_VIDEOHWACCEL)
|
---|
2460 | if1of ($(KBUILD_TARGET), win linux freebsd)
|
---|
2461 | LIBRARIES += VBoxOGL2D
|
---|
2462 | VBoxOGL2D_TEMPLATE = $(if $(VBOX_WITH_VIDEOHWACCEL),$(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE),VBOXMAINEXE)
|
---|
2463 | VBoxOGL2D_DEFS = QT_NO_DEBUG QT_THREAD_SUPPORT QT_SHARED HAVE_CONFIG_H VBOX_WITH_VIDEOHWACCEL VBOX_GUI_USE_QGL
|
---|
2464 | VBoxOGL2D_QT_MODULES += OpenGL
|
---|
2465 | VBoxOGL2D_SOURCES = \
|
---|
2466 | src/VBoxGLSupportInfo.cpp
|
---|
2467 | VBoxOGL2D_INCS = include
|
---|
2468 | endif
|
---|
2469 | endif
|
---|
2470 |
|
---|
2471 |
|
---|
2472 | #
|
---|
2473 | # Testcase for the darwin keyboard routines.
|
---|
2474 | #
|
---|
2475 | ifdef VBOX_WITH_TESTCASES
|
---|
2476 | PROGRAMS.darwin += tstDarwinKeyboard
|
---|
2477 | tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE
|
---|
2478 | tstDarwinKeyboard_DEFS.x86 = USE_HID_FOR_MODIFIERS
|
---|
2479 | tstDarwinKeyboard_INCS = \
|
---|
2480 | $(VBOX_GUI_INC_DIRS)
|
---|
2481 | tstDarwinKeyboard_SOURCES = \
|
---|
2482 | src/platform/darwin/tstDarwinKeyboard.cpp \
|
---|
2483 | src/platform/darwin/DarwinKeyboard.cpp
|
---|
2484 | tstDarwinKeyboard_SOURCES.amd64 = \
|
---|
2485 | src/platform/darwin/CocoaEventHelper.mm
|
---|
2486 | tstDarwinKeyboard_LDFLAGS = -framework IOKit -framework Carbon -framework AppKit
|
---|
2487 | tstDarwinKeyboard_LIBS = \
|
---|
2488 | $(LIB_RUNTIME)
|
---|
2489 | ifdef VBOX_GUI_WITH_SHARED_LIBRARY
|
---|
2490 | tstDarwinKeyboard_LIBS += $(PATH_STAGE_DLL)/VBoxGlobal$(VBOX_SUFF_DLL)
|
---|
2491 | endif
|
---|
2492 | endif
|
---|
2493 |
|
---|
2494 |
|
---|
2495 | #
|
---|
2496 | # Testcase for SSL certificate downloading.
|
---|
2497 | #
|
---|
2498 | if defined(VBOX_WITH_TESTCASES) && defined(VBOX_GUI_WITH_NETWORK_MANAGER)
|
---|
2499 | PROGRAMS += tstSSLCertDownloads
|
---|
2500 | tstSSLCertDownloads_TEMPLATE = VBOXQTGUIEXE
|
---|
2501 | tstSSLCertDownloads_USES = qt5
|
---|
2502 | tstSSLCertDownloads_QTTOOL = QT5
|
---|
2503 | tstSSLCertDownloads_QT_MODULES = Core Gui
|
---|
2504 | tstSSLCertDownloads_DEFS = VBOX_GUI_IN_TST_SSL_CERT_DOWNLOADS
|
---|
2505 | tstSSLCertDownloads_INCS = \
|
---|
2506 | $(VBOX_GUI_INC_DIRS)
|
---|
2507 | tstSSLCertDownloads_SOURCES = \
|
---|
2508 | src/net/tstSSLCertDownloads.cpp
|
---|
2509 | endif
|
---|
2510 |
|
---|
2511 |
|
---|
2512 | #
|
---|
2513 | # Doxygen documentation.
|
---|
2514 | #
|
---|
2515 | QTGUI_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/qtgui
|
---|
2516 | BLDDIRS += $(QTGUI_DOXYFILE_OUTPUT)
|
---|
2517 | OTHER_CLEAN += \
|
---|
2518 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui \
|
---|
2519 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep \
|
---|
2520 | $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2521 |
|
---|
2522 | QTGUI_DOXYFILE_INPUT_DIRS := \
|
---|
2523 | $(addprefix $(PATH_SUB_CURRENT)/src/, \
|
---|
2524 | converter \
|
---|
2525 | extensions \
|
---|
2526 | extensions/graphics \
|
---|
2527 | extradata \
|
---|
2528 | globals \
|
---|
2529 | manager \
|
---|
2530 | manager/chooser \
|
---|
2531 | manager/details \
|
---|
2532 | manager/tools \
|
---|
2533 | manager \
|
---|
2534 | manager \
|
---|
2535 | medium \
|
---|
2536 | net \
|
---|
2537 | objects \
|
---|
2538 | platform \
|
---|
2539 | platform/darwin \
|
---|
2540 | platform/os2 \
|
---|
2541 | platform/win \
|
---|
2542 | platform/x11 \
|
---|
2543 | runtime \
|
---|
2544 | runtime/fullscreen \
|
---|
2545 | runtime/information \
|
---|
2546 | runtime/guestctrl \
|
---|
2547 | runtime/normal \
|
---|
2548 | runtime/scale \
|
---|
2549 | runtime/seamless \
|
---|
2550 | selector \
|
---|
2551 | selector/graphics \
|
---|
2552 | selector/graphics/chooser \
|
---|
2553 | selector/graphics/details \
|
---|
2554 | settings \
|
---|
2555 | settings/global \
|
---|
2556 | settings/machine \
|
---|
2557 | widgets \
|
---|
2558 | widgets/graphics \
|
---|
2559 | wizards \
|
---|
2560 | wizards/clonevd \
|
---|
2561 | wizards/clonevm \
|
---|
2562 | wizards/exportappliance \
|
---|
2563 | wizards/firstrun \
|
---|
2564 | wizards/importappliance \
|
---|
2565 | wizards/newvd \
|
---|
2566 | wizards/newvm)
|
---|
2567 |
|
---|
2568 | QTGUI_DOXYFILE_INPUT := \
|
---|
2569 | $(foreach dir, $(QTGUI_DOXYFILE_INPUT_DIRS), \
|
---|
2570 | $(sort $(wildcard $(dir)/*.h)) \
|
---|
2571 | $(sort $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm)))
|
---|
2572 |
|
---|
2573 | includedep $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
|
---|
2574 |
|
---|
2575 | # Generate the Doxyfile
|
---|
2576 | $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui: \
|
---|
2577 | $(PATH_SUB_CURRENT)/Doxyfile \
|
---|
2578 | $(PATH_SUB_CURRENT)/Makefile.kmk \
|
---|
2579 | $(comp-vars QTGUI_DOXYFILE_INPUT,DOXYGEN_QTGUI_INPUT_PREV,FORCE) \
|
---|
2580 | $(comp-vars QTGUI_DOXYFILE_OUTPUT,DOXYGEN_QTGUI_OUTPUT_PREV,FORCE) \
|
---|
2581 | | $$(dir $$@)
|
---|
2582 | $(QUIET)$(RM) -f $@ [email protected] [email protected]
|
---|
2583 | $(QUIET)$(CP) -f $< [email protected]
|
---|
2584 | $(QUIET)$(APPEND) [email protected]
|
---|
2585 | $(QUIET)$(APPEND) [email protected] "OUTPUT_DIRECTORY = $(QTGUI_DOXYFILE_OUTPUT)"
|
---|
2586 | $(QUIET)$(APPEND) [email protected] "WARN_LOGFILE = $(QTGUI_DOXYFILE_OUTPUT)/errors"
|
---|
2587 | $(QUIET)$(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include ."
|
---|
2588 | $(QUIET)$(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)"
|
---|
2589 | $(QUIET)$(APPEND) [email protected]
|
---|
2590 | $(QUIET)$(APPEND) [email protected] 'INPUT = $(foreach x,$(QTGUI_DOXYFILE_INPUT),\$(NLTAB)$(x))'
|
---|
2591 | $(QUIET)$(APPEND) [email protected]
|
---|
2592 | $(QUIET)$(MV) -f [email protected] $@
|
---|
2593 | @$(APPEND) [email protected] "DOXYGEN_QTGUI_OUTPUT_PREV = $(QTGUI_DOXYFILE_OUTPUT)"
|
---|
2594 | @$(APPEND) [email protected] "DOXYGEN_QTGUI_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
|
---|
2595 |
|
---|
2596 | # Do the actual job.
|
---|
2597 | $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) \
|
---|
2598 | | $(QTGUI_DOXYFILE_OUTPUT)/
|
---|
2599 | $(call MSG_L1,doxygen qtgui)
|
---|
2600 | $(QUIET)$(RM) -f $@
|
---|
2601 | $(QUIET)$(RM) -Rf -- $(QTGUI_DOXYFILE_OUTPUT)/html/
|
---|
2602 | doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
|
---|
2603 | $(APPEND) $@
|
---|
2604 |
|
---|
2605 | # aliases
|
---|
2606 | docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2607 | if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
|
---|
2608 | docs: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
|
---|
2609 | endif
|
---|
2610 |
|
---|
2611 |
|
---|
2612 |
|
---|
2613 | # Commit the magic.
|
---|
2614 | # (note: before custom rules that make usage of generated variables!).
|
---|
2615 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
2616 |
|
---|
2617 |
|
---|
2618 | #
|
---|
2619 | # Update all known NLS translation (.ts) files in the nls/ subdirectory.
|
---|
2620 | #
|
---|
2621 | # NOTE: This target is intended to be run only by the GUI maintainer shortly
|
---|
2622 | # before a new product release. VirtualBox_xx_YY.ts is a template for new
|
---|
2623 | # languages and should never be actually translated or installed.
|
---|
2624 | #
|
---|
2625 | # Use the checknls target for checking again common mistakes done by the
|
---|
2626 | # translators.
|
---|
2627 | #
|
---|
2628 | # For Qt >= 4.6.0 it maybe necessary to add -I $(VBOX_GUI_INC_DIRS) to the
|
---|
2629 | # lupdate call
|
---|
2630 | #
|
---|
2631 | #VirtualBox_QT_TRANSLATIONS = nls/VirtualBox_de.ts
|
---|
2632 | checknls::
|
---|
2633 | # Check for missing :/ in image paths
|
---|
2634 | grep -i "src=[^:%]" $(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))
|
---|
2635 |
|
---|
2636 | updatenls:: makeallnls nls/VirtualBox_en.ts
|
---|
2637 |
|
---|
2638 | makeallnls:: \
|
---|
2639 | $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
|
---|
2640 | $(filter-out %.qrc,$(VirtualBox_VBOX_ALL_NLS_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
|
---|
2641 | $(call MSG_L1,lupdate all languages (nls/*.ts))
|
---|
2642 | $(QUIET)$(TOOL_QT5_LUPDATE) \
|
---|
2643 | $^ \
|
---|
2644 | -ts \
|
---|
2645 | $(filter-out nls/VirtualBox_en.ts,$(filter-out nls/qt_%.ts,$(VirtualBox_QT_TRANSLATIONS))) \
|
---|
2646 | nls/VirtualBox_xx_YY.ts
|
---|
2647 |
|
---|
2648 | # Create the English translation file. This is something special cause it will
|
---|
2649 | # contain the plural forms only.
|
---|
2650 | nls/VirtualBox_en.ts: \
|
---|
2651 | $(foreach header,$(VBOX_GUI_INC_DIRS),$(wildcard $(header)/*.h)) \
|
---|
2652 | $(filter-out %.qrc,$(VirtualBox_VBOX_ALL_NLS_SOURCES) $(VirtualBox_VBOX_EXTRA_NLS_SOURCES))
|
---|
2653 | $(call MSG_L1,lupdate $@)
|
---|
2654 | $(QUIET)$(TOOL_QT5_LUPDATE) \
|
---|
2655 | $^ \
|
---|
2656 | -ts \
|
---|
2657 | $@
|
---|
2658 | $(QUIET)$(SED) -n -i -e \
|
---|
2659 | '/<context>/,/<\/context>/!p;/<context>/h;/<name>/H;/<message numerus="yes">/,/<\/message>/H;/<\/context>/{H;x;/<message/p}' \
|
---|
2660 | $@
|
---|
2661 |
|
---|