diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-02-22 10:59:44 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-02-22 03:35:58 +0100 |
commit | c43eb39098d1bc507f550971fab4bce61f0e5d1a (patch) | |
tree | 1a14812d424fc47b7e5fee3a5c7b2786c399f55f /buildtools/wafsamba/wscript | |
parent | 0e0ea4efe3c7e7b503ec8529bacacdb8377b44f8 (diff) | |
download | samba-c43eb39098d1bc507f550971fab4bce61f0e5d1a.tar.gz samba-c43eb39098d1bc507f550971fab4bce61f0e5d1a.tar.bz2 samba-c43eb39098d1bc507f550971fab4bce61f0e5d1a.zip |
build: added WHYNEEDED=TARGET:DEPENDENCY
you can now do:
make WHYNEEDED=smbd/smbd:gensec
and it will print:
Checking why smbd/smbd needs to link to gensec
target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec'
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rwxr-xr-x | buildtools/wafsamba/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript index 4f93bb1793..ecc2ae51f6 100755 --- a/buildtools/wafsamba/wscript +++ b/buildtools/wafsamba/wscript @@ -121,6 +121,10 @@ def set_options(opt): help=("check symbols in object files against project rules"), action='store_true', dest='SYMBOLCHECK', default=False) + gr.add_option('--why-needed', + help=("TARGET:DEPENDENCY check why TARGET needs DEPENDENCY"), + action='store', type='str', dest='WHYNEEDED', default=None) + gr.add_option('--show-duplicates', help=("Show objects which are included in multiple binaries or libraries"), action='store_true', dest='SHOW_DUPLICATES', default=False) |