1 | # $Id: Makefile.kmk 85371 2020-07-17 10:02:58Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the shared DnD code for both, host and guest.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2014-2020 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 | ifdef VBOX_WITH_TESTCASES
|
---|
22 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
23 | endif
|
---|
24 |
|
---|
25 | VBOX_DND_GUESTHOST_FILES := \
|
---|
26 | DnDDroppedFiles.cpp \
|
---|
27 | DnDMIME.cpp \
|
---|
28 | DnDPath.cpp \
|
---|
29 | DnDTransferObject.cpp \
|
---|
30 | DnDTransferList.cpp
|
---|
31 |
|
---|
32 | #
|
---|
33 | # DnDGuestR3Lib - For tools on the guest side,
|
---|
34 | # e.g. VBoxClient/VBoxTray.
|
---|
35 | #
|
---|
36 | ifdef VBOX_WITH_ADDITIONS
|
---|
37 | LIBRARIES += VBoxDnDGuestR3Lib
|
---|
38 | VBoxDnDGuestR3Lib_TEMPLATE = VBOXGUESTR3LIB
|
---|
39 | VBoxDnDGuestR3Lib_DEFS =
|
---|
40 | VBoxDnDGuestR3Lib_SOURCES = $(VBOX_DND_GUESTHOST_FILES)
|
---|
41 |
|
---|
42 | # LIBRARIES.win.amd64 += VBoxDnDGuestR3Lib-x86
|
---|
43 | # VBoxDnDGuestR3Lib-x86_EXTENDS := VBoxDnDGuestR3Lib
|
---|
44 | # VBoxDnDGuestR3Lib-x86_BLD_TRG_ARCH := x86
|
---|
45 | endif
|
---|
46 |
|
---|
47 | #
|
---|
48 | # DnDHostR3Lib - For the host side, e.g. Main
|
---|
49 | # and frontends.
|
---|
50 | #
|
---|
51 | LIBRARIES += VBoxDnDHostR3Lib
|
---|
52 | VBoxDnDHostR3Lib_TEMPLATE = VBOXR3
|
---|
53 | VBoxDnDHostR3Lib_DEFS =
|
---|
54 | VBoxDnDHostR3Lib_SOURCES = $(VBOX_DND_GUESTHOST_FILES)
|
---|
55 |
|
---|
56 | # Include the common host services code.
|
---|
57 | VBOX_PATH_HOSTSERVICES_COMMON = $(PATH_ROOT)/src/VBox/HostServices/common
|
---|
58 | VBoxDnDHostR3Lib_SOURCES += \
|
---|
59 | $(VBOX_PATH_HOSTSERVICES_COMMON)/client.cpp \
|
---|
60 | $(VBOX_PATH_HOSTSERVICES_COMMON)/message.cpp
|
---|
61 |
|
---|
62 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
63 |
|
---|