1 | # $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the SUPLib testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2009 Oracle Corporation
|
---|
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 |
|
---|
27 | SUB_DEPTH = ../../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | PROGRAMS += \
|
---|
31 | SUPInstall \
|
---|
32 | SUPUninstall \
|
---|
33 | SUPLoggerCtl
|
---|
34 | ifdef VBOX_WITH_TESTCASES
|
---|
35 | PROGRAMS += \
|
---|
36 | tstPage \
|
---|
37 | tstContiguous \
|
---|
38 | tstInit \
|
---|
39 | tstInt \
|
---|
40 | tstLow \
|
---|
41 | tstPin \
|
---|
42 | tstGIP-2 \
|
---|
43 | tstGetPagingMode \
|
---|
44 | tstSupLoadModule \
|
---|
45 | tstSupSem \
|
---|
46 | tstSupSem-Zombie
|
---|
47 | endif # VBOX_WITH_TESTCASES
|
---|
48 |
|
---|
49 | SUPInstall_TEMPLATE = VBOXR3EXE
|
---|
50 | SUPInstall_SOURCES = SUPInstall.cpp
|
---|
51 | SUPInstall_LIBS = $(LIB_RUNTIME)
|
---|
52 |
|
---|
53 | SUPUninstall_TEMPLATE = VBOXR3EXE
|
---|
54 | SUPUninstall_SOURCES = SUPUninstall.cpp
|
---|
55 | SUPUninstall_LIBS = $(LIB_RUNTIME)
|
---|
56 |
|
---|
57 | SUPLoggerCtl_TEMPLATE = VBOXR3EXE
|
---|
58 | SUPLoggerCtl_SOURCES = SUPLoggerCtl.cpp
|
---|
59 | SUPLoggerCtl_LIBS = $(LIB_RUNTIME)
|
---|
60 |
|
---|
61 | tstInt_TEMPLATE = VBOXR3EXE
|
---|
62 | tstInt_SOURCES = tstInt.cpp
|
---|
63 | tstInt_LIBS = $(LIB_RUNTIME)
|
---|
64 |
|
---|
65 | tstContiguous_TEMPLATE= VBOXR3TSTEXE
|
---|
66 | tstContiguous_SOURCES = tstContiguous.cpp
|
---|
67 |
|
---|
68 | tstInit_TEMPLATE = VBOXR3TSTEXE
|
---|
69 | tstInit_SOURCES = tstInit.cpp
|
---|
70 |
|
---|
71 | tstLow_TEMPLATE = VBOXR3TSTEXE
|
---|
72 | tstLow_SOURCES = tstLow.cpp
|
---|
73 |
|
---|
74 | tstPin_TEMPLATE = VBOXR3TSTEXE
|
---|
75 | tstPin_SOURCES = tstPin.cpp
|
---|
76 |
|
---|
77 | tstPage_TEMPLATE = VBOXR3TSTEXE
|
---|
78 | tstPage_SOURCES = tstPage.cpp
|
---|
79 |
|
---|
80 | tstGIP-2_TEMPLATE = VBOXR3TSTEXE
|
---|
81 | tstGIP-2_SOURCES = tstGIP-2.cpp
|
---|
82 |
|
---|
83 | tstGetPagingMode_TEMPLATE = VBOXR3TSTEXE
|
---|
84 | tstGetPagingMode_SOURCES = tstGetPagingMode.cpp
|
---|
85 |
|
---|
86 | tstSupLoadModule_TEMPLATE = VBOXR3TSTEXE
|
---|
87 | tstSupLoadModule_SOURCES = tstSupLoadModule.cpp
|
---|
88 |
|
---|
89 | tstSupSem_TEMPLATE = VBOXR3TSTEXE
|
---|
90 | tstSupSem_SOURCES = tstSupSem.cpp
|
---|
91 |
|
---|
92 | tstSupSem-Zombie_TEMPLATE = VBOXR3TSTEXE
|
---|
93 | tstSupSem-Zombie_SOURCES = tstSupSem-Zombie.cpp
|
---|
94 |
|
---|
95 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
96 |
|
---|