1 | # $Id: Makefile.kmk 24 2009-02-08 13:58:54Z bird $
|
---|
2 | ## @file
|
---|
3 | # kHlp - The Helper API, sub-makefile.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (c) 2007 knut st. osmundsen <[email protected]>
|
---|
8 | #
|
---|
9 | # This file is part of kStuff.
|
---|
10 | #
|
---|
11 | # kStuff is free software; you can redistribute it and/or
|
---|
12 | # modify it under the terms of the GNU Lesser General Public
|
---|
13 | # License as published by the Free Software Foundation; either
|
---|
14 | # version 2.1 of the License, or (at your option) any later version.
|
---|
15 | #
|
---|
16 | # kStuff is distributed in the hope that it will be useful,
|
---|
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
19 | # Lesser General Public License for more details.
|
---|
20 | #
|
---|
21 | # You should have received a copy of the GNU Lesser General Public
|
---|
22 | # License along with kStuff; if not, write to the Free Software
|
---|
23 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
---|
24 | #
|
---|
25 | #
|
---|
26 |
|
---|
27 | DEPTH ?= ..
|
---|
28 | SUB_DEPTH = ..
|
---|
29 | include $(PATH_KBUILD)/subheader.kmk
|
---|
30 |
|
---|
31 | #
|
---|
32 | # kHlpBaseStatic
|
---|
33 | #
|
---|
34 | LIBRARIES += kHlpBareStatic
|
---|
35 | kHlpBareStatic_TEMPLATE = kStuffLIB
|
---|
36 | kHlpBareStatic_SOURCES = \
|
---|
37 | Generic/kHlpMemChr.c \
|
---|
38 | Generic/kHlpMemComp.c \
|
---|
39 | Generic/kHlpMemPComp.c \
|
---|
40 | Generic/kHlpMemICompAscii.c \
|
---|
41 | Generic/kHlpMemCopy.c \
|
---|
42 | Generic/kHlpMemPCopy.c \
|
---|
43 | Generic/kHlpMemMove.c \
|
---|
44 | Generic/kHlpMemPMove.c \
|
---|
45 | Generic/kHlpMemSet.c \
|
---|
46 | Generic/kHlpMemPSet.c \
|
---|
47 | Generic/kHlpStrCat.c \
|
---|
48 | Generic/kHlpStrPCat.c \
|
---|
49 | Generic/kHlpStrNCat.c \
|
---|
50 | Generic/kHlpStrNPCat.c \
|
---|
51 | Generic/kHlpStrChr.c \
|
---|
52 | Generic/kHlpStrRChr.c \
|
---|
53 | Generic/kHlpStrComp.c \
|
---|
54 | Generic/kHlpStrPComp.c \
|
---|
55 | Generic/kHlpStrNComp.c \
|
---|
56 | Generic/kHlpStrNPComp.c \
|
---|
57 | Generic/kHlpStrICompAscii.c \
|
---|
58 | Generic/kHlpStrIPCompAscii.c \
|
---|
59 | Generic/kHlpStrNICompAscii.c \
|
---|
60 | Generic/kHlpStrNIPCompAscii.c \
|
---|
61 | Generic/kHlpStrCopy.c \
|
---|
62 | Generic/kHlpStrPCopy.c \
|
---|
63 | Generic/kHlpStrLen.c \
|
---|
64 | Generic/kHlpStrNLen.c \
|
---|
65 | Generic/kHlpInt2Ascii.c \
|
---|
66 | \
|
---|
67 | Generic/kHlpGetEnvUZ.c \
|
---|
68 | \
|
---|
69 | Generic/kHlpGetExt.c \
|
---|
70 | Generic/kHlpGetFilename.c \
|
---|
71 | Generic/kHlpIsFilenameOnly.c \
|
---|
72 | \
|
---|
73 | Generic/kHlpPage.c \
|
---|
74 | \
|
---|
75 | Bare/kHlpBareAssert.c \
|
---|
76 | Bare/kHlpBareHeap.c \
|
---|
77 | Bare/kHlpBareEnv.c \
|
---|
78 | Bare/kHlpBareProcess.c \
|
---|
79 | Bare/kHlpBareThread.c \
|
---|
80 |
|
---|
81 | kHlpBareStatic_SOURCES.darwin = \
|
---|
82 | Bare/kHlpSys-darwin.c
|
---|
83 |
|
---|
84 | #
|
---|
85 | # kCrtStatic
|
---|
86 | #
|
---|
87 | LIBRARIES += kHlpCRTStatic
|
---|
88 | kHlpCRTStatic_TEMPLATE = kStuffLIB
|
---|
89 | kHlpCRTStatic_SOURCES = \
|
---|
90 | Generic/kHlpMemPComp.c \
|
---|
91 | Generic/kHlpMemICompAscii.c \
|
---|
92 | Generic/kHlpStrPCat.c \
|
---|
93 | Generic/kHlpStrNPCat.c \
|
---|
94 | Generic/kHlpStrPComp.c \
|
---|
95 | Generic/kHlpStrNPComp.c \
|
---|
96 | Generic/kHlpStrICompAscii.c \
|
---|
97 | Generic/kHlpStrIPCompAscii.c \
|
---|
98 | Generic/kHlpStrNICompAscii.c \
|
---|
99 | Generic/kHlpStrNIPCompAscii.c \
|
---|
100 | Generic/kHlpStrPCopy.c \
|
---|
101 | Generic/kHlpStrNLen.c \
|
---|
102 | Generic/kHlpInt2Ascii.c \
|
---|
103 | \
|
---|
104 | Generic/kHlpGetEnvUZ.c \
|
---|
105 | \
|
---|
106 | Generic/kHlpGetExt.c \
|
---|
107 | Generic/kHlpGetFilename.c \
|
---|
108 | Generic/kHlpIsFilenameOnly.c \
|
---|
109 | \
|
---|
110 | Generic/kHlpPage.c \
|
---|
111 | \
|
---|
112 | CRT/kHlpCRTAlloc.cpp \
|
---|
113 | CRT/kHlpCRTEnv.cpp \
|
---|
114 | CRT/kHlpCRTString.cpp \
|
---|
115 |
|
---|
116 | kHlpCRTStatic_SOURCES.darwin = \
|
---|
117 | Bare/kHlpSys-darwin.c
|
---|
118 |
|
---|
119 |
|
---|
120 | # Generate the rules
|
---|
121 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
122 |
|
---|