Go to the source code of this file.
|
#define | NAMESEQ(_t) |
|
#define | RM_NO_DEFAULT_GOAL (1 << 0) /* Do not set default goal. */ |
|
#define | RM_INCLUDED (1 << 1) /* Search makefile search path. */ |
|
#define | RM_DONTCARE (1 << 2) /* No error if it doesn't exist. */ |
|
#define | RM_NO_TILDE (1 << 3) /* Don't expand ~ in file name. */ |
|
#define | RM_NOFLAG 0 |
|
#define | DEP(_t) |
|
#define | PARSEFS_NONE 0x0000 |
|
#define | PARSEFS_NOSTRIP 0x0001 |
|
#define | PARSEFS_NOAR 0x0002 |
|
#define | PARSEFS_NOGLOB 0x0004 |
|
#define | PARSEFS_EXISTS 0x0008 |
|
#define | PARSEFS_NOCACHE 0x0010 |
|
#define | PARSEFS_ONEWORD 0x0020 |
|
#define | PARSE_FILE_SEQ(_s, _t, _c, _p, _f) (_t *)parse_file_seq ((_s),sizeof (_t),(_c),(_p),(_f)) |
|
#define | PARSE_SIMPLE_SEQ(_s, _t) (_t *)parse_file_seq ((_s),sizeof (_t),MAP_NUL,NULL,PARSEFS_NONE) |
|
#define | dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name) |
|
#define | alloc_seq_elt(_t) xcalloc (sizeof (_t)) |
|
#define | alloc_ns() alloc_seq_elt (struct nameseq) |
|
#define | alloc_dep() alloc_seq_elt (struct dep) |
|
#define | alloc_goaldep() alloc_seq_elt (struct goaldep) |
|
#define | free_ns(_n) free (_n) |
|
#define | free_dep(_d) free_ns (_d) |
|
#define | free_goaldep(_g) free_dep (_g) |
|
#define | free_dep_chain(_d) free_ns_chain ((struct nameseq *)(_d)) |
|
#define | free_goal_chain(_g) free_ns_chain ((struct nameseq *)(_g)) |
|
◆ alloc_dep
◆ alloc_goaldep
◆ alloc_ns
◆ alloc_seq_elt
#define alloc_seq_elt |
( |
|
_t | ) |
xcalloc (sizeof (_t)) |
◆ DEP
Value: const char *stem; \
unsigned int flags : 8; \
unsigned int changed : 1; \
unsigned int ignore_mtime : 1; \
unsigned int staticpattern : 1; \
unsigned int need_2nd_expansion : 1; \
unsigned int ignore_automatic_vars : 1
#define NAMESEQ(_t)
Definition: dep.h:23
◆ dep_name
#define dep_name |
( |
|
d | ) |
((d)->name == 0 ? (d)->file->name : (d)->name) |
◆ free_dep
#define free_dep |
( |
|
_d | ) |
free_ns (_d) |
◆ free_dep_chain
◆ free_goal_chain
◆ free_goaldep
#define free_goaldep |
( |
|
_g | ) |
free_dep (_g) |
◆ free_ns
#define free_ns |
( |
|
_n | ) |
free (_n) |
◆ NAMESEQ
Value:_t *next; \
const char *name
◆ PARSE_FILE_SEQ
#define PARSE_FILE_SEQ |
( |
|
_s, |
|
|
|
_t, |
|
|
|
_c, |
|
|
|
_p, |
|
|
|
_f |
|
) |
| (_t *)parse_file_seq ((_s),sizeof (_t),(_c),(_p),(_f)) |
◆ PARSE_SIMPLE_SEQ
◆ PARSEFS_EXISTS
#define PARSEFS_EXISTS 0x0008 |
◆ PARSEFS_NOAR
#define PARSEFS_NOAR 0x0002 |
◆ PARSEFS_NOCACHE
#define PARSEFS_NOCACHE 0x0010 |
◆ PARSEFS_NOGLOB
#define PARSEFS_NOGLOB 0x0004 |
◆ PARSEFS_NONE
#define PARSEFS_NONE 0x0000 |
◆ PARSEFS_NOSTRIP
#define PARSEFS_NOSTRIP 0x0001 |
◆ PARSEFS_ONEWORD
#define PARSEFS_ONEWORD 0x0020 |
◆ RM_DONTCARE
#define RM_DONTCARE (1 << 2) /* No error if it doesn't exist. */ |
◆ RM_INCLUDED
#define RM_INCLUDED (1 << 1) /* Search makefile search path. */ |
◆ RM_NO_DEFAULT_GOAL
#define RM_NO_DEFAULT_GOAL (1 << 0) /* Do not set default goal. */ |
◆ RM_NO_TILDE
#define RM_NO_TILDE (1 << 3) /* Don't expand ~ in file name. */ |
◆ RM_NOFLAG
◆ ar_glob()
struct nameseq* ar_glob |
( |
const char * |
arname, |
|
|
const char * |
member_pattern, |
|
|
size_t |
size |
|
) |
| |
◆ copy_dep_chain()
struct dep * copy_dep_chain |
( |
const struct dep * |
d | ) |
|
◆ eval_buffer()
void eval_buffer |
( |
char * |
buffer, |
|
|
const gmk_floc * |
floc |
|
) |
| |
◆ free_ns_chain()
void free_ns_chain |
( |
struct nameseq * |
n | ) |
|
◆ parse_file_seq()
void* parse_file_seq |
( |
char ** |
stringp, |
|
|
size_t |
size, |
|
|
int |
stopmap, |
|
|
const char * |
prefix, |
|
|
int |
flags |
|
) |
| |
◆ read_all_makefiles()
struct goaldep* read_all_makefiles |
( |
const char ** |
makefiles | ) |
|
◆ remake_tilde_expand()
char* remake_tilde_expand |
( |
const char * |
name | ) |
|
◆ update_goal_chain()
enum update_status update_goal_chain |
( |
struct goaldep * |
goals | ) |
|
◆ read_makefiles
The chain of makefiles read by read_makefile.