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