1 | # $Id: Makefile.kmk 93496 2022-01-31 13:18:20Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Clipboard Guest/Host 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 |
|
---|
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 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
23 |
|
---|
24 | PROGRAMS += tstClipboardGH-X11 tstClipboardGH-X11Smoke
|
---|
25 | TESTING += \
|
---|
26 | $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run \
|
---|
27 | $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11Smoke.run
|
---|
28 |
|
---|
29 | tstClipboardGH-X11_TEMPLATE = VBOXR3TSTEXE
|
---|
30 | tstClipboardGH-X11_DEFS = VBOX_WITH_HGCM UNIT_TEST TESTCASE
|
---|
31 | tstClipboardGH-X11_SOURCES = \
|
---|
32 | tstClipboardGH-X11.cpp \
|
---|
33 | ../clipboard-x11.cpp \
|
---|
34 | ../clipboard-common.cpp
|
---|
35 | tstClipboardGH-X11_CXXFLAGS += -Wno-array-bounds
|
---|
36 | tstClipboardGH-X11_LIBS = X11 Xt
|
---|
37 | tstClipboardGH-X11_CLEAN = $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run
|
---|
38 |
|
---|
39 | tstClipboardGH-X11Smoke_TEMPLATE = VBOXR3TSTEXE
|
---|
40 | tstClipboardGH-X11Smoke_DEFS = VBOX_WITH_HGCM SMOKETEST
|
---|
41 | tstClipboardGH-X11Smoke_SOURCES = \
|
---|
42 | tstClipboardGH-X11Smoke.cpp \
|
---|
43 | ../clipboard-x11.cpp \
|
---|
44 | ../clipboard-common.cpp
|
---|
45 | tstClipboardGH-X11Smoke_LIBPATH = $(VBOX_LIBPATH_X11)
|
---|
46 | tstClipboardGH-X11Smoke_LIBS = X11 Xt
|
---|
47 | tstClipboardGH-X11Smoke_CLEAN = $(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run
|
---|
48 |
|
---|
49 | $$(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run: $$(tstClipboardGH-X11_1_STAGE_TARGET)
|
---|
50 | export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11_1_STAGE_TARGET) quiet
|
---|
51 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
52 |
|
---|
53 | $$(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run: $$(tstClipboardGH-X11Smoke_1_STAGE_TARGET)
|
---|
54 | export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11Smoke_1_STAGE_TARGET) quiet
|
---|
55 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
56 |
|
---|
57 | if defined(VBOX_WITH_QTGUI)
|
---|
58 | include $(PATH_SUB_CURRENT)/tstClipboardQt/Makefile.kmk
|
---|
59 | endif
|
---|
60 |
|
---|
61 |
|
---|
62 | endif
|
---|
63 | endif
|
---|
64 |
|
---|
65 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
66 |
|
---|