summaryrefslogtreecommitdiff
path: root/makeint.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-05-13 01:30:24 -0400
committerPaul Smith <psmith@gnu.org>2013-05-13 01:30:24 -0400
commit381baeef7aa4f2c8758a9910ebb97af46c0dd7eb (patch)
treea62e74040e2ea16c3480566b0d2cb246c6fec453 /makeint.h
parent5367d393ddb36fc8b3f358418d5c9f2b9f01d2fe (diff)
downloadgunmake-381baeef7aa4f2c8758a9910ebb97af46c0dd7eb.tar.gz
Add new --trace[=MODE] flags, with --trace=dir
This mode replaces the previous heuristic setting enabled with -O, where we would log directory enter/leave for each synchronized output. Now we only do that if --trace=dir is given.
Diffstat (limited to 'makeint.h')
-rw-r--r--makeint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/makeint.h b/makeint.h
index 6bff07a..ae7e813 100644
--- a/makeint.h
+++ b/makeint.h
@@ -544,6 +544,10 @@ int strncasecmp (const char *s1, const char *s2, int n);
#define OUTPUT_SYNC_TARGET 2
#define OUTPUT_SYNC_RECURSE 3
+#define TRACE_NONE 0x0
+#define TRACE_RULE 0x1
+#define TRACE_DIRECTORY 0x2
+
extern const gmk_floc *reading_file;
extern const gmk_floc **expanding_var;