VirtualBox

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

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

fix L4 build of tstVDI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Makefile.kmk 6678 2008-01-31 19:52:46Z vboxsync $
2## @file
3# Sub-Makefile for the storage device & driver testcases.
4#
5
6#
7# Copyright (C) 2006-2007 innotek GmbH
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
18DEPTH ?= ../../../../..
19SUB_DEPTH = ../..
20include $(PATH_KBUILD)/subheader.kmk
21
22#
23# vditool - useful too for manipulating VDIs.
24#
25PROGRAMS += vditool
26ifeq ($(BUILD_TARGET),l4)
27 vditool_TEMPLATE = VBOXLNXHOSTR3EXE
28 vditool_LIBS = \
29 $(PATH_LIB)/VBoxDDULnxHostR3.a \
30 $(PATH_LIB)/RuntimeLnxHostR3.a
31else
32 vditool_TEMPLATE = VBOXR3EXE
33 vditool_LIBS = $(LIB_DDU) $(LIB_RUNTIME)
34endif
35vditool_SOURCES = vditool.cpp
36
37
38#
39# Basic testcase for the VDI code.
40#
41ifdef VBOX_WITH_TESTCASES
42 PROGRAMS += tstVDI
43 ifeq ($(BUILD_TARGET),l4)
44 tstVDI_TEMPLATE = VBOXLNXHOSTR3EXE
45 tstVDI_LIBS = \
46 $(PATH_LIB)/VBoxDDULnxHostR3.a \
47 $(PATH_LIB)/RuntimeLnxHostR3.a
48 else
49 tstVDI_TEMPLATE = VBOXR3TSTEXE
50 tstVDI_LIBS = $(vditool_LIBS)
51 endif
52 tstVDI_SOURCES = tstVDI.cpp
53endif
54
55include $(PATH_KBUILD)/subfooter.kmk
56
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