Changeset 10294 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 7, 2008 1:24:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r10293 r10294 340 340 # The targets. 341 341 # 342 PROGRAMS += VirtualBox 342 PROGRAMS += VirtualBox4 343 343 ifeq ($(filter-out freebsd linux openbsd netbsd solaris,$(KBUILD_TARGET)),) # X11 344 344 DLLS += VBoxKeyboard4 … … 346 346 OTHERS += $(PATH_BIN)/vboxkeyboard4.tar.gz 347 347 endif 348 INSTALLS += VirtualBox .nls qt4-bin348 INSTALLS += VirtualBox4.nls qt4-bin 349 349 350 350 # … … 384 384 385 385 # Include Qt project file, we'll use FORMS and TRANSLATIONS in 386 # the VirtualBox setup below.386 # the VirtualBox4 setup below. 387 387 SAVED_TEMPLATE := $(TEMPLATE) 388 388 include $(PATH_SUB_CURRENT)/VBoxUI.pro … … 390 390 391 391 # 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 # 394 VirtualBox4_TEMPLATE = VBOXQT4GUIEXE 395 VirtualBox4_SDKS.win = WINPSDK DXSDK 396 ifeq ($(filter-out freebsd linux netbsd openbsd os2,$(KBUILD_TARGET)),) # X11 + os2 ## @todo solaris 397 VirtualBox4_SDKS += LIBSDL 400 398 endif 401 399 402 400 ifeq ($(KBUILD_TARGET),darwin) 403 # For the launch trick we need different inode numbers.404 VirtualBox_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4401 # For the launch trick we need different inode numbers. 402 VirtualBox4_INST = $(INST_BIN)VirtualBox4 $(INST_BIN)VirtualBoxVM4 405 403 406 404 # For testing iChat Theater stuff change the sdk path (HACK ALERT!) … … 411 409 412 410 # Headers containing definitions of classes that use the Q_OBJECT macro. 413 VirtualBox _QT_MOCHDRS = \411 VirtualBox4_QT_MOCHDRS = \ 414 412 include/QIWidgetValidator.h \ 415 413 include/QIHotKeyEdit.h \ … … 467 465 468 466 # Sources containing local definitions of classes that use the Q_OBJECT macro. 469 VirtualBox _QT_MOCSRCS = src/VBoxSelectorWnd.cpp467 VirtualBox4_QT_MOCSRCS = src/VBoxSelectorWnd.cpp 470 468 ifdef VBOX_WITH_XPCOM 471 VirtualBox _QT_MOCSRCS += src/COMDefs.cpp472 endif 473 474 VirtualBox _SOURCES = \469 VirtualBox4_QT_MOCSRCS += src/COMDefs.cpp 470 endif 471 472 VirtualBox4_SOURCES = \ 475 473 src/main.cpp \ 476 474 src/COMDefs.cpp \ … … 532 530 533 531 ifeq ($(filter-out freebsd linux netbsd openbsd solaris,$(KBUILD_TARGET)),) # X11 534 ifndef VBOX_OSE535 VirtualBox_QT_MOCHDRS += \536 include/VBoxLicenseViewer.h537 VirtualBox_SOURCES += \538 src/VBoxLicenseViewer.cpp539 endif540 VirtualBox_SOURCES += \541 src/linux/XKeyboard-new.cpp542 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 540 endif 541 542 VirtualBox4_SOURCES.win += \ 545 543 src/VBoxFBDDRAW.cpp \ 546 544 $(PATH_TARGET)/VirtualBox4.rc 547 545 548 VirtualBox _SOURCES.darwin = \546 VirtualBox4_SOURCES.darwin = \ 549 547 src/darwin/DarwinKeyboard.cpp \ 550 548 src/darwin/DarwinCursor.cpp \ … … 554 552 555 553 ifdef VBOX_WITH_ICHAT_THEATER 556 VirtualBox _SOURCES.darwin += \554 VirtualBox4_SOURCES.darwin += \ 557 555 src/darwin/VBoxIChatTheaterWrapper.m 558 556 endif 559 557 560 VirtualBox _DEFS = VBOX_GUI_SEPARATE_VM_PROCESS561 VirtualBox _DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT562 VirtualBox _DEFS.darwin = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP563 VirtualBox _DEFS.freebsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL564 VirtualBox _DEFS.linux = VBOX_GUI_USE_SDL565 VirtualBox _DEFS.netbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL566 VirtualBox _DEFS.openbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL567 VirtualBox _DEFS.solaris = VBOX_GUI_USE_QIMAGE #VBOX_GUI_USE_SDL568 VirtualBox _DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL569 VirtualBox _DEFS.win.amd64 = VBOX_WITHOUT_QHTTP558 VirtualBox4_DEFS = VBOX_GUI_SEPARATE_VM_PROCESS 559 VirtualBox4_DEFS.debug = VBOX_GUI_DEBUG VBOX_CHECK_STATE # QT_FATAL_ASSERT 560 VirtualBox4_DEFS.darwin = VBOX_GUI_USE_QUARTZ2D VBOX_GUI_USE_QIMAGE VBOX_WITHOUT_QHTTP 561 VirtualBox4_DEFS.freebsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 562 VirtualBox4_DEFS.linux = VBOX_GUI_USE_SDL 563 VirtualBox4_DEFS.netbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 564 VirtualBox4_DEFS.openbsd = VBOX_GUI_USE_QIMAGE VBOX_GUI_USE_SDL 565 VirtualBox4_DEFS.solaris = VBOX_GUI_USE_QIMAGE #VBOX_GUI_USE_SDL 566 VirtualBox4_DEFS.win = VBOX_GUI_USE_QIMAGE UNICODE QT_DLL 567 VirtualBox4_DEFS.win.amd64 = VBOX_WITHOUT_QHTTP 570 568 #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 572 571 #endif 573 572 ifdef VBOX_WITH_ICHAT_THEATER 574 VirtualBox _DEFS.darwin += VBOX_WITH_ICHAT_THEATER573 VirtualBox4_DEFS.darwin += VBOX_WITH_ICHAT_THEATER 575 574 endif 576 575 ifneq ($(KBUILD_TYPE),release) 577 576 # non-release builds has some extra features. 578 VirtualBox _DEFS.win += VBOX_GUI_USE_DDRAW579 VirtualBox _DEFS.linux += VBOX_GUI_USE_QIMAGE577 VirtualBox4_DEFS.win += VBOX_GUI_USE_DDRAW 578 VirtualBox4_DEFS.linux += VBOX_GUI_USE_QIMAGE 580 579 endif 581 580 ifdef VBOX_WITH_REGISTRATION 582 VirtualBox _DEFS += VBOX_WITH_REGISTRATION581 VirtualBox4_DEFS += VBOX_WITH_REGISTRATION 583 582 endif 584 583 ifdef VBOX_WITH_REGISTRATION_REQUEST 585 VirtualBox _DEFS += VBOX_WITH_REGISTRATION_REQUEST584 VirtualBox4_DEFS += VBOX_WITH_REGISTRATION_REQUEST 586 585 endif 587 586 ifdef VBOX_WITH_ALSA 588 VirtualBox _DEFS += VBOX_WITH_ALSA587 VirtualBox4_DEFS += VBOX_WITH_ALSA 589 588 endif 590 589 ifdef VBOX_WITH_PULSE 591 VirtualBox _DEFS += VBOX_WITH_PULSE590 VirtualBox4_DEFS += VBOX_WITH_PULSE 592 591 endif 593 592 ifdef VBOX_WITH_E1000 594 VirtualBox _DEFS += VBOX_WITH_E1000593 VirtualBox4_DEFS += VBOX_WITH_E1000 595 594 endif 596 595 ifdef VBOX_OSE 597 VirtualBox _DEFS += VBOX_OSE596 VirtualBox4_DEFS += VBOX_OSE 598 597 endif 599 598 ifdef VBOX_WITH_DEBUGGER_GUI 600 VirtualBox _DEFS += VBOX_WITH_DEBUGGER_GUI_MENU601 endif 602 603 VirtualBox _INCS = \599 VirtualBox4_DEFS += VBOX_WITH_DEBUGGER_GUI_MENU 600 endif 601 602 VirtualBox4_INCS = \ 604 603 ./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 \ 608 607 609 608 610 609 ifeq ($(KBUILD_TYPE),release) 611 VirtualBox _LDFLAGS.win += /SUBSYSTEM:windows610 VirtualBox4_LDFLAGS.win += /SUBSYSTEM:windows 612 611 else 613 VirtualBox _LDFLAGS.linux+= -rdynamic # for backtrace_symbols()612 VirtualBox4_LDFLAGS.linux+= -rdynamic # for backtrace_symbols() 614 613 ifeq ($(USERNAME),dmik) 615 VirtualBox _LDFLAGS.win += /SUBSYSTEM:windows614 VirtualBox4_LDFLAGS.win += /SUBSYSTEM:windows 616 615 else 617 VirtualBox _LDFLAGS.win += /SUBSYSTEM:console618 endif 619 endif 620 VirtualBox _LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz616 VirtualBox4_LDFLAGS.win += /SUBSYSTEM:console 617 endif 618 endif 619 VirtualBox4_LDFLAGS.darwin = -framework IOKit -framework AppKit -framework ApplicationServices -framework Foundation -lz 621 620 ifdef VBOX_WITH_ICHAT_THEATER 622 VirtualBox _LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore623 endif 624 VirtualBox _LIBS.win = \621 VirtualBox4_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore 622 endif 623 VirtualBox4_LIBS.win = \ 625 624 $(PATH_SDK_WINPSDK_LIB)/Htmlhelp.Lib \ 626 625 $(PATH_SDK_DXSDK_LIB)/ddraw.lib \ 627 626 $(PATH_SDK_DXSDK_LIB)/dxguid.lib 628 627 ifeq ($(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) 630 629 endif 631 630 … … 633 632 ifdef VBOX_WITH_DEBUGGER_GUI ## @todo make this dynamically loadable and ship with release builds too. 634 633 ifeq ($(KBUILD_TARGET),win) 635 VirtualBox _LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB)634 VirtualBox4_LIBS += $(PATH_LIB)/VBoxDbg$(VBOX_SUFF_LIB) 636 635 else 637 VirtualBox _LIBS += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL)636 VirtualBox4_LIBS += $(PATH_DLL)/VBoxDbg$(VBOX_SUFF_DLL) 638 637 endif 639 638 endif … … 647 646 FORMS := $(filter-out ui/VBoxRegistrationDlg.ui,$(FORMS)) 648 647 endif 649 VirtualBox _SOURCES := \650 $(VirtualBox _SOURCES) \648 VirtualBox4_SOURCES := \ 649 $(VirtualBox4_SOURCES) \ 651 650 $(FORMS) \ 652 651 ui/VBoxAboutDlg.ui \ … … 655 654 # Resource files with some OSE differences. 656 655 ifdef VBOX_OSE 657 VirtualBox _SOURCES += VirtualBox_OSE.qrc656 VirtualBox4_SOURCES += VirtualBox_OSE.qrc 658 657 else 659 VirtualBox _SOURCES += VirtualBox_NonOSE.qrc660 VirtualBox _SOURCES += src/VBoxAboutNonOSEDlg.cpp661 VirtualBox _QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h658 VirtualBox4_SOURCES += VirtualBox_NonOSE.qrc 659 VirtualBox4_SOURCES += src/VBoxAboutNonOSEDlg.cpp 660 VirtualBox4_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h 662 661 endif 663 662 … … 665 664 666 665 # Import QDesigner UI sources from VBoxUI.pro. 667 VirtualBox _QT_UISRCS := $(FORMS)666 VirtualBox4_QT_UISRCS := $(FORMS) 668 667 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)) 670 669 endif 671 670 672 671 # Import translation sources from VBoxUI.pro. 673 VirtualBox _QT_TRANSLATIONS := $(TRANSLATIONS)672 VirtualBox4_QT_TRANSLATIONS := $(TRANSLATIONS) 674 673 675 674 # 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 := \ 677 676 $(patsubst nls/VirtualBox_%.ts,nls/qt_%.ts,\ 678 $(filter nls/VirtualBox_%.ts,$(VirtualBox _QT_TRANSLATIONS)))677 $(filter nls/VirtualBox_%.ts,$(VirtualBox4_QT_TRANSLATIONS))) 679 678 680 679 # All generated sources. Note: this list MUST be in sync with Qt source 681 680 # 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) 686 685 687 686 688 687 # All generated headers. Note: this list MUST be in sync with Qt source 689 688 # 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) 693 692 694 693 # 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.cpp694 VirtualBox4_QT_RC += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox.qrc) 695 VirtualBox4_GENSRCS += $(PATH_VirtualBox4)/ui/qrc_application.cpp 697 696 698 697 # We have different about dialogs in OSE and PUEL. Therefor two independent 699 698 # resource files exists. 700 699 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.cpp700 VirtualBox4_QT_RC_OSE += $(shell $(SED) '/images/!d;{s/^.*\(images\/.*\)<.*$$/\1/}' VirtualBox_OSE.qrc) 701 VirtualBox4_GENSRCS += $(PATH_VirtualBox4)/ui/qrc_application_ose.cpp 703 702 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.cpp706 VirtualBox _SOURCES += src/VBoxAboutNonOSEDlg.cpp707 VirtualBox _QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h703 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 708 707 endif 709 708 710 709 # OSE version is always necessary for lupdate/lrelease 711 VirtualBox _QT_UISRCS += ui/VBoxAboutDlg.ui710 VirtualBox4_QT_UISRCS += ui/VBoxAboutDlg.ui 712 711 713 712 # All header files 714 VirtualBox _HEADERS = \713 VirtualBox4_HEADERS = \ 715 714 $(wildcard include/*.h) \ 716 $(VirtualBox _GENHDRS)715 $(VirtualBox4_GENHDRS) 717 716 718 717 endif # !USE_KBUILD_QT_UNIT … … 752 751 # 753 752 754 WRAPPERSFILE = $(PATH_VirtualBox )/include/COMWrappers.h753 WRAPPERSFILE = $(PATH_VirtualBox4)/include/COMWrappers.h 755 754 WRAPPERSINCFILE = include/COMDefs.h 756 755 WRAPPERSTEMPLATE = include/COMWrappers.xsl 757 756 XIDLFILE = ../../Main/idl/VirtualBox.xidl 758 757 759 VirtualBox _INTERMEDIATES = $(WRAPPERSFILE)758 VirtualBox4_INTERMEDIATES = $(WRAPPERSFILE) 760 759 761 760 762 761 # generated files we need to clean manually 763 762 OTHER_CLEAN = \ 764 $(VirtualBox _GENSRCS) \765 $(VirtualBox _GENHDRS) \763 $(VirtualBox4_GENSRCS) \ 764 $(VirtualBox4_GENHDRS) \ 766 765 $(WRAPPERSFILE) \ 767 766 $(PATH_BIN)/vboxkeyboard.tar.gz … … 814 813 # 815 814 VirtualBox.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)))815 VirtualBox.nls_SOURCES = $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS))) 816 VirtualBox.nls_SOURCES += $(patsubst %.ts,$(PATH_VirtualBox4)/nls/%.qm,$(notdir $(VirtualBox4_QT_TRANSLATIONS_QT))) 818 817 VirtualBox.nls_MODE = 644 819 818 … … 847 846 $(QUIET)$(CP) $< $@ 848 847 849 $(PATH_BIN)/VirtualBox : $(VBOX_LICENSE_BIN)848 $(PATH_BIN)/VirtualBox4: $(VBOX_LICENSE_BIN) 850 849 endif 851 850 endif … … 1010 1009 ifndef USE_KBUILD_QT_UNIT 1011 1010 # Generate Qt source rules. 1012 $(foreach target,VirtualBox ,$(eval $(def_qt_gen_src)))1011 $(foreach target,VirtualBox4,$(eval $(def_qt_gen_src))) 1013 1012 endif 1014 1013 … … 1017 1016 $(WRAPPERSINCFILE): $(WRAPPERSFILE) 1018 1017 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,$<,$@) 1021 1020 $(QUIET)$(VBOX_XSLTPROC) -o $@ $(WRAPPERSTEMPLATE) $< 1022 1021 1023 $(call DIRDEP,$(PATH_VirtualBox )/include/):1022 $(call DIRDEP,$(PATH_VirtualBox4)/include/): 1024 1023 $(call MSG_MKDIR,$@) 1025 1024 $(QUIET)$(MKDIR) -p $@ 1026 1025 1027 1026 # 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,$<,$@) 1030 1029 $(QUIET)$(VBOX_RCC4) -o $@ $< 1031 1030 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,$<,$@) 1034 1033 $(QUIET)$(VBOX_RCC4) -name "OSE" -o $@ $< 1035 1034 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,$<,$@) 1038 1037 $(QUIET)$(VBOX_RCC4) -name "NonOSE" -o $@ $< 1039 1038 … … 1048 1047 # currently disabled, because will cause all UI sources to be rebuilt one a 1049 1048 # 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) 1051 1050 1052 1051 … … 1059 1058 # before a new product release. VirtualBox_xx_YY.ts is a template for new 1060 1059 # languages and should never be actually translated or installed. 1061 updatenls:: $(VirtualBox _SOURCES) $(VirtualBox_HEADERS)1060 updatenls:: $(VirtualBox4_SOURCES) $(VirtualBox4_HEADERS) 1062 1061 $(call MSG_L1,lupdate all languages (nls/*.ts)) 1063 $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox _QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts1062 $(QUIET)$(VBOX_LUPDATE4) $^ -ts $(VirtualBox4_QT_TRANSLATIONS) nls/VirtualBox_xx_YY.ts 1064 1063 1065 1064 … … 1071 1070 test: 1072 1071 @echo ==================== 1073 @echo $(VirtualBox _GENSRCS) | $(SED) -e "s/ /\n/g"1072 @echo $(VirtualBox4_GENSRCS) | $(SED) -e "s/ /\n/g" 1074 1073 @echo -------------------- 1075 @echo $(VirtualBox _GENSRCS_REAL) | $(SED) -e "s/ /\n/g"1074 @echo $(VirtualBox4_GENSRCS_REAL) | $(SED) -e "s/ /\n/g" 1076 1075 @echo ==================== 1077 @echo $(VirtualBox _GENHDRS) | $(SED) -e "s/ /\n/g"1076 @echo $(VirtualBox4_GENHDRS) | $(SED) -e "s/ /\n/g" 1078 1077 @echo -------------------- 1079 @echo $(VirtualBox _GENHDRS_REAL) | $(SED) -e "s/ /\n/g"1078 @echo $(VirtualBox4_GENHDRS_REAL) | $(SED) -e "s/ /\n/g" 1080 1079 @echo ==================== 1081 1080 … … 1084 1083 1085 1084 test3: 1086 @echo $(VirtualBox _HEADERS) | $(SED) -e "s/ /\n/g"1085 @echo $(VirtualBox4_HEADERS) | $(SED) -e "s/ /\n/g" 1087 1086 endif # USE_KBUILD_QT_UNIT 1088 1087 … … 1094 1093 1095 1094 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)) 1097 1096 1098 1097 endif # USE_KBUILD_QT_UNIT
Note:
See TracChangeset
for help on using the changeset viewer.