# $Id: Makefile.kmk 82968 2020-02-04 10:35:17Z vboxsync $ ## @file # Sub-Makefile for the Shared Clipboard Host Service testcases. # # # Copyright (C) 2011-2020 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../../../../.. include $(KBUILD_PATH)/subheader.kmk if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) PROGRAMS += tstClipboardServiceHost tstClipboardServiceHost_TEMPLATE = VBOXR3TSTEXE tstClipboardServiceHost_DEFS = VBOX_WITH_HGCM UNIT_TEST tstClipboardServiceHost_SOURCES = \ ../VBoxSharedClipboardSvc.cpp \ $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \ tstClipboardServiceHost.cpp if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS) tstClipboardServiceHost_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS tstClipboardServiceHost_SOURCES += \ ../VBoxSharedClipboardSvc-transfers.cpp \ $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \ $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardArea.cpp endif if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS) PROGRAMS += tstClipboardTransfers tstClipboardTransfers_TEMPLATE = VBOXR3TSTEXE tstClipboardTransfers_DEFS = VBOX_WITH_HGCM UNIT_TEST VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS tstClipboardTransfers_SOURCES = \ $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \ tstClipboardTransfers.cpp endif endif include $(FILE_KBUILD_SUB_FOOTER)