1 | # $Id: Makefile.kmk 88607 2021-04-20 15:53:15Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Shared Clipboard Guest/Host testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2011-2020 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_CLEAN = $(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run
|
---|
37 |
|
---|
38 | tstClipboardGH-X11Smoke_TEMPLATE = VBOXR3TSTEXE
|
---|
39 | tstClipboardGH-X11Smoke_DEFS = VBOX_WITH_HGCM SMOKETEST
|
---|
40 | tstClipboardGH-X11Smoke_SOURCES = \
|
---|
41 | tstClipboardGH-X11Smoke.cpp \
|
---|
42 | ../clipboard-x11.cpp \
|
---|
43 | ../clipboard-common.cpp
|
---|
44 | tstClipboardGH-X11Smoke_LIBPATH = $(VBOX_LIBPATH_X11)
|
---|
45 | tstClipboardGH-X11Smoke_LIBS = X11 Xt
|
---|
46 | tstClipboardGH-X11Smoke_CLEAN = $(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run
|
---|
47 |
|
---|
48 | $$(tstClipboardGH-X11_0_OUTDIR)/tstClipboardGH-X11.run: $$(tstClipboardGH-X11_1_STAGE_TARGET)
|
---|
49 | export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11_1_STAGE_TARGET) quiet
|
---|
50 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
51 |
|
---|
52 | $$(tstClipboardGH-X11Smoke_0_OUTDIR)/tstClipboardGH-X11Smoke.run: $$(tstClipboardGH-X11Smoke_1_STAGE_TARGET)
|
---|
53 | export VBOX_LOG_DEST=nofile; $(tstClipboardGH-X11Smoke_1_STAGE_TARGET) quiet
|
---|
54 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
55 |
|
---|
56 | if defined(VBOX_WITH_QTGUI)
|
---|
57 | include $(PATH_SUB_CURRENT)/tstClipboardQt/Makefile.kmk
|
---|
58 | endif
|
---|
59 |
|
---|
60 |
|
---|
61 | endif
|
---|
62 | endif
|
---|
63 |
|
---|
64 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
65 |
|
---|