VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedClipboard/testcase/Makefile.kmk@ 93115

Last change on this file since 93115 was 93115, checked in by vboxsync, 3 years ago

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1# $Id: Makefile.kmk 93115 2022-01-01 11:31:46Z vboxsync $
2## @file
3# Sub-Makefile for the Shared Clipboard Host Service testcases.
4#
5
6#
7# Copyright (C) 2011-2022 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
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
22
23 #
24 #
25 #
26 PROGRAMS += tstClipboardServiceHost
27 tstClipboardServiceHost_TEMPLATE = VBOXR3TSTEXE
28 tstClipboardServiceHost_DEFS = VBOX_WITH_HGCM UNIT_TEST
29 tstClipboardServiceHost_SOURCES = \
30 ../VBoxSharedClipboardSvc.cpp \
31 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
32 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
33 tstClipboardServiceHost.cpp
34 tstClipboardServiceHost_LIBS = $(LIB_RUNTIME)
35 tstClipboardServiceHost_CLEAN = $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
36
37 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
38 tstClipboardServiceHost_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
39 tstClipboardServiceHost_SOURCES += \
40 ../VBoxSharedClipboardSvc-transfers.cpp \
41 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
42 endif
43
44 #
45 #
46 #
47 PROGRAMS += tstClipboardServiceImpl
48 tstClipboardServiceImpl_TEMPLATE = VBOXR3TSTEXE
49 tstClipboardServiceImpl_DEFS = VBOX_WITH_HGCM UNIT_TEST
50 tstClipboardServiceImpl_SOURCES = \
51 ../VBoxSharedClipboardSvc.cpp \
52 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
53 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
54 tstClipboardServiceImpl.cpp
55 tstClipboardServiceImpl_LIBS = $(LIB_RUNTIME)
56 tstClipboardServiceImpl_CLEAN = $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
57
58 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
59 #
60 #
61 #
62 PROGRAMS += tstClipboardTransfers
63 tstClipboardTransfers_TEMPLATE = VBOXR3TSTEXE
64 tstClipboardTransfers_DEFS = VBOX_WITH_HGCM UNIT_TEST VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
65 tstClipboardTransfers_SOURCES = \
66 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
67 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
68 tstClipboardTransfers.cpp
69 endif
70endif
71
72include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette