1 | # $Id: Makefile.kmk 77003 2019-01-26 14:10:11Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the vboxsf (linux shared folders module).
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-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 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 |
|
---|
22 | #
|
---|
23 | # Populate FILES_VBOXSF_NOBIN
|
---|
24 | #
|
---|
25 | INSTALLS += vboxsf-src
|
---|
26 | include $(PATH_SUB_CURRENT)/files_vboxsf
|
---|
27 | vboxsf-src_INST = $(INST_ADDITIONS)src/vboxsf/
|
---|
28 | vboxsf-src_SOURCES = \
|
---|
29 | $(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN))
|
---|
30 | vboxsf-src_EXEC_SOURCES = \
|
---|
31 | $(subst $(DQUOTE),,$(FILES_VBOXSF_BIN))
|
---|
32 |
|
---|
33 | # Build test for the Guest Additions kernel modules (kmk check).
|
---|
34 | $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxsf-src,vboxguest-src,)
|
---|
35 |
|
---|
36 | #
|
---|
37 | # The mount util.
|
---|
38 | #
|
---|
39 | PROGRAMS += mount.vboxsf
|
---|
40 | mount.vboxsf_TEMPLATE = NewVBoxGuestR3Exe
|
---|
41 | mount.vboxsf_DEFS = _GNU_SOURCE
|
---|
42 | mount.vboxsf_SOURCES = \
|
---|
43 | mount.vboxsf.c \
|
---|
44 | vbsfmount.c
|
---|
45 |
|
---|
46 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
47 |
|
---|