diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-20 22:46:01 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-20 22:46:01 +0000 |
commit | 15776970a5f501cf407fbc47eb7f35705959ec1b (patch) | |
tree | ef84e7ee8ecb3a6d1fda3c636f7dc2b2fafaafa4 /source4/script | |
parent | 20730626af0b1aee6149fb7c537d185899ad0cef (diff) | |
download | samba-15776970a5f501cf407fbc47eb7f35705959ec1b.tar.gz samba-15776970a5f501cf407fbc47eb7f35705959ec1b.tar.bz2 samba-15776970a5f501cf407fbc47eb7f35705959ec1b.zip |
we now use a copy of pidl inside the samba4 source tree at
source/build/pidl/
I imported the code using direct respository manipulation to preserve
the commit history
(This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28)
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/build_idl.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh index 1eef5644e8..569dd7dd31 100755 --- a/source4/script/build_idl.sh +++ b/source4/script/build_idl.sh @@ -5,12 +5,14 @@ FULLBUILD=$1 [ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1 [ -d librpc/gen_rpc ] || mkdir -p librpc/gen_rpc || exit 1 +( cd build/pidl && make ) || exit 1 + for f in librpc/idl/*.idl; do base=`basename $f .idl` ndr=librpc/gen_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/gen_rpc/rpc_$base.c $f || exit 1 + build/pidl/pidl.pl --output $ndr --parse --header --parser --client librpc/gen_rpc/rpc_$base.c $f || exit 1 fi done |