summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-20 18:09:45 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-21 19:03:23 +1100
commit14081efcc07e02a479ed3121a2359b9dd766a378 (patch)
tree56ae55753db696f27e18454d7e485255e4827b40 /buildtools/wafsamba/wscript
parent8044a20d8d84e740ca5c6d76bacaa977d691f3d0 (diff)
downloadsamba-14081efcc07e02a479ed3121a2359b9dd766a378.tar.gz
samba-14081efcc07e02a479ed3121a2359b9dd766a378.tar.bz2
samba-14081efcc07e02a479ed3121a2359b9dd766a378.zip
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
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript8
1 files changed, 8 insertions, 0 deletions
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',