1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-01 16:23:49 +03:00

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 commit is contained in:
Andrew Tridgell
-
parent 99fff7b1e2
commit 2ed87a52cc
3 changed files with 4 additions and 12851 deletions

View File

@@ -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