VirtualBox

source: vbox/trunk/src/VBox/Devices/Storage/testcase/Makefile.kmk@ 31193

Last change on this file since 31193 was 31193, checked in by vboxsync, 14 years ago

Devices/Storage: start of a testcase for shareable images

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 31193 2010-07-29 08:06:22Z vboxsync $
2## @file
3# Sub-Makefile for the storage device & driver testcases.
4#
5
6#
7# Copyright (C) 2006-2010 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
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21#
22# vditool - useful too for manipulating VDIs, but now pretty obsolete and
23# probably will go away soon. Testcase only now.
24#
25ifdef VBOX_WITH_TESTCASES
26 PROGRAMS += vditool
27 vditool_TEMPLATE = VBOXR3TSTEXE
28 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
29 vditool_SOURCES = vditool.cpp
30endif
31
32
33#
34# Basic testcase for the VDI code.
35#
36#ifdef VBOX_WITH_TESTCASES
37# PROGRAMS += tstVDI
38# ifeq ($(KBUILD_TARGET),l4)
39# tstVDI_TEMPLATE = VBOXLNXHOSTR3EXE
40# else
41# tstVDI_TEMPLATE = VBOXR3TSTEXE
42# endif
43# tstVDI_LIBS = $(vditool_LIBS)
44# tstVDI_SOURCES = tstVDI.cpp
45#endif
46
47#
48# Basic testcases for the VD code.
49#
50ifdef VBOX_WITH_TESTCASES
51 PROGRAMS += tstVD tstVD-2 tstVDCopy tstVDSnap tstVDShareable
52 ifeq ($(KBUILD_TARGET),l4)
53 tstVD_TEMPLATE = VBOXLNXHOSTR3EXE
54 tstVD-2_TEMPLATE = VBOXLNXHOSTR3EXE
55 tstVDCopy_TEMPLATE = VBOXLNXHOSTR3EXE
56 tstVDSnap_TEMPLATE = VBOXLNXHOSTR3EXE
57 tstVDShareable_TEMPLATE = VBOXLNXHOSTR3EXE
58 else
59 tstVD_TEMPLATE = VBOXR3TSTEXE
60 tstVD-2_TEMPLATE = VBOXR3TSTEXE
61 tstVDCopy_TEMPLATE = VBOXR3TSTEXE
62 tstVDSnap_TEMPLATE = VBOXR3TSTEXE
63 tstVDShareable_TEMPLATE = VBOXR3TSTEXE
64 endif
65 tstVD_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
66 tstVD-2_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
67 tstVDCopy_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
68 tstVDSnap_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
69 tstVDShareable_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
70 tstVD_SOURCES = tstVD.cpp
71 tstVD-2_SOURCES = tstVD-2.cpp
72 tstVDCopy_SOURCES = tstVDCopy.cpp
73 tstVDSnap_SOURCES = tstVDSnap.cpp
74 tstVDShareable_SOURCES = tstVDShareable.cpp
75endif
76
77include $(KBUILD_PATH)/subfooter.kmk
78
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette