summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-26 09:50:11 +1000
committerAndrew Tridgell <tridge@samba.org>2011-10-04 15:08:56 +1100
commit57e30bc0cba85e5361ae62f679f7de544d0676e6 (patch)
tree68081c94c981748076d189bfc6db9e075ccc8530
parentff482bc836ba25f5462499e19fff0eec7d767385 (diff)
downloadsamba-57e30bc0cba85e5361ae62f679f7de544d0676e6.tar.gz
samba-57e30bc0cba85e5361ae62f679f7de544d0676e6.tar.bz2
samba-57e30bc0cba85e5361ae62f679f7de544d0676e6.zip
dns: build python bindings for dnsserver RPC protocol
-rw-r--r--librpc/wscript_build5
-rwxr-xr-xsource4/librpc/wscript_build6
2 files changed, 11 insertions, 0 deletions
diff --git a/librpc/wscript_build b/librpc/wscript_build
index e5c8092097..2019a0429f 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -558,6 +558,11 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP',
public_deps='dcerpc-binding NDR_DNSP'
)
+bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSSERVER',
+ source='gen_ndr/ndr_dnsserver_c.c',
+ public_deps='dcerpc-binding ndr-standard'
+ )
+
# a grouping library for NDR subsystems that may be used by more than one target
bld.SAMBA_LIBRARY('ndr-samba',
source=[],
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index 5a76133f1a..aedcb11b71 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -340,6 +340,12 @@ bld.SAMBA_PYTHON('python_netlogon',
realname='samba/dcerpc/netlogon.so'
)
+bld.SAMBA_PYTHON('python_dnsserver',
+ source='../../librpc/gen_ndr/py_dnsserver.c',
+ deps='RPC_NDR_DNSSERVER pytalloc-util pyrpc_util',
+ realname='samba/dcerpc/dnsserver.so'
+ )
+
bld.SAMBA_SCRIPT('python_dcerpc_init',
pattern='rpc/dcerpc.py',
installdir='python/samba/dcerpc',