s4-python: add function to manipulate sites in python
[Samba/gebeck_regimport.git] / lib / util / wscript_build
blob63a898ab72abd0e690350407ecc7f3cf3f285f37
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('samba-util',
4 source='''talloc_stack.c smb_threads.c xfile.c data_blob.c
5 util_file.c time.c rbtree.c rfc1738.c select.c
6 genrand.c fsusage.c blocking.c become_daemon.c
7 signal.c system.c params.c util.c util_id.c util_net.c
8 util_strlist.c util_paths.c idtree.c debug.c fault.c base64.c
9 util_str.c util_str_common.c substitute.c ms_fnmatch.c
10 server_id.c dprintf.c parmlist.c bitmap.c''',
11 deps='DYNCONFIG',
12 public_deps='talloc execinfo uid_wrapper pthread LIBCRYPTO charset',
13 public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
14 header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
15 local_include=False,
16 vnum='0.0.1',
17 pc_files='samba-util.pc'
20 bld.SAMBA_LIBRARY('samba-module',
21 source='samba_module.c',
22 deps='errors samba-util samba-internal-module',
23 local_include=False,
24 public_headers='samba_module.h',
25 vnum='0.0.1',
26 abi_directory='ABI',
27 abi_match='samba_module_*',
28 pc_files='samba-module.pc')
30 bld.SAMBA_LIBRARY('samba-internal-module',
31 source='internal_module.c',
32 deps='errors samba-util',
33 local_include=False,
34 private_library=True)
36 bld.SAMBA_LIBRARY('asn1util',
37 source='asn1.c',
38 deps='talloc samba-util',
39 private_library=True,
40 local_include=False)
43 bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
44 source='unix_privs.c',
45 autoproto='unix_privs.h',
46 deps='replace talloc',
47 local_include=False,
51 bld.SAMBA_LIBRARY('wrap_xattr',
52 source='wrap_xattr.c',
53 public_deps='attr',
54 deps='talloc',
55 local_include=False,
56 private_library=True
60 bld.SAMBA_LIBRARY('UTIL_TDB',
61 source='util_tdb.c',
62 local_include=False,
63 public_deps='tdb_compat talloc',
64 private_library=True
67 bld.SAMBA_LIBRARY('tevent-util',
68 source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
69 local_include=False,
70 public_deps='tevent',
71 public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
72 header_path=[ ('*', 'util') ],
73 pc_files=[],
74 vnum='0.0.1'
78 bld.SAMBA_SUBSYSTEM('util_ldb',
79 source='util_ldb.c',
80 local_include=False,
81 public_deps='ldb',
82 public_headers='util_ldb.h'
86 bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
87 source='util_runcmd.c',
88 local_include=False,
89 public_deps='tevent'
92 bld.SAMBA_SUBSYSTEM('UTIL_PW',
93 source='util_pw.c',
94 local_include=False,
95 public_deps='talloc'
99 bld.SAMBA_LIBRARY('tdb-wrap',
100 source='tdb_wrap.c',
101 deps='tdb_compat talloc samba-util samba-hostconfig',
102 private_library=True,
103 local_include=False