VirtualBox

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

Last change on this file since 12474 was 12268, checked in by vboxsync, 16 years ago

Devices/Makefiles: PATH_TARGET elimination, push up to root (sub-makefile wise). Some minor cleanups.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 12268 2008-09-09 03:43:51Z vboxsync $
2## @file
3# Sub-Makefile for the storage device & driver testcases.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25#
26# vditool - useful too for manipulating VDIs.
27#
28PROGRAMS += vditool
29ifeq ($(KBUILD_TARGET),l4)
30 vditool_TEMPLATE = VBOXLNXHOSTR3EXE
31 vditool_LIBS = \
32 $(PATH_LIB)/VBoxDDULnxHostR3.a \
33 $(PATH_LIB)/RuntimeLnxHostR3.a
34else
35 vditool_TEMPLATE = VBOXR3EXE
36 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
37endif
38vditool_SOURCES = vditool.cpp
39
40
41#
42# Basic testcase for the VDI code.
43#
44ifdef VBOX_WITH_TESTCASES
45 PROGRAMS += tstVDI
46 ifeq ($(KBUILD_TARGET),l4)
47 tstVDI_TEMPLATE = VBOXLNXHOSTR3EXE
48 else
49 tstVDI_TEMPLATE = VBOXR3TSTEXE
50 endif
51 tstVDI_LIBS = $(vditool_LIBS)
52 tstVDI_SOURCES = tstVDI.cpp
53endif
54
55#
56# Basic testcases for the VD code.
57#
58ifdef VBOX_WITH_TESTCASES
59 PROGRAMS += tstVD tstVD-2
60 ifeq ($(KBUILD_TARGET),l4)
61 tstVD_TEMPLATE = VBOXLNXHOSTR3EXE
62 tstVD-2_TEMPLATE = VBOXLNXHOSTR3EXE
63 else
64 tstVD_TEMPLATE = VBOXR3TSTEXE
65 tstVD-2_TEMPLATE = VBOXR3TSTEXE
66 endif
67 tstVD_LIBS = $(vditool_LIBS)
68 tstVD-2_LIBS = $(vditool_LIBS)
69 tstVD_SOURCES = tstVD.cpp
70 tstVD-2_SOURCES = tstVD-2.cpp
71endif
72
73include $(KBUILD_PATH)/subfooter.kmk
74
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