VirtualBox

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

Last change on this file since 9074 was 8760, checked in by vboxsync, 17 years ago

PATH_KBUILD -> KBUILD_PATH.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 8760 2008-05-11 18:39:30Z 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
22DEPTH ?= ../../../../..
23SUB_DEPTH = ../..
24include $(KBUILD_PATH)/subheader.kmk
25
26#
27# vditool - useful too for manipulating VDIs.
28#
29PROGRAMS += vditool
30ifeq ($(KBUILD_TARGET),l4)
31 vditool_TEMPLATE = VBOXLNXHOSTR3EXE
32 vditool_LIBS = \
33 $(PATH_LIB)/VBoxDDULnxHostR3.a \
34 $(PATH_LIB)/RuntimeLnxHostR3.a
35else
36 vditool_TEMPLATE = VBOXR3EXE
37 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
38endif
39vditool_SOURCES = vditool.cpp
40
41
42#
43# Basic testcase for the VDI code.
44#
45ifdef VBOX_WITH_TESTCASES
46 PROGRAMS += tstVDI
47 ifeq ($(KBUILD_TARGET),l4)
48 tstVDI_TEMPLATE = VBOXLNXHOSTR3EXE
49 else
50 tstVDI_TEMPLATE = VBOXR3TSTEXE
51 endif
52 tstVDI_LIBS = $(vditool_LIBS)
53 tstVDI_SOURCES = tstVDI.cpp
54endif
55
56#
57# Basic testcase for the VD code.
58#
59ifdef VBOX_WITH_TESTCASES
60 PROGRAMS += tstVD
61 ifeq ($(KBUILD_TARGET),l4)
62 tstVD_TEMPLATE = VBOXLNXHOSTR3EXE
63 else
64 tstVD_TEMPLATE = VBOXR3TSTEXE
65 endif
66 tstVD_LIBS = $(vditool_LIBS)
67 tstVD_SOURCES = tstVD.cpp
68endif
69
70include $(KBUILD_PATH)/subfooter.kmk
71
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