2006-07-24 20:19:15 +01:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
|
|
|
# LIBC_MONOLITHIC
|
|
|
|
|
|
|
|
if [ -z "${LIBC_MONOLITHIC}" ]
|
|
|
|
then
|
|
|
|
SRC="obj/lib.c"
|
|
|
|
HDR="obj/@HEADER_NAME@"
|
|
|
|
|
|
|
|
MONOLITHIC_TESTS="src/clib/build.lib src/clib/build.monolithic"
|
|
|
|
MONOLITHIC_SOURCE="$(echo src/clib/{TopHeader,BottomHeader}.h)"
|
|
|
|
make_monolithic ${HDR} C || return 1
|
|
|
|
|
|
|
|
MONOLITHIC_SOURCE="$(echo src/clib/TopSource.c)"
|
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
|
|
|
LIBC_MONOLITHIC=1
|
|
|
|
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${HDR}"
|
|
|
|
fi
|
2006-07-24 21:55:12 +01:00
|
|
|
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
|
|
|
# vim: expandtab:ts=4:sw=4
|