2006-07-24 20:19:15 +01:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
2006-07-24 22:37:26 +01:00
|
|
|
# @CNAME@_MONOLITHIC
|
2006-07-24 20:19:15 +01:00
|
|
|
|
2006-07-24 22:37:26 +01:00
|
|
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
2006-07-24 20:19:15 +01:00
|
|
|
then
|
2006-07-24 22:20:28 +01:00
|
|
|
SRC="obj/@NAME@.c"
|
2006-07-24 20:19:15 +01:00
|
|
|
HDR="obj/@HEADER_NAME@"
|
|
|
|
|
2006-07-24 22:20:28 +01:00
|
|
|
MONOLITHIC_TESTS="src/@NAME@/build.lib src/@NAME@/build.monolithic"
|
|
|
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/{TopHeader,BottomHeader}.h)"
|
2006-07-24 20:19:15 +01:00
|
|
|
make_monolithic ${HDR} C || return 1
|
|
|
|
|
2006-07-24 22:37:26 +01:00
|
|
|
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopSource.c)"
|
2006-07-24 20:19:15 +01:00
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
2006-07-24 22:37:26 +01:00
|
|
|
@CNAME@_MONOLITHIC=1
|
2006-07-24 20:19:15 +01:00
|
|
|
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
|