1 | # $Id: Makefile.kmk 29 2009-07-01 20:30:29Z bird $
|
---|
2 | ## @file
|
---|
3 | # kHlp - The Helper API, sub-makefile.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (c) 2006-2007 Knut St. Osmundsen <[email protected]>
|
---|
8 | #
|
---|
9 | # Permission is hereby granted, free of charge, to any person
|
---|
10 | # obtaining a copy of this software and associated documentation
|
---|
11 | # files (the "Software"), to deal in the Software without
|
---|
12 | # restriction, including without limitation the rights to use,
|
---|
13 | # copy, modify, merge, publish, distribute, sublicense, and/or sell
|
---|
14 | # copies of the Software, and to permit persons to whom the
|
---|
15 | # Software is furnished to do so, subject to the following
|
---|
16 | # conditions:
|
---|
17 | #
|
---|
18 | # The above copyright notice and this permission notice shall be
|
---|
19 | # included in all copies or substantial portions of the Software.
|
---|
20 | #
|
---|
21 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
22 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
---|
23 | # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
24 | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
---|
25 | # HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
---|
26 | # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
---|
27 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
28 | # OTHER DEALINGS IN THE SOFTWARE.
|
---|
29 | #
|
---|
30 |
|
---|
31 | DEPTH ?= ..
|
---|
32 | SUB_DEPTH = ..
|
---|
33 | include $(PATH_KBUILD)/subheader.kmk
|
---|
34 |
|
---|
35 | #
|
---|
36 | # kHlpBaseStatic
|
---|
37 | #
|
---|
38 | LIBRARIES += kHlpBareStatic
|
---|
39 | kHlpBareStatic_TEMPLATE = kStuffLIB
|
---|
40 | kHlpBareStatic_SOURCES = \
|
---|
41 | Generic/kHlpMemChr.c \
|
---|
42 | Generic/kHlpMemComp.c \
|
---|
43 | Generic/kHlpMemPComp.c \
|
---|
44 | Generic/kHlpMemICompAscii.c \
|
---|
45 | Generic/kHlpMemCopy.c \
|
---|
46 | Generic/kHlpMemPCopy.c \
|
---|
47 | Generic/kHlpMemMove.c \
|
---|
48 | Generic/kHlpMemPMove.c \
|
---|
49 | Generic/kHlpMemSet.c \
|
---|
50 | Generic/kHlpMemPSet.c \
|
---|
51 | Generic/kHlpStrCat.c \
|
---|
52 | Generic/kHlpStrPCat.c \
|
---|
53 | Generic/kHlpStrNCat.c \
|
---|
54 | Generic/kHlpStrNPCat.c \
|
---|
55 | Generic/kHlpStrChr.c \
|
---|
56 | Generic/kHlpStrRChr.c \
|
---|
57 | Generic/kHlpStrComp.c \
|
---|
58 | Generic/kHlpStrPComp.c \
|
---|
59 | Generic/kHlpStrNComp.c \
|
---|
60 | Generic/kHlpStrNPComp.c \
|
---|
61 | Generic/kHlpStrICompAscii.c \
|
---|
62 | Generic/kHlpStrIPCompAscii.c \
|
---|
63 | Generic/kHlpStrNICompAscii.c \
|
---|
64 | Generic/kHlpStrNIPCompAscii.c \
|
---|
65 | Generic/kHlpStrCopy.c \
|
---|
66 | Generic/kHlpStrPCopy.c \
|
---|
67 | Generic/kHlpStrLen.c \
|
---|
68 | Generic/kHlpStrNLen.c \
|
---|
69 | Generic/kHlpInt2Ascii.c \
|
---|
70 | \
|
---|
71 | Generic/kHlpGetEnvUZ.c \
|
---|
72 | \
|
---|
73 | Generic/kHlpGetExt.c \
|
---|
74 | Generic/kHlpGetFilename.c \
|
---|
75 | Generic/kHlpIsFilenameOnly.c \
|
---|
76 | \
|
---|
77 | Generic/kHlpPage.c \
|
---|
78 | \
|
---|
79 | Bare/kHlpBareAssert.c \
|
---|
80 | Bare/kHlpBareHeap.c \
|
---|
81 | Bare/kHlpBareEnv.c \
|
---|
82 | Bare/kHlpBareProcess.c \
|
---|
83 | Bare/kHlpBareThread.c \
|
---|
84 |
|
---|
85 | kHlpBareStatic_SOURCES.darwin = \
|
---|
86 | Bare/kHlpSys-darwin.c
|
---|
87 |
|
---|
88 | #
|
---|
89 | # kCrtStatic
|
---|
90 | #
|
---|
91 | LIBRARIES += kHlpCRTStatic
|
---|
92 | kHlpCRTStatic_TEMPLATE = kStuffLIB
|
---|
93 | kHlpCRTStatic_SOURCES = \
|
---|
94 | Generic/kHlpMemPComp.c \
|
---|
95 | Generic/kHlpMemICompAscii.c \
|
---|
96 | Generic/kHlpStrPCat.c \
|
---|
97 | Generic/kHlpStrNPCat.c \
|
---|
98 | Generic/kHlpStrPComp.c \
|
---|
99 | Generic/kHlpStrNPComp.c \
|
---|
100 | Generic/kHlpStrICompAscii.c \
|
---|
101 | Generic/kHlpStrIPCompAscii.c \
|
---|
102 | Generic/kHlpStrNICompAscii.c \
|
---|
103 | Generic/kHlpStrNIPCompAscii.c \
|
---|
104 | Generic/kHlpStrPCopy.c \
|
---|
105 | Generic/kHlpStrNLen.c \
|
---|
106 | Generic/kHlpInt2Ascii.c \
|
---|
107 | \
|
---|
108 | Generic/kHlpGetEnvUZ.c \
|
---|
109 | \
|
---|
110 | Generic/kHlpGetExt.c \
|
---|
111 | Generic/kHlpGetFilename.c \
|
---|
112 | Generic/kHlpIsFilenameOnly.c \
|
---|
113 | \
|
---|
114 | Generic/kHlpPage.c \
|
---|
115 | \
|
---|
116 | CRT/kHlpCRTAlloc.cpp \
|
---|
117 | CRT/kHlpCRTEnv.cpp \
|
---|
118 | CRT/kHlpCRTString.cpp \
|
---|
119 |
|
---|
120 | kHlpCRTStatic_SOURCES.darwin = \
|
---|
121 | Bare/kHlpSys-darwin.c
|
---|
122 |
|
---|
123 |
|
---|
124 | # Generate the rules
|
---|
125 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
126 |
|
---|