Changeset 12519 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Sep 16, 2008 10:25:59 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36669
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/Makefile.kmk
r12498 r12519 27 27 # 28 28 VBOX_VIRTUALBOX4_SRC := $(PATH_SUB_CURRENT) 29 VBOX_VIRTUALBOX4_OUT_DIR := $(PATH_TARGET)/VirtualBox4/misc 29 30 30 31 VBOX_WITH_REGISTRATION := 1 … … 56 57 endif 57 58 INSTALLS += VirtualBox4.nls 59 58 60 59 61 # … … 389 391 FORMS := $(filter-out ui/VBoxRegistrationDlg.ui,$(FORMS)) 390 392 endif 391 VirtualBox4_SOURCES := \ 392 $(VirtualBox4_SOURCES) \ 393 $(FORMS) \ 394 ui/VBoxAboutDlg.ui 395 396 # Resource files with some OSE differences. 393 $(eval VirtualBox4_SOURCES += \ 394 $(FORMS) \ 395 ui/VBoxAboutDlg.ui ) 396 397 # Resource files with some OSE differences (VirtualBoxBrand.qrc is created further down). 397 398 VirtualBox4_SOURCES += VirtualBox.qrc 398 VirtualBox4_SOURCES += $( PATH_TARGET)/VirtualBoxBrand.qrc399 VirtualBox4_SOURCES += $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc 399 400 ifdef VBOX_OSE 400 $( PATH_TARGET)/VirtualBoxBrand.qrc_RCCFLAGS = -name OSE401 $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name OSE 401 402 else 402 403 VirtualBox4_SOURCES += src/VBoxAboutNonOSEDlg.cpp 403 404 VirtualBox4_QT_MOCHDRS += include/VBoxAboutNonOSEDlg.h 404 $( PATH_TARGET)/VirtualBoxBrand.qrc_RCCFLAGS = -name NonOSE405 $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc_RCCFLAGS = -name NonOSE 405 406 endif 406 407 … … 437 438 # 438 439 VirtualBox4_BLDDIRS += $(PATH_VirtualBox4)/include 439 VirtualBox4_INTERMEDIATES += $(PATH_VirtualBox4)/include/COMWrappers.h \ 440 $(PATH_TARGET)/VirtualBoxBrand.qrc 441 VirtualBox4_CLEAN += $(PATH_VirtualBox4)/include/COMWrappers.h \ 442 $(PATH_TARGET)/VirtualBoxBrand.qrc 440 VirtualBox4_INTERMEDIATES += $(PATH_VirtualBox4)/include/COMWrappers.h 441 VirtualBox4_CLEAN += $(PATH_VirtualBox4)/include/COMWrappers.h 443 442 444 443 $$(PATH_VirtualBox4)/include/COMWrappers.h: \ … … 452 451 # Generate qrc file with branded icons. 453 452 # 453 VirtualBox4_BLDDIRS += $(VBOX_VIRTUALBOX4_OUT_DIR) 454 VirtualBox4_CLEAN += $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc 454 455 if "$(KBUILD_HOST)" == "win" ## @todo remove when kBuild ticket #52 has been fixed and deployed. 455 VBOX_DRIVE_HACK := $(firstword $(subst :, ,$(PATH_ROOT))):456 VBOX_DRIVE_HACK := $(firstword $(subst :, ,$(PATH_ROOT))): 456 457 else 457 VBOX_DRIVE_HACK := 458 endif 459 $(PATH_TARGET)/VirtualBoxBrand.qrc: \ 460 $(VBOX_VIRTUALBOX4_SRC)/VirtualBoxBrand.qrc 458 VBOX_DRIVE_HACK := 459 endif 460 $(VBOX_VIRTUALBOX4_OUT_DIR)/VirtualBoxBrand.qrc: \ 461 $(VBOX_VIRTUALBOX4_SRC)/VirtualBoxBrand.qrc \ 462 | $$(dir $$@) 461 463 $(call MSG_GENERATE,VirtualBox4,$<,$@) 462 464 $(QUIET)$(SED) \ 463 -e 's;@VBOX_ABOUT_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_ABOUT_PNG));g' \464 -e 's;@VBOX_ABOUT_16PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_ABOUT_16PX_PNG));g' \465 -e 's;@VBOX_VBOX_16PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_16PX_PNG));g' \466 -e 's;@VBOX_VBOX_20PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_20PX_PNG));g' \467 -e 's;@VBOX_VBOX_32PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_32PX_PNG));g' \468 -e 's;@VBOX_VBOX_40PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_40PX_PNG));g' \469 -e 's;@VBOX_VBOX_48PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_48PX_PNG));g' \470 -e 's;@VBOX_VBOX_64PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_VBOX_64PX_PNG));g' \471 -e 's;@VBOX_CUBE_42PX_PNG@;$(subst $(VBOX_DRIVE_HACK) /,/,$(VBOX_BRAND_GUI_CUBE_42PX_PNG));g' \465 -e 's;@VBOX_ABOUT_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_ABOUT_PNG));g' \ 466 -e 's;@VBOX_ABOUT_16PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_ABOUT_16PX_PNG));g' \ 467 -e 's;@VBOX_VBOX_16PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_16PX_PNG));g' \ 468 -e 's;@VBOX_VBOX_20PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_20PX_PNG));g' \ 469 -e 's;@VBOX_VBOX_32PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_32PX_PNG));g' \ 470 -e 's;@VBOX_VBOX_40PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_40PX_PNG));g' \ 471 -e 's;@VBOX_VBOX_48PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_48PX_PNG));g' \ 472 -e 's;@VBOX_VBOX_64PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_VBOX_64PX_PNG));g' \ 473 -e 's;@VBOX_CUBE_42PX_PNG@;$(subst $(VBOX_DRIVE_HACK),,$(VBOX_BRAND_GUI_CUBE_42PX_PNG));g' \ 472 474 --output $@ \ 473 475 $<
Note:
See TracChangeset
for help on using the changeset viewer.