7 [ -d librpc
/gen_ndr
] || mkdir
-p librpc
/gen_ndr ||
exit 1
9 PIDL
="$PERL $srcdir/pidl/pidl --outputdir librpc/gen_ndr --header --ndr-parser --server --client --swig --ejs $PIDL_EXTRA_ARGS"
11 if [ x
$FULLBUILD = xFULL
]; then
12 echo Rebuilding all idl files
in librpc
/idl
13 $PIDL $srcdir/librpc
/idl
/*.idl ||
exit 1
19 for f
in $srcdir/librpc
/idl
/*.idl
; do
20 basename=`basename $f .idl`
21 ndr
="librpc/gen_ndr/ndr_$basename.c"
22 # blergh - most shells don't have the -nt function
24 if [ x
`find $f -newer $ndr -print` = x
$f ]; then
32 if [ "x$list" != x
]; then