diff options
| author | Volker Lendecke <vl@samba.org> | 2014-07-29 20:54:44 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-07-31 18:49:47 +0200 |
| commit | 0753c1bec1ff5888068eeba5878c460ce07cef2a (patch) | |
| tree | 76e80495aacf7826db900a850f7d44f4dfce8e24 /lib/util/wscript_build | |
| parent | 8799120abd07d4f3b243f473614d782fb7182bfc (diff) | |
| download | samba-0753c1bec1ff5888068eeba5878c460ce07cef2a.tar.gz samba-0753c1bec1ff5888068eeba5878c460ce07cef2a.tar.xz samba-0753c1bec1ff5888068eeba5878c460ce07cef2a.zip | |
lib: Create time_basic.[ch]
Make the two functions that debug.c needs a subsystem of their own. The
goal is to put debug.c on a diet. Anybody who wants to use it should
not be forced to pull in half of Samba :-)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/util/wscript_build')
| -rwxr-xr-x | lib/util/wscript_build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build index bcb7b66c77..8be2c2ec4a 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -1,5 +1,10 @@ #!/usr/bin/env python +bld.SAMBA_SUBSYSTEM('time-basic', + source='time_basic.c', + deps='replace', + 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 @@ -9,7 +14,7 @@ bld.SAMBA_LIBRARY('samba-util', 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', + deps='DYNCONFIG time-basic', 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') ], |
