2007-01-31 14:03:00 +00:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
|
|
|
# @CNAME@_MONOLITHIC
|
|
|
|
|
|
|
|
SRC="obj/@NAME@.c"
|
|
|
|
HDR="obj/@HEADER_NAME@"
|
|
|
|
|
|
|
|
MONOLITHIC_TESTS="src/@NAME@/build.module src/@NAME@/build.monolithic"
|
|
|
|
|
|
|
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
|
|
|
then
|
2007-09-26 12:52:40 +01:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.c' | sort)"
|
2007-01-31 14:03:00 +00:00
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
|
|
|
@CNAME@_MONOLITHIC=1
|
|
|
|
fi
|
2010-11-25 15:32:52 +00:00
|
|
|
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|