diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-08-12 15:48:03 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-13 12:30:50 +1000 |
commit | 6d139d6b0f3d38be395626a7fb4e8d02151102ab (patch) | |
tree | 9c646603bbbe8fb5a2bae75f0cda6b4147a227a3 /source3/wscript_build | |
parent | 6a18664d511ac77bde3df040e3c95ffef385c186 (diff) | |
download | samba-6d139d6b0f3d38be395626a7fb4e8d02151102ab.tar.gz samba-6d139d6b0f3d38be395626a7fb4e8d02151102ab.tar.bz2 samba-6d139d6b0f3d38be395626a7fb4e8d02151102ab.zip |
s3-param: Add python wrapper for s3 parameters
This provids a get_context() method to return s3 context as s4 context type.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-x | source3/wscript_build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 2ad6e8d379..b5d3f1efeb 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -753,6 +753,13 @@ bld.SAMBA3_SUBSYSTEM('param', source=PARAM_WITHOUT_REG_SRC, deps='samba-util PARAM_UTIL smbd_conn ldap lber LOADPARM_CTX samba3core smbconf param_local_h param/param_global_h''') +if bld.env.toplevel_build: + bld.SAMBA3_PYTHON('pys3param', + source='param/pyparam.c', + deps='param', + public_deps='samba-hostconfig pytalloc talloc', + realname='samba/samba3/param.so') + bld.SAMBA3_SUBSYSTEM('param_service', source='param/service.c', deps = 'USER_UTIL param USER_UTIL PRINTING') |