VirtualBox

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

最後變更 在這個檔案從10539是 10041,由 vboxsync 提交於 17 年 前

VBOX_KBUILD_HACKING...

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id
檔案大小: 1.8 KB
 
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.alldomusa.eu.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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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