diff options
| author | cgd <cgd@NetBSD.org> | 1994-03-05 00:34:29 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1994-03-05 00:34:29 +0000 |
| commit | 3db59563ee7dca190481dfee041222f12ed3a64f (patch) | |
| tree | ee00f5ed3bf2662f98775537e76f6ba74977a1f6 /usr.bin/make/make.h | |
| parent | 3e02952c52fd23241dc58d7a0165a865dd508bcd (diff) | |
fixes/improvements from Christos Zoulas <christos@deshaw.com>.
Diffstat (limited to 'usr.bin/make/make.h')
| -rw-r--r-- | usr.bin/make/make.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h index e1a8cdcd521..28e2d070325 100644 --- a/usr.bin/make/make.h +++ b/usr.bin/make/make.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)make.h 5.13 (Berkeley) 3/1/91 - * $Id: make.h,v 1.2 1993/08/01 18:12:00 mycroft Exp $ + * $Id: make.h,v 1.3 1994/03/05 00:35:00 cgd Exp $ */ /*- @@ -48,11 +48,18 @@ #define _MAKE_H_ #include <sys/types.h> +#include <stdio.h> #include <string.h> #include <ctype.h> +#include <sys/cdefs.h> +#if __STDC__ +#include <stdlib.h> +#include <unistd.h> +#endif #include "sprite.h" #include "lst.h" #include "config.h" +#include "buf.h" /*- * The structure for an individual graph node. Each node has several @@ -215,7 +222,7 @@ typedef struct GNode { * case, it ought to be a power of two simply because most storage allocation * schemes allocate in powers of two. */ -#define BSIZE 256 /* starting size for expandable buffers */ +#define MAKE_BSIZE 256 /* starting size for expandable buffers */ /* * These constants are all used by the Str_Concat function to decide how the @@ -272,6 +279,7 @@ extern Lst create; /* The list of target names specified on the extern Lst dirSearchPath; /* The list of directories to search when * looking for targets */ +extern Boolean compatMake; /* True if we are make compatible */ extern Boolean ignoreErrors; /* True if should ignore all errors */ extern Boolean beSilent; /* True if should print no commands */ extern Boolean noExecute; /* True if should execute nothing */ @@ -323,6 +331,7 @@ extern int debug; #define DEBUG_SUFF 0x0080 #define DEBUG_TARG 0x0100 #define DEBUG_VAR 0x0200 +#define DEBUG_FOR 0x0400 #ifdef __STDC__ #define CONCAT(a,b) a##b @@ -339,4 +348,11 @@ extern int debug; */ #include "nonints.h" -#endif _MAKE_H_ +int Make_TimeStamp __P((GNode *, GNode *)); +Boolean Make_OODate __P((GNode *)); +int Make_HandleUse __P((GNode *, GNode *)); +void Make_Update __P((GNode *)); +void Make_DoAllVar __P((GNode *)); +Boolean Make_Run __P((Lst)); + +#endif /* _MAKE_H_ */ |
