2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2011-06-20 14:36:46 +04:00
bld.SAMBA_LIBRARY('samba-util',
source='''talloc_stack.c smb_threads.c xfile.c data_blob.c
2011-04-14 10:12:19 +04:00
util_file.c time.c rbtree.c rfc1738.c select.c
genrand.c fsusage.c blocking.c become_daemon.c
signal.c system.c params.c util.c util_id.c util_net.c
2011-06-06 08:37:06 +04:00
util_strlist.c util_paths.c idtree.c debug.c fault.c base64.c
2011-06-08 08:05:55 +04:00
util_str.c util_str_common.c substitute.c ms_fnmatch.c
2011-06-20 14:36:46 +04:00
server_id.c dprintf.c parmlist.c''',
deps='DYNCONFIG',
public_deps='talloc execinfo uid_wrapper pthread LIBCRYPTO CHARSET',
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 util.h string_wrappers.h',
header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
local_include=False,
vnum='0.0.1',
pc_files='samba-util.pc'
)
2010-03-17 14:07:42 +03:00
2011-04-06 08:28:28 +04:00
bld.SAMBA_LIBRARY('asn1util',
source='asn1.c',
2011-06-20 14:36:46 +04:00
deps='talloc samba-util',
2011-04-06 08:28:28 +04:00
private_library=True,
local_include=False)
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
source='unix_privs.c',
autoproto='unix_privs.h',
2010-11-21 00:48:05 +03:00
deps='replace talloc',
2010-10-10 20:39:07 +04:00
local_include=False,
2010-03-17 14:07:42 +03:00
)
2010-10-24 01:53:08 +04:00
bld.SAMBA_LIBRARY('wrap_xattr',
source='wrap_xattr.c',
public_deps='attr',
deps='talloc',
local_include=False,
private_library=True
)
2010-03-17 14:07:42 +03:00
2011-04-08 06:55:49 +04:00
bld.SAMBA_LIBRARY('UTIL_TDB',
2010-03-17 14:07:42 +03:00
source='util_tdb.c',
2010-10-10 20:39:07 +04:00
local_include=False,
2011-06-20 13:10:25 +04:00
public_deps='tdb_compat talloc',
2011-04-08 06:55:49 +04:00
private_library=True
2010-03-17 14:07:42 +03:00
)
bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
2010-10-22 18:40:38 +04:00
source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
2010-10-10 20:39:07 +04:00
local_include=False,
public_deps='tevent',
2010-10-22 18:40:38 +04:00
public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
2010-10-11 12:33:21 +04:00
header_path=[ ('*', 'util') ],
2010-03-17 14:07:42 +03:00
)
2010-10-17 16:27:18 +04:00
2011-02-17 08:39:07 +03:00
if bld.env._SAMBA_BUILD_ == 4:
2011-04-23 19:59:23 +04:00
bld.SAMBA_SUBSYSTEM('util_ldb',
source='util_ldb.c',
local_include=False,
public_deps='ldb',
public_headers='util_ldb.h'
)
2010-10-17 16:27:18 +04:00
2010-03-17 14:07:42 +03:00
bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
source='util_runcmd.c',
2010-10-10 20:39:07 +04:00
local_include=False,
2010-03-17 14:07:42 +03:00
public_deps='tevent'
)
2011-03-02 18:06:32 +03:00
bld.SAMBA_SUBSYSTEM('UTIL_PW',
source='util_pw.c',
local_include=False,
public_deps='talloc'
)
2011-05-04 04:28:15 +04:00
bld.SAMBA_LIBRARY('tdb-wrap',
source='tdb_wrap.c',
2011-06-20 13:10:25 +04:00
deps='tdb_compat talloc samba-util',
2011-05-04 04:28:15 +04:00
private_library=True,
local_include=False
2011-07-07 15:04:31 +04:00
)
bld.SAMBA_LIBRARY('bitmap',
source='bitmap.c',
deps='talloc samba-util',
local_include=False,
private_library=True)
2011-05-04 04:28:15 +04:00