6 if test ! -f "$dir"/imdrover.c
; then
7 echo $dir doesnt seem to contain imath
13 headers
=`grep ^HDRS "$dir"/Makefile |sed 's/^HDRS=//' | sed 's/imdrover.h//'`
14 code
=`echo $headers | sed 's/imrat.h//g'`
15 code
=`echo $headers | sed 's/rsamath.h//g'`
16 code
=`echo $headers | sed 's/\.h/.c/g'`
18 for a
in $headers $code LICENSE
; do
22 echo "imathsource = \\"
23 for a
in $headers $code ; do