6e6dc8eeea531be51f7822298f788534574d59e7
[samba.git] / lib / util / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('LIBSAMBA-UTIL',
4         source='xfile.c debug.c fault.c signal.c system.c time.c genrand.c dprintf.c util_str.c rfc1738.c substitute.c util_strlist.c util_file.c data_blob.c util.c blocking.c util_net.c fsusage.c ms_fnmatch.c mutex.c idtree.c become_daemon.c rbtree.c talloc_stack.c smb_threads.c params.c parmlist.c util_id.c',
5         public_deps='talloc LIBCRYPTO LIBREPLACE_NETWORK CHARSET execinfo UID_WRAPPER tevent',
6         public_headers='attr.h byteorder.h data_blob.h debug.h memory.h mutex.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h',
7         header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
8         local_include=False,
9         vnum='0.0.1'
10         )
11
12
13 bld.SAMBA_SUBSYSTEM('ASN1_UTIL',
14                     source='asn1.c',
15                     deps='talloc',
16                     local_include=False)
17
18
19 bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
20         source='unix_privs.c',
21         autoproto='unix_privs.h',
22         deps='UID_WRAPPER',
23         local_include=False,
24         )
25
26
27 bld.SAMBA_SUBSYSTEM('WRAP_XATTR',
28         source='wrap_xattr.c',
29         public_deps='XATTR',
30         deps='talloc',
31         local_include=False
32         )
33
34
35 bld.SAMBA_SUBSYSTEM('UTIL_TDB',
36         source='util_tdb.c',
37         local_include=False,
38         public_deps='tdb talloc'
39         )
40
41
42 bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
43         source='tevent_unix.c tevent_ntstatus.c',
44         local_include=False,
45         public_deps='tevent'
46         )
47
48
49 bld.SAMBA_SUBSYSTEM('UTIL_LDB',
50         source='util_ldb.c',
51         local_include=False,
52         public_deps='ldb',
53         public_headers='util_ldb.h'
54         )
55
56
57 bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
58         source='util_runcmd.c',
59         local_include=False,
60         public_deps='tevent'
61         )
62