36 #define RM_NO_DEFAULT_GOAL (1 << 0) 37 #define RM_INCLUDED (1 << 1) 38 #define RM_DONTCARE (1 << 2) 39 #define RM_NO_TILDE (1 << 3) 53 unsigned int flags : 8; \ 54 unsigned int changed : 1; \ 55 unsigned int ignore_mtime : 1; \ 56 unsigned int staticpattern : 1; \ 57 unsigned int need_2nd_expansion : 1; \ 58 unsigned int ignore_automatic_vars : 1 78 #define PARSEFS_NONE 0x0000 79 #define PARSEFS_NOSTRIP 0x0001 80 #define PARSEFS_NOAR 0x0002 81 #define PARSEFS_NOGLOB 0x0004 82 #define PARSEFS_EXISTS 0x0008 83 #define PARSEFS_NOCACHE 0x0010 84 #define PARSEFS_ONEWORD 0x0020 86 #define PARSE_FILE_SEQ(_s,_t,_c,_p,_f) \ 87 (_t *)parse_file_seq ((_s),sizeof (_t),(_c),(_p),(_f)) 88 #define PARSE_SIMPLE_SEQ(_s,_t) \ 89 (_t *)parse_file_seq ((_s),sizeof (_t),MAP_NUL,NULL,PARSEFS_NONE) 95 int stopmap,
const char *prefix,
int flags);
101 struct nameseq *
ar_glob (
const char *arname,
const char *member_pattern,
size_t size);
104 #define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name) 106 #define alloc_seq_elt(_t) xcalloc (sizeof (_t)) 111 #if defined(MAKE_MAINTAINER_MODE) && defined(__GNUC__) && !defined(__STRICT_ANSI__) 113 #define SI static inline 125 # define alloc_ns() alloc_seq_elt (struct nameseq) 126 # define alloc_dep() alloc_seq_elt (struct dep) 127 # define alloc_goaldep() alloc_seq_elt (struct goaldep) 129 # define free_ns(_n) free (_n) 130 # define free_dep(_d) free_ns (_d) 131 # define free_goaldep(_g) free_dep (_g) 133 # define free_dep_chain(_d) free_ns_chain ((struct nameseq *)(_d)) 134 # define free_goal_chain(_g) free_ns_chain ((struct nameseq *)(_g)) #define free_dep_chain(_d)
Definition: dep.h:133
#define DEP(_t)
Definition: dep.h:49
struct nameseq * ar_glob(const char *arname, const char *member_pattern, size_t size)
#define free_goal_chain(_g)
Definition: dep.h:134
int error
Definition: dep.h:72
#define alloc_dep()
Definition: dep.h:126
#define alloc_ns()
Definition: dep.h:125
#define free_dep(_d)
Definition: dep.h:130
#define alloc_seq_elt(_t)
Definition: dep.h:106
struct goaldep * read_all_makefiles(const char **makefiles)
void eval_buffer(char *buffer, const gmk_floc *floc)
struct dep * copy_dep_chain(const struct dep *d)
#define alloc_goaldep()
Definition: dep.h:127
void * parse_file_seq(char **stringp, size_t size, int stopmap, const char *prefix, int flags)
gmk_floc floc
Definition: dep.h:73
char * remake_tilde_expand(const char *name)
enum update_status update_goal_chain(struct goaldep *goals)
Definition: gnuremake.h:23
void free_ns_chain(struct nameseq *n)
#define free_ns(_n)
Definition: dep.h:129
#define free_goaldep(_g)
Definition: dep.h:131
struct goaldep * read_makefiles
Definition: dep.h:142