s3: libsmb: Cleanup - Remove the last use of a struct sockaddr_storage variable in...
[samba.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
12 bld.SAMBA3_LIBRARY('gpext',
13                    source='''gpext/gpext.c''',
14                    deps='talloc ads TOKEN_UTIL auth gpo',
15                    private_library=True)
16
17 pyparam_util = bld.pyembed_libname('pyparam_util')
18 pyrpc_util = bld.pyembed_libname('pyrpc_util')
19 bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
20                   deps='%s gpext talloc ads TOKEN_UTIL auth %s' % (pyparam_util, pyrpc_util),
21                   realname='samba/gpo.so')
22
23 if bld.AD_DC_BUILD_IS_ENABLED():
24     bld.RECURSE('admx')