VirtualBox

source: vbox/trunk/src/VBox/Additions/darwin/vboxfs/Makefile.kmk@ 68753

最後變更 在這個檔案從68753是 62523,由 vboxsync 提交於 8 年 前

(C) 2016

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.8 KB
 
1# $Id: Makefile.kmk 62523 2016-07-22 19:17:44Z vboxsync $
2#
3# VirtualBox Shared Folders driver
4#
5# Copyright (C) 2007-2016 Oracle Corporation
6#
7
8SUB_DEPTH = ../../../../..
9include $(KBUILD_PATH)/subheader.kmk
10
11#
12# mount.vboxvfs - The Shared Folders mouning tool
13#
14PROGRAMS += mount.vboxvfs
15mount.vboxvfs_TEMPLATE = NewVBoxGuestR3Exe
16mount.vboxvfs_SOURCES = mount.vboxvfs.c
17mount.vboxvfs_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/MacOS/
18
19#
20# vboxvfs - The Shared Folders Driver
21#
22SYSMODS += VBoxVFS
23VBoxVFS_TEMPLATE = VBOXGUESTR0
24VBoxVFS_DEFS = VBOX_WITH_HGCM
25VBoxVFS_LIBS = $(VBOX_LIB_VBGL_R0)
26# $(VBOX_LIB_IPRT_GUEST_R0)
27
28VBoxVFS_SOURCES = VBoxVFS.cpp \
29 VBoxVFS-VFSOps.cpp \
30 VBoxVFS-VNODEOps.cpp \
31 VBoxVFS-utils.cpp
32
33VBoxVFS_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/MacOS/
34
35# Files necessary to make a darwin kernel extension bundle.
36INSTALLS += VBoxVFS.kext
37VBoxVFS.kext_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/
38VBoxVFS.kext_SOURCES = $(VBoxVFS.kext_0_OUTDIR)/Info.plist
39VBoxVFS.kext_CLEAN = $(VBoxVFS.kext_0_OUTDIR)/Info.plist
40
41$$(VBoxVFS.kext_0_OUTDIR)/Info.plist: \
42 $(PATH_SUB_CURRENT)/Info.plist \
43 $(VBOX_VERSION_MK) | $$(dir $$@)
44 $(call MSG_GENERATE,VBoxVFS,$@,$<)
45 $(QUIET)$(RM) -f $@
46 $(QUIET)$(SED) \
47 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
48 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
49 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
50 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
51 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
52 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
53 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
54 --output $@ \
55 $<
56
57include $(FILE_KBUILD_SUB_FOOTER)
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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