| 1 | # $Id: Makefile.kmk 5 2008-02-03 20:56:09Z bird $
 | 
|---|
| 2 | ## @file
 | 
|---|
| 3 | # kHlp - The Helper API, sub-makefile.
 | 
|---|
| 4 | #
 | 
|---|
| 5 | 
 | 
|---|
| 6 | #
 | 
|---|
| 7 | # Copyright (c) 2007 knut st. osmundsen <bird-kStuff-spam@anduin.net>
 | 
|---|
| 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 | #
 | 
|---|
| 82 | # kCrtStatic
 | 
|---|
| 83 | #
 | 
|---|
| 84 | LIBRARIES += kHlpCRTStatic
 | 
|---|
| 85 | kHlpCRTStatic_TEMPLATE = kStuffLIB
 | 
|---|
| 86 | kHlpCRTStatic_SOURCES = \
 | 
|---|
| 87 |         Generic/kHlpMemPComp.c \
 | 
|---|
| 88 |         Generic/kHlpMemICompAscii.c \
 | 
|---|
| 89 |         Generic/kHlpStrPCat.c \
 | 
|---|
| 90 |         Generic/kHlpStrNPCat.c \
 | 
|---|
| 91 |         Generic/kHlpStrPComp.c \
 | 
|---|
| 92 |         Generic/kHlpStrNPComp.c \
 | 
|---|
| 93 |         Generic/kHlpStrICompAscii.c \
 | 
|---|
| 94 |         Generic/kHlpStrIPCompAscii.c \
 | 
|---|
| 95 |         Generic/kHlpStrNICompAscii.c \
 | 
|---|
| 96 |         Generic/kHlpStrNIPCompAscii.c \
 | 
|---|
| 97 |         Generic/kHlpStrPCopy.c \
 | 
|---|
| 98 |         Generic/kHlpStrNLen.c \
 | 
|---|
| 99 |         Generic/kHlpInt2Ascii.c \
 | 
|---|
| 100 |         \
 | 
|---|
| 101 |     Generic/kHlpGetEnvUZ.c \
 | 
|---|
| 102 |         \
 | 
|---|
| 103 |         Generic/kHlpGetExt.c \
 | 
|---|
| 104 |         Generic/kHlpGetFilename.c \
 | 
|---|
| 105 |         Generic/kHlpIsFilenameOnly.c \
 | 
|---|
| 106 |         \
 | 
|---|
| 107 |         Generic/kHlpPage.c \
 | 
|---|
| 108 |         \
 | 
|---|
| 109 |         CRT/kHlpCRTAlloc.cpp \
 | 
|---|
| 110 |         CRT/kHlpCRTEnv.cpp \
 | 
|---|
| 111 |         CRT/kHlpCRTString.cpp \
 | 
|---|
| 112 | 
 | 
|---|
| 113 | 
 | 
|---|
| 114 | # Generate the rules
 | 
|---|
| 115 | include $(PATH_KBUILD)/subfooter.kmk
 | 
|---|
| 116 | 
 | 
|---|