Bugfixing in library module instantitation.

This commit is contained in:
Laurence Withers 2006-07-24 22:20:28 +01:00
commit 7a3fbaec1f
10 changed files with 58 additions and 63 deletions

View file

@ -1,19 +1,19 @@
# These are external variables, and shouldn't clash with anything else
# LIBC_MONOLITHIC
# @PNAME@_MONOLITHIC
if [ -z "${LIBC_MONOLITHIC}" ]
if [ -z "${@PNAME@_MONOLITHIC}" ]
then
SRC="obj/lib.c"
SRC="obj/@NAME@.c"
HDR="obj/@HEADER_NAME@"
MONOLITHIC_TESTS="src/clib/build.lib src/clib/build.monolithic"
MONOLITHIC_SOURCE="$(echo src/clib/{TopHeader,BottomHeader}.h)"
MONOLITHIC_TESTS="src/@NAME@/build.lib src/@NAME@/build.monolithic"
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopHeader,BottomHeader}.h)"
make_monolithic ${HDR} C || return 1
MONOLITHIC_SOURCE="$(echo src/clib/TopSource.c)"
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.cpp)"
make_monolithic ${SRC} C || return 1
LIBC_MONOLITHIC=1
@PNAME@_MONOLITHIC=1
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${HDR}"
fi
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;