diff options
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r-- | usr.bin/make/make.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index 74949ae..77205aa 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -141,6 +141,21 @@ typedef struct GNode { * but the Suff module) */ } GNode; + +/* + * Definitions for handling #include specifications + */ +typedef struct { + char *str; + char *ptr; +} PTR; +typedef struct IFile { + char *fname; /* name of previous file */ + int lineno; /* saved line number */ + FILE *F; /* the open stream */ + PTR *p; /* the char pointer */ +} IFile; + /* * The OP_ constants are used when parsing a dependency line as a way of * communicating to other parts of the program the way in which a target @@ -273,6 +288,7 @@ extern Lst create; /* The list of target names specified on the * make(...) statements */ extern Lst dirSearchPath; /* The list of directories to search when * looking for targets */ +extern IFile curFile; /* current makefile */ extern Lst parseIncPath; /* The list of directories to search when * looking for includes */ |