summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/wscript_build')
-rw-r--r--lib/util/wscript_build57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
new file mode 100644
index 0000000000..a6d31463c2
--- /dev/null
+++ b/lib/util/wscript_build
@@ -0,0 +1,57 @@
+bld.SAMBA_LIBRARY('LIBSAMBA-UTIL',
+ 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',
+ public_deps='talloc LIBCRYPTO LIBREPLACE_NETWORK CHARSET EXECINFO UID_WRAPPER',
+ public_headers='util.h dlinklist.h attr.h byteorder.h data_blob.h debug.h memory.h mutex.h safe_string.h time.h util_ldb.h talloc_stack.h xfile.h',
+ local_include=False,
+ vnum='0.0.1'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('ASN1_UTIL',
+ source='asn1.c',
+ local_include=False,
+ )
+
+
+bld.SAMBA_SUBSYSTEM('UNIX_PRIVS',
+ source='unix_privs.c',
+ autoproto='unix_privs.h',
+ deps='UID_WRAPPER',
+ local_include=False,
+ )
+
+
+bld.SAMBA_SUBSYSTEM('WRAP_XATTR',
+ source='wrap_xattr.c',
+ public_deps='XATTR',
+ local_include=False
+ )
+
+
+bld.SAMBA_SUBSYSTEM('UTIL_TDB',
+ source='util_tdb.c',
+ local_include=False,
+ public_deps='tdb'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
+ source='tevent_unix.c tevent_ntstatus.c',
+ local_include=False,
+ public_deps='tevent'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('UTIL_LDB',
+ source='util_ldb.c',
+ local_include=False,
+ public_deps='ldb'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('UTIL_RUNCMD',
+ source='util_runcmd.c',
+ local_include=False,
+ public_deps='tevent'
+ )
+