gpo: Add python libgpo bindings
[nivanova/samba-autobuild/.git] / libgpo / wscript_build
1 #!/usr/bin/env python
2
3 LIBGPO_SRC = '''gpo_ldap.c gpo_ini.c gpo_util.c gpo_fetch.c gpo_filesync.c
4                 gpo_sec.c gpo_reg.c gpext/gpext.c'''
5
6 bld.SAMBA3_LIBRARY('gpo',
7                    source='${LIBGPO_SRC}',
8                    deps='talloc ads TOKEN_UTIL auth',
9                    vars=locals(),
10                    private_library=True)
11 bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
12                  deps='pyparam_util gpo talloc ads TOKEN_UTIL auth',
13                  realname='samba/gpo.so')