4 LC_ALL
=C
; export LC_ALL
5 LC_COLLATE
=C
; export LC_COLLATE
9 echo "Usage: $0 perl [-h headerdefine] outputheader proto_obj"
26 headertmp
="$header.$$.tmp~"
28 proto_src
="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep -v 'ubiqx/|wrapped'`"
32 mkdir
-p `dirname $header`
34 ${perl} script
/mkproto.pl
$headeropt $proto_src > $headertmp
38 if test x
"$RET" != x
"0";then
42 if cmp -s $header $headertmp 2>/dev
/null
44 echo "$header unchanged"