VirtualBox

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

Last change on this file since 10482 was 10041, checked in by vboxsync, 17 years ago

VBOX_KBUILD_HACKING...

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