Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/librpc/build_idl.sh

    r414 r745  
    1 #!/bin/sh
     1#!/@unixroot/usr/bin/sh
    22
    33if [ "$1" = "--full" ]; then
     
    88fi
    99
    10 ARGS="--outputdir $PIDL_OUTPUTDIR --header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python --dcom-proxy --com-header $PIDL_ARGS --"
     10ARGS="--outputdir $PIDL_OUTPUTDIR --header --ndr-parser --samba3-ndr-server --server --client --python --dcom-proxy --com-header $PIDL_ARGS --"
    1111IDL_FILES="$*"
    1212
     
    3030list=""
    3131for f in ${IDL_FILES}; do
    32         basename=`basename $f .idl`
    33         ndr="$PIDL_OUTPUTDIR/py_$basename.c"
     32        b=`basename $f .idl`
     33        outfiles="$b.h ndr_${b}_c.c ndr_$b.h ndr_${b}_s.c srv_$b.c"
     34        outfiles="$outfiles ndr_$b.c ndr_${b}_c.h py_$b.c srv_$b.h"
    3435
    35         if [ -f $ndr ]; then
    36                 if [ "x`find $f -newer $ndr -print`" = "x$f" ]; then
    37                         list="$list $f"
    38                 fi
    39         else
     36        for o in $outfiles; do
     37            [ -f $PIDL_OUTPUTDIR/$o ] || {
    4038                list="$list $f"
    41         fi
     39                break
     40            }
     41            test "`find $f -newer $PIDL_OUTPUTDIR/$o`" != "" && {
     42                list="$list $f"
     43                break
     44            }
     45        done
    4246done
    4347
Note: See TracChangeset for help on using the changeset viewer.