Changeset 54030 in vbox for trunk/src/VBox/Installer/darwin
- Timestamp:
- Jan 29, 2015 5:31:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r53981 r54030 31 31 VBOX_PATH_DIST_32 = $(VBOX_PATH_DIST) 32 32 VBOX_PATH_DIST_64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/dist 33 VBOX_PATH_DIST_OTHER = $(VBOX_PATH_DIST_64) 33 34 else 34 35 VBOX_PATH_DIST_64 = $(VBOX_PATH_DIST) 35 36 VBOX_PATH_DIST_32 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/dist 37 VBOX_PATH_DIST_OTHER = $(VBOX_PATH_DIST_32) 36 38 endif 37 39 VBOX_DI_FN_DEP_BOTH = $(VBOX_PATH_DIST_32)/$1 $(VBOX_PATH_DIST_64)/$2 … … 48 50 VBOX_DI_FN_DEP_32 = 49 51 endif 52 VBOX_PATH_DIST_OTHER = $(error VBOX_PATH_DIST_OTHER used in a non-combined package deal) 50 53 endif 51 54 … … 575 578 $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxautostart.plist \ 576 579 $(VBOX_PATH_DI_SRC)/VirtualBox/VBoxAutostartDarwin.sh \ 580 $(if-expr defined(VBOX_WITH_DTRACE), \ 581 $(foreach f, $(VBOXINST_DTRACE_LIB_ARCH_FILES) \ 582 $(call VBOX_DI_FN_DEP_32,VirtualBox.app/Contents/MacOS/dtrace/lib/x86/$f) \ 583 $(call VBOX_DI_FN_DEP_64,VirtualBox.app/Contents/MacOS/dtrace/lib/amd64/$f)) \ 584 $(foreach f, $(VBOXINST_DTRACE_TESTCASE_ARCH_FILES) \ 585 $(call VBOX_DI_FN_DEP_32,VirtualBox.app/Contents/MacOS/dtrace/testcase/x86/$f) \ 586 $(call VBOX_DI_FN_DEP_64,VirtualBox.app/Contents/MacOS/dtrace/testcase/amd64/$f)) \ 587 $(addprefix $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/dtrace/scripts/,$(VBOXINST_DTRACE_SCRIPTS_FILES)) \ 588 ,) \ 577 589 $(VBOX_DARWIN_INST_DEP_ON_MAKEFILE) 578 590 $(call MSG_TOOL,pkgbuild,,,$@) … … 743 755 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(f)$(NLTAB) ) 744 756 endif 757 ifdef VBOX_WITH_DTRACE 758 @# DTrace library, testcases and scripts. 759 $(MKDIR) -p -m 0755 -- \ 760 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/lib/$(KBUILD_TARGET_ARCH)/ \ 761 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/testcase/$(KBUILD_TARGET_ARCH)/ \ 762 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/scripts/ 763 $(foreach file, $(addprefix lib/$(KBUILD_TARGET_ARCH)/,$(VBOXINST_DTRACE_LIB_ARCH_FILES)) \ 764 $(addprefix testcase/$(KBUILD_TARGET_ARCH)/,$(VBOXINST_DTRACE_TESTCASE_ARCH_FILES)) \ 765 $(addprefix scripts/,$(VBOXINST_DTRACE_SCRIPTS_FILES)) \ 766 ,$(INSTALL) -m 0655 $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/dtrace/$(file) \ 767 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/$(file)$(NLTAB)) 768 ifdef VBOX_WITH_COMBINED_PACKAGE 769 $(MKDIR) -p -m 0755 -- \ 770 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/lib/$(VBOX_CP_OTHER_ARCH)/ \ 771 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/testcase/$(VBOX_CP_OTHER_ARCH)/ 772 $(foreach file, $(addprefix lib/$(VBOX_CP_OTHER_ARCH)/,$(VBOXINST_DTRACE_LIB_ARCH_FILES)) \ 773 $(addprefix testcase/$(VBOX_CP_OTHER_ARCH)/,$(VBOXINST_DTRACE_TESTCASE_ARCH_FILES)) \ 774 ,$(INSTALL) -m 0655 $(VBOX_PATH_DIST_OTHER)/VirtualBox.app/Contents/MacOS/dtrace/$(file) \ 775 $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/dtrace/$(file)$(NLTAB)) \ 776 endif 777 endif 778 745 779 @# Signed the binaries and the application bundle. 746 780 @# Note #1 - We cannot sign the application binary here, since we switch to match the kernel bitness.
Note:
See TracChangeset
for help on using the changeset viewer.