VirtualBox

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

Last change on this file since 107044 was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

  • 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 106061 2024-09-16 14:03:52Z vboxsync $
2## @file
3# sub-makefile for Darwin Shared Folders.
4#
5
6#
7# Copyright (C) 2007-2024 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31#
32# VBoxSF - The shared folders kernel extension.
33#
34SYSMODS += VBoxSF
35VBoxSF_TEMPLATE = VBoxGuestR0Drv
36VBoxSF_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/MacOS/
37VBoxSF_DEFS = VBOX_WITH_HGCM
38VBoxSF_LIBS = $(VBOX_LIB_VBGL_R0)
39VBoxSF_SOURCES = \
40 VBoxSF.cpp \
41 VBoxSF-VfsOps.cpp \
42 VBoxSF-VNodeOps.cpp \
43 VBoxSF-Utils.cpp
44
45
46#
47# Files necessary to make a darwin kernel extension bundle.
48#
49INSTALLS += VBoxSF.kext
50VBoxSF.kext_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/
51VBoxSF.kext_SOURCES = $(VBoxSF.kext_0_OUTDIR)/Info.plist
52VBoxSF.kext_CLEAN = $(VBoxSF.kext_0_OUTDIR)/Info.plist
53
54$$(VBoxSF.kext_0_OUTDIR)/Info.plist: \
55 $(PATH_SUB_CURRENT)/Info.plist \
56 $(VBOX_VERSION_MK) | $$(dir $$@)
57 $(call MSG_GENERATE,VBoxSF,$@,$<)
58 $(QUIET)$(RM) -f $@
59 $(QUIET)$(SED) \
60 -e 's+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g' \
61 -e 's+@VBOX_VERSION_MAJOR@+$(VBOX_VERSION_MAJOR)+g' \
62 -e 's+@VBOX_VERSION_MINOR@+$(VBOX_VERSION_MINOR)+g' \
63 -e 's+@VBOX_VERSION_BUILD@+$(VBOX_VERSION_BUILD)+g' \
64 -e 's+@VBOX_VENDOR@+$(VBOX_VENDOR)+g' \
65 -e 's+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+g' \
66 -e 's+@VBOX_C_YEAR@+$(VBOX_C_YEAR)+g' \
67 --output $@ \
68 $<
69
70#
71# mount.vboxsf - The Shared Folders mounting tool.
72#
73PROGRAMS += mount.vboxsf
74mount.vboxsf_TEMPLATE = VBoxGuestR3Exe
75mount.vboxsf_SOURCES = mount.vboxsf.cpp
76mount.vboxsf_INST = $(INST_ADDITIONS)VBoxSF.kext/Contents/MacOS/
77
78
79include $(FILE_KBUILD_SUB_FOOTER)
80
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