1 | # $Id: Makefile.kmk 9257 2008-05-30 14:29:48Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the VirtualBox Qt GUI.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
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 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | # include qmake project file
|
---|
23 | include VBoxUI.pro
|
---|
24 |
|
---|
25 | # Import QDesigner UI sources
|
---|
26 | VirtualBox_QT_UISRCS3 := $(FORMS)
|
---|
27 | # Import translation sources
|
---|
28 | VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS)
|
---|
29 |
|
---|
30 | # reset things to avoid possible conflicts with kBuild
|
---|
31 | TEMPLATE :=
|
---|
32 | LANGUAGE :=
|
---|
33 | FORMS :=
|
---|
34 | TRANSLATIONS :=
|
---|
35 | IMAGES :=
|
---|
36 |
|
---|
37 | VBOX_WITH_REGISTRATION := 1
|
---|
38 | VBOX_WITH_REGISTRATION_REQUEST := 1
|
---|
39 |
|
---|
40 | DEPTH = ../../../..
|
---|
41 | include $(KBUILD_PATH)/header.kmk
|
---|
42 |
|
---|
43 | # Disable the debugger for now, this is another story.
|
---|
44 | VBOX_WITH_DEBUGGER_GUI :=
|
---|
45 | DEFS := $(filter-out VBOX_WITH_DEBUGGER_GUI,$(DEFS))
|
---|
46 |
|
---|
47 | #
|
---|
48 | # Handmade configuration of qt4 - very annoying, this needs to
|
---|
49 | # be cleaned up properly later some time (not important now).
|
---|
50 | #
|
---|
51 | ifndef VBOX_PATH_QT4
|
---|
52 | if1of ($(USERNAME), bird)
|
---|
53 | # gentoo (64-bit)
|
---|
54 | VBOX_PATH_QT4 ?= /usr
|
---|
55 | VBOX_PATH_QT4_BIN ?= /usr/bin
|
---|
56 | VBOX_PATH_QT4_INCLUDE ?= /usr/include/qt4
|
---|
57 | VBOX_PATH_QT4_LIB ?= /usr/lib/qt4
|
---|
58 | VBOX_PATH_QT4_LIB64 ?= /usr/lib/qt4
|
---|
59 | VBOX_PATH_QT4_SHARE ?= /usr/share/qt4
|
---|
60 | endif
|
---|
61 | endif
|
---|
62 | VBOX_PATH_QT4 ?= /usr
|
---|
63 | VBOX_PATH_QT4_BIN ?= $(VBOX_PATH_QT4)/bin
|
---|
64 | VBOX_PATH_QT4_INCLUDE ?= $(VBOX_PATH_QT4)/include
|
---|
65 | VBOX_PATH_QT4_LIB ?= $(VBOX_PATH_QT4)/lib
|
---|
66 | VBOX_PATH_QT4_LIB64 ?= $(VBOX_PATH_QT4)/lib64
|
---|
67 | VBOX_PATH_QT4_SHARE ?= $(VBOX_PATH_QT4)
|
---|
68 |
|
---|
69 | VBOX_MODULE_QT4 = QtCore QtGui QtNetwork Qt3Support
|
---|
70 | VBOX_DEFS_QT4 = QT_CORE_LIB QT_GUI_LIB QT_NETWORK_LIB QT_QT3SUPPORT_LIB
|
---|
71 |
|
---|
72 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
73 | VBOX_MODULE_QT4 += QtSql QtXml
|
---|
74 | VBOX_DEFS_QT4 = QT_SQL_LIB QT_XML_LIB
|
---|
75 | VBOX_INCS_QT4 = $(foreach mod, $(VBOX_MODULE_QT4), $(join $(join /Library/Frameworks/, $(mod)), .framework/Headers))
|
---|
76 | VBOX_LIBS_QT4 =
|
---|
77 | else
|
---|
78 | VBOX_INCS_QT4 = \
|
---|
79 | $(VBOX_PATH_QT4_SHARE)/mkspecs/linux-g++ \
|
---|
80 | $(addprefix $(VBOX_PATH_QT4_INCLUDE)/, $(VBOX_MODULE_QT4) Qt) \
|
---|
81 | $(VBOX_PATH_QT4_INCLUDE)
|
---|
82 | VBOX_LIBS_QT4 = $(VBOX_MODULE_QT4)
|
---|
83 | endif
|
---|
84 |
|
---|
85 | # Warn about all what you know about porting qt3->qt4.
|
---|
86 | # Disable this if you like to see something on your screen.
|
---|
87 | VBOX_DEFS_QT4 += QT3_SUPPORT_WARNINGS
|
---|
88 | # Some default defs
|
---|
89 | VBOX_DEFS_QT4 += QT3_SUPPORT QT_SHARED HAVE_CONFIG_H QT_NO_DEBUG
|
---|
90 |
|
---|
91 | VBOX_UIC3 ?= $(VBOX_PATH_QT4_BIN)/uic3
|
---|
92 | VBOX_UIC4 ?= $(VBOX_PATH_QT4_BIN)/uic
|
---|
93 | VBOX_MOC4 ?= $(VBOX_PATH_QT4_BIN)/moc
|
---|
94 | VBOX_RCC4 ?= $(VBOX_PATH_QT4_BIN)/rcc
|
---|
95 | VBOX_LUPDATE4 ?= $(VBOX_PATH_QT4_BIN)/lupdate
|
---|
96 | VBOX_LRELEASE4 ?= $(VBOX_PATH_QT4_BIN)/lrelease
|
---|
97 |
|
---|
98 | # Template copy from the qt3 stuff. Appended a "4" on the
|
---|
99 | # relevant places.
|
---|
100 |
|
---|
101 | #
|
---|
102 | # Template for building Qt GUI executables.
|
---|
103 | #
|
---|
104 |
|
---|
105 | TEMPLATE_VBOXQT4GUIEXE = VBox Qt4 GUI Executable
|
---|
106 | TEMPLATE_VBOXQT4GUIEXE_DEFS = IN_RING3 QT_NO_DEBUG QT_THREAD_SUPPORT $(ARCH_BITS_DEFS) $(VBOX_DEFS_QT4)
|
---|
107 | TEMPLATE_VBOXQT4GUIEXE_INCS = \
|
---|
108 | $(VBOX_PATH_SDK)/include \
|
---|
109 | $(VBOX_INCS_QT4)
|
---|
110 |
|
---|
111 | ifeq ($(KBUILD_TARGET),win)
|
---|
112 | # drag in library configuration (we need QMAKE_PRL_DEFINES)
|
---|
113 | ifneq ($(LIB_QT_PRL),)
|
---|
114 | include $(LIB_QT_PRL)
|
---|
115 | endif
|
---|
116 | TEMPLATE_VBOXQT4GUIEXE_TOOL = $(VBOX_VCC_TOOL)
|
---|
117 | TEMPLATE_VBOXQT4GUIEXE_DEFS += \
|
---|
118 | _WIN32_WINNT=0x0500 UNICODE _UNICODE \
|
---|
119 | QT_DLL _CRT_SECURE_NO_DEPRECATE \
|
---|
120 | $(QMAKE_PRL_DEFINES)
|
---|
121 | ## @todo VCC70 flags?
|
---|
122 | ifdef VBOX_USE_VCC80
|
---|
123 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS = \
|
---|
124 | -nologo -Zm200 -W3 -MD -Zi -EHsc -Zc:wchar_t-
|
---|
125 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.debug = -RTCsu
|
---|
126 | else
|
---|
127 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS = \
|
---|
128 | -nologo -Zm200 -W3 -MD -Zi -GX
|
---|
129 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.debug = -GZ
|
---|
130 | endif
|
---|
131 | TEMPLATE_VBOXQT4GUIEXE_INCS += \
|
---|
132 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_INC)
|
---|
133 | TEMPLATE_VBOXQT4GUIEXE_LDFLAGS = \
|
---|
134 | /NOD /NOLOGO /INCREMENTAL:NO /MAPINFO:EXPORTS /DEBUG \
|
---|
135 | /DELAYLOAD:oleaut32.dll
|
---|
136 | TEMPLATE_VBOXQT4GUIEXE_SDKS = WINPSDK
|
---|
137 | TEMPLATE_VBOXQT4GUIEXE_LIBS = \
|
---|
138 | $(LIB_QT) \
|
---|
139 | $(LIB_QTMAIN) \
|
---|
140 | $(LIB_RUNTIME) \
|
---|
141 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcprt.lib \
|
---|
142 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcrt.lib \
|
---|
143 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/oldnames.lib \
|
---|
144 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib \
|
---|
145 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib
|
---|
146 | TEMPLATE_VBOXQT4GUIEXE_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS)
|
---|
147 |
|
---|
148 | else # the gcc guys:
|
---|
149 | TEMPLATE_VBOXQT4GUIEXE_TOOL = $(VBOX_GCC_TOOL)
|
---|
150 | TEMPLATE_VBOXQT4GUIEXE_DEFS.linux = _REENTRANT
|
---|
151 |
|
---|
152 | TEMPLATE_VBOXQT4GUIEXE_DEFS.solaris = _REENTRANT
|
---|
153 |
|
---|
154 | TEMPLATE_VBOXQT4GUIEXE_INCS += \
|
---|
155 | $(LIB_SDL_INC)
|
---|
156 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS = \
|
---|
157 | -pipe -Wall -W -frtti -fno-exceptions -Wno-non-virtual-dtor \
|
---|
158 | -Wno-long-long -fshort-wchar -fno-strict-aliasing \
|
---|
159 | $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden)
|
---|
160 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.x86 = -m32
|
---|
161 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.amd64 = -m64
|
---|
162 | TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS.linux = -pthread
|
---|
163 | TEMPLATE_VBOXQT4GUIEXE_LDFLAGS.x86 = -m32
|
---|
164 | TEMPLATE_VBOXQT4GUIEXE_LDFLAGS.amd64 = -m64
|
---|
165 | TEMPLATE_VBOXQT4GUIEXE_LIBS = \
|
---|
166 | $(VBOX_LIBS_QT4) \
|
---|
167 | $(LIB_SDL) \
|
---|
168 | $(LIB_RUNTIME) \
|
---|
169 | $(LIB_REM) \
|
---|
170 | $(LIB_VMM)
|
---|
171 |
|
---|
172 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
173 | TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \
|
---|
174 | $(VBOX_PATH_QT4_LIB64) $(VBOX_PATH_QT4_LIB)
|
---|
175 | else
|
---|
176 | TEMPLATE_VBOXQT4GUIEXE_LIBPATH = \
|
---|
177 | $(VBOX_PATH_QT4_LIB)
|
---|
178 | endif
|
---|
179 |
|
---|
180 | ifeq ($(KBUILD_TARGET),linux)
|
---|
181 | TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(VBOX_LD_as_needed)
|
---|
182 | TEMPLATE_VBOXQT4GUIEXE_LIBS += \
|
---|
183 | $(VBOX_XCURSOR_LIBS)
|
---|
184 | else ifeq ($(KBUILD_TARGET),darwin)
|
---|
185 | TEMPLATE_VBOXQT4GUIEXE_LDFLAGS += $(foreach mod, $(VBOX_MODULE_QT4), -framework $(mod)) \
|
---|
186 | -framework Carbon -framework QuickTime -bind_at_load
|
---|
187 | TEMPLATE_VBOXQT4GUIEXE_LIBS +=
|
---|
188 | TEMPLATE_VBOXQT4GUIEXE_LIBPATH +=
|
---|
189 | else ifeq ($(KBUILD_TARGET),os2)
|
---|
190 | # drag in library configuration (we need QMAKE_PRL_DEFINES)
|
---|
191 | ifneq ($(LIB_QT_PRL),)
|
---|
192 | include $(LIB_QT_PRL)
|
---|
193 | endif
|
---|
194 | TEMPLATE_VBOXQT4GUIEXE_DEFS += $(QMAKE_PRL_DEFINES)
|
---|
195 | TEMPLATE_VBOXQT4GUIEXE_LIBS +=
|
---|
196 | TEMPLATE_VBOXQT4GUIEXE_LIBPATH +=
|
---|
197 | else
|
---|
198 | TEMPLATE_VBOXQT4GUIEXE_INCS += \
|
---|
199 | $(VBOX_XCURSOR_INCS)
|
---|
200 | TEMPLATE_VBOXQT4GUIEXE_LIBS += \
|
---|
201 | $(VBOX_XCURSOR_LIBS) \
|
---|
202 | Xext \
|
---|
203 | X11 \
|
---|
204 | m \
|
---|
205 | $(LIB_PTHREAD)
|
---|
206 | TEMPLATE_VBOXQT4GUIEXE_LIBPATH += \
|
---|
207 | $(VBOX_LIBPATH_X11)
|
---|
208 | ifeq ($(KBUILD_TARGET),freebsd)
|
---|
209 | TEMPLATE_VBOXQT4GUIEXE_INCS += \
|
---|
210 | /usr/include \
|
---|
211 | /usr/X11R6/include \
|
---|
212 | /usr/local/include
|
---|
213 | endif
|
---|
214 | endif
|
---|
215 |
|
---|
216 | endif
|
---|
217 |
|
---|
218 | # Add COM/XPCOM stuff
|
---|
219 | TEMPLATE_VBOXQT4GUIEXE_LIBS += \
|
---|
220 | $(PATH_LIB)/VBoxCOM$(VBOX_SUFF_LIB)
|
---|
221 | ifdef VBOX_WITH_XPCOM
|
---|
222 | ## @todo may be worth creating the VBOX_XPCOM SDK def
|
---|
223 | TEMPLATE_VBOXQT4GUIEXE_DEFS += VBOX_WITH_XPCOM
|
---|
224 | TEMPLATE_VBOXQT4GUIEXE_INCS += \
|
---|
225 | $(VBOX_XPCOM_INCS)
|
---|
226 | TEMPLATE_VBOXQT4GUIEXE_LIBS += \
|
---|
227 | $(LIB_XPCOM)
|
---|
228 | endif
|
---|
229 |
|
---|
230 | #
|
---|
231 | # Template for building Qt GUI components.
|
---|
232 | #
|
---|
233 | TEMPLATE_VBOXQT4GUI = VBox Qt GUI Components
|
---|
234 | TEMPLATE_VBOXQT4GUI_EXTENDS = VBOXQTGUIEXE
|
---|
235 | TEMPLATE_VBOXQT4GUI_LIBS = $(filter-out $(QTMAIN),$(TEMPLATE_VBOXQT4GUIEXE_LIBS))
|
---|
236 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
237 | TEMPLATE_VBOXQT4GUI_LDFLAGS = $(filter-out -framework Carbon -framework QuickTime -bind_at_load,$(TEMPLATE_VBOXQT4GUIEXE_LDFLAGS))
|
---|
238 | endif
|
---|
239 | ifeq ($(filter-out solaris.x86 %.amd64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),)
|
---|
240 | ifneq ($(KBUILD_TARGET),win)
|
---|
241 | TEMPLATE_VBOXQT4GUI_DEFS = PIC $(TEMPLATE_VBOXQT4GUIEXE_DEFS)
|
---|
242 | TEMPLATE_VBOXQT4GUI_CFLAGS = -fPIC $(TEMPLATE_VBOXQT4GUIEXE_CFLAGS)
|
---|
243 | TEMPLATE_VBOXQT4GUI_CXXFLAGS = -fPIC $(TEMPLATE_VBOXQT4GUIEXE_CXXFLAGS)
|
---|
244 | TEMPLATE_VBOXQT4GUI_LDFLAGS = -fPIC $(TEMPLATE_VBOXQT4GUIEXE_LDFLAGS)
|
---|
245 | endif
|
---|
246 | endif
|
---|
247 |
|
---|
248 |
|
---|
249 | #
|
---|
250 | # exclude inappropriate UI content
|
---|
251 | #
|
---|
252 | ifndef VBOX_WITH_REGISTRATION
|
---|
253 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
254 | endif
|
---|
255 |
|
---|
256 |
|
---|
257 | #
|
---|
258 | # filter ported UI content
|
---|
259 | #
|
---|
260 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxCloseVMDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
261 | VirtualBox_QT_UISRCS4 += ui/VBoxCloseVMDlg.ui
|
---|
262 |
|
---|
263 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxNewVMWzd.ui,$(VirtualBox_QT_UISRCS3))
|
---|
264 | VirtualBox_QT_UISRCS4 += ui/VBoxNewVMWzd.ui
|
---|
265 |
|
---|
266 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxNewHDWzd.ui,$(VirtualBox_QT_UISRCS3))
|
---|
267 | VirtualBox_QT_UISRCS4 += ui/VBoxNewHDWzd.ui
|
---|
268 |
|
---|
269 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMFirstRunWzd.ui,$(VirtualBox_QT_UISRCS3))
|
---|
270 | VirtualBox_QT_UISRCS4 += ui/VBoxVMFirstRunWzd.ui
|
---|
271 |
|
---|
272 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
273 | VirtualBox_QT_UISRCS4 += ui/VBoxRegistrationDlg.ui
|
---|
274 |
|
---|
275 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxSnapshotDetailsDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
276 | VirtualBox_QT_UISRCS4 += ui/VBoxSnapshotDetailsDlg.ui
|
---|
277 |
|
---|
278 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMInformationDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
279 | VirtualBox_QT_UISRCS4 += ui/VBoxVMInformationDlg.ui
|
---|
280 |
|
---|
281 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxTakeSnapshotDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
282 | VirtualBox_QT_UISRCS4 += ui/VBoxTakeSnapshotDlg.ui
|
---|
283 |
|
---|
284 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxSnapshotsWgt.ui,$(VirtualBox_QT_UISRCS3))
|
---|
285 | VirtualBox_QT_UISRCS4 += ui/VBoxSnapshotsWgt.ui
|
---|
286 |
|
---|
287 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMLogViewer.ui,$(VirtualBox_QT_UISRCS3))
|
---|
288 | VirtualBox_QT_UISRCS4 += ui/VBoxVMLogViewer.ui
|
---|
289 |
|
---|
290 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxDiskImageManagerDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
291 | VirtualBox_QT_UISRCS4 += ui/VBoxDiskImageManagerDlg.ui
|
---|
292 |
|
---|
293 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsGeneral.ui,$(VirtualBox_QT_UISRCS3))
|
---|
294 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsGeneral.ui
|
---|
295 |
|
---|
296 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsCD.ui,$(VirtualBox_QT_UISRCS3))
|
---|
297 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsCD.ui
|
---|
298 |
|
---|
299 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsFD.ui,$(VirtualBox_QT_UISRCS3))
|
---|
300 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsFD.ui
|
---|
301 |
|
---|
302 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsAudio.ui,$(VirtualBox_QT_UISRCS3))
|
---|
303 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsAudio.ui
|
---|
304 |
|
---|
305 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsSerial.ui,$(VirtualBox_QT_UISRCS3))
|
---|
306 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsSerial.ui
|
---|
307 |
|
---|
308 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsParallel.ui,$(VirtualBox_QT_UISRCS3))
|
---|
309 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsParallel.ui
|
---|
310 |
|
---|
311 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsUSB.ui,$(VirtualBox_QT_UISRCS3))
|
---|
312 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsUSB.ui
|
---|
313 |
|
---|
314 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsSF.ui,$(VirtualBox_QT_UISRCS3))
|
---|
315 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsSF.ui
|
---|
316 |
|
---|
317 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsVRDP.ui,$(VirtualBox_QT_UISRCS3))
|
---|
318 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsVRDP.ui
|
---|
319 |
|
---|
320 | VirtualBox_QT_UISRCS3 := $(filter-out ui/VBoxVMSettingsDlg.ui,$(VirtualBox_QT_UISRCS3))
|
---|
321 | VirtualBox_QT_UISRCS4 += ui/VBoxVMSettingsDlg.ui
|
---|
322 |
|
---|
323 | #
|
---|
324 | # The targets.
|
---|
325 | #
|
---|
326 | PROGRAMS = VirtualBox
|
---|
327 | ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11
|
---|
328 | DLLS = VBoxKeyboard4
|
---|
329 | OTHERS = $(PATH_BIN)/vboxkeyboard4.tar.gz
|
---|
330 | endif
|
---|
331 | INSTALLS = VirtualBox.nls
|
---|
332 |
|
---|
333 | ifeq ($(KBUILD_TARGET),os2)
|
---|
334 | DLLS += VBoxHlp
|
---|
335 | ifneq ($(strip $(VBOX_DLL_QT)),)
|
---|
336 | INSTALLS += qt.dll
|
---|
337 | qt.dll_INST = $(INST_BIN)
|
---|
338 | qt.dll_SOURCES += \
|
---|
339 | $(VBOX_DLL_QT)=>$(not-dir $(VBOX_DLL_QT))
|
---|
340 | endif
|
---|
341 | endif
|
---|
342 |
|
---|
343 |
|
---|
344 | #
|
---|
345 | # VBoxHlp - helper DLL for OS/2.
|
---|
346 | #
|
---|
347 | VBoxHlp_ASTOOL = NASM
|
---|
348 | VBoxHlp_ASFLAGS = -f obj
|
---|
349 | VBoxHlp_DEFS = IN_RING3 IN_VBOXHLP
|
---|
350 | VBoxHlp_CXXFLAGS = -fno-exceptions
|
---|
351 | VBoxHlp_LDFLAGS = -nostdlib -los2
|
---|
352 | VBoxHlp_LDFLAGS += -Zlinker option -Zlinker manyautodata
|
---|
353 | VBoxHlp_SOURCES = \
|
---|
354 | src/os2/VBoxHlp.asm \
|
---|
355 | src/os2/VBoxHlp.cpp
|
---|
356 |
|
---|
357 |
|
---|
358 | #
|
---|
359 | # VBoxKeyboard - keyboard library for X11.
|
---|
360 | #
|
---|
361 | VBoxKeyboard4_TEMPLATE = VBOXR3
|
---|
362 | VBoxKeyboard4_SOURCES = \
|
---|
363 | src/linux/keyboard-new.c
|
---|
364 | VBoxKeyboard4_TARSOURCES = \
|
---|
365 | $(VBoxKeyboard4_SOURCES) \
|
---|
366 | src/linux/COPYING.LIB \
|
---|
367 | src/linux/keyboard.h \
|
---|
368 | src/linux/keyboard-layouts.h \
|
---|
369 | src/linux/keyboard-list.h \
|
---|
370 | src/linux/keyboard-tables.h \
|
---|
371 | src/linux/Makefile
|
---|
372 | VBoxKeyboard4_LIBS = X11
|
---|
373 | VBoxKeyboard4_LIBPATH = $(VBOX_LIBPATH_X11)
|
---|
374 |
|
---|
375 |
|
---|
376 | #
|
---|
377 | # vboxkeyboard.tar.gz - the LGPLed keyboard library must always be
|
---|
378 | # redistributed with usable sources.
|
---|
379 | #
|
---|
380 | SOURCE_DIRECTORY = vboxkeyboard4
|
---|
381 | DIRECTORY_PREFIX = src/linux/
|
---|
382 |
|
---|
383 | $(PATH_TARGET)/$(SOURCE_DIRECTORY):
|
---|
384 | $(MKDIR) -p $(@D)
|
---|
385 | $(LN_SYMLINK) $(abspath $(PATH_CURRENT))/$(DIRECTORY_PREFIX) $@
|
---|
386 |
|
---|
387 | $(PATH_BIN)/vboxkeyboard4.tar.gz: $(VBoxKeyboard4_TARSOURCES) $(PATH_TARGET)/$(SOURCE_DIRECTORY)
|
---|
388 | $(call MSG_TOOL,tar/gzip,,$@)
|
---|
389 | $(QUIET)cd $(PATH_TARGET) && tar -chf - $(addprefix $(SOURCE_DIRECTORY)/,$(subst $(DIRECTORY_PREFIX),,$(VBoxKeyboard4_TARSOURCES))) | gzip - > $@
|
---|
390 |
|
---|
391 |
|
---|
392 | #
|
---|
393 | # VirtualBox - The GUI program.
|
---|
394 | #
|
---|
395 | VirtualBox_TEMPLATE = VBOXQT4GUIEXE
|
---|
396 | VirtualBox_NAME = VirtualBox4
|
---|
397 | VirtualBox_SDKS.win = WINPSDK DXSDK
|
---|
398 | #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(KBUILD_TARGET)),) - later
|
---|
399 | ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2
|
---|
400 | VirtualBox_SDKS += LIBSDL
|
---|
401 | endif
|
---|
402 |
|
---|
403 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
404 | # For the launch trick we need different inode numbers.
|
---|
405 | VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4
|
---|
406 |
|
---|
407 | # For testing iChat Theater stuff change
|
---|
408 | # the sdk path
|
---|
409 | ifdef VBOX_WITH_ICHAT_THEATER
|
---|
410 | VBOX_PATH_MACOSX_SDK = /Developer/SDKs/MacOSX10.5.sdk
|
---|
411 | endif
|
---|
412 |
|
---|
413 | endif
|
---|
414 |
|
---|
415 | ifndef VBOX_OSE
|
---|
416 | ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # linux only, yea, right.
|
---|
417 | # Note: I'm doing this right here because the GUI will _not_ run
|
---|
418 | # without that file which might be annoying for developers!
|
---|
419 | $(VBOX_LICENSE_BIN): $(VBOX_LICENSE_SRC)
|
---|
420 | $(call MSG_GENERATE,,$@)
|
---|
421 | $(QUIET)$(CP) $< $@
|
---|
422 |
|
---|
423 | $(PATH_BIN)/VirtualBox: $(VBOX_LICENSE_BIN)
|
---|
424 | endif
|
---|
425 | endif
|
---|
426 |
|
---|
427 | # Each nls/VirtualBox_xx_YY.ts file must have a qt_xx_YY.ts counterpart
|
---|
428 | VirtualBox_QT_TRANSLATIONS_QT := \
|
---|
429 | $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts,\
|
---|
430 | $(filter nls/VirtualBox_%.ts,$(VirtualBox_QT_TRANSLATIONS)))
|
---|
431 |
|
---|
432 | # QDesigner UI sources are imported from VBoxUI.pro as VirtualBox_QT_UISRC
|
---|
433 |
|
---|
434 | # Headers containing definitions of classes that use the Q_OBJECT macro
|
---|
435 | VirtualBox_QT_MOCHDRS = \
|
---|
436 | include/QIWidgetValidator.h \
|
---|
437 | include/QIHotKeyEdit.h \
|
---|
438 | include/QIStatusBar.h \
|
---|
439 | include/QIStateIndicator.h \
|
---|
440 | include/QIMessageBox.h \
|
---|
441 | include/QIRichLabel.h \
|
---|
442 | include/QIAbstractWizard.h \
|
---|
443 | include/QIListView.h \
|
---|
444 | include/QITreeWidget.h \
|
---|
445 | include/QIMainDialog.h \
|
---|
446 | include/VBoxGlobalSettings.h \
|
---|
447 | include/VBoxUtils.h \
|
---|
448 | include/VBoxGlobal.h \
|
---|
449 | include/VBoxVMListView.h \
|
---|
450 | include/VBoxMediaComboBox.h \
|
---|
451 | include/VBoxSelectorWnd.h \
|
---|
452 | include/VBoxConsoleWnd.h \
|
---|
453 | include/VBoxConsoleView.h \
|
---|
454 | include/VBoxProblemReporter.h \
|
---|
455 | include/VBoxDownloaderWgt.h \
|
---|
456 | include/VBoxNetworkFramework.h \
|
---|
457 | include/VBoxAboutDlg.h \
|
---|
458 | include/VBoxCloseVMDlg.h \
|
---|
459 | include/VBoxNewVMWzd.h \
|
---|
460 | include/VBoxNewHDWzd.h \
|
---|
461 | include/VBoxVMFirstRunWzd.h \
|
---|
462 | include/VBoxRegistrationDlg.h \
|
---|
463 | include/VBoxSnapshotDetailsDlg.h \
|
---|
464 | include/VBoxVMInformationDlg.h \
|
---|
465 | include/VBoxTakeSnapshotDlg.h \
|
---|
466 | include/VBoxSnapshotsWgt.h \
|
---|
467 | include/VBoxVMLogViewer.h \
|
---|
468 | include/VBoxDiskImageManagerDlg.h \
|
---|
469 | include/VBoxVMSettingsUtils.h \
|
---|
470 | include/VBoxVMSettingsGeneral.h \
|
---|
471 | include/VBoxVMSettingsCD.h \
|
---|
472 | include/VBoxVMSettingsFD.h \
|
---|
473 | include/VBoxVMSettingsAudio.h \
|
---|
474 | include/VBoxVMSettingsSerial.h \
|
---|
475 | include/VBoxVMSettingsParallel.h \
|
---|
476 | include/VBoxVMSettingsUSB.h \
|
---|
477 | include/VBoxVMSettingsSF.h \
|
---|
478 | include/VBoxVMSettingsVRDP.h \
|
---|
479 | include/VBoxVMSettingsDlg.h
|
---|
480 |
|
---|
481 | # Sources containing local definitions of classes that use the Q_OBJECT macro
|
---|
482 | VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp
|
---|
483 | ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
|
---|
484 | VirtualBox_QT_MOCSRCS += src/VBoxGlobal.cpp
|
---|
485 | endif
|
---|
486 | ifdef VBOX_WITH_XPCOM
|
---|
487 | VirtualBox_QT_MOCSRCS += src/COMDefs.cpp
|
---|
488 | endif
|
---|
489 |
|
---|
490 | # All generated sources. Note: this list MUST be in sync with Qt source
|
---|
491 | # generation rules defined somewhere below!
|
---|
492 | VirtualBox_GENSRCS = \
|
---|
493 | $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCHDRS))), $(PATH_VirtualBox)/moc/moc_$(moc).cpp) \
|
---|
494 | $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS3))), $(PATH_VirtualBox)/ui/$(ui).cpp $(PATH_VirtualBox)/moc/moc_$(ui).cpp)
|
---|
495 |
|
---|
496 | # All generated headers. Note: this list MUST be in sync with Qt source
|
---|
497 | # generation rules defined somewhere below!
|
---|
498 | VirtualBox_GENHDRS = \
|
---|
499 | $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCSRCS))), $(PATH_VirtualBox)/moc/$(moc).moc) \
|
---|
500 | $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS3))), $(PATH_VirtualBox)/ui/$(ui).h) \
|
---|
501 | $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS4))), $(PATH_VirtualBox)/ui/$(ui).gen.h)
|
---|
502 |
|
---|
503 | # All existing .ui.h files for known .ui sources
|
---|
504 | VirtualBox_QT_UIHDRS = \
|
---|
505 | $(wildcard $(addsuffix .h,$(VirtualBox_QT_UISRCS3)))
|
---|
506 |
|
---|
507 | # All header files
|
---|
508 | VirtualBox_HEADERS = \
|
---|
509 | $(wildcard include/*.h) \
|
---|
510 | $(VirtualBox_GENHDRS) \
|
---|
511 | $(VirtualBox_QT_UIHDRS)
|
---|
512 |
|
---|
513 |
|
---|
514 | VirtualBox_SOURCES = \
|
---|
515 | $(VirtualBox_GENSRCS) \
|
---|
516 | src/main.cpp \
|
---|
517 | src/COMDefs.cpp \
|
---|
518 | src/QIWidgetValidator.cpp \
|
---|
519 | src/QIHotKeyEdit.cpp \
|
---|
520 | src/QIStateIndicator.cpp \
|
---|
521 | src/QIStatusBar.cpp \
|
---|
522 | src/QIMessageBox.cpp \
|
---|
523 | src/QIRichLabel.cpp \
|
---|
524 | src/QIAbstractWizard.cpp \
|
---|
525 | src/QIDialog.cpp \
|
---|
526 | src/QIDialogButtonBox.cpp \
|
---|
527 | src/QIListView.cpp \
|
---|
528 | src/QITreeWidget.cpp \
|
---|
529 | src/QIMainDialog.cpp \
|
---|
530 | src/QILineEdit.cpp \
|
---|
531 | src/VBoxDefs.cpp \
|
---|
532 | src/VBoxGlobalSettings.cpp \
|
---|
533 | src/VBoxGlobal.cpp \
|
---|
534 | src/VBoxMediaComboBox.cpp \
|
---|
535 | src/VBoxProblemReporter.cpp \
|
---|
536 | src/VBoxSelectorWnd.cpp \
|
---|
537 | src/VBoxConsoleView.cpp \
|
---|
538 | src/VBoxConsoleWnd.cpp \
|
---|
539 | src/VBoxDownloaderWgt.cpp \
|
---|
540 | src/VBoxVMListView.cpp \
|
---|
541 | src/VBoxFrameBuffer.cpp \
|
---|
542 | src/HappyHttp.cpp \
|
---|
543 | src/VBoxNetworkFramework.cpp \
|
---|
544 | src/VBoxAboutDlg.cpp \
|
---|
545 | src/VBoxCloseVMDlg.cpp \
|
---|
546 | src/VBoxNewVMWzd.cpp \
|
---|
547 | src/VBoxNewHDWzd.cpp \
|
---|
548 | src/VBoxVMFirstRunWzd.cpp \
|
---|
549 | src/VBoxRegistrationDlg.cpp \
|
---|
550 | src/VBoxSnapshotDetailsDlg.cpp \
|
---|
551 | src/VBoxVMInformationDlg.cpp \
|
---|
552 | src/VBoxTakeSnapshotDlg.cpp \
|
---|
553 | src/VBoxSnapshotsWgt.cpp \
|
---|
554 | src/VBoxVMLogViewer.cpp \
|
---|
555 | src/VBoxDiskImageManagerDlg.cpp \
|
---|
556 | src/VBoxVMSettingsGeneral.cpp \
|
---|
557 | src/VBoxVMSettingsCD.cpp \
|
---|
558 | src/VBoxVMSettingsFD.cpp \
|
---|
559 | src/VBoxVMSettingsAudio.cpp \
|
---|
560 | src/VBoxVMSettingsSerial.cpp \
|
---|
561 | src/VBoxVMSettingsParallel.cpp \
|
---|
562 | src/VBoxVMSettingsUSB.cpp \
|
---|
563 | src/VBoxVMSettingsSF.cpp \
|
---|
564 | src/VBoxVMSettingsVRDP.cpp \
|
---|
565 | src/VBoxVMSettingsDlg.cpp
|
---|
566 |
|
---|
567 | ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
|
---|
568 | ifndef VBOX_OSE
|
---|
569 | VirtualBox_QT_MOCHDRS += \
|
---|
570 | include/VBoxLicenseViewer.h
|
---|
571 | VirtualBox_SOURCES += \
|
---|
572 | src/VBoxLicenseViewer.cpp
|
---|
573 | endif
|
---|
574 | VirtualBox_SOURCES += \
|
---|
575 | src/linux/XKeyboard-new.cpp
|
---|
576 | endif
|
---|
577 |
|
---|
578 | VirtualBox_SOURCES.win += \
|
---|
579 | src/VBoxFBDDRAW.cpp \
|
---|
580 | $(PATH_TARGET)/VirtualBox4.rc
|
---|
581 |
|
---|
582 | VirtualBox_SOURCES.darwin = \
|
---|
583 | src/darwin/DarwinKeyboard.cpp \
|
---|
584 | src/darwin/DarwinCursor.cpp \
|
---|
585 | src/darwin/VBoxUtils-darwin.cpp \
|
---|
586 | src/VBoxFBQuartz2D.cpp
|
---|
587 | # src/darwin/VBoxAquaStyle.cpp \
|
---|
588 |
|
---|
589 | ifdef VBOX_WITH_ICHAT_THEATER
|
---|
590 | VirtualBox_SOURCES.darwin += \
|
---|
591 | src/darwin/VBoxIChatTheaterWrapper.m
|
---|
592 | endif
|
---|
593 |
|
---|
594 | ifneq ($(KBUILD_TARGET),win)
|
---|
595 | src/HappyHttp.cpp_CXXFLAGS += -fexceptions
|
---|
596 | src/VBoxDownloaderWgt.cpp_CXXFLAGS += -fexceptions
|
---|
597 | src/VBoxNetworkFramework.cpp_CXXFLAGS += -fexceptions
|
---|
598 | endif
|
---|
599 | src/HappyHttp.cpp_CXXFLAGS.linux += -O2
|
---|
600 |
|
---|
601 | ## @todo how to detect what tool is used?
|
---|
602 | ## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
|
---|
603 | # more generic -Wno-extra
|
---|
604 | ifdef VBOX_WITH_XPCOM
|
---|
605 | src/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
|
---|
606 | endif
|
---|
607 |
|
---|
608 | VirtualBox_DEFS = VBOX_GUI_SEPARATE_VM_PROCESS
|
---|
609 | VirtualBox_DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT
|
---|
610 | VirtualBox_DEFS.darwin = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP
|
---|
611 | VirtualBox_DEFS.freebsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
|
---|
612 | VirtualBox_DEFS.linux = VBOX_GUI_USE_SDL
|
---|
613 | VirtualBox_DEFS.netbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
|
---|
614 | VirtualBox_DEFS.openbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
|
---|
615 | VirtualBox_DEFS.os2 = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL QT_DLL
|
---|
616 | VirtualBox_DEFS.solaris = VBOX_GUI_USE_QIMAGE #VBOX_GUI_USE_SDL
|
---|
617 | VirtualBox_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
|
---|
618 | VirtualBox_DEFS.win.amd64 = VBOX_WITHOUT_QHTTP
|
---|
619 | #ifndef VBOX_OSE
|
---|
620 | VirtualBox_DEFS.darwin += VBOX_WITH_HACKED_QT
|
---|
621 | #endif
|
---|
622 | ifdef VBOX_WITH_ICHAT_THEATER
|
---|
623 | VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
|
---|
624 | endif
|
---|
625 | ifneq ($(KBUILD_TYPE),release)
|
---|
626 | # non-release builds has some extra features.
|
---|
627 | VirtualBox_DEFS.win += VBOX_GUI_USE_DDRAW
|
---|
628 | VirtualBox_DEFS.linux += VBOX_GUI_USE_QIMAGE
|
---|
629 | endif
|
---|
630 | ifdef VBOX_WITH_REGISTRATION
|
---|
631 | VirtualBox_DEFS += VBOX_WITH_REGISTRATION
|
---|
632 | endif
|
---|
633 | ifdef VBOX_WITH_REGISTRATION_REQUEST
|
---|
634 | VirtualBox_DEFS += VBOX_WITH_REGISTRATION_REQUEST
|
---|
635 | endif
|
---|
636 | ifdef VBOX_WITH_ALSA
|
---|
637 | VirtualBox_DEFS += VBOX_WITH_ALSA
|
---|
638 | endif
|
---|
639 | ifdef VBOX_WITH_PULSE
|
---|
640 | VirtualBox_DEFS += VBOX_WITH_PULSE
|
---|
641 | endif
|
---|
642 | ifdef VBOX_WITH_E1000
|
---|
643 | VirtualBox_DEFS += VBOX_WITH_E1000
|
---|
644 | endif
|
---|
645 | ifdef VBOX_OSE
|
---|
646 | VirtualBox_DEFS += VBOX_OSE
|
---|
647 | endif
|
---|
648 | ifdef VBOX_WITH_DEBUGGER_GUI
|
---|
649 | VirtualBox_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU
|
---|
650 | endif
|
---|
651 |
|
---|
652 | VirtualBox_INCS = \
|
---|
653 | ./include \
|
---|
654 | $(PATH_VirtualBox)/ui \
|
---|
655 | $(PATH_VirtualBox)/moc \
|
---|
656 | $(PATH_VirtualBox)/include \
|
---|
657 |
|
---|
658 |
|
---|
659 | ifeq ($(KBUILD_TYPE),release)
|
---|
660 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
661 | else
|
---|
662 | VirtualBox_LDFLAGS.linux+= -rdynamic # for backtrace_symbols()
|
---|
663 | ifeq ($(USERNAME),dmik)
|
---|
664 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
|
---|
665 | else
|
---|
666 | VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
|
---|
667 | endif
|
---|
668 | endif
|
---|
669 | VirtualBox_LDFLAGS.os2 = -Zlinker /PM:PM -Zno-fork
|
---|
670 | VirtualBox_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz
|
---|
671 | ifdef VBOX_WITH_ICHAT_THEATER
|
---|
672 | VirtualBox_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
|
---|
673 | endif
|
---|
674 | VirtualBox_LIBS.win = \
|
---|
675 | $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \
|
---|
676 | $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
|
---|
677 | $(PATH_SDK_DXSDK_LIB)/dxguid.lib
|
---|
678 | VirtualBox_LIBS.os2 += $(PATH_DLL)/VBoxHlp$(VBOX_SUFF_DLL)
|
---|
679 | ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
|
---|
680 | VirtualBox_LIBS += $(PATH_DLL)/VBoxKeyboard4$(VBOX_SUFF_DLL)
|
---|
681 | endif
|
---|
682 |
|
---|
683 |
|
---|
684 | ifdef VBOX_WITH_DEBUGGER_GUI ## @todo make this dynamically loadable and ship with release builds too.
|
---|
685 | ifeq ($(KBUILD_TARGET),win)
|
---|
686 | VirtualBox_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)
|
---|
687 | else
|
---|
688 | VirtualBox_LIBS += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL)
|
---|
689 | endif
|
---|
690 | endif
|
---|
691 |
|
---|
692 | WRAPPERSFILE = $(PATH_VirtualBox)/include/COMWrappers.h
|
---|
693 | WRAPPERSINCFILE = include/COMDefs.h
|
---|
694 | WRAPPERSTEMPLATE = include/COMWrappers.xsl
|
---|
695 | XIDLFILE = ../../Main/idl/VirtualBox.xidl
|
---|
696 |
|
---|
697 | VirtualBox_INTERMEDIATES = $(WRAPPERSFILE)
|
---|
698 |
|
---|
699 |
|
---|
700 | # generated files we need to clean manually
|
---|
701 | OTHER_CLEAN = \
|
---|
702 | $(VirtualBox_GENSRCS) \
|
---|
703 | $(VirtualBox_GENHDRS) \
|
---|
704 | $(WRAPPERSFILE) \
|
---|
705 | $(PATH_BIN)/vboxkeyboard.tar.gz
|
---|
706 |
|
---|
707 | #
|
---|
708 | # On Windows we'll have to generate/edit the resource file.
|
---|
709 | # The IDI_ICON1 name is Qt specific.
|
---|
710 | #
|
---|
711 | $(PATH_TARGET)/VirtualBox4.rc: Makefile.kmk $(VBOX_WINDOWS_ICON_FILE) | $$(call DIRDEP,$$(@D))
|
---|
712 | $(RM) -f $@
|
---|
713 | $(APPEND) $@ 'IDI_ICON1 ICON "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
|
---|
714 | $(CAT) $@
|
---|
715 |
|
---|
716 | OTHER_CLEAN.win += $(PATH_TARGET)/VirtualBox4.rc
|
---|
717 |
|
---|
718 |
|
---|
719 | #
|
---|
720 | # On Mac OS X (darwin) we need to install icon resources and compusory bundle contents.
|
---|
721 | #
|
---|
722 | INSTALLS.darwin += VirtualBox.app
|
---|
723 | VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
|
---|
724 | VirtualBox.app_MODE = 644
|
---|
725 | VirtualBox.app_SOURCES = \
|
---|
726 | src/darwin/PkgInfo \
|
---|
727 | $(PATH_TARGET)/Info.plist \
|
---|
728 | $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns
|
---|
729 |
|
---|
730 | $(PATH_TARGET)/Info.plist: src/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))
|
---|
731 | $(call MSG_GENERATE,VirtualBox.app,$<,$@)
|
---|
732 | $(QUIET)$(RM) -f $@
|
---|
733 | $(QUIET)$(SED) \
|
---|
734 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
735 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
736 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
737 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
738 | $< > $@
|
---|
739 |
|
---|
740 | INSTALLS.darwin += VirtualBoxVM.app
|
---|
741 | VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
|
---|
742 | VirtualBoxVM.app_MODE = 644
|
---|
743 | VirtualBoxVM.app_SOURCES = \
|
---|
744 | src/darwin/VM-PkgInfo=>PkgInfo \
|
---|
745 | $(PATH_TARGET)/VM-Info.plist=>Info.plist \
|
---|
746 | $(VBOX_MACOSX_ICON_FILE)=>Resources/virtualbox.icns
|
---|
747 | VirtualBoxVM.app_SYMLINKS = \
|
---|
748 | MacOS=>../../../MacOS/
|
---|
749 |
|
---|
750 | $(PATH_TARGET)/VM-Info.plist: src/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))
|
---|
751 | $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
|
---|
752 | $(QUIET)$(RM) -f $@
|
---|
753 | $(QUIET)$(SED) \
|
---|
754 | -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
|
---|
755 | -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
|
---|
756 | -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
|
---|
757 | -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
|
---|
758 | --output $@ $<
|
---|
759 |
|
---|
760 | #
|
---|
761 | # Translation installation
|
---|
762 | #
|
---|
763 | VirtualBox.nls_INST = $(INST_BIN)nls4/
|
---|
764 | VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS)))
|
---|
765 | VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS_QT)))
|
---|
766 | VirtualBox.nls_MODE = 644
|
---|
767 |
|
---|
768 |
|
---|
769 | #
|
---|
770 | # Testcase for the darwin keyboard routines.
|
---|
771 | #
|
---|
772 | ifdef VBOX_WITH_TESTCASES
|
---|
773 | PROGRAMS.darwin += tstDarwinKeyboard4
|
---|
774 | tstDarwinKeyboard4_TEMPLATE = VBOXR3TSTEXE
|
---|
775 | tstDarwinKeyboard4_INCS = include
|
---|
776 | tstDarwinKeyboard4_SOURCES = \
|
---|
777 | src/darwin/tstDarwinKeyboard.cpp \
|
---|
778 | src/darwin/DarwinKeyboard.cpp
|
---|
779 | tstDarwinKeyboard4_LDFLAGS = -framework IOKit -framework Carbon
|
---|
780 | tstDarwinKeyboard4_LIBS = \
|
---|
781 | $(LIB_RUNTIME)
|
---|
782 | endif
|
---|
783 |
|
---|
784 | # grep the images out of the resource file for dependency tracking
|
---|
785 | VirtualBox_QT_RC += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox.qrc)
|
---|
786 | VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application.cpp
|
---|
787 |
|
---|
788 | # We have different about dialogs in OSE and PUEL. Therefor two independent
|
---|
789 | # resource files exists.
|
---|
790 | ifdef VBOX_OSE
|
---|
791 | VirtualBox_QT_RC_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_OSE.qrc)
|
---|
792 | VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application_ose.cpp
|
---|
793 | else
|
---|
794 | VirtualBox_QT_RC_NON_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_NonOSE.qrc)
|
---|
795 | VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application_non_ose.cpp
|
---|
796 | VirtualBox_SOURCES += src/VBoxAboutNonOSEDlg.cpp
|
---|
797 | VirtualBox_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h
|
---|
798 | endif
|
---|
799 |
|
---|
800 | # OSE version is always necessary for lupdate/lrelease
|
---|
801 | VirtualBox_QT_UISRCS4 += ui/VBoxAboutDlg.ui
|
---|
802 |
|
---|
803 | # Commit the magic.
|
---|
804 | # (note: before custom rules that make usage of generated variables!).
|
---|
805 | include $(KBUILD_PATH)/footer.kmk
|
---|
806 |
|
---|
807 |
|
---|
808 | #
|
---|
809 | # Qt source file generation rules
|
---|
810 | #
|
---|
811 |
|
---|
812 | ## @todo move QT source generation macros to kBuild
|
---|
813 |
|
---|
814 | ## Generate a rule to create a MOC source file from a header containing
|
---|
815 | # classes that use the Q_OBJECT macro.
|
---|
816 | # @param $mochdr header file with Q_OBJECT
|
---|
817 | define def_qt_gen_src_moc
|
---|
818 |
|
---|
819 | $(eval mocsrc := $(PATH_$(target))/moc/moc_$(notdir $(basename $(mochdr))).cpp)
|
---|
820 |
|
---|
821 | $(target)_GENSRCS_REAL += $(mocsrc)
|
---|
822 | ## @todo The source should be added to GEN_SOURCES: $ (target)_GEN_SOURCES += $ (mocsrc)
|
---|
823 |
|
---|
824 | $(mocsrc): $(mochdr)
|
---|
825 | $$(call MSG_TOOL,moc,$(target),$(mochdr),$$@)
|
---|
826 | $$(QUIET)$$(MKDIR) -p $$(@D)
|
---|
827 | $$(QUIET)$$(VBOX_MOC4) \
|
---|
828 | $(addprefix -D,$($(target)_DEFS)) \
|
---|
829 | $(addprefix -I,$($(target)_INCS)) \
|
---|
830 | $(mochdr) -o $$@
|
---|
831 |
|
---|
832 | endef
|
---|
833 |
|
---|
834 | ## Generate a rule to create a MOC include file from a source containing
|
---|
835 | # local classes that use the Q_OBJECT macro. This include is then included
|
---|
836 | # by that source, so it must be generated before the source gets compiled.
|
---|
837 | # @param $mocsrc source file with Q_OBJECT
|
---|
838 | define def_qt_gen_inc_moc
|
---|
839 |
|
---|
840 | $(eval mocobj := $(PATH_$(target)_$(mocsrc))/$(notdir $(basename $(mocsrc)))$(VBOX_SUFF_OBJ))
|
---|
841 | $(eval mocinc := $(PATH_$(target))/moc/$(notdir $(basename $(mocsrc))).moc)
|
---|
842 |
|
---|
843 | $(target)_GENHDRS_REAL += $(mocinc)
|
---|
844 | $(target)_INTERMEDIATES += $(mocinc)
|
---|
845 |
|
---|
846 | $(mocobj): $(mocinc)
|
---|
847 |
|
---|
848 | $(mocinc): $(mocsrc)
|
---|
849 | $$(call MSG_TOOL,moc,$(target),$(mocsrc),$$@)
|
---|
850 | $$(QUIET)$$(MKDIR) -p $$(@D)
|
---|
851 | $$(QUIET)$$(VBOX_MOC4) \
|
---|
852 | $(addprefix -D,$($(target)_DEFS)) \
|
---|
853 | $(addprefix -I,$($(target)_INCS)) \
|
---|
854 | -i $(mocsrc) -o $$@
|
---|
855 |
|
---|
856 | endef
|
---|
857 |
|
---|
858 | ## Generate a rule to create a MOC include file from a UI header (ui.h) containing
|
---|
859 | # local classes that use the Q_OBJECT macro. This include is then included
|
---|
860 | # by that header, so it must be generated before the UI source gets compiled.
|
---|
861 | # @param $mocuihdr UI header file with Q_OBJECT
|
---|
862 | define def_qt_gen_inc_mocuihdr
|
---|
863 |
|
---|
864 | $(eval uisrc := $(PATH_$(target))/ui/$(notdir $(basename $(basename $(mocuihdr)))).cpp)
|
---|
865 | $(eval uiobj := $(PATH_$(target)_$$(uisrc))/$(notdir $(basename $$(uisrc)))$(VBOX_SUFF_OBJ))
|
---|
866 | $(eval mocuiinc := $(PATH_$(target))/moc/$(notdir $(basename $(mocuihdr))).moc)
|
---|
867 |
|
---|
868 | $(target)_GENHDRS_REAL += $(mocuiinc)
|
---|
869 | $(target)_INTERMEDIATES += $(mocuiinc)
|
---|
870 |
|
---|
871 | $(uisrc): $(mocuiinc)
|
---|
872 | $(mocuiinc): $(mocuihdr)
|
---|
873 | $$(call MSG_TOOL,moc,$(target),$(mocuihdr),$$@)
|
---|
874 | $$(QUIET)$$(MKDIR) -p $$(@D)
|
---|
875 | $$(QUIET)$$(VBOX_MOC4) \
|
---|
876 | $(addprefix -D,$($(target)_DEFS)) \
|
---|
877 | $(addprefix -I,$($(target)_INCS)) \
|
---|
878 | -i $(mocuihdr) -o $$@
|
---|
879 |
|
---|
880 | endef
|
---|
881 |
|
---|
882 | ## Generate a rule to create a header and source files from an UI3
|
---|
883 | # definition source (.ui).
|
---|
884 | # @param $uifile UI definintion source file
|
---|
885 | define def_qt_gen_src_ui3
|
---|
886 |
|
---|
887 | $(eval uisrc := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).cpp)
|
---|
888 | $(eval uihdr := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).h)
|
---|
889 | $(eval mocsrc := $(PATH_$(target))/moc/moc_$(notdir $(basename $(uifile))).cpp)
|
---|
890 |
|
---|
891 |
|
---|
892 | $(target)_GENSRCS_REAL += $(uisrc) $(mocsrc)
|
---|
893 | $(target)_GENHDRS_REAL += $(uihdr)
|
---|
894 | $(target)_INTERMEDIATES += $(uihdr)
|
---|
895 | ## @todo The source should be added to GEN_SOURCES: $ (target)_GEN_SOURCES += $ (uisrc) $ (mocsrc)
|
---|
896 |
|
---|
897 | $(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr)))
|
---|
898 | $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
|
---|
899 | $$(QUIET)$$(VBOX_UIC3) $(uifile) -o $$@
|
---|
900 |
|
---|
901 | $(uisrc): $(uihdr) $(uifile) $(wildcard $(uifile).h) | $$(call DIRDEP,$(dir $(uisrc)))
|
---|
902 | $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
|
---|
903 | $$(QUIET)$$(VBOX_UIC3) -impl $(uihdr) $(uifile) -o $$@
|
---|
904 |
|
---|
905 | #$$(QUIET)$$(VBOX_UIC3) $(uifile) -i $(uihdr) -o $$@
|
---|
906 |
|
---|
907 | $(mocsrc): $(uihdr) | $$(call DIRDEP,$(dir $(mocsrc)))
|
---|
908 | $$(call MSG_TOOL,moc,$(target),$(uihdr),$$@)
|
---|
909 | $$(QUIET)$$(VBOX_MOC4) \
|
---|
910 | $(addprefix -D,$($(target)_DEFS)) \
|
---|
911 | $(addprefix -I,$($(target)_INCS)) \
|
---|
912 | $(uihdr) -o $$@
|
---|
913 |
|
---|
914 | endef
|
---|
915 |
|
---|
916 | ## Generate a rule to create a header file from an UI4
|
---|
917 | # definition source (.ui).
|
---|
918 | # @param $uifile UI definintion source file
|
---|
919 | define def_qt_gen_src_ui4
|
---|
920 |
|
---|
921 | $(eval uihdr := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).gen.h)
|
---|
922 |
|
---|
923 | $(target)_GENHDRS_REAL += $(uihdr)
|
---|
924 | $(target)_INTERMEDIATES += $(uihdr)
|
---|
925 |
|
---|
926 | $(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr)))
|
---|
927 | $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
|
---|
928 | $$(QUIET)$$(VBOX_UIC4) $(uifile) -o $$@
|
---|
929 |
|
---|
930 | # we assume that the generated header is at least included by
|
---|
931 | # the normal header with the same name
|
---|
932 | include/$(notdir $(basename $(uifile))).h: $(uihdr)
|
---|
933 |
|
---|
934 | endef
|
---|
935 |
|
---|
936 | ## Generate a rule to create a .qm file from a NLS translation
|
---|
937 | # source (.ts).
|
---|
938 | # @param $tsfile Translation source file
|
---|
939 | define def_qt_gen_nls
|
---|
940 |
|
---|
941 | $(eval qmfile := $(PATH_$(target))/nls/$(notdir $(basename $(tsfile))).qm)
|
---|
942 |
|
---|
943 | OTHER_CLEAN += $(qmfile)
|
---|
944 |
|
---|
945 | # Note that we use -nocompress in lrelease to avoid stripping comments and
|
---|
946 | # other information from .qm files. If we don't do that, we get .qm files two
|
---|
947 | # times smaller, but QTranslator::findMessage() will start searching for
|
---|
948 | # translations in all existing contexts in case if it cannot find it in the
|
---|
949 | # original context (which is of course not acceptable, no matter if it's a
|
---|
950 | # special Qt "feature" or just a bug).
|
---|
951 |
|
---|
952 | $(qmfile): $(tsfile) | $$(call DIRDEP,$(dir $(qmfile)))
|
---|
953 | $$(call MSG_TOOLS,lrelease,$(target),$(tsfile),$$@)
|
---|
954 | $$(QUIET)$$(VBOX_LRELEASE4) -nocompress $(tsfile) -qm $$@
|
---|
955 |
|
---|
956 | endef
|
---|
957 |
|
---|
958 | ## Generate rules for generating the Qt source for a target.
|
---|
959 | # @param $target Target name.
|
---|
960 | define def_qt_gen_src
|
---|
961 |
|
---|
962 | # moc srcs from hdrs with Q_OBJECT
|
---|
963 | $(foreach mochdr,$($(target)_QT_MOCHDRS),$(eval $(def_qt_gen_src_moc)))
|
---|
964 | # moc includes from srcs with Q_OBJECT
|
---|
965 | $(foreach mocsrc,$($(target)_QT_MOCSRCS),$(eval $(def_qt_gen_inc_moc)))
|
---|
966 | # moc includes from UI headers with Q_OBJECT
|
---|
967 | $(foreach mocuihdr,$($(target)_QT_MOCUIHDRS),$(eval $(def_qt_gen_inc_mocuihdr)))
|
---|
968 | # UI3 sources
|
---|
969 | $(foreach uifile,$($(target)_QT_UISRCS3),$(eval $(def_qt_gen_src_ui3)))
|
---|
970 | # UI4 sources
|
---|
971 | $(foreach uifile,$($(target)_QT_UISRCS4),$(eval $(def_qt_gen_src_ui4)))
|
---|
972 | # NLS files
|
---|
973 | $(foreach tsfile,$($(target)_QT_TRANSLATIONS),$(eval $(def_qt_gen_nls)))
|
---|
974 | $(foreach tsfile,$($(target)_QT_TRANSLATIONS_QT),$(eval $(def_qt_gen_nls)))
|
---|
975 | # dirs
|
---|
976 | $$(call DIRDEP,$(PATH_$(target))/ui/) \
|
---|
977 | $$(call DIRDEP,$(PATH_$(target))/moc/) \
|
---|
978 | $$(call DIRDEP,$(PATH_$(target))/nls/):
|
---|
979 | $$(call MSG_MKDIR,$$@)
|
---|
980 | $$(QUIET)$$(MKDIR) -p $$@
|
---|
981 |
|
---|
982 | endef
|
---|
983 |
|
---|
984 | # Generate Qt source rules.
|
---|
985 | $(foreach target,VirtualBox,$(eval $(def_qt_gen_src)))
|
---|
986 |
|
---|
987 |
|
---|
988 | # Generate COM Wrappers
|
---|
989 | $(WRAPPERSINCFILE): $(WRAPPERSFILE)
|
---|
990 |
|
---|
991 | $(WRAPPERSFILE): $(XIDLFILE) $(WRAPPERSTEMPLATE) | $(call DIRDEP,$(PATH_VirtualBox)/include/)
|
---|
992 | $(call MSG_TOOL,xsltproc,VirtualBox,$<,$@)
|
---|
993 | $(QUIET)$(VBOX_XSLTPROC) -o $@ $(WRAPPERSTEMPLATE) $<
|
---|
994 |
|
---|
995 | $(call DIRDEP,$(PATH_VirtualBox)/include/):
|
---|
996 | $(call MSG_MKDIR,$@)
|
---|
997 | $(QUIET)$(MKDIR) -p $@
|
---|
998 |
|
---|
999 | # rules for resources file creation
|
---|
1000 | $(PATH_VirtualBox)/ui/qrc_application.cpp: VirtualBox.qrc $(VirtualBox_QT_RC)
|
---|
1001 | $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
|
---|
1002 | $(QUIET)$(VBOX_RCC4) -o $@ $<
|
---|
1003 |
|
---|
1004 | $(PATH_VirtualBox)/ui/qrc_application_ose.cpp: VirtualBox_OSE.qrc $(VirtualBox_QT_RC_OSE)
|
---|
1005 | $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
|
---|
1006 | $(QUIET)$(VBOX_RCC4) -name "OSE" -o $@ $<
|
---|
1007 |
|
---|
1008 | $(PATH_VirtualBox)/ui/qrc_application_non_ose.cpp: VirtualBox_NonOSE.qrc $(VirtualBox_QT_RC_NON_OSE)
|
---|
1009 | $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
|
---|
1010 | $(QUIET)$(VBOX_RCC4) -name "NonOSE" -o $@ $<
|
---|
1011 |
|
---|
1012 | #
|
---|
1013 | # Hand made dependencies go here.
|
---|
1014 | # Basically, here are dependencies for generated UI source files that
|
---|
1015 | # include generated headers in turn.
|
---|
1016 | #
|
---|
1017 |
|
---|
1018 | # Make all generated UI sources dependent on all generated headers (since they
|
---|
1019 | # may include them). This is safer than indifidual dependencies above but
|
---|
1020 | # currently disabled, because will cause all UI sources to be rebuilt one a
|
---|
1021 | # single one changes.
|
---|
1022 | #$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS3)))) : $(VirtualBox_GENHDRS)
|
---|
1023 |
|
---|
1024 |
|
---|
1025 | #
|
---|
1026 | # Custom targets
|
---|
1027 | #
|
---|
1028 |
|
---|
1029 | # Update all known NLS translation (.ts) files in the nls/ subdirectory.
|
---|
1030 | # NOTE: This target is intened to be run only by the GUI maintainer shortly
|
---|
1031 | # before a new product release. VirtualBox_xx_YY.ts is a template for new
|
---|
1032 | # languages and should never be actually translated or installed.
|
---|
1033 | updatenls: $(VirtualBox_SOURCES) $(VirtualBox_HEADERS)
|
---|
1034 | $(call MSG_L1,lupdate all languages (nls/*.ts))
|
---|
1035 | $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts
|
---|
1036 |
|
---|
1037 |
|
---|
1038 | #
|
---|
1039 | # Test targets
|
---|
1040 | #
|
---|
1041 |
|
---|
1042 | test:
|
---|
1043 | @echo ====================
|
---|
1044 | @echo $(VirtualBox_GENSRCS) | $(SED) -e "s/ /\n/g"
|
---|
1045 | @echo --------------------
|
---|
1046 | @echo $(VirtualBox_GENSRCS_REAL) | $(SED) -e "s/ /\n/g"
|
---|
1047 | @echo ====================
|
---|
1048 | @echo $(VirtualBox_GENHDRS) | $(SED) -e "s/ /\n/g"
|
---|
1049 | @echo --------------------
|
---|
1050 | @echo $(VirtualBox_GENHDRS_REAL) | $(SED) -e "s/ /\n/g"
|
---|
1051 | @echo ====================
|
---|
1052 |
|
---|
1053 | test2:
|
---|
1054 | @echo $(OTHER_CLEAN) | $(SED) -e "s/ /\n/g"
|
---|
1055 |
|
---|
1056 | test3:
|
---|
1057 | @echo $(VirtualBox_HEADERS) | $(SED) -e "s/ /\n/g"
|
---|
1058 |
|
---|
1059 | testwrappers: $(WRAPPERSFILE)
|
---|
1060 |
|
---|