blob: e5f39389f78c53e47c728de7f44246e65ecb3fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
## @file
# Sub-Makefile for the storage device & driver testcases.
#
#
# Copyright (C) 2006-2007 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
SUB_DEPTH = ../../../../..
include $(KBUILD_PATH)/subheader.kmk
#
# vditool - useful too for manipulating VDIs, but now pretty obsolete and
# probably will go away soon. Testcase only now.
#
ifdef VBOX_WITH_TESTCASES
PROGRAMS += vditool
vditool_TEMPLATE = VBOXR3TSTEXE
vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
vditool_SOURCES = vditool.cpp
endif
#
# Basic testcase for the VDI code.
#
#ifdef VBOX_WITH_TESTCASES
# PROGRAMS += tstVDI
# ifeq ($(KBUILD_TARGET),l4)
# tstVDI_TEMPLATE = VBOXLNXHOSTR3EXE
# else
# tstVDI_TEMPLATE = VBOXR3TSTEXE
# endif
# tstVDI_LIBS = $(vditool_LIBS)
# tstVDI_SOURCES = tstVDI.cpp
#endif
#
# Basic testcases for the VD code.
#
ifdef VBOX_WITH_TESTCASES
PROGRAMS += tstVD tstVD-2 tstVDCopy tstVDSnap
ifeq ($(KBUILD_TARGET),l4)
tstVD_TEMPLATE = VBOXLNXHOSTR3EXE
tstVD-2_TEMPLATE = VBOXLNXHOSTR3EXE
tstVDCopy_TEMPLATE = VBOXLNXHOSTR3EXE
tstVDSnap_TEMPLATE = VBOXLNXHOSTR3EXE
else
tstVD_TEMPLATE = VBOXR3TSTEXE
tstVD-2_TEMPLATE = VBOXR3TSTEXE
tstVDCopy_TEMPLATE = VBOXR3TSTEXE
tstVDSnap_TEMPLATE = VBOXR3TSTEXE
endif
tstVD_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
tstVD-2_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
tstVDCopy_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
tstVDSnap_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
tstVD_SOURCES = tstVD.cpp
tstVD-2_SOURCES = tstVD-2.cpp
tstVDCopy_SOURCES = tstVDCopy.cpp
tstVDSnap_SOURCES = tstVDSnap.cpp
endif
include $(KBUILD_PATH)/subfooter.kmk
|