1 | # $Id: Makefile.kmk 85381 2020-07-18 10:04:38Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the DnD testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 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 |
|
---|
23 | PROGRAMS += tstDnDTransferObject tstDnDTransferList tstDnDPath
|
---|
24 | TESTING += \
|
---|
25 | $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run \
|
---|
26 | $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run \
|
---|
27 | $(tstDnDTransferPath_0_OUTDIR)/tstDnDPath.run
|
---|
28 |
|
---|
29 | tstDnDTransferObject_TEMPLATE = VBOXR3TSTEXE
|
---|
30 | tstDnDTransferObject_DEFS = UNIT_TEST TESTCASE
|
---|
31 | tstDnDTransferObject_SOURCES = \
|
---|
32 | tstDnDTransferObject.cpp \
|
---|
33 | ../DnDTransferObject.cpp \
|
---|
34 | ../DnDPath.cpp
|
---|
35 | tstDnDTransferObject_CLEAN = $(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run
|
---|
36 |
|
---|
37 | $$(tstDnDTransferObject_0_OUTDIR)/tstDnDTransferObject.run: $$(tstDnDTransferObject_1_STAGE_TARGET)
|
---|
38 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferObject_1_STAGE_TARGET) quiet
|
---|
39 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
40 |
|
---|
41 | tstDnDTransferList_TEMPLATE = VBOXR3TSTEXE
|
---|
42 | tstDnDTransferList_DEFS = UNIT_TEST TESTCASE
|
---|
43 | tstDnDTransferList_SOURCES = \
|
---|
44 | tstDnDTransferList.cpp \
|
---|
45 | ../DnDTransferObject.cpp \
|
---|
46 | ../DnDTransferList.cpp \
|
---|
47 | ../DnDPath.cpp
|
---|
48 | tstDnDTransferList_CLEAN = $(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run
|
---|
49 |
|
---|
50 | $$(tstDnDTransferList_0_OUTDIR)/tstDnDTransferList.run: $$(tstDnDTransferList_1_STAGE_TARGET)
|
---|
51 | export VBOX_LOG_DEST=nofile; $(tstDnDTransferList_1_STAGE_TARGET) quiet
|
---|
52 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
53 |
|
---|
54 | tstDnDPath_TEMPLATE = VBOXR3TSTEXE
|
---|
55 | tstDnDPath_DEFS = UNIT_TEST TESTCASE
|
---|
56 | tstDnDPath_SOURCES = \
|
---|
57 | tstDnDPath.cpp \
|
---|
58 | ../DnDPath.cpp
|
---|
59 | tstDnDPath_CLEAN = $(tstDnDPath_0_OUTDIR)/tstDnDPath.run
|
---|
60 |
|
---|
61 | $$(tstDnDPath_0_OUTDIR)/tstDnDPath.run: $$(tstDnDPath_1_STAGE_TARGET)
|
---|
62 | export VBOX_LOG_DEST=nofile; $(tstDnDPath_1_STAGE_TARGET) quiet
|
---|
63 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
64 |
|
---|
65 | endif
|
---|
66 |
|
---|
67 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|