git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r5026: Don't build the swig stuff by default until it's a bit more stable.
[sfrench/samba-autobuild/.git]
/
source
/
script
/
build_idl.sh
diff --git
a/source/script/build_idl.sh
b/source/script/build_idl.sh
index 4e692054871a2da9e8c75fcb8ffeba88ff2a5cc7..a4d0dfea8bdbad204186a842c22f794231b1ebc8 100755
(executable)
--- a/
source/script/build_idl.sh
+++ b/
source/script/build_idl.sh
@@
-4,15
+4,18
@@
FULLBUILD=$1
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
-PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --
swig
"
-
TABLES="$PERL ./build/pidl/tables.pl --output librpc/gen_ndr/tables
"
+PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server --
client
"
+
EPARSERPIDL="$PERL ./build/pidl/pidl.pl --output $EPARSERPREFIX/ndr_ --parse --header --parser --eparser
"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl
$PIDL librpc/idl/*.idl || exit 1
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl
$PIDL librpc/idl/*.idl || exit 1
+ exit 0
+fi
- echo Rebuilding IDL tables
- $TABLES librpc/gen_ndr/ndr_*.h || exit 1
+if [ x$FULLBUILD = xEPARSER ]; then
+ echo Rebuilding all idl files in librpc/idl
+ $EPARSERPIDL librpc/idl/*.idl || exit 1
exit 0
fi
exit 0
fi
@@
-33,7
+36,6
@@
done
if [ "x$list" != x ]; then
$PIDL $list || exit 1
if [ "x$list" != x ]; then
$PIDL $list || exit 1
- $TABLES librpc/gen_ndr/ndr_*.h || exit 1
fi
exit 0
fi
exit 0