mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +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 used to be commit 2ed87a52cc
)
This commit is contained in:
parent
20730626af
commit
15776970a5
@ -1,4 +1,4 @@
|
||||
PIDL_idl.pm: idl.gram
|
||||
idl.pm: idl.gram
|
||||
perl -MParse::RecDescent - idl.gram idl
|
||||
|
||||
clean:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user