diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-06-26 10:01:16 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-06-26 04:12:33 +0000 |
commit | 88bb8fe43ad30247a78d088fad9c840a7a63bd97 (patch) | |
tree | 84425fdd9c6b4b2c4c95d3157226f9a785e2c969 /source4 | |
parent | 6f9176e649661c458d82226e8fcef550ff870291 (diff) | |
download | samba-88bb8fe43ad30247a78d088fad9c840a7a63bd97.tar.gz |
librpc: Do not generate extra unused client or python bindings with PIDL
This sorts out the idl list into the parts that actually need --python and --client specified
and so speeds up the compile and clarifies the code behaviour.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/wscript_build | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/librpc/idl/wscript_build b/source4/librpc/idl/wscript_build index 6e3e36a6a6b..f8dca6af4a7 100644 --- a/source4/librpc/idl/wscript_build +++ b/source4/librpc/idl/wscript_build @@ -5,8 +5,13 @@ import os topinclude=os.path.join(bld.srcnode.abspath(), 'librpc/idl') bld.SAMBA_PIDL_LIST('PIDL', - source='''irpc.idl ntp_signd.idl + source='''ntp_signd.idl opendb.idl sasl_helpers.idl winsif.idl winsrepl.idl winstation.idl''', - options="--includedir=%s --header --ndr-parser --client --python --server" % topinclude, + options="--includedir=%s --header --ndr-parser" % topinclude, + output_dir='../gen_ndr') + +bld.SAMBA_PIDL_LIST('PIDL', + source='''irpc.idl''', + options="--includedir=%s --header --ndr-parser --client --python" % topinclude, output_dir='../gen_ndr') |