VirtualBox

source: vbox/trunk/src/VBox/Additions/darwin/VBoxSF/Makefile.kmk@ 78351

Last change on this file since 78351 was 76553, checked in by vboxsync, 6 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
2## @file
3# sub-makefile for Darwin Shared Folders.
4#
5
6#
7# Copyright (C) 2007-2019 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# VBoxSF - The shared folders kernel extension.
23#
24SYSMODS += VBoxSF
25VBoxSF_TEMPLATE = VBOXGUESTR0
26VBoxSF_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/MacOS/
27VBoxSF_DEFS = VBOX_WITH_HGCM
28VBoxSF_LIBS = $(VBOX_LIB_VBGL_R0)
29VBoxSF_SOURCES = \
30 VBoxSF.cpp \
31 VBoxSF-VfsOps.cpp \
32 VBoxSF-VNodeOps.cpp \
33 VBoxSF-Utils.cpp
34
35
36#
37# Files necessary to make a darwin kernel extension bundle.
38#
39INSTALLS += VBoxSF.kext
40VBoxSF.kext_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/
41VBoxSF.kext_SOURCES = $(VBoxSF.kext_0_OUTDIR)/Info.plist
42VBoxSF.kext_CLEAN = $(VBoxSF.kext_0_OUTDIR)/Info.plist
43
44$$(VBoxSF.kext_0_OUTDIR)/Info.plist: \
45 $(PATH_SUB_CURRENT)/Info.plist \
46 $(VBOX_VERSION_MK) | $$(dir $$@)
47 $(call MSG_GENERATE,VBoxSF,$@,$<)
48 $(QUIET)$(RM) -f $@
49 $(QUIET)$(SED) \
50 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \
51 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \
52 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \
53 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \
54 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \
55 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \
56 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \
57 --output $@ \
58 $<
59
60#
61# mount.vboxsf - The Shared Folders mounting tool.
62#
63PROGRAMS += mount.vboxsf
64mount.vboxsf_TEMPLATE = NewVBoxGuestR3Exe
65mount.vboxsf_SOURCES = mount.vboxsf.cpp
66mount.vboxsf_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/MacOS/
67
68
69include $(FILE_KBUILD_SUB_FOOTER)
70
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