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