1 | # $Id: Makefile.kmk 98413 2023-02-01 16:22:15Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the DnD testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2020-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 |
|
---|
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 | if defined(VBOX_WITH_QTGUI)
|
---|
34 | include $(PATH_SUB_CURRENT)/tstDragAndDropQt/Makefile.kmk
|
---|
35 | endif
|
---|
36 |
|
---|
37 | PROGRAMS += tstDnDTransferObject tstDnDTransferList tstDnDPath
|
---|
38 | TESTING += \
|
---|
39 | $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run \
|
---|
40 | $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run \
|
---|
41 | $(tstDnDTransferPath_0_OUTDIR)/tstDnDPath.run
|
---|
42 |
|
---|
43 | tstDnDTransferObject_TEMPLATE = VBoxR3TstExe
|
---|
44 | tstDnDTransferObject_DEFS = UNIT_TEST TESTCASE
|
---|
45 | tstDnDTransferObject_SOURCES = \
|
---|
46 | tstDnDTransferObject.cpp \
|
---|
47 | ../DnDTransferObject.cpp \
|
---|
48 | ../DnDPath.cpp
|
---|
49 | tstDnDTransferObject_CLEAN = $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run
|
---|
50 |
|
---|
51 | $$(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run: $$(tstDnDTransferObject_1_STAGE_TARGET)
|
---|
52 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferObject_1_STAGE_TARGET) quiet
|
---|
53 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
54 |
|
---|
55 | tstDnDTransferList_TEMPLATE = VBoxR3TstExe
|
---|
56 | tstDnDTransferList_DEFS = UNIT_TEST TESTCASE
|
---|
57 | tstDnDTransferList_SOURCES = \
|
---|
58 | tstDnDTransferList.cpp \
|
---|
59 | ../DnDTransferObject.cpp \
|
---|
60 | ../DnDTransferList.cpp \
|
---|
61 | ../DnDPath.cpp
|
---|
62 | tstDnDTransferList_CLEAN = $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run
|
---|
63 |
|
---|
64 | $$(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run: $$(tstDnDTransferList_1_STAGE_TARGET)
|
---|
65 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferList_1_STAGE_TARGET) quiet
|
---|
66 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
67 |
|
---|
68 | tstDnDPath_TEMPLATE = VBoxR3TstExe
|
---|
69 | tstDnDPath_DEFS = UNIT_TEST TESTCASE
|
---|
70 | tstDnDPath_SOURCES = \
|
---|
71 | tstDnDPath.cpp \
|
---|
72 | ../DnDPath.cpp
|
---|
73 | tstDnDPath_CLEAN = $(tstDnDPath_0_OUTDIR)/tstDnDPath.run
|
---|
74 |
|
---|
75 | $$(tstDnDPath_0_OUTDIR)/tstDnDPath.run: $$(tstDnDPath_1_STAGE_TARGET)
|
---|
76 | export VBOX_LOG_DEST=nofile; $(tstDnDPath_1_STAGE_TARGET) quiet
|
---|
77 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
78 |
|
---|
79 | endif
|
---|
80 |
|
---|
81 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|