3 bld.SAMBA_SUBSYSTEM('time-basic',
8 bld.SAMBA_SUBSYSTEM('close-low-fd',
9 source='close_low_fd.c',
13 bld.SAMBA_SUBSYSTEM('samba-debug',
15 deps='replace time-basic close-low-fd talloc',
18 bld.SAMBA_LIBRARY('samba-util',
19 source='''talloc_stack.c smb_threads.c xfile.c data_blob.c
20 util_file.c time.c rbtree.c rfc1738.c select.c getpass.c
21 genrand.c fsusage.c blocking.c become_daemon.c
22 signal.c system.c params.c util.c util_id.c util_net.c
23 util_strlist.c util_paths.c idtree.c fault.c base64.c
24 util_str.c util_str_common.c substitute.c ms_fnmatch.c
25 server_id.c dprintf.c parmlist.c bitmap.c pidfile.c
26 tevent_debug.c util_process.c memcache.c''',
27 deps='DYNCONFIG time-basic close-low-fd samba-debug',
28 public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid systemd-daemon',
29 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',
30 header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
33 pc_files='samba-util.pc'
36 bld.SAMBA_LIBRARY('samba-modules',
38 deps='errors samba-util',
42 bld.SAMBA_LIBRARY('asn1util',
44 deps='talloc samba-util',
49 bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
50 source='unix_privs.c',
51 autoproto='unix_privs.h',
52 deps='replace talloc',
57 bld.SAMBA_LIBRARY('util_tdb',
60 public_deps='tdb talloc samba-util',
64 if not bld.env.disable_ntdb:
65 bld.SAMBA_LIBRARY('util_ntdb',
68 public_deps='ntdb talloc samba-util samba-hostconfig',
72 bld.SAMBA_LIBRARY('tevent-util',
73 source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
75 public_deps='tevent errors',
76 public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
77 header_path=[ ('*', 'util') ],
82 bld.SAMBA_LIBRARY('util_setid',
88 bld.SAMBA_SUBSYSTEM('util_ldb',
92 public_headers='util_ldb.h'
96 bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
97 source='util_runcmd.c',
102 bld.SAMBA_SUBSYSTEM('UTIL_PW',