summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-08 20:34:33 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:46 +1000
commitd01f75c72df6c49c2898f5f26dbffac7a55ac3bd (patch)
treeda60c3b7322d1d6ae629390223e275cbc6f6a5f5
parentcdf1a3d4bfa0c945b450e67f42e882a67699efd3 (diff)
downloadsamba-d01f75c72df6c49c2898f5f26dbffac7a55ac3bd.tar.gz
samba-d01f75c72df6c49c2898f5f26dbffac7a55ac3bd.tar.bz2
samba-d01f75c72df6c49c2898f5f26dbffac7a55ac3bd.zip
build: back to stricter deps
-rw-r--r--buildtools/wafsamba/wafsamba.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 30324f7d7a..ef72869ff1 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -67,10 +67,10 @@ def CHECK_DEPENDENCIES(bld):
for t in cache:
deps = CHECK_TARGET_DEPENDENCY(bld, t)
for d in deps:
- if not d in target_cache:
- print "WARNING: Dependency '%s' of target '%s' not declared" % (d, t)
- #ASSERT(bld, d in target_cache,
- # "Dependency '%s' of target '%s' not declared" % (d, t))
+ #if not d in target_cache:
+ # print "WARNING: Dependency '%s' of target '%s' not declared" % (d, t)
+ ASSERT(bld, d in target_cache,
+ "Dependency '%s' of target '%s' not declared" % (d, t))
debug("deps: Dependencies checked for %u targets" % len(target_cache))
Build.BuildContext.CHECK_DEPENDENCIES = CHECK_DEPENDENCIES
@@ -205,7 +205,6 @@ def SAMBA_LIBRARY(bld, libname, source,
ilist = bld.NORMPATH(ilist)
# this print below should show that we're runnig this code
- print "Setting build group for library %s to %s" % (libname, group), bld.path
bld.SET_BUILD_GROUP(group) # <- here
bld(
features = 'cc cshlib',