VirtualBox

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

Last change on this file since 71881 was 69314, checked in by vboxsync, 7 years ago

darwin/vboxfs: scm updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 69314 2017-10-25 14:41:47Z vboxsync $
2## @file
3# sub-makefile for the Mac OS addition file system driver.
4#
5
6#
7# Copyright (C) 2007-2017 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# mount.vboxvfs - The Shared Folders mouning tool
23#
24PROGRAMS += mount.vboxvfs
25mount.vboxvfs_TEMPLATE = NewVBoxGuestR3Exe
26mount.vboxvfs_SOURCES = mount.vboxvfs.c
27mount.vboxvfs_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/MacOS/
28
29#
30# vboxvfs - The Shared Folders Driver
31#
32SYSMODS += VBoxVFS
33VBoxVFS_TEMPLATE = VBOXGUESTR0
34VBoxVFS_DEFS = VBOX_WITH_HGCM
35VBoxVFS_LIBS = $(VBOX_LIB_VBGL_R0)
36# $(VBOX_LIB_IPRT_GUEST_R0)
37
38VBoxVFS_SOURCES = VBoxVFS.cpp \
39 VBoxVFS-VFSOps.cpp \
40 VBoxVFS-VNODEOps.cpp \
41 VBoxVFS-utils.cpp
42
43VBoxVFS_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/MacOS/
44
45# Files necessary to make a darwin kernel extension bundle.
46INSTALLS += VBoxVFS.kext
47VBoxVFS.kext_INST = $(INST_ADDITIONS)VBoxVFS.kext/Contents/
48VBoxVFS.kext_SOURCES = $(VBoxVFS.kext_0_OUTDIR)/Info.plist
49VBoxVFS.kext_CLEAN = $(VBoxVFS.kext_0_OUTDIR)/Info.plist
50
51$$(VBoxVFS.kext_0_OUTDIR)/Info.plist: \
52 $(PATH_SUB_CURRENT)/Info.plist \
53 $(VBOX_VERSION_MK) | $$(dir $$@)
54 $(call MSG_GENERATE,VBoxVFS,$@,$<)
55 $(QUIET)$(RM) -f $@
56 $(QUIET)$(SED) \
57 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
58 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
59 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
60 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
61 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
62 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
63 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
64 --output $@ \
65 $<
66
67include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

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