1 | # $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the DnD testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2020-2022 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 |
|
---|
28 | SUB_DEPTH = ../../../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
|
---|
32 |
|
---|
33 | PROGRAMS += tstDnDTransferObject tstDnDTransferList tstDnDPath
|
---|
34 | TESTING += \
|
---|
35 | $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run \
|
---|
36 | $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run \
|
---|
37 | $(tstDnDTransferPath_0_OUTDIR)/tstDnDPath.run
|
---|
38 |
|
---|
39 | tstDnDTransferObject_TEMPLATE = VBOXR3TSTEXE
|
---|
40 | tstDnDTransferObject_DEFS = UNIT_TEST TESTCASE
|
---|
41 | tstDnDTransferObject_SOURCES = \
|
---|
42 | tstDnDTransferObject.cpp \
|
---|
43 | ../DnDTransferObject.cpp \
|
---|
44 | ../DnDPath.cpp
|
---|
45 | tstDnDTransferObject_CLEAN = $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run
|
---|
46 |
|
---|
47 | $$(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run: $$(tstDnDTransferObject_1_STAGE_TARGET)
|
---|
48 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferObject_1_STAGE_TARGET) quiet
|
---|
49 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
50 |
|
---|
51 | tstDnDTransferList_TEMPLATE = VBOXR3TSTEXE
|
---|
52 | tstDnDTransferList_DEFS = UNIT_TEST TESTCASE
|
---|
53 | tstDnDTransferList_SOURCES = \
|
---|
54 | tstDnDTransferList.cpp \
|
---|
55 | ../DnDTransferObject.cpp \
|
---|
56 | ../DnDTransferList.cpp \
|
---|
57 | ../DnDPath.cpp
|
---|
58 | tstDnDTransferList_CLEAN = $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run
|
---|
59 |
|
---|
60 | $$(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run: $$(tstDnDTransferList_1_STAGE_TARGET)
|
---|
61 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferList_1_STAGE_TARGET) quiet
|
---|
62 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
63 |
|
---|
64 | tstDnDPath_TEMPLATE = VBOXR3TSTEXE
|
---|
65 | tstDnDPath_DEFS = UNIT_TEST TESTCASE
|
---|
66 | tstDnDPath_SOURCES = \
|
---|
67 | tstDnDPath.cpp \
|
---|
68 | ../DnDPath.cpp
|
---|
69 | tstDnDPath_CLEAN = $(tstDnDPath_0_OUTDIR)/tstDnDPath.run
|
---|
70 |
|
---|
71 | $$(tstDnDPath_0_OUTDIR)/tstDnDPath.run: $$(tstDnDPath_1_STAGE_TARGET)
|
---|
72 | export VBOX_LOG_DEST=nofile; $(tstDnDPath_1_STAGE_TARGET) quiet
|
---|
73 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
74 |
|
---|
75 | endif
|
---|
76 |
|
---|
77 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|