summaryrefslogtreecommitdiff
path: root/source4/script/build_idl.sh
blob: 24f18be2efa593e7f562bfd50345471596fc3636 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

for f in librpc/idl/*.idl; do
    echo Processing $f
    base=`basename $f .idl`
    ndr=librpc/ndr/ndr_$base
    pidl.pl --output $ndr --parse --header --parser --client librpc/rpc/rpc_$base.c $f || exit 1
done

exit 0