1 | # $Id: Makefile.kmk 57776 2015-09-16 09:40:54Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the shared DnD code for both, host and guest.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2014-2015 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 | VBOX_DND_GUESTHOST_FILES := \
|
---|
22 | DnDDroppedFiles.cpp \
|
---|
23 | DnDMIME.cpp \
|
---|
24 | DnDPath.cpp \
|
---|
25 | DnDURIList.cpp \
|
---|
26 | DnDURIObject.cpp
|
---|
27 |
|
---|
28 | #
|
---|
29 | # DnDGuestR3Lib - For tools on the guest side,
|
---|
30 | # e.g. VBoxClient/VBoxTray.
|
---|
31 | #
|
---|
32 | ifdef VBOX_WITH_ADDITIONS
|
---|
33 | LIBRARIES += VBoxDnDGuestR3Lib
|
---|
34 | VBoxDnDGuestR3Lib_TEMPLATE = VBOXGUESTR3LIB
|
---|
35 | VBoxDnDGuestR3Lib_DEFS =
|
---|
36 | VBoxDnDGuestR3Lib_SOURCES = $(VBOX_DND_GUESTHOST_FILES)
|
---|
37 |
|
---|
38 | # LIBRARIES.win.amd64 += VBoxDnDGuestR3Lib-x86
|
---|
39 | # VBoxDnDGuestR3Lib-x86_EXTENDS := VBoxDnDGuestR3Lib
|
---|
40 | # VBoxDnDGuestR3Lib-x86_BLD_TRG_ARCH := x86
|
---|
41 | endif
|
---|
42 |
|
---|
43 | #
|
---|
44 | # DnDHostR3Lib - For the host side, e.g. Main
|
---|
45 | # and frontends.
|
---|
46 | #
|
---|
47 | LIBRARIES += VBoxDnDHostR3Lib
|
---|
48 | VBoxDnDHostR3Lib_TEMPLATE = VBOXR3
|
---|
49 | VBoxDnDHostR3Lib_DEFS =
|
---|
50 | VBoxDnDHostR3Lib_SOURCES = $(VBOX_DND_GUESTHOST_FILES)
|
---|
51 |
|
---|
52 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
53 |
|
---|