From 46badf19089668e470e9bb5b2300017f8948b49e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 16 Nov 2004 21:07:08 +0000 Subject: r3790: use a registration function that is called from dcerpc_*_init functions rather then a large table in librpc/gen_ndr/tables.c. This will allow us to only link in only the required gen_ndr files (speeds up linking quite a bit, makes binaries smaller). Each gen_ndr_* file now has a init function that calls the init functions of the interfaces it contains. I did it this way to keep pidl's code simple, though it might hurt startup time a bit. I'd be happy to change it if people like one function better. (This used to be commit 3c436590ae95b58ad6d00e72d6fdd08a4d80f208) --- source4/script/build_idl.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/script/build_idl.sh') diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh index 6e4e049cb7..50b9d1f3f3 100755 --- a/source4/script/build_idl.sh +++ b/source4/script/build_idl.sh @@ -6,14 +6,10 @@ FULLBUILD=$1 PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server" EPARSERPIDL="$PERL ./build/pidl/pidl.pl --output $EPARSERPREFIX/ndr_ --parse --header --eparser" -TABLES="$PERL ./build/pidl/tables.pl --output librpc/gen_ndr/tables" if [ x$FULLBUILD = xFULL ]; then echo Rebuilding all idl files in librpc/idl $PIDL librpc/idl/*.idl || exit 1 - - echo Rebuilding IDL tables - $TABLES librpc/gen_ndr/ndr_*.h || exit 1 exit 0 fi @@ -40,7 +36,6 @@ done if [ "x$list" != x ]; then $PIDL $list || exit 1 - $TABLES librpc/gen_ndr/ndr_*.h || exit 1 fi exit 0 -- cgit