summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-26 22:25:51 -0700
committerKai Blin <kai@samba.org>2011-11-04 15:51:58 +0100
commit23000bcf2e6cfdb362d7cdbedd6a95d5422080da (patch)
treef88fbe7ec114b3034180d764b1f10856eb1890a0
parent9b4c300922d16856d2e1207072915eba48bd3f47 (diff)
downloadsamba-23000bcf2e6cfdb362d7cdbedd6a95d5422080da.tar.gz
samba-23000bcf2e6cfdb362d7cdbedd6a95d5422080da.tar.bz2
samba-23000bcf2e6cfdb362d7cdbedd6a95d5422080da.zip
dns: Build the python bindings
-rw-r--r--librpc/wscript_build7
-rwxr-xr-xsource4/librpc/wscript_build6
2 files changed, 12 insertions, 1 deletions
diff --git a/librpc/wscript_build b/librpc/wscript_build
index f0b461d8c8..f35fd02a37 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -378,6 +378,11 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_AUDIOSRV',
public_deps='NDR_AUDIOSRV dcerpc-binding'
)
+bld.SAMBA_SUBSYSTEM('RPC_NDR_DNS',
+ source='gen_ndr/ndr_dns_c.c',
+ public_deps='dcerpc-binding NDR_DNS'
+ )
+
bld.SAMBA_SUBSYSTEM('RPC_NDR_ECHO',
source='gen_ndr/ndr_echo_c.c',
public_deps='dcerpc-binding NDR_ECHO'
@@ -583,7 +588,7 @@ bld.SAMBA_LIBRARY('dcerpc-samba',
source='',
deps='''RPC_NDR_LSA RPC_NDR_SAMR RPC_NDR_NETLOGON RPC_NDR_EVENTLOG RPC_NDR_DFS
RPC_NDR_NTSVCS RPC_NDR_SVCCTL RPC_NDR_INITSHUTDOWN RPC_NDR_WKSSVC RPC_NDR_SRVSVC RPC_NDR_WINREG
- RPC_NDR_ECHO RPC_NDR_EPMAPPER RPC_NDR_ATSVC RPC_NDR_SPOOLSS''',
+ RPC_NDR_ECHO RPC_NDR_EPMAPPER RPC_NDR_ATSVC RPC_NDR_SPOOLSS RPC_NDR_DNS''',
public_deps='ndr-standard',
private_library=True,
grouping_library=True
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index b4e65e8aa7..cb4c5307a6 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -181,6 +181,12 @@ bld.SAMBA_PYTHON('python_echo',
realname='samba/dcerpc/echo.so'
)
+bld.SAMBA_PYTHON('python_dns',
+ source='../../librpc/gen_ndr/py_dns.c',
+ deps='RPC_NDR_DNS pytalloc-util pyrpc_util',
+ realname='samba/dcerpc/dns.so'
+ )
+
bld.SAMBA_PYTHON('python_auth',
source='../../librpc/gen_ndr/py_auth.c',
deps='NDR_AUTH pytalloc-util pyrpc_util',