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''',
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') ],
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',
24 public_headers
='samba_module.h',
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',
36 bld
.SAMBA_LIBRARY('asn1util',
38 deps
='talloc samba-util',
43 bld
.SAMBA_SUBSYSTEM('UNIX_PRIVS',
44 source
='unix_privs.c',
45 autoproto
='unix_privs.h',
46 deps
='replace talloc',
51 bld
.SAMBA_LIBRARY('wrap_xattr',
52 source
='wrap_xattr.c',
60 bld
.SAMBA_LIBRARY('UTIL_TDB',
63 public_deps
='tdb_compat talloc',
67 bld
.SAMBA_LIBRARY('tevent-util',
68 source
='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
71 public_headers
='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
72 header_path
=[ ('*', 'util') ],
78 bld
.SAMBA_SUBSYSTEM('util_ldb',
82 public_headers
='util_ldb.h'
86 bld
.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
87 source
='util_runcmd.c',
92 bld
.SAMBA_SUBSYSTEM('UTIL_PW',
99 bld
.SAMBA_LIBRARY('tdb-wrap',
101 deps
='tdb_compat talloc samba-util samba-hostconfig',
102 private_library
=True,