3 if [ "$1" = "--full" ]; then
10 ARGS="--includedir=../librpc/idl --outputdir $PIDL_OUTPUTDIR --header --ndr-parser --client --samba3-ndr-server $PIDL_ARGS --"
16 [ -d $PIDL_OUTPUTDIR ] || mkdir -p $PIDL_OUTPUTDIR || exit 1
20 if [ $FULL = 1 ]; then
21 echo "Rebuilding all idl files"
22 $PIDL $IDL_FILES || exit 1
27 ## Find newer files rather than rebuild all of them
31 for f in ${IDL_FILES}; do
33 outfiles="$b.h ndr_$b.h srv_$b.c"
34 outfiles="$outfiles ndr_$b.c srv_$b.h"
36 for o in $outfiles; do
37 [ -f $PIDL_OUTPUTDIR/$o ] || {
41 test "`find $f -newer $PIDL_OUTPUTDIR/$o`" != "" && {
49 ## generate the ndr stubs
52 if [ "x$list" != x ]; then
53 # echo "${PIDL} ${list}"