librpc: Do not generate extra unused client or python bindings with PIDL
[samba.git] / source4 / librpc / idl / wscript_build
index 6e3e36a6a6bf93fe735789a80938422ffd286302..f8dca6af4a764ecbfce4d2cabac81c0519aaa83e 100644 (file)
@@ -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')