1 | # $Id: Makefile.kmk 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Folders Host Service.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-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 |
|
---|
28 | SUB_DEPTH = ../../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | # Include sub-makefile(s).
|
---|
32 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
33 |
|
---|
34 | #
|
---|
35 | # The shared folder service DLL.
|
---|
36 | #
|
---|
37 | DLLS += VBoxSharedFolders
|
---|
38 | VBoxSharedFolders_TEMPLATE = VBoxR3Dll
|
---|
39 | VBoxSharedFolders_NAME.os2 = VBoxSFld
|
---|
40 | VBoxSharedFolders_DEFS = VBOX_WITH_HGCM RTSHFL
|
---|
41 | ifdef VBOX_WITH_XPCOM
|
---|
42 | VBoxSharedFolders_DEFS += VBOX_WITH_XPCOM
|
---|
43 | VBoxSharedFolders_INCS += $(VBOX_XPCOM_INCS)
|
---|
44 | ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
45 | VBoxSharedFolders_DEFS += VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
|
---|
46 | endif
|
---|
47 | else # COM
|
---|
48 | VBoxSharedFolders_INCS += \
|
---|
49 | $(VBOX_PATH_SDK) \
|
---|
50 | $(VBOX_PATH_SDK)/bindings/mscom/include
|
---|
51 | endif
|
---|
52 |
|
---|
53 | VBoxSharedFolders_LDFLAGS.darwin = \
|
---|
54 | -framework Carbon \
|
---|
55 | -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedFolders.dylib
|
---|
56 |
|
---|
57 | VBoxSharedFolders_SOURCES = \
|
---|
58 | VBoxSharedFoldersSvc.cpp \
|
---|
59 | shflhandle.cpp \
|
---|
60 | vbsf.cpp \
|
---|
61 | vbsfpath.cpp \
|
---|
62 | vbsfpathabs.cpp \
|
---|
63 | mappings.cpp
|
---|
64 | VBoxSharedFolders_SOURCES.win = \
|
---|
65 | VBoxSharedFoldersSvc.rc
|
---|
66 |
|
---|
67 | VBoxSharedFolders_LIBS = \
|
---|
68 | $(LIB_RUNTIME)
|
---|
69 |
|
---|
70 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
71 |
|
---|