s4:wins: use NUMERIC_CMP in winsdb_addr_sort_list()
[samba.git] / libgpo / wscript_build
blobcb0a40a008c377b5bd62d93b91f078f5051f6dfc
1 #!/usr/bin/env python
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'''
6 bld.SAMBA3_LIBRARY('gpo',
7 source='${LIBGPO_SRC}',
8 deps='talloc ads TOKEN_UTIL auth',
9 vars=locals(),
10 private_library=True)
12 bld.SAMBA3_LIBRARY('gpext',
13 source='''gpext/gpext.c''',
14 deps='talloc ads TOKEN_UTIL auth gpo',
15 private_library=True)
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')
23 if bld.AD_DC_BUILD_IS_ENABLED():
24 bld.RECURSE('admx')