/* make.h v 1.1 5/05/85 */ #define ESCCHAR '\\' #define MACCHAR '#' /* macro-definition char */ #define COMCHAR '!' /* comment char */ #define DEFMAC "=" /* macro-definition token */ #define DEPEND ":" /* dependency-definition token */ #define DEBUG if(0) #define STRSIZ 512 #define MAXMODS 50 /* file attributes */ #define REBUILT 0x01 /* file has been reconstructed */ #define ROOTP 0x02 /* file was named on left side of DEPEND */ struct date_str { char d_s[5]; }; /*typedef struct date_str *DATE;*/ #define DATE struct date_str struct node { struct _filenode *nfile; /* this node's file */ struct node *nnext; /* the next node */ }; /*typedef struct node NODE;*/ #define NODE struct node struct _filenode { char *fname; /* the filename */ char *fmake; /* remake string for file */ DATE *fdate; /* 5 byte last-modification date */ NODE *fnode; /* files this file depends on */ char fflag; /* magic flag bits */ struct _filenode *fnext; /* the next file */ }; /*typedef struct filenode FILENODE;*/ #define FILENODE struct _filenode struct macro { char *mname; /* the macro's name */ char *mvalue; /* the macro's definition */ struct macro *mnext; /* the next macro */ }; /*typedef struct macro MACRO;*/ #define MACRO struct macro MACRO *mroot; FILENODE *froot; DATE *bigbang; /* Far, far in the past */ DATE *endoftime; /* Far, far in the future */ char *gmacro(); FILENODE *filenode(), *gfile(); char *token(); char *ascidate; /* Used in typing out current date and time. */ char havedates; /* true when time&date file is in ram */ char somechanges; /* true when script file has >= 1 command */ int datesdisk; /* drive for time&date file in ram */ char *datebuff; /* entire time&date file in ram */ char *mfilename; /* name of the makefile */