VirtualBox

Changeset 10294 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 7, 2008 1:24:59 AM (17 years ago)
Author:
vboxsync
Message:

VirtualBox -> VirtualBox4 (target name).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk

    r10293 r10294  
    340340# The targets.
    341341#
    342 PROGRAMS += VirtualBox
     342PROGRAMS += VirtualBox4
    343343ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11
    344344DLLS += VBoxKeyboard4
     
    346346OTHERS += $(PATH_BIN)/vboxkeyboard4.tar.gz
    347347endif
    348 INSTALLS += VirtualBox.nls qt4-bin
     348INSTALLS += VirtualBox4.nls qt4-bin
    349349
    350350#
     
    384384
    385385# Include Qt project file, we'll use FORMS and TRANSLATIONS in
    386 # the VirtualBox setup below.
     386# the VirtualBox4 setup below.
    387387SAVED_TEMPLATE := $(TEMPLATE)
    388388include $(PATH_SUB_CURRENT)/VBoxUI.pro
     
    390390
    391391#
    392 # VirtualBox - The GUI program.
    393 #
    394 VirtualBox_TEMPLATE = VBOXQT4GUIEXE
    395 VirtualBox_NAME     = VirtualBox4
    396 VirtualBox_SDKS.win = WINPSDK DXSDK
    397 #ifeq ($(filter-out freebsd linux netbsd openbsd os2 solaris,$(KBUILD_TARGET)),) - later
    398 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2
    399 VirtualBox_SDKS += LIBSDL
     392# VirtualBox4 - The GUI program.
     393#
     394VirtualBox4_TEMPLATE = VBOXQT4GUIEXE
     395VirtualBox4_SDKS.win = WINPSDK DXSDK
     396ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2 ## @todo solaris
     397 VirtualBox4_SDKS += LIBSDL
    400398endif
    401399
    402400ifeq ($(KBUILD_TARGET),darwin)
    403 # For the launch trick we need different inode numbers.
    404 VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4
     401 # For the launch trick we need different inode numbers.
     402 VirtualBox4_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4
    405403
    406404 # For testing iChat Theater stuff change the sdk path (HACK ALERT!)
     
    411409
    412410# Headers containing definitions of classes that use the Q_OBJECT macro.
    413 VirtualBox_QT_MOCHDRS = \
     411VirtualBox4_QT_MOCHDRS = \
    414412        include/QIWidgetValidator.h \
    415413        include/QIHotKeyEdit.h \
     
    467465
    468466# Sources containing local definitions of classes that use the Q_OBJECT macro.
    469 VirtualBox_QT_MOCSRCS = src/VBoxSelectorWnd.cpp
     467VirtualBox4_QT_MOCSRCS = src/VBoxSelectorWnd.cpp
    470468ifdef VBOX_WITH_XPCOM
    471  VirtualBox_QT_MOCSRCS += src/COMDefs.cpp
    472 endif
    473 
    474 VirtualBox_SOURCES = \
     469 VirtualBox4_QT_MOCSRCS += src/COMDefs.cpp
     470endif
     471
     472VirtualBox4_SOURCES = \
    475473        src/main.cpp \
    476474        src/COMDefs.cpp \
     
    532530
    533531ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    534 ifndef VBOX_OSE
    535 VirtualBox_QT_MOCHDRS += \
    536         include/VBoxLicenseViewer.h
    537 VirtualBox_SOURCES += \
    538         src/VBoxLicenseViewer.cpp
    539 endif
    540 VirtualBox_SOURCES += \
    541         src/linux/XKeyboard-new.cpp
    542 endif
    543 
    544 VirtualBox_SOURCES.win += \
     532 ifndef VBOX_OSE
     533  VirtualBox4_QT_MOCHDRS += \
     534        include/VBoxLicenseViewer.h
     535  VirtualBox4_SOURCES += \
     536        src/VBoxLicenseViewer.cpp
     537 endif
     538 VirtualBox4_SOURCES += \
     539        src/linux/XKeyboard-new.cpp
     540endif
     541
     542VirtualBox4_SOURCES.win += \
    545543        src/VBoxFBDDRAW.cpp \
    546544        $(PATH_TARGET)/VirtualBox4.rc
    547545
    548 VirtualBox_SOURCES.darwin = \
     546VirtualBox4_SOURCES.darwin = \
    549547        src/darwin/DarwinKeyboard.cpp \
    550548        src/darwin/DarwinCursor.cpp \
     
    554552
    555553ifdef VBOX_WITH_ICHAT_THEATER
    556  VirtualBox_SOURCES.darwin += \
     554 VirtualBox4_SOURCES.darwin += \
    557555         src/darwin/VBoxIChatTheaterWrapper.m
    558556endif
    559557
    560 VirtualBox_DEFS           = VBOX_GUI_SEPARATE_VM_PROCESS
    561 VirtualBox_DEFS.debug     = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT
    562 VirtualBox_DEFS.darwin    = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP
    563 VirtualBox_DEFS.freebsd   = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
    564 VirtualBox_DEFS.linux     = VBOX_GUI_USE_SDL
    565 VirtualBox_DEFS.netbsd    = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
    566 VirtualBox_DEFS.openbsd   = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
    567 VirtualBox_DEFS.solaris   = VBOX_GUI_USE_QIMAGE #VBOX_GUI_USE_SDL
    568 VirtualBox_DEFS.win       = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
    569 VirtualBox_DEFS.win.amd64 = VBOX_WITHOUT_QHTTP
     558VirtualBox4_DEFS           = VBOX_GUI_SEPARATE_VM_PROCESS
     559VirtualBox4_DEFS.debug     = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT
     560VirtualBox4_DEFS.darwin    = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP
     561VirtualBox4_DEFS.freebsd   = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
     562VirtualBox4_DEFS.linux     = VBOX_GUI_USE_SDL
     563VirtualBox4_DEFS.netbsd    = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
     564VirtualBox4_DEFS.openbsd   = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL
     565VirtualBox4_DEFS.solaris   = VBOX_GUI_USE_QIMAGE #VBOX_GUI_USE_SDL
     566VirtualBox4_DEFS.win       = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL
     567VirtualBox4_DEFS.win.amd64 = VBOX_WITHOUT_QHTTP
    570568#ifndef VBOX_OSE
    571  VirtualBox_DEFS.darwin  += VBOX_WITH_HACKED_QT
     569## @todo VBOX_WITH_HACKED_QT doesn't apply to Qt4, so why is this still here?
     570 VirtualBox4_DEFS.darwin  += VBOX_WITH_HACKED_QT
    572571#endif
    573572ifdef VBOX_WITH_ICHAT_THEATER
    574  VirtualBox_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
     573 VirtualBox4_DEFS.darwin += VBOX_WITH_ICHAT_THEATER
    575574endif
    576575ifneq ($(KBUILD_TYPE),release)
    577576 # non-release builds has some extra features.
    578  VirtualBox_DEFS.win     += VBOX_GUI_USE_DDRAW
    579  VirtualBox_DEFS.linux   += VBOX_GUI_USE_QIMAGE
     577 VirtualBox4_DEFS.win     += VBOX_GUI_USE_DDRAW
     578 VirtualBox4_DEFS.linux   += VBOX_GUI_USE_QIMAGE
    580579endif
    581580ifdef VBOX_WITH_REGISTRATION
    582  VirtualBox_DEFS         += VBOX_WITH_REGISTRATION
     581 VirtualBox4_DEFS         += VBOX_WITH_REGISTRATION
    583582endif
    584583ifdef VBOX_WITH_REGISTRATION_REQUEST
    585  VirtualBox_DEFS         += VBOX_WITH_REGISTRATION_REQUEST
     584 VirtualBox4_DEFS         += VBOX_WITH_REGISTRATION_REQUEST
    586585endif
    587586ifdef VBOX_WITH_ALSA
    588  VirtualBox_DEFS         += VBOX_WITH_ALSA
     587 VirtualBox4_DEFS         += VBOX_WITH_ALSA
    589588endif
    590589ifdef VBOX_WITH_PULSE
    591  VirtualBox_DEFS         += VBOX_WITH_PULSE
     590 VirtualBox4_DEFS         += VBOX_WITH_PULSE
    592591endif
    593592ifdef VBOX_WITH_E1000
    594  VirtualBox_DEFS         += VBOX_WITH_E1000
     593 VirtualBox4_DEFS         += VBOX_WITH_E1000
    595594endif
    596595ifdef VBOX_OSE
    597  VirtualBox_DEFS         += VBOX_OSE
     596 VirtualBox4_DEFS         += VBOX_OSE
    598597endif
    599598ifdef VBOX_WITH_DEBUGGER_GUI
    600  VirtualBox_DEFS         += VBOX_WITH_DEBUGGER_GUI_MENU
    601 endif
    602 
    603 VirtualBox_INCS           = \
     599 VirtualBox4_DEFS         += VBOX_WITH_DEBUGGER_GUI_MENU
     600endif
     601
     602VirtualBox4_INCS           = \
    604603        ./include \
    605         $(PATH_VirtualBox)/ui \
    606         $(PATH_VirtualBox)/moc \
    607         $(PATH_VirtualBox)/include \
     604        $(PATH_VirtualBox4)/ui \
     605        $(PATH_VirtualBox4)/moc \
     606        $(PATH_VirtualBox4)/include \
    608607
    609608
    610609ifeq ($(KBUILD_TYPE),release)
    611  VirtualBox_LDFLAGS.win  += /SUBSYSTEM:windows
     610 VirtualBox4_LDFLAGS.win  += /SUBSYSTEM:windows
    612611else
    613  VirtualBox_LDFLAGS.linux+= -rdynamic # for backtrace_symbols()
     612 VirtualBox4_LDFLAGS.linux+= -rdynamic # for backtrace_symbols()
    614613 ifeq ($(USERNAME),dmik)
    615   VirtualBox_LDFLAGS.win += /SUBSYSTEM:windows
     614  VirtualBox4_LDFLAGS.win += /SUBSYSTEM:windows
    616615 else
    617   VirtualBox_LDFLAGS.win += /SUBSYSTEM:console
    618  endif
    619 endif
    620 VirtualBox_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz
     616  VirtualBox4_LDFLAGS.win += /SUBSYSTEM:console
     617 endif
     618endif
     619VirtualBox4_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz
    621620ifdef VBOX_WITH_ICHAT_THEATER
    622  VirtualBox_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
    623 endif
    624 VirtualBox_LIBS.win       = \
     621 VirtualBox4_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
     622endif
     623VirtualBox4_LIBS.win       = \
    625624        $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \
    626625        $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
    627626        $(PATH_SDK_DXSDK_LIB)/dxguid.lib
    628627ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11
    629 VirtualBox_LIBS          += $(PATH_DLL)/VBoxKeyboard4$(VBOX_SUFF_DLL)
     628 VirtualBox4_LIBS         += $(PATH_DLL)/VBoxKeyboard4$(VBOX_SUFF_DLL)
    630629endif
    631630
     
    633632ifdef VBOX_WITH_DEBUGGER_GUI ## @todo make this dynamically loadable and ship with release builds too.
    634633 ifeq ($(KBUILD_TARGET),win)
    635   VirtualBox_LIBS        += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)
     634  VirtualBox4_LIBS        += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)
    636635 else
    637   VirtualBox_LIBS        += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL)
     636  VirtualBox4_LIBS        += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL)
    638637 endif
    639638endif
     
    647646  FORMS := $(filter-out ui/VBoxRegistrationDlg.ui,$(FORMS))
    648647 endif
    649  VirtualBox_SOURCES := \
    650         $(VirtualBox_SOURCES) \
     648 VirtualBox4_SOURCES := \
     649        $(VirtualBox4_SOURCES) \
    651650        $(FORMS) \
    652651        ui/VBoxAboutDlg.ui \
     
    655654 # Resource files with some OSE differences.
    656655 ifdef VBOX_OSE
    657   VirtualBox_SOURCES += VirtualBox_OSE.qrc
     656  VirtualBox4_SOURCES += VirtualBox_OSE.qrc
    658657 else
    659   VirtualBox_SOURCES += VirtualBox_NonOSE.qrc
    660   VirtualBox_SOURCES += src/VBoxAboutNonOSEDlg.cpp
    661   VirtualBox_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h
     658  VirtualBox4_SOURCES += VirtualBox_NonOSE.qrc
     659  VirtualBox4_SOURCES += src/VBoxAboutNonOSEDlg.cpp
     660  VirtualBox4_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h
    662661 endif
    663662
     
    665664
    666665 # Import QDesigner UI sources from VBoxUI.pro.
    667  VirtualBox_QT_UISRCS := $(FORMS)
     666 VirtualBox4_QT_UISRCS := $(FORMS)
    668667 ifndef VBOX_WITH_REGISTRATION
    669   VirtualBox_QT_UISRCS := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox_QT_UISRCS))
     668  VirtualBox4_QT_UISRCS := $(filter-out ui/VBoxRegistrationDlg.ui,$(VirtualBox4_QT_UISRCS))
    670669 endif
    671670
    672671 # Import translation sources from VBoxUI.pro.
    673  VirtualBox_QT_TRANSLATIONS := $(TRANSLATIONS)
     672 VirtualBox4_QT_TRANSLATIONS := $(TRANSLATIONS)
    674673
    675674 # Each nls/VirtualBox_xx_YY.ts file must have a qt_xx_YY.ts counterpart
    676  VirtualBox_QT_TRANSLATIONS_QT := \
     675 VirtualBox4_QT_TRANSLATIONS_QT := \
    677676        $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts,\
    678                 $(filter nls/VirtualBox_%.ts,$(VirtualBox_QT_TRANSLATIONS)))
     677                $(filter nls/VirtualBox_%.ts,$(VirtualBox4_QT_TRANSLATIONS)))
    679678
    680679 # All generated sources. Note: this list MUST be in sync with Qt source
    681680 # generation rules defined somewhere below!
    682  VirtualBox_GENSRCS = \
    683         $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCHDRS))), $(PATH_VirtualBox)/moc/moc_$(moc).cpp)
    684 
    685  VirtualBox_SOURCES += $(VirtualBox_GENSRCS)
     681 VirtualBox4_GENSRCS = \
     682        $(foreach moc,$(notdir $(basename $(VirtualBox4_QT_MOCHDRS))), $(PATH_VirtualBox4)/moc/moc_$(moc).cpp)
     683
     684 VirtualBox4_SOURCES += $(VirtualBox4_GENSRCS)
    686685
    687686
    688687 # All generated headers. Note: this list MUST be in sync with Qt source
    689688 # generation rules defined somewhere below!
    690  VirtualBox_GENHDRS = \
    691         $(foreach moc,$(notdir $(basename $(VirtualBox_QT_MOCSRCS))), $(PATH_VirtualBox)/moc/$(moc).moc) \
    692         $(foreach ui,$(notdir $(basename $(VirtualBox_QT_UISRCS))), $(PATH_VirtualBox)/ui/$(ui).gen.h)
     689 VirtualBox4_GENHDRS = \
     690        $(foreach moc,$(notdir $(basename $(VirtualBox4_QT_MOCSRCS))), $(PATH_VirtualBox4)/moc/$(moc).moc) \
     691        $(foreach ui,$(notdir $(basename $(VirtualBox4_QT_UISRCS))), $(PATH_VirtualBox4)/ui/$(ui).gen.h)
    693692
    694693 # grep the images out of the resource file for dependency tracking
    695  VirtualBox_QT_RC += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox.qrc)
    696  VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application.cpp
     694 VirtualBox4_QT_RC += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox.qrc)
     695 VirtualBox4_GENSRCS += $(PATH_VirtualBox4)/ui/qrc_application.cpp
    697696
    698697 # We have different about dialogs in OSE and PUEL. Therefor two independent
    699698 # resource files exists.
    700699 ifdef VBOX_OSE
    701   VirtualBox_QT_RC_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_OSE.qrc)
    702   VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application_ose.cpp
     700  VirtualBox4_QT_RC_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_OSE.qrc)
     701  VirtualBox4_GENSRCS += $(PATH_VirtualBox4)/ui/qrc_application_ose.cpp
    703702 else
    704   VirtualBox_QT_RC_NON_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_NonOSE.qrc)
    705   VirtualBox_GENSRCS += $(PATH_VirtualBox)/ui/qrc_application_non_ose.cpp
    706   VirtualBox_SOURCES += src/VBoxAboutNonOSEDlg.cpp
    707   VirtualBox_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h
     703  VirtualBox4_QT_RC_NON_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_NonOSE.qrc)
     704  VirtualBox4_GENSRCS += $(PATH_VirtualBox4)/ui/qrc_application_non_ose.cpp
     705  VirtualBox4_SOURCES += src/VBoxAboutNonOSEDlg.cpp
     706  VirtualBox4_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h
    708707 endif
    709708
    710709 # OSE version is always necessary for lupdate/lrelease
    711  VirtualBox_QT_UISRCS += ui/VBoxAboutDlg.ui
     710 VirtualBox4_QT_UISRCS += ui/VBoxAboutDlg.ui
    712711
    713712 # All header files
    714  VirtualBox_HEADERS = \
     713 VirtualBox4_HEADERS = \
    715714        $(wildcard include/*.h) \
    716         $(VirtualBox_GENHDRS)
     715        $(VirtualBox4_GENHDRS)
    717716
    718717endif # !USE_KBUILD_QT_UNIT
     
    752751#
    753752
    754 WRAPPERSFILE        = $(PATH_VirtualBox)/include/COMWrappers.h
     753WRAPPERSFILE        = $(PATH_VirtualBox4)/include/COMWrappers.h
    755754WRAPPERSINCFILE     = include/COMDefs.h
    756755WRAPPERSTEMPLATE    = include/COMWrappers.xsl
    757756XIDLFILE            = ../../Main/idl/VirtualBox.xidl
    758757
    759 VirtualBox_INTERMEDIATES = $(WRAPPERSFILE)
     758VirtualBox4_INTERMEDIATES = $(WRAPPERSFILE)
    760759
    761760
    762761# generated files we need to clean manually
    763762OTHER_CLEAN           = \
    764         $(VirtualBox_GENSRCS) \
    765         $(VirtualBox_GENHDRS) \
     763        $(VirtualBox4_GENSRCS) \
     764        $(VirtualBox4_GENHDRS) \
    766765        $(WRAPPERSFILE) \
    767766        $(PATH_BIN)/vboxkeyboard.tar.gz
     
    814813#
    815814VirtualBox.nls_INST = $(INST_BIN)nls4/
    816 VirtualBox.nls_SOURCES =  $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS)))
    817 VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox)/nls/%.qm,$(notdir $(VirtualBox_QT_TRANSLATIONS_QT)))
     815VirtualBox.nls_SOURCES =  $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS)))
     816VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS_QT)))
    818817VirtualBox.nls_MODE = 644
    819818
     
    847846        $(QUIET)$(CP) $< $@
    848847
    849 $(PATH_BIN)/VirtualBox: $(VBOX_LICENSE_BIN)
     848$(PATH_BIN)/VirtualBox4: $(VBOX_LICENSE_BIN)
    850849endif
    851850endif
     
    10101009ifndef USE_KBUILD_QT_UNIT
    10111010# Generate Qt source rules.
    1012 $(foreach target,VirtualBox,$(eval $(def_qt_gen_src)))
     1011$(foreach target,VirtualBox4,$(eval $(def_qt_gen_src)))
    10131012endif
    10141013
     
    10171016$(WRAPPERSINCFILE): $(WRAPPERSFILE)
    10181017
    1019 $(WRAPPERSFILE): $(XIDLFILE) $(WRAPPERSTEMPLATE) | $(call DIRDEP,$(PATH_VirtualBox)/include/)
    1020         $(call MSG_TOOL,xsltproc,VirtualBox,$<,$@)
     1018$(WRAPPERSFILE): $(XIDLFILE) $(WRAPPERSTEMPLATE) | $(call DIRDEP,$(PATH_VirtualBox4)/include/)
     1019        $(call MSG_TOOL,xsltproc,VirtualBox4,$<,$@)
    10211020        $(QUIET)$(VBOX_XSLTPROC) -o $@ $(WRAPPERSTEMPLATE) $<
    10221021
    1023 $(call DIRDEP,$(PATH_VirtualBox)/include/):
     1022$(call DIRDEP,$(PATH_VirtualBox4)/include/):
    10241023        $(call MSG_MKDIR,$@)
    10251024        $(QUIET)$(MKDIR) -p $@
    10261025
    10271026# rules for resources file creation
    1028 $(PATH_VirtualBox)/ui/qrc_application.cpp: VirtualBox.qrc $(VirtualBox_QT_RC)
    1029         $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
     1027$(PATH_VirtualBox4)/ui/qrc_application.cpp: VirtualBox.qrc $(VirtualBox4_QT_RC)
     1028        $(call MSG_TOOL,rcc,VirtualBox4,$<,$@)
    10301029        $(QUIET)$(VBOX_RCC4) -o $@  $<
    10311030
    1032 $(PATH_VirtualBox)/ui/qrc_application_ose.cpp: VirtualBox_OSE.qrc $(VirtualBox_QT_RC_OSE)
    1033         $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
     1031$(PATH_VirtualBox4)/ui/qrc_application_ose.cpp: VirtualBox_OSE.qrc $(VirtualBox4_QT_RC_OSE)
     1032        $(call MSG_TOOL,rcc,VirtualBox4,$<,$@)
    10341033        $(QUIET)$(VBOX_RCC4) -name "OSE" -o $@  $<
    10351034
    1036 $(PATH_VirtualBox)/ui/qrc_application_non_ose.cpp: VirtualBox_NonOSE.qrc $(VirtualBox_QT_RC_NON_OSE)
    1037         $(call MSG_TOOL,rcc,VirtualBox,$<,$@)
     1035$(PATH_VirtualBox4)/ui/qrc_application_non_ose.cpp: VirtualBox_NonOSE.qrc $(VirtualBox4_QT_RC_NON_OSE)
     1036        $(call MSG_TOOL,rcc,VirtualBox4,$<,$@)
    10381037        $(QUIET)$(VBOX_RCC4) -name "NonOSE" -o $@  $<
    10391038
     
    10481047# currently disabled, because will cause all UI sources to be rebuilt one a
    10491048# single one changes.
    1050 #$(patsubst %,$(PATH_VirtualBox)/ui/%.cpp,$(notdir $(basename $(VirtualBox_QT_UISRCS)))) : $(VirtualBox_GENHDRS)
     1049#$(patsubst %,$(PATH_VirtualBox4)/ui/%.cpp,$(notdir $(basename $(VirtualBox4_QT_UISRCS)))) : $(VirtualBox4_GENHDRS)
    10511050
    10521051
     
    10591058# before a new product release. VirtualBox_xx_YY.ts is a template for new
    10601059# languages and should never be actually translated or installed.
    1061 updatenls:: $(VirtualBox_SOURCES) $(VirtualBox_HEADERS)
     1060updatenls:: $(VirtualBox4_SOURCES) $(VirtualBox4_HEADERS)
    10621061        $(call MSG_L1,lupdate all languages (nls/*.ts))
    1063         $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts
     1062        $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox4_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts
    10641063
    10651064
     
    10711070test:
    10721071        @echo ====================
    1073         @echo $(VirtualBox_GENSRCS) | $(SED) -e "s/ /\n/g"
     1072        @echo $(VirtualBox4_GENSRCS) | $(SED) -e "s/ /\n/g"
    10741073        @echo --------------------
    1075         @echo $(VirtualBox_GENSRCS_REAL) | $(SED) -e "s/ /\n/g"
     1074        @echo $(VirtualBox4_GENSRCS_REAL) | $(SED) -e "s/ /\n/g"
    10761075        @echo ====================
    1077         @echo $(VirtualBox_GENHDRS) | $(SED) -e "s/ /\n/g"
     1076        @echo $(VirtualBox4_GENHDRS) | $(SED) -e "s/ /\n/g"
    10781077        @echo --------------------
    1079         @echo $(VirtualBox_GENHDRS_REAL) | $(SED) -e "s/ /\n/g"
     1078        @echo $(VirtualBox4_GENHDRS_REAL) | $(SED) -e "s/ /\n/g"
    10801079        @echo ====================
    10811080
     
    10841083
    10851084test3:
    1086         @echo $(VirtualBox_HEADERS) | $(SED) -e "s/ /\n/g"
     1085        @echo $(VirtualBox4_HEADERS) | $(SED) -e "s/ /\n/g"
    10871086endif # USE_KBUILD_QT_UNIT
    10881087
     
    10941093
    10951094 include $(KBUILD_PATH)/units/qt.kmk
    1096  $(foreach target,VirtualBox,$(evalval def_unit_qt_target_pre))
     1095 $(foreach target,VirtualBox4,$(evalval def_unit_qt_target_pre))
    10971096
    10981097endif # USE_KBUILD_QT_UNIT
Note: See TracChangeset for help on using the changeset viewer.

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