[2614] | 1 | # $Id: Makefile.kmk 98197 2023-01-22 01:07:48Z vboxsync $
|
---|
| 2 | ## @file
|
---|
[28998] | 3 | # Sub-Makefile for the vboxsf (linux shared folders module).
|
---|
[2614] | 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[98103] | 7 | # Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[5999] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[5999] | 11 | #
|
---|
[96407] | 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 | #
|
---|
[2614] | 27 |
|
---|
[10129] | 28 | SUB_DEPTH = ../../../../..
|
---|
[41477] | 29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
[2614] | 30 |
|
---|
| 31 |
|
---|
| 32 | #
|
---|
[28998] | 33 | # Populate FILES_VBOXSF_NOBIN
|
---|
[2639] | 34 | #
|
---|
[69531] | 35 | INSTALLS += vboxsf-src
|
---|
[28998] | 36 | include $(PATH_SUB_CURRENT)/files_vboxsf
|
---|
[69531] | 37 | vboxsf-src_INST = $(INST_ADDITIONS)src/vboxsf/
|
---|
| 38 | vboxsf-src_SOURCES = \
|
---|
[38194] | 39 | $(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN))
|
---|
[69531] | 40 | vboxsf-src_EXEC_SOURCES = \
|
---|
[57969] | 41 | $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN))
|
---|
[2639] | 42 |
|
---|
[77003] | 43 | # Build test for the Guest Additions kernel modules (kmk check).
|
---|
| 44 | $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxsf-src,vboxguest-src,)
|
---|
[8447] | 45 |
|
---|
[2614] | 46 | #
|
---|
| 47 | # The mount util.
|
---|
| 48 | #
|
---|
[38194] | 49 | PROGRAMS += mount.vboxsf
|
---|
[98197] | 50 | mount.vboxsf_TEMPLATE = VBoxGuestR3Exe
|
---|
[23043] | 51 | mount.vboxsf_DEFS = _GNU_SOURCE
|
---|
| 52 | mount.vboxsf_SOURCES = \
|
---|
[31202] | 53 | mount.vboxsf.c \
|
---|
| 54 | vbsfmount.c
|
---|
[2614] | 55 |
|
---|
[41477] | 56 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
[10129] | 57 |
|
---|