1 | # $Id: Makefile.kmk 10196 2008-07-04 04:25:48Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for kStuff, for statically linking into VBoxRT.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 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 |
|
---|
22 | ifdef VBOX_SINGLE_MAKEFILE
|
---|
23 | SUB_DEPTH = ../../..
|
---|
24 | else
|
---|
25 | SUB_DEPTH = .
|
---|
26 | DEPTH ?= ../../..
|
---|
27 | endif
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | #
|
---|
31 | # The library.
|
---|
32 | #
|
---|
33 | LIBRARIES += VBox-kStuff
|
---|
34 | VBox-kStuff_TEMPLATE = VBOXR3
|
---|
35 | VBox-kStuff_DEFS = IN_RT_R3
|
---|
36 | VBox-kStuff_INCS = kStuff/include
|
---|
37 | VBox-kStuff_SOURCES = \
|
---|
38 | kStuff/kLdr/kLdrMod.c \
|
---|
39 | kStuff/kLdr/kLdrModLX.c \
|
---|
40 | kStuff/kLdr/kLdrModMachO.c \
|
---|
41 | kStuff/kLdr/kLdrModPE.c \
|
---|
42 | \
|
---|
43 | kStuff/kRdr/kRdr.cpp \
|
---|
44 | kStuff/kRdr/kRdrBuffered.cpp \
|
---|
45 | \
|
---|
46 | kStuff/kCpu/kCpuCompare.c \
|
---|
47 | kStuff/kCpu/kCpuGetArchAndCpu.c \
|
---|
48 | \
|
---|
49 | \
|
---|
50 | kStuff/kHlp/Generic/kHlpMemPComp.c \
|
---|
51 | kStuff/kHlp/Generic/kHlpMemICompAscii.c \
|
---|
52 | kStuff/kHlp/Generic/kHlpStrPCat.c \
|
---|
53 | kStuff/kHlp/Generic/kHlpStrNPCat.c \
|
---|
54 | kStuff/kHlp/Generic/kHlpStrPComp.c \
|
---|
55 | kStuff/kHlp/Generic/kHlpStrNPComp.c \
|
---|
56 | kStuff/kHlp/Generic/kHlpStrICompAscii.c \
|
---|
57 | kStuff/kHlp/Generic/kHlpStrIPCompAscii.c \
|
---|
58 | kStuff/kHlp/Generic/kHlpStrNICompAscii.c \
|
---|
59 | kStuff/kHlp/Generic/kHlpStrNIPCompAscii.c \
|
---|
60 | kStuff/kHlp/Generic/kHlpStrPCopy.c \
|
---|
61 | kStuff/kHlp/Generic/kHlpStrNLen.c \
|
---|
62 | kStuff/kHlp/Generic/kHlpInt2Ascii.c \
|
---|
63 | kStuff/kHlp/Generic/kHlpGetEnvUZ.c \
|
---|
64 | kStuff/kHlp/Generic/kHlpGetExt.c \
|
---|
65 | kStuff/kHlp/Generic/kHlpGetFilename.c \
|
---|
66 | kStuff/kHlp/Generic/kHlpIsFilenameOnly.c \
|
---|
67 | \
|
---|
68 | iprt/kHlpPage-iprt.cpp \
|
---|
69 | iprt/kHlpAlloc-iprt.cpp \
|
---|
70 | iprt/kHlpEnv-iprt.cpp \
|
---|
71 | iprt/kHlpString-iprt.cpp \
|
---|
72 | iprt/kRdrFile-iprt.cpp
|
---|
73 |
|
---|
74 | # kStuff/kErr/kErrName.c
|
---|
75 |
|
---|
76 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
77 |
|
---|