Fix numerous missing dependencies in WAF build scripts
authorSean Finney <seanius@seanius.net>
Fri, 20 May 2011 08:12:08 +0000 (08:12 +0000)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 25 May 2011 17:22:13 +0000 (19:22 +0200)
commit0f8018676a6cb33238d506338d4fbb8b683550d3
tree1e2dc4bb4a4f3179ce795e417bbd48f4474e7dd7
parentb58534f1fca27e3e72f4f4107538ec05734bd42a
Fix numerous missing dependencies in WAF build scripts

With the recent consolidation of code between s3 and s4, a number of new
dependencies have been implicitly introduced.  For example, previous s3
code gained an implicit dependency on talloc after the charset related
consolidation (lib/util/charset/charset.h now includes talloc.h).  When
building against the embedded version of talloc this isn't a problem
since the paths are automatically added to the search path, but when
building against the external libraries build failures will occur for
all components that don't directly or indirectly include talloc as
a dependency.

Since charset.h is included from util.h, which in turn is included from
includes.h, this means most of the codebase (s3 and s4) has such an
undeclared dependency.

Therefore, samba-util-common and samba-util have been added as
dependencies to the s3 and s4 code respectively, for all cases where
the source would otherwise fail to build.  Additionally, a few other
dependencies are added in specific wscript_build files to address
similar dependency-related problems.

https://bugzilla.samba.org/show_bug.cgi?id=8128

Signed-off-by: Sean Finney <seanius@seanius.net>
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
lib/util/charset/wscript_build
lib/util/wscript_build
libgpo/wscript_build
source3/auth/wscript_build
source3/libgpo/gpext/wscript_build
source3/modules/wscript_build
source3/passdb/wscript_build
source3/rpc_server/wscript_build
source3/winbindd/wscript_build
source3/wscript_build