summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dep.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dep.h b/dep.h
index 6f05eb4..aaad789 100644
--- a/dep.h
+++ b/dep.h
@@ -52,3 +52,18 @@ extern struct nameseq *ar_glob ();
/* Buggy compiler can't hack this. */
extern char *dep_name ();
#endif
+
+extern struct dep *read_all_makefiles ();
+
+/* Flag bits for the second argument to `read_makefile'.
+ These flags are saved in the `changed' field of each
+ `struct dep' in the chain returned by `read_all_makefiles'. */
+enum
+ {
+ RM_NO_DEFAULT_GOAL = 1 << 0, /* Do not set default goal. */
+ RM_INCLUDED = 1 << 1, /* Search the makefile search path. */
+ RM_DONTCARE = 1 << 2, /* No error if it doesn't exist. */
+ RM_NO_TILDE = 1 << 3, /* Don't expand ~ in the file name. */
+ RM_NOFLAG = 0
+ };
+