summaryrefslogtreecommitdiff
path: root/source4/script/build_idl.sh
blob: cb81e4de74f0eb413c895813d8c352cc69434ab9 (plain)
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