1 | # $Id: Makefile.kmk 81449 2019-10-22 13:03:29Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Clipboard Host Service testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2011-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 | if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
|
---|
22 |
|
---|
23 | PROGRAMS += tstClipboardServiceHost
|
---|
24 |
|
---|
25 | tstClipboardServiceHost_TEMPLATE = VBOXR3TSTEXE
|
---|
26 | tstClipboardServiceHost_DEFS = VBOX_WITH_HGCM UNIT_TEST
|
---|
27 | tstClipboardServiceHost_SOURCES = \
|
---|
28 | ../VBoxSharedClipboardSvc.cpp \
|
---|
29 | $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
|
---|
30 | $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
|
---|
31 | tstClipboardServiceHost.cpp
|
---|
32 |
|
---|
33 | if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
|
---|
34 | tstClipboardServiceHost_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
|
---|
35 | tstClipboardServiceHost_SOURCES += \
|
---|
36 | ../VBoxSharedClipboardSvc-transfers.cpp \
|
---|
37 | $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
|
---|
38 | $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardArea.cpp
|
---|
39 | endif
|
---|
40 |
|
---|
41 | if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
|
---|
42 | PROGRAMS += tstClipboardTransfers
|
---|
43 | tstClipboardTransfers_TEMPLATE = VBOXR3TSTEXE
|
---|
44 | tstClipboardTransfers_DEFS = VBOX_WITH_HGCM UNIT_TEST VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
|
---|
45 | tstClipboardTransfers_SOURCES = \
|
---|
46 | $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
|
---|
47 | $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
|
---|
48 | tstClipboardTransfers.cpp
|
---|
49 | endif
|
---|
50 | endif
|
---|
51 |
|
---|
52 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|