2006-07-25 19:00:04 +01:00
|
|
|
# These are external variables, and shouldn't clash with anything else
|
|
|
|
# @CNAME@_MONOLITHIC
|
|
|
|
|
|
|
|
SRC="obj/@NAME@.cpp"
|
|
|
|
HDR="obj/@HEADER_NAME@"
|
|
|
|
|
|
|
|
MONOLITHIC_TESTS="src/@NAME@/build.lib src/@NAME@/build.monolithic"
|
|
|
|
|
|
|
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
|
|
|
then
|
2007-09-26 12:52:40 +01:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.h' | sort)"
|
2006-08-25 10:21:11 +01:00
|
|
|
make_monolithic ${HDR} Ch || return 1
|
2006-07-25 19:00:04 +01:00
|
|
|
|
2015-02-04 21:03:29 +00:00
|
|
|
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.cc' | sort)"
|
2006-07-25 19:00:04 +01:00
|
|
|
make_monolithic ${SRC} C || return 1
|
|
|
|
|
|
|
|
@CNAME@_MONOLITHIC=1
|
|
|
|
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${HDR}"
|
|
|
|
fi
|
2010-11-25 15:32:52 +00:00
|
|
|
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:@VIM_MODELINE@
|