VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk@ 2514

Last change on this file since 2514 was 2478, checked in by vboxsync, 18 years ago

[Mm]akefile -> Makefile.kmk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 16.2 KB
Line 
1# $Id: Makefile.kmk 2478 2007-05-04 00:46:16Z vboxsync $
2## @file
3# Makefile for the VirtualBox Qt GUI.
4#
5
6#
7# Copyright (C) 2006 InnoTek Systemberatung GmbH
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 as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17# If you received this file as part of a commercial VirtualBox
18# distribution, then only the terms of your commercial VirtualBox
19# license agreement apply instead of the previous paragraph.
20#
21
22ifeq ($(BUILD_TARGET),linux)
23XKEYBOARD_NEW := 1
24endif
25
26# include qmake project file
27include VBoxUI.pro
28
29# Import QDesigner UI sources
30VirtualBox_QT_UISRCS := $(FORMS)
31# Import translation sources
32VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS)
33# Import images
34VirtualBox_QT_IMAGES := $(IMAGES)
35
36# reset things to avoid possible conflicts with kBuild
37TEMPLATE :=
38LANGUAGE :=
39FORMS :=
40TRANSLATIONS :=
41IMAGES :=
42
43DEPTH = ../../../..
44include $(PATH_KBUILD)/header.kmk
45
46PROGRAMS = VirtualBox
47
48INSTALLS = VirtualBox.nls
49
50VirtualBox_TEMPLATE = VBOXQTGUIEXE
51VirtualBox_SDKS.win = WINPSDK DXSDK
52VirtualBox_SDKS.linux = LIBSDL
53
54ifeq ($(BUILD_TARGET),darwin)
55# For the launch trick we need different inode numbers.
56VirtualBox_INST = $(INST_BIN)VirtualBox $(INST_BIN)VirtualBoxVM
57endif
58
59# Each nls/VirtualBox_xx_YY.ts file must have a qt_xx_YY.ts counterpart
60VirtualBox_QT_TRANSLATIONS_QT := \
61 $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts,\
62 $(filter nls/VirtualBox_%.ts,$(VirtualBox_QT_TRANSLATIONS)))
63
64# QDesigner UI sources are imported from VBoxUI.pro as VirtualBox_QT_UISRC
65
66# Headers containing definitions of classes that use the Q_OBJECT macro
67VirtualBox_QT_MOCHDRS = \
68 include/QIWidgetValidator.h \
69 include/QIHotKeyEdit.h \
70 include/QIStatusBar.h \
71 include/QIStateIndicator.h \
72 include/QIMessageBox.h \
73 include/QIRichLabel.h \
74 include/VBoxGlobalSettings.h \
75 include/VBoxUtils.h \
76 include/VBoxGlobal.h \
77 include/VBoxVMListBox.h \
78 include/VBoxMediaComboBox.h \
79 include/VBoxSelectorWnd.h \
80 include/VBoxConsoleWnd.h \
81 include/VBoxConsoleView.h \
82 include/VBoxProblemReporter.h
83
84# Sources containing local definitions of classes that use the Q_OBJECT macro
85VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp
86ifneq ($(BUILD_TARGET),win)
87VirtualBox_QT_MOCSRCS += src/COMDefs.cpp
88endif
89
90# UI headers (ui.h) containing local definitions of classes that use the Q_OBJECT macro
91VirtualBox_QT_MOCUIHDRS = \
92 ui/VBoxVMSettingsDlg.ui.h \
93 ui/VBoxSharedFoldersSettings.ui.h
94ifeq ($(BUILD_TARGET),win)
95VirtualBox_QT_MOCUIHDRS += ui/VBoxVMNetworkSettings.ui.h
96endif
97
98
99# All generated sources. Note: this list MUST be in sync with Qt source
100# generation rules defined somewhere below!
101VirtualBox_GENSRCS = \
102 $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCHDRS))), $(PATH_VirtualBox)/moc/moc_$(moc).cpp) \
103 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS))), $(PATH_VirtualBox)/ui/$(ui).cpp $(PATH_VirtualBox)/moc/moc_$(ui).cpp) \
104 $(PATH_VirtualBox)/ui/vbox_image_collection.cpp
105
106# All generated headers. Note: this list MUST be in sync with Qt source
107# generation rules defined somewhere below!
108VirtualBox_GENHDRS = \
109 $(foreach mocui,$(notdir $(basename $(VirtualBox_QT_MOCUIHDRS))), $(PATH_VirtualBox)/moc/$(mocui).moc) \
110 $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCSRCS))), $(PATH_VirtualBox)/moc/$(moc).moc) \
111 $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS))), $(PATH_VirtualBox)/ui/$(ui).h)
112
113# All existing .ui.h files for known .ui sources
114VirtualBox_QT_UIHDRS = \
115 $(wildcard $(addsuffix .h,$(VirtualBox_QT_UISRCS)))
116
117# All header files
118VirtualBox_HEADERS = \
119 $(wildcard include/*.h) \
120 $(VirtualBox_GENHDRS) \
121 $(VirtualBox_QT_UIHDRS)
122
123
124VirtualBox_SOURCES = \
125 $(VirtualBox_GENSRCS) \
126 src/main.cpp \
127 src/COMDefs.cpp \
128 src/QIWidgetValidator.cpp \
129 src/QIHotKeyEdit.cpp \
130 src/QIStateIndicator.cpp \
131 src/QIStatusBar.cpp \
132 src/QIMessageBox.cpp \
133 src/QIRichLabel.cpp \
134 src/VBoxGlobalSettings.cpp \
135 src/VBoxGlobal.cpp \
136 src/VBoxMediaComboBox.cpp \
137 src/VBoxProblemReporter.cpp \
138 src/VBoxSelectorWnd.cpp \
139 src/VBoxConsoleView.cpp \
140 src/VBoxConsoleWnd.cpp \
141 src/VBoxVMListBox.cpp \
142 src/VBoxFrameBuffer.cpp
143
144VirtualBox_SOURCES.win += \
145 src/win32/VirtualBox.rc
146
147VirtualBox_SOURCES.win += \
148 src/VBoxFBDDRAW.cpp
149
150ifdef XKEYBOARD_NEW
151VirtualBox_SOURCES.linux = \
152 src/linux/XKeyboardNew.cpp
153else
154VirtualBox_SOURCES.linux = \
155 src/linux/XKeyboard.cpp \
156 src/linux/keyboard.c
157endif
158
159VirtualBox_SOURCES.darwin = \
160 src/darwin/DarwinKeyboard.cpp \
161 src/darwin/DarwinCursor.cpp \
162 src/darwin/VBoxAquaStyle.cpp \
163 src/darwin/VBoxUtils-darwin.cpp
164
165## @todo how to detect what tool is used?
166## @todo GCC3 seems to lack -Wno-missing-base-class-initializer, so we use
167# more generic -Wno-extra
168ifneq ($(BUILD_TARGET),win)
169src/COMDefs.cpp_CXXFLAGS = $(VBOX_GCC_Wno-extra)
170endif
171
172VirtualBox_DEFS = VBOX_GUI_SEPARATE_VM_PROCESS
173VirtualBox_DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT
174VirtualBox_DEFS.darwin = VBOX_GUI_USE_QIMAGE
175VirtualBox_DEFS.linux = VBOX_GUI_USE_SDL
176VirtualBox_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
177#ifndef VBOX_OSE
178 VirtualBox_DEFS.darwin += VBOX_WITH_HACKED_QT
179#endif
180ifneq ($(BUILD_TYPE),release)
181 # non-release builds has some extra features.
182 VirtualBox_DEFS += VBOX_GUI_USE_REFRESH_TIMER VBOX_WITH_DEBUGGER_GUI_MENU
183 VirtualBox_DEFS.win += VBOX_GUI_USE_DDRAW
184 VirtualBox_DEFS.linux += VBOX_GUI_USE_QIMAGE
185endif
186ifdef VBOX_WITH_ALSA
187 VirtualBox_DEFS += VBOX_WITH_ALSA
188endif
189ifdef VBOX_OSE
190 VirtualBox_DEFS += VBOX_OSE
191endif
192
193VirtualBox_INCS = \
194 ./include \
195 $(PATH_VirtualBox)/ui \
196 $(PATH_VirtualBox)/moc \
197 $(PATH_VirtualBox)/include \
198
199
200ifeq ($(BUILD_TYPE),release)
201 VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
202else
203 VirtualBox_LDFLAGS.linux+= -rdynamic # for backtrace_symbols()
204 ifeq ($(USERNAME),dmik)
205 VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
206 else
207 VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
208 endif
209endif
210VirtualBox_LDFLAGS.darwin = -framework IOKit
211VirtualBox_LIBS.win = \
212 $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \
213 $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
214 $(PATH_SDK_DXSDK_LIB)/dxguid.lib
215
216ifdef VBOX_WITH_DEBUGGER_GUI
217 ifeq ($(BUILD_TARGET),win)
218 VirtualBox_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)
219 else
220 VirtualBox_LIBS += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL)
221 endif
222endif
223
224WRAPPERSFILE = $(PATH_VirtualBox)/include/COMWrappers.h
225WRAPPERSINCFILE = include/COMDefs.h
226WRAPPERSTEMPLATE = include/COMWrappers.xsl
227XIDLFILE = ../../Main/idl/VirtualBox.xidl
228
229
230# generated files we need to clean manually
231OTHER_CLEAN = \
232 $(VirtualBox_GENSRCS) \
233 $(VirtualBox_GENHDRS) \
234 $(WRAPPERSFILE)
235
236
237#
238# On Mac OS X (darwin) we need to install icon resources and compusory bundle contents.
239#
240INSTALLS.darwin += VirtualBox.app
241VirtualBox.app_INST = $(INST_VIRTUALBOX)Contents/
242VirtualBox.app_MODE = 644
243VirtualBox.app_SOURCES = \
244 src/darwin/PkgInfo \
245 $(PATH_TARGET)/Info.plist \
246 images/VirtualBox.icns=>Resources/virtualbox.icns
247
248$(PATH_TARGET)/Info.plist: src/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))
249 $(call MSG_GENERATE,VirtualBox.app,$<,$@)
250 $(QUIET)$(RM) -f $@
251 $(QUIET)$(SED) \
252 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
253 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
254 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
255 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
256 $< > $@
257
258INSTALLS.darwin += VirtualBoxVM.app
259VirtualBoxVM.app_INST = $(VirtualBox.app_INST)Resources/VirtualBoxVM.app/Contents/
260VirtualBoxVM.app_MODE = 644
261VirtualBoxVM.app_SOURCES = \
262 src/darwin/VM-PkgInfo=>PkgInfo \
263 $(PATH_TARGET)/VM-Info.plist=>Info.plist \
264 images/VirtualBox.icns=>Resources/virtualbox.icns
265VirtualBoxVM.app_SYMLINKS = \
266 MacOS=>../../../MacOS/
267
268$(PATH_TARGET)/VM-Info.plist: src/darwin/VM-Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))
269 $(call MSG_GENERATE,VirtualBoxVM.app,$<,$@)
270 $(QUIET)$(RM) -f $@
271 $(QUIET)$(SED) \
272 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
273 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
274 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
275 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
276 $< > $@
277
278#
279# Translation installation
280#
281
282VirtualBox.nls_INST = $(INST_BIN)nls/
283VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS)))
284VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS_QT)))
285VirtualBox.nls_MODE = 644
286
287
288#
289# Testcase for the darwin keyboard routines.
290#
291ifdef VBOX_WITH_TESTCASES
292PROGRAMS.darwin += tstDarwinKeyboard
293tstDarwinKeyboard_TEMPLATE = VBOXR3TSTEXE
294tstDarwinKeyboard_INCS = include
295tstDarwinKeyboard_SOURCES = \
296 src/darwin/tstDarwinKeyboard.cpp \
297 src/darwin/DarwinKeyboard.cpp
298tstDarwinKeyboard_LDFLAGS = -framework IOKit -framework Carbon
299tstDarwinKeyboard_LIBS = \
300 $(LIB_RUNTIME)
301endif
302
303
304
305# Commit the magic.
306# (note: before custom rules that make usage of generated variables!).
307include $(PATH_KBUILD)/footer.kmk
308
309
310
311#
312# Qt source file generation rules
313#
314
315## @todo move QT source generation macros to kBuild
316
317## Generate a rule to create a MOC source file from a header containing
318# classes that use the Q_OBJECT macro.
319# @param $mochdr header file with Q_OBJECT
320define def_qt_gen_src_moc
321
322$(eval mocsrc := $(PATH_$(target))/moc/moc_$(notdir $(basename $(mochdr))).cpp)
323
324$(target)_GENSRCS_REAL += $(mocsrc)
325
326$(mocsrc): $(mochdr)
327 $$(call MSG_TOOL,moc,$(target),$(mochdr),$$@)
328 $$(QUIET)$$(MKDIR) -p $$(@D)
329 $$(QUIET)$$(VBOX_MOC) $(mochdr) -o $$@
330
331endef
332
333## Generate a rule to create a MOC include file from a source containing
334# local classes that use the Q_OBJECT macro. This include is then included
335# by that source, so it must be generated before the source gets compiled.
336# @param $mocsrc source file with Q_OBJECT
337define def_qt_gen_inc_moc
338
339$(eval mocobj := $(PATH_$(target)_$(mocsrc))/$(notdir $(basename $(mocsrc)))$(SUFF_OBJ))
340$(eval mocinc := $(PATH_$(target))/moc/$(notdir $(basename $(mocsrc))).moc)
341
342$(target)_GENHDRS_REAL += $(mocinc)
343
344$(mocobj): $(mocinc)
345
346.NOTPARALLEL: $(mocinc)
347$(mocinc): $(mocsrc)
348 $$(call MSG_TOOL,moc,$(target),$(mocsrc),$$@)
349 $$(QUIET)$$(MKDIR) -p $$(@D)
350 $$(QUIET)$$(VBOX_MOC) -i $(mocsrc) -o $$@
351
352endef
353
354## Generate a rule to create a MOC include file from a UI header (ui.h) containing
355# local classes that use the Q_OBJECT macro. This include is then included
356# by that header, so it must be generated before the UI source gets compiled.
357# @param $mocuihdr UI header file with Q_OBJECT
358define def_qt_gen_inc_mocuihdr
359
360$(eval uisrc := $(PATH_$(target))/ui/$(notdir $(basename $(basename $(mocuihdr)))).cpp)
361$(eval uiobj := $(PATH_$(target)_$$(uisrc))/$(notdir $(basename $$(uisrc)))$(SUFF_OBJ))
362$(eval mocuiinc := $(PATH_$(target))/moc/$(notdir $(basename $(mocuihdr))).moc)
363
364$(target)_GENHDRS_REAL += $(mocuiinc)
365
366.NOTPARALLEL: $(mocuiinc)
367$(uisrc): $(mocuiinc)
368$(mocuiinc): $(mocuihdr)
369 $$(call MSG_TOOL,moc,$(target),$(mocuihdr),$$@)
370 $$(QUIET)$$(MKDIR) -p $$(@D)
371 $$(QUIET)$$(VBOX_MOC) -i $(mocuihdr) -o $$@
372
373endef
374
375## Generate a rule to create a header and source files from an UI
376# definition source (.ui).
377# @param $uifile UI definintion source file
378define def_qt_gen_src_ui
379
380$(eval uisrc := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).cpp)
381$(eval uihdr := $(PATH_$(target))/ui/$(notdir $(basename $(uifile))).h)
382$(eval mocsrc := $(PATH_$(target))/moc/moc_$(notdir $(basename $(uifile))).cpp)
383
384$(target)_GENSRCS_REAL += $(uisrc) $(mocsrc)
385$(target)_GENHDRS_REAL += $(uihdr)
386
387.NOTPARALLEL: $(uihdr)
388$(uihdr): $(uifile) | $$(call DIRDEP,$(dir $(uihdr)))
389 $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
390 $$(QUIET)$$(VBOX_UIC) $(uifile) -o $$@
391
392$(uisrc): $(uihdr) $(uifile) $(wildcard $(uifile).h) | $$(call DIRDEP,$(dir $(uisrc)))
393 $$(call MSG_TOOL,uic,$(target),$(uifile),$$@)
394 $$(QUIET)$$(VBOX_UIC) $(uifile) -i $(uihdr) -o $$@
395
396$(mocsrc): $(uihdr) | $$(call DIRDEP,$(dir $(mocsrc)))
397 $$(call MSG_TOOL,moc,$(target),$(uihdr),$$@)
398 $$(QUIET)$$(VBOX_MOC) $(uihdr) -o $$@
399
400endef
401
402## Generate a rule to create a .qm file from a NLS translation
403# source (.ts).
404# @param $tsfile Translation source file
405define def_qt_gen_nls
406
407$(eval qmfile := $(PATH_$(target))/nls/$(notdir $(basename $(tsfile))).qm)
408
409OTHER_CLEAN += $(qmfile)
410
411$(qmfile): $(tsfile) | $$(call DIRDEP,$(dir $(qmfile)))
412 $$(call MSG_TOOLS,lrelease,$(target),$(tsfile),$$@)
413 $$(QUIET)$$(VBOX_LRELEASE) $(tsfile) -qm $$@
414
415endef
416
417## Generate rules for generating the Qt source for a target.
418# @param $target Target name.
419define def_qt_gen_src
420
421# moc srcs from hdrs with Q_OBJECT
422$(foreach mochdr,$($(target)_QT_MOCHDRS),$(eval $(def_qt_gen_src_moc)))
423# moc includes from srcs with Q_OBJECT
424$(foreach mocsrc,$($(target)_QT_MOCSRCS),$(eval $(def_qt_gen_inc_moc)))
425# moc includes from UI headers with Q_OBJECT
426$(foreach mocuihdr,$($(target)_QT_MOCUIHDRS),$(eval $(def_qt_gen_inc_mocuihdr)))
427# UI sources
428$(foreach uifile,$($(target)_QT_UISRCS),$(eval $(def_qt_gen_src_ui)))
429# NLS files
430$(foreach tsfile,$($(target)_QT_TRANSLATIONS),$(eval $(def_qt_gen_nls)))
431$(foreach tsfile,$($(target)_QT_TRANSLATIONS_QT),$(eval $(def_qt_gen_nls)))
432# dirs
433$$(call DIRDEP,$(PATH_$(target))/ui/) \
434$$(call DIRDEP,$(PATH_$(target))/moc/) \
435$$(call DIRDEP,$(PATH_$(target))/nls/):
436 $$(call MSG_MKDIR,$$@)
437 $$(QUIET)$$(MKDIR) -p $$@
438
439endef
440
441# Generate Qt source rules.
442$(foreach target,VirtualBox,$(eval $(def_qt_gen_src)))
443
444
445# Generate COM Wrappers
446.NOTPARALLEL: $(WRAPPERSFILE) $(WRAPPERSINCFILE)
447
448$(WRAPPERSINCFILE): $(WRAPPERSFILE)
449
450$(WRAPPERSFILE): $(XIDLFILE) $(WRAPPERSTEMPLATE) | $(call DIRDEP,$(PATH_VirtualBox)/include/)
451 $(call MSG_TOOL,xsltproc,VirtualBox,$<,$@)
452 $(QUIET)$(VBOX_XSLTPROC) -o $@ $(WRAPPERSTEMPLATE) $<
453
454$(call DIRDEP,$(PATH_VirtualBox)/include/):
455 $(call MSG_MKDIR,$@)
456 $(QUIET)$(MKDIR) -p $@
457
458# this is actually necessary only for Win32 target with disabled dependencies
459define def_wrapper_deps
460$(src): $(WRAPPERSFILE) $(WRAPPERSINCFILE)
461endef
462
463$(foreach src,$(VirtualBox_SOURCES),$(eval $(def_wrapper_deps)))
464
465# static images imported from VBoxUI.pro as VirtualBox_QT_IMAGES
466
467$(PATH_VirtualBox)/ui/vbox_image_collection.txt: VBoxUI.pro $(VirtualBox_QT_IMAGES)
468 @echo " \
469 $(VirtualBox_QT_IMAGES) \
470 " > $@
471
472$(PATH_VirtualBox)/ui/vbox_image_collection.cpp: $(PATH_VirtualBox)/ui/vbox_image_collection.txt
473 $(call MSG_TOOL,uic,VirtualBox,$<,$@)
474 $(QUIET)$(VBOX_UIC) -o $@ -embed VBoxGUI -f $<
475
476VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/vbox_image_collection.cpp
477OTHER_CLEAN += $(PATH_VirtualBox)/ui/vbox_image_collection.txt
478
479
480#
481# Hand made dependencies go here.
482# Basically, here are dependencies for generated UI source files that
483# include generated headers in turn.
484#
485
486$(PATH_VirtualBox)/ui/VBoxDiskImageManagerDlg.cpp: \
487 $(PATH_VirtualBox)/ui/VBoxNewHDWzd.h
488
489# Make all generated UI sources dependent on all generated headers (since they
490# may include them). This is safer than indifidual dependencies above but
491# currently disabled, because will cause all UI sources to be rebuilt one a
492# single one changes.
493#$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS)))) : $(VirtualBox_GENHDRS)
494
495
496#
497# Custom targets
498#
499
500# Update all known NLS translation (.ts) files in the nls/ subdirectory.
501# NOTE: This target is intened to be run only by the GUI maintainer shortly
502# before a new product release. VirtualBox_xx_YY.ts is a template for new
503# languages and should never be actually translated or installed.
504updatenls: $(VirtualBox_SOURCES) $(VirtualBox_HEADERS)
505 $(call MSG_L1,lupdate all languages (nls/*.ts))
506 $(QUIET)$(VBOX_LUPDATE) $^ -ts $(VirtualBox_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts
507
508
509#
510# Test targets
511#
512
513test:
514 @echo ====================
515 @echo $(VirtualBox_GENSRCS) | $(SED) -e "s/ /\n/g"
516 @echo --------------------
517 @echo $(VirtualBox_GENSRCS_REAL) | $(SED) -e "s/ /\n/g"
518 @echo ====================
519 @echo $(VirtualBox_GENHDRS) | $(SED) -e "s/ /\n/g"
520 @echo --------------------
521 @echo $(VirtualBox_GENHDRS_REAL) | $(SED) -e "s/ /\n/g"
522 @echo ====================
523
524test2:
525 @echo $(OTHER_CLEAN) | $(SED) -e "s/ /\n/g"
526
527test3:
528 @echo $(VirtualBox_HEADERS) | $(SED) -e "s/ /\n/g"
529
530testwrappers: $(WRAPPERSFILE)
531
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette