summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-30 14:12:54 +0000
committerJeremy Allison <jra@samba.org>2014-08-02 00:36:50 +0200
commit811e0e6f9962adbf0d12448044f17542b92ad15e (patch)
tree7f8379330f59bdb57d43f39a50f124afe58b77af /lib/util/wscript_build
parenta7c243b62c6eaaca317fefa41e12a44b664c12ac (diff)
downloadsamba-811e0e6f9962adbf0d12448044f17542b92ad15e.tar.gz
lib: Make DEBUG a subsystem of its own
In the future this might become a library, but even with the SUBSYSTEM it should be clear what debug.c depends upon. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Aug 2 00:36:50 CEST 2014 on sn-devel-104
Diffstat (limited to 'lib/util/wscript_build')
-rwxr-xr-xlib/util/wscript_build9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index 6f625dc061d..7c4abf9c0cd 100755
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -10,16 +10,21 @@ bld.SAMBA_SUBSYSTEM('close-low-fd',
deps='replace',
local_include=False)
+bld.SAMBA_SUBSYSTEM('samba-debug',
+ source='debug.c',
+ deps='replace time-basic close-low-fd talloc',
+ local_include=False)
+
bld.SAMBA_LIBRARY('samba-util',
source='''talloc_stack.c smb_threads.c xfile.c data_blob.c
util_file.c time.c rbtree.c rfc1738.c select.c getpass.c
genrand.c fsusage.c blocking.c become_daemon.c
signal.c system.c params.c util.c util_id.c util_net.c
- util_strlist.c util_paths.c idtree.c debug.c fault.c base64.c
+ util_strlist.c util_paths.c idtree.c fault.c base64.c
util_str.c util_str_common.c substitute.c ms_fnmatch.c
server_id.c dprintf.c parmlist.c bitmap.c pidfile.c
tevent_debug.c util_process.c memcache.c''',
- deps='DYNCONFIG time-basic close-low-fd',
+ deps='DYNCONFIG time-basic close-low-fd samba-debug',
public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid systemd-daemon',
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',
header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],