summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_utils.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 529505d317..333477e499 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -221,3 +221,11 @@ def BUILD_PATH(bld, relpath):
Build.BuildContext.BUILD_PATH = BUILD_PATH
+# this is a useful way of debugging some of the rules in waf
+from TaskGen import feature, after
+@feature('dbg')
+@after('apply_core', 'apply_obj_vars_cc')
+def dbg(self):
+ if self.target == 'HEIMDAL_HEIM_ASN1':
+ print "@@@@@@@@@@@@@@2", self.includes, self.env._CCINCFLAGS
+