summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-24 16:14:03 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-01 04:32:12 +0100
commit5f5ca913b7abfcf95782339fac2dc8c1541b1126 (patch)
treeedd1c797f8d8692ff7d613e7ae8901b656dd6726 /lib/util/wscript_build
parent4acef317a0e1692afc526a3805adf87403651170 (diff)
downloadsamba-5f5ca913b7abfcf95782339fac2dc8c1541b1126.tar.gz
samba-5f5ca913b7abfcf95782339fac2dc8c1541b1126.tar.bz2
samba-5f5ca913b7abfcf95782339fac2dc8c1541b1126.zip
lib/util: new merged debug system
This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/util/wscript_build')
-rw-r--r--lib/util/wscript_build8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index cc53dd3f75..0468b74546 100644
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -7,23 +7,25 @@ bld.SAMBA_LIBRARY('samba-util-common',
util_file.c time.c rbtree.c rfc1738.c select.c
genrand.c fsusage.c blocking.c become_daemon.c
data_blob.c signal.c system.c params.c util.c util_id.c util_net.c
- util_strlist.c idtree.c''',
+ util_strlist.c idtree.c debug.c''',
public_deps='talloc pthread',
# until we get all the dependencies in this library in common
# we need to allow this library to be built with unresolved symbols
allow_undefined_symbols=True,
local_include=False,
+ public_headers='debug.h',
+ header_path= [('*', 'util') ],
private_library=True
)
if bld.env._SAMBA_BUILD_ == 4:
bld.SAMBA_LIBRARY('samba-util',
- source='''debug_s4.c dprintf.c fault.c
+ source='''dprintf.c fault.c
ms_fnmatch.c parmlist.c substitute.c util_str.c
''',
deps='samba-util-common',
public_deps='talloc LIBCRYPTO CHARSET execinfo uid_wrapper',
- public_headers='attr.h byteorder.h data_blob.h debug.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h',
+ public_headers='attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h util.h',
header_path= [ ('dlinklist.h util.h', '.'), ('*', 'util') ],
local_include=False,
vnum='0.0.1',