1 | # $Id: Makefile.kmk 10049 2008-07-01 00:58:41Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the SUPLib 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 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
27 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
28 | # additional information or have any questions.
|
---|
29 | #
|
---|
30 |
|
---|
31 | ifdef VBOX_KBUILD_HACKING
|
---|
32 | SUB_DEPTH = ../../../../..
|
---|
33 | else
|
---|
34 | SUB_DEPTH = ../..
|
---|
35 | DEPTH ?= ../../../../..
|
---|
36 | endif
|
---|
37 | include $(KBUILD_PATH)/subheader.kmk
|
---|
38 |
|
---|
39 | PROGRAMS += \
|
---|
40 | SUPInstall \
|
---|
41 | SUPUninstall
|
---|
42 | ifdef VBOX_WITH_TESTCASES
|
---|
43 | PROGRAMS += \
|
---|
44 | tstPage \
|
---|
45 | tstContiguous \
|
---|
46 | tstInit \
|
---|
47 | tstInt \
|
---|
48 | tstLow \
|
---|
49 | tstPin \
|
---|
50 | tstGIP-2 \
|
---|
51 | tstGetPagingMode
|
---|
52 | endif # VBOX_WITH_TESTCASES
|
---|
53 |
|
---|
54 | SUPInstall_TEMPLATE = VBOXR3EXE
|
---|
55 | SUPInstall_SOURCES = SUPInstall.cpp
|
---|
56 | SUPInstall_LIBS = $(LIB_RUNTIME)
|
---|
57 |
|
---|
58 | SUPUninstall_TEMPLATE = VBOXR3EXE
|
---|
59 | SUPUninstall_SOURCES = SUPUninstall.cpp
|
---|
60 | SUPUninstall_LIBS = $(LIB_RUNTIME)
|
---|
61 |
|
---|
62 | tstInt_TEMPLATE = VBOXR3EXE
|
---|
63 | tstInt_SOURCES = tstInt.cpp
|
---|
64 | tstInt_LIBS = $(LIB_RUNTIME)
|
---|
65 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
66 | tstInt_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
67 | endif
|
---|
68 |
|
---|
69 | tstContiguous_TEMPLATE= VBOXR3TSTEXE
|
---|
70 | tstContiguous_SOURCES = tstContiguous.cpp
|
---|
71 |
|
---|
72 | tstInit_TEMPLATE = VBOXR3TSTEXE
|
---|
73 | tstInit_SOURCES = tstInit.cpp
|
---|
74 |
|
---|
75 | tstLow_TEMPLATE = VBOXR3TSTEXE
|
---|
76 | tstLow_SOURCES = tstLow.cpp
|
---|
77 |
|
---|
78 | tstPin_TEMPLATE = VBOXR3TSTEXE
|
---|
79 | tstPin_SOURCES = tstPin.cpp
|
---|
80 |
|
---|
81 | tstPage_TEMPLATE = VBOXR3TSTEXE
|
---|
82 | tstPage_SOURCES = tstPage.cpp
|
---|
83 |
|
---|
84 | tstGIP-2_TEMPLATE = VBOXR3TSTEXE
|
---|
85 | tstGIP-2_SOURCES = tstGIP-2.cpp
|
---|
86 |
|
---|
87 | tstGetPagingMode_TEMPLATE = VBOXR3TSTEXE
|
---|
88 | tstGetPagingMode_SOURCES = tstGetPagingMode.cpp
|
---|
89 |
|
---|
90 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
91 |
|
---|