3 if [ "$1" = "--full" ]; then
10 ARGS
="--outputdir $PIDL_OUTPUTDIR --header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python --dcom-proxy --com-header $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
="cli_$b.c $b.h ndr_${b}_c.c ndr_$b.h ndr_${b}_s.c srv_$b.c"
34 outfiles
="$outfiles cli_$b.h ndr_$b.c ndr_${b}_c.h py_$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}"