1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh FULLBUILD=$1 for f in librpc/idl/*.idl; do base=`basename $f .idl` ndr=librpc/ndr/ndr_$base if [ x$FULLBUILD = xFULL -o "$f" -nt $ndr.c ]; then echo Processing $f pidl.pl --output $ndr --parse --header --parser --client librpc/rpc/rpc_$base.c $f || exit 1 fi done exit 0