From 14081efcc07e02a479ed3121a2359b9dd766a378 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Oct 2010 18:09:45 +1100 Subject: waf: added --show-deps and --show-duplicates these options make it easier to examine our depenency tree, by showing any objects linked into more than one library, and by showing the dependency tree for a chosen target --- buildtools/wafsamba/wscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'buildtools/wafsamba/wscript') diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index c46c486c12..9dc6910fda 100644 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -100,6 +100,14 @@ def set_options(opt): help=("Update ABI signature files for libraries"), action='store_true', dest='ABI_UPDATE', default=False) + gr.add_option('--show-deps', + help=("Show dependency tree for the given target"), + dest='SHOWDEPS', default='') + + gr.add_option('--show-duplicates', + help=("Show objects which are included in multiple binaries or libraries"), + action='store_true', dest='SHOW_DUPLICATES', default=False) + gr = opt.add_option_group('cross compilation options') gr.add_option('--cross-compile', -- cgit