VirtualBox

source: vbox/trunk/src/VBox/GuestHost/SharedClipboard/testcase/Makefile.kmk@ 99940

Last change on this file since 99940 was 99940, checked in by vboxsync, 19 months ago

Shared Clipboard: Added new testcase for the HTTP server in combination with the Shared Clipboard API, various updates and general improvements [SCM fix, sigh2]. bugref:9437

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1# $Id: Makefile.kmk 99940 2023-05-23 15:57:14Z vboxsync $
2## @file
3# Sub-Makefile for the Shared Clipboard Guest/Host testcases.
4#
5
6#
7# Copyright (C) 2011-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
32 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
33
34 PROGRAMS += tstClipboardGH-X11 tstClipboardGH-X11Smoke
35 TESTING += \
36 $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run \
37 $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11Smoke.run
38
39 tstClipboardGH-X11_TEMPLATE = VBoxR3TstExe
40 tstClipboardGH-X11_DEFS = VBOX_WITH_HGCM UNIT_TEST TESTCASE
41 tstClipboardGH-X11_SOURCES = \
42 tstClipboardGH-X11.cpp \
43 ../clipboard-x11.cpp \
44 ../clipboard-common.cpp
45 tstClipboardGH-X11_CXXFLAGS += -Wno-array-bounds
46 tstClipboardGH-X11_LIBS = X11 Xt
47 tstClipboardGH-X11_CLEAN = $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run
48
49 tstClipboardGH-X11Smoke_TEMPLATE = VBoxR3TstExe
50 tstClipboardGH-X11Smoke_DEFS = VBOX_WITH_HGCM SMOKETEST
51 tstClipboardGH-X11Smoke_SOURCES = \
52 tstClipboardGH-X11Smoke.cpp \
53 ../clipboard-x11.cpp \
54 ../clipboard-common.cpp
55 tstClipboardGH-X11Smoke_LIBPATH = $(VBOX_LIBPATH_X11)
56 tstClipboardGH-X11Smoke_LIBS = X11 Xt
57 tstClipboardGH-X11Smoke_CLEAN = $(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run
58
59 $$(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run: $$(tstClipboardGH-X11_1_STAGE_TARGET)
60 export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11_1_STAGE_TARGET) quiet
61 $(QUIET)$(APPEND) -t "$@" "done"
62
63 $$(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run: $$(tstClipboardGH-X11Smoke_1_STAGE_TARGET)
64 export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11Smoke_1_STAGE_TARGET) quiet
65 $(QUIET)$(APPEND) -t "$@" "done"
66
67 if defined(VBOX_WITH_QTGUI)
68 include $(PATH_SUB_CURRENT)/tstClipboardQt/Makefile.kmk
69 endif
70
71 endif
72
73 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
74 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
75 PROGRAMS += tstClipboardHttpServer
76 tstClipboardHttpServer_TEMPLATE = VBoxR3TstExe
77 tstClipboardHttpServer_SOURCES = \
78 tstClipboardHttpServer.cpp \
79 ../clipboard-common.cpp \
80 ../clipboard-transfers.cpp \
81 ../clipboard-transfers-http.cpp
82 tstClipboardHttpServer_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
83 endif
84 endif
85
86endif
87
88include $(FILE_KBUILD_SUB_FOOTER)
89
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