PIPS
makefile.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "makefile.h"
+ Include dependency graph for makefile.c:

Go to the source code of this file.

Functions

makefile copy_makefile (makefile p)
 MAKEFILE. More...
 
void free_makefile (makefile p)
 
makefile check_makefile (makefile p)
 
bool makefile_consistent_p (makefile p)
 
bool makefile_defined_p (makefile p)
 
list gen_makefile_cons (makefile p, list l)
 
void makefile_assign_contents (makefile r, makefile v)
 
void makefile_non_recursive_free (makefile p)
 
void write_makefile (FILE *f, makefile p)
 
makefile read_makefile (FILE *f)
 
makefile make_makefile (list a1, list a2)
 
owner copy_owner (owner p)
 OWNER. More...
 
void free_owner (owner p)
 
owner check_owner (owner p)
 
bool owner_consistent_p (owner p)
 
bool owner_defined_p (owner p)
 
list gen_owner_cons (owner p, list l)
 
void owner_assign_contents (owner r, owner v)
 
void owner_non_recursive_free (owner p)
 
void write_owner (FILE *f, owner p)
 
owner read_owner (FILE *f)
 
string owner_tag_as_string (enum owner_utype tag)
 
owner make_owner (enum owner_utype tag, void *val)
 
owner make_owner_program (void)
 
owner make_owner_module (void)
 
owner make_owner_main (void)
 
owner make_owner_callees (void)
 
owner make_owner_callers (void)
 
owner make_owner_all (void)
 
owner make_owner_select (void)
 
owner make_owner_compilation_unit (void)
 
real_resource copy_real_resource (real_resource p)
 REAL_RESOURCE. More...
 
void free_real_resource (real_resource p)
 
real_resource check_real_resource (real_resource p)
 
bool real_resource_consistent_p (real_resource p)
 
bool real_resource_defined_p (real_resource p)
 
list gen_real_resource_cons (real_resource p, list l)
 
void real_resource_assign_contents (real_resource r, real_resource v)
 
void real_resource_non_recursive_free (real_resource p)
 
void write_real_resource (FILE *f, real_resource p)
 
real_resource read_real_resource (FILE *f)
 
real_resource make_real_resource (string a1, string a2)
 
rule copy_rule (rule p)
 RULE. More...
 
void free_rule (rule p)
 
rule check_rule (rule p)
 
bool rule_consistent_p (rule p)
 
bool rule_defined_p (rule p)
 
list gen_rule_cons (rule p, list l)
 
void rule_assign_contents (rule r, rule v)
 
void rule_non_recursive_free (rule p)
 
void write_rule (FILE *f, rule p)
 
rule read_rule (FILE *f)
 
rule make_rule (string a1, list a2, list a3, list a4, list a5, list a6, list a7)
 
virtual_resource copy_virtual_resource (virtual_resource p)
 VIRTUAL_RESOURCE. More...
 
void free_virtual_resource (virtual_resource p)
 
virtual_resource check_virtual_resource (virtual_resource p)
 
bool virtual_resource_consistent_p (virtual_resource p)
 
bool virtual_resource_defined_p (virtual_resource p)
 
list gen_virtual_resource_cons (virtual_resource p, list l)
 
void virtual_resource_assign_contents (virtual_resource r, virtual_resource v)
 
void virtual_resource_non_recursive_free (virtual_resource p)
 
void write_virtual_resource (FILE *f, virtual_resource p)
 
virtual_resource read_virtual_resource (FILE *f)
 
virtual_resource make_virtual_resource (string a1, owner a2)
 

Function Documentation

◆ check_makefile()

makefile check_makefile ( makefile  p)

Definition at line 22 of file makefile.c.

22  {
24 }
gen_chunk * gen_check(gen_chunk *obj, int t)
GEN_CHECK checks that the gen_chunk received OBJ is of the appropriate TYPE.
Definition: genClib.c:2356
#define makefile_domain
Definition: makefile.h:10
A gen_chunk is used to store every object.
Definition: genC.h:58

References gen_check(), and makefile_domain.

+ Here is the call graph for this function:

◆ check_owner()

owner check_owner ( owner  p)

Definition at line 64 of file makefile.c.

64  {
65  return (owner) gen_check((gen_chunk*) p, owner_domain);
66 }
#define owner_domain
newgen_makefile_domain_defined
Definition: makefile.h:18

References gen_check(), and owner_domain.

+ Here is the call graph for this function:

◆ check_real_resource()

real_resource check_real_resource ( real_resource  p)

Definition at line 143 of file makefile.c.

143  {
145 }
#define real_resource_domain
newgen_owner_domain_defined
Definition: makefile.h:26

References gen_check(), and real_resource_domain.

+ Here is the call graph for this function:

◆ check_rule()

rule check_rule ( rule  p)

Definition at line 185 of file makefile.c.

185  {
186  return (rule) gen_check((gen_chunk*) p, rule_domain);
187 }
#define rule_domain
newgen_real_resource_domain_defined
Definition: makefile.h:34

References gen_check(), and rule_domain.

+ Here is the call graph for this function:

◆ check_virtual_resource()

virtual_resource check_virtual_resource ( virtual_resource  p)

Definition at line 227 of file makefile.c.

227  {
229 }
#define virtual_resource_domain
newgen_rule_domain_defined
Definition: makefile.h:42

References gen_check(), and virtual_resource_domain.

+ Here is the call graph for this function:

◆ copy_makefile()

makefile copy_makefile ( makefile  p)

MAKEFILE.

Definition at line 16 of file makefile.c.

16  {
17  return (makefile) gen_copy_tree((gen_chunk*) p);
18 }
gen_chunk * gen_copy_tree(gen_chunk *obj)
Definition: genClib.c:1429

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_owner()

owner copy_owner ( owner  p)

OWNER.

Definition at line 58 of file makefile.c.

58  {
59  return (owner) gen_copy_tree((gen_chunk*) p);
60 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_real_resource()

real_resource copy_real_resource ( real_resource  p)

REAL_RESOURCE.

Definition at line 137 of file makefile.c.

137  {
138  return (real_resource) gen_copy_tree((gen_chunk*) p);
139 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_rule()

rule copy_rule ( rule  p)

RULE.

Definition at line 179 of file makefile.c.

179  {
180  return (rule) gen_copy_tree((gen_chunk*) p);
181 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_virtual_resource()

virtual_resource copy_virtual_resource ( virtual_resource  p)

VIRTUAL_RESOURCE.

Definition at line 221 of file makefile.c.

221  {
223 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ free_makefile()

void free_makefile ( makefile  p)

Definition at line 19 of file makefile.c.

19  {
20  gen_free((gen_chunk*) p);
21 }
void gen_free(gen_chunk *obj)
version without shared_pointers.
Definition: genClib.c:992

References gen_free().

+ Here is the call graph for this function:

◆ free_owner()

void free_owner ( owner  p)

Definition at line 61 of file makefile.c.

61  {
62  gen_free((gen_chunk*) p);
63 }

References gen_free().

+ Here is the call graph for this function:

◆ free_real_resource()

void free_real_resource ( real_resource  p)

Definition at line 140 of file makefile.c.

140  {
141  gen_free((gen_chunk*) p);
142 }

References gen_free().

+ Here is the call graph for this function:

◆ free_rule()

void free_rule ( rule  p)

Definition at line 182 of file makefile.c.

182  {
183  gen_free((gen_chunk*) p);
184 }

References gen_free().

+ Here is the call graph for this function:

◆ free_virtual_resource()

void free_virtual_resource ( virtual_resource  p)

Definition at line 224 of file makefile.c.

224  {
225  gen_free((gen_chunk*) p);
226 }

References gen_free().

+ Here is the call graph for this function:

◆ gen_makefile_cons()

list gen_makefile_cons ( makefile  p,
list  l 
)

Definition at line 32 of file makefile.c.

32  {
34 }
list gen_typed_cons(_int type, const void *item, const list next)
CONS a list with minimal type checking this cannot be done within the CONS macro because possible fun...
Definition: list.c:900
#define MAKEFILE_NEWGEN_DOMAIN
Definition: makefile.h:13

References gen_typed_cons(), and MAKEFILE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_owner_cons()

list gen_owner_cons ( owner  p,
list  l 
)

Definition at line 74 of file makefile.c.

74  {
75  return gen_typed_cons(OWNER_NEWGEN_DOMAIN, p, l);
76 }
#define OWNER_NEWGEN_DOMAIN
Definition: makefile.h:21

References gen_typed_cons(), and OWNER_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_real_resource_cons()

list gen_real_resource_cons ( real_resource  p,
list  l 
)

Definition at line 153 of file makefile.c.

153  {
155 }
#define REAL_RESOURCE_NEWGEN_DOMAIN
Definition: makefile.h:29

References gen_typed_cons(), and REAL_RESOURCE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_rule_cons()

list gen_rule_cons ( rule  p,
list  l 
)

Definition at line 195 of file makefile.c.

195  {
196  return gen_typed_cons(RULE_NEWGEN_DOMAIN, p, l);
197 }
#define RULE_NEWGEN_DOMAIN
Definition: makefile.h:37

References gen_typed_cons(), and RULE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_virtual_resource_cons()

list gen_virtual_resource_cons ( virtual_resource  p,
list  l 
)

Definition at line 237 of file makefile.c.

237  {
239 }
#define VIRTUAL_RESOURCE_NEWGEN_DOMAIN
Definition: makefile.h:45

References gen_typed_cons(), and VIRTUAL_RESOURCE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ make_makefile()

makefile make_makefile ( list  a1,
list  a2 
)

Definition at line 52 of file makefile.c.

52  {
53  return (makefile) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, makefile_domain, a1, a2);
54 }
#define GEN_CHECK_ALLOC
Definition: genC.h:307
gen_chunk * gen_alloc(int size, int gen_check_p, int dom,...)
allocates something in newgen.
Definition: genClib.c:298

References gen_alloc(), GEN_CHECK_ALLOC, and makefile_domain.

+ Here is the call graph for this function:

◆ make_owner()

owner make_owner ( enum owner_utype  tag,
void *  val 
)

Definition at line 107 of file makefile.c.

107  {
108  return (owner) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, owner_domain, tag, val);
109 }
int tag
TAG.
Definition: newgen_types.h:92

References gen_alloc(), GEN_CHECK_ALLOC, and owner_domain.

+ Here is the call graph for this function:

◆ make_owner_all()

owner make_owner_all ( void  )

Definition at line 125 of file makefile.c.

125  {
126  return make_owner(is_owner_all, UU);
127 }
owner make_owner(enum owner_utype tag, void *val)
Definition: makefile.c:107
@ is_owner_all
Definition: makefile.h:114
#define UU
Definition: newgen_types.h:98

References is_owner_all, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_callees()

owner make_owner_callees ( void  )

Definition at line 119 of file makefile.c.

119  {
120  return make_owner(is_owner_callees, UU);
121 }
@ is_owner_callees
Definition: makefile.h:112

References is_owner_callees, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_callers()

owner make_owner_callers ( void  )

Definition at line 122 of file makefile.c.

122  {
123  return make_owner(is_owner_callers, UU);
124 }
@ is_owner_callers
Definition: makefile.h:113

References is_owner_callers, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_compilation_unit()

owner make_owner_compilation_unit ( void  )

Definition at line 131 of file makefile.c.

131  {
133 }
@ is_owner_compilation_unit
Definition: makefile.h:116

References is_owner_compilation_unit, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_main()

owner make_owner_main ( void  )

Definition at line 116 of file makefile.c.

116  {
117  return make_owner(is_owner_main, UU);
118 }
@ is_owner_main
Definition: makefile.h:111

References is_owner_main, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_module()

owner make_owner_module ( void  )

Definition at line 113 of file makefile.c.

113  {
114  return make_owner(is_owner_module, UU);
115 }
@ is_owner_module
Definition: makefile.h:110

References is_owner_module, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_program()

owner make_owner_program ( void  )

Definition at line 110 of file makefile.c.

110  {
111  return make_owner(is_owner_program, UU);
112 }
@ is_owner_program
Definition: makefile.h:109

References is_owner_program, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_owner_select()

owner make_owner_select ( void  )

Definition at line 128 of file makefile.c.

128  {
129  return make_owner(is_owner_select, UU);
130 }
@ is_owner_select
Definition: makefile.h:115

References is_owner_select, make_owner(), and UU.

+ Here is the call graph for this function:

◆ make_real_resource()

real_resource make_real_resource ( string  a1,
string  a2 
)

Definition at line 173 of file makefile.c.

173  {
175 }

References gen_alloc(), GEN_CHECK_ALLOC, and real_resource_domain.

+ Here is the call graph for this function:

◆ make_rule()

rule make_rule ( string  a1,
list  a2,
list  a3,
list  a4,
list  a5,
list  a6,
list  a7 
)

Definition at line 215 of file makefile.c.

215  {
216  return (rule) gen_alloc(8*sizeof(gen_chunk), GEN_CHECK_ALLOC, rule_domain, a1, a2, a3, a4, a5, a6, a7);
217 }

References gen_alloc(), GEN_CHECK_ALLOC, and rule_domain.

+ Here is the call graph for this function:

◆ make_virtual_resource()

virtual_resource make_virtual_resource ( string  a1,
owner  a2 
)

Definition at line 257 of file makefile.c.

257  {
259 }

References gen_alloc(), GEN_CHECK_ALLOC, and virtual_resource_domain.

+ Here is the call graph for this function:

◆ makefile_assign_contents()

void makefile_assign_contents ( makefile  r,
makefile  v 
)

Definition at line 35 of file makefile.c.

35  {
36  check_makefile(r);
37  check_makefile(v);
38  message_assert("defined references to domain makefile",
40  memcpy(r, v, sizeof(struct _newgen_struct_makefile_));
41 }
bool makefile_defined_p(makefile p)
Definition: makefile.c:29
makefile check_makefile(makefile p)
Definition: makefile.c:22
#define message_assert(msg, ex)
Definition: newgen_assert.h:47

References check_makefile(), makefile_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ makefile_consistent_p()

bool makefile_consistent_p ( makefile  p)

Definition at line 25 of file makefile.c.

25  {
26  check_makefile(p);
27  return gen_consistent_p((gen_chunk*) p);
28 }
int gen_consistent_p(gen_chunk *obj)
GEN_CONSISTENT_P dynamically checks the type correctness of OBJ.
Definition: genClib.c:2398

References check_makefile(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ makefile_defined_p()

bool makefile_defined_p ( makefile  p)

Definition at line 29 of file makefile.c.

29  {
30  return gen_defined_p((gen_chunk*) p);
31 }
int gen_defined_p(gen_chunk *obj)
Definition: genClib.c:2438

References gen_defined_p().

+ Here is the call graph for this function:

◆ makefile_non_recursive_free()

void makefile_non_recursive_free ( makefile  p)

Definition at line 42 of file makefile.c.

42  {
43  // should clear up contents...
44  free(p);
45 }
void free(void *)

References free().

+ Here is the call graph for this function:

◆ owner_assign_contents()

void owner_assign_contents ( owner  r,
owner  v 
)

Definition at line 77 of file makefile.c.

77  {
78  check_owner(r);
79  check_owner(v);
80  message_assert("defined references to domain owner",
82  memcpy(r, v, sizeof(struct _newgen_struct_owner_));
83 }
owner check_owner(owner p)
Definition: makefile.c:64
bool owner_defined_p(owner p)
Definition: makefile.c:71

References check_owner(), message_assert, and owner_defined_p().

+ Here is the call graph for this function:

◆ owner_consistent_p()

bool owner_consistent_p ( owner  p)

Definition at line 67 of file makefile.c.

67  {
68  check_owner(p);
69  return gen_consistent_p((gen_chunk*) p);
70 }

References check_owner(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ owner_defined_p()

bool owner_defined_p ( owner  p)

Definition at line 71 of file makefile.c.

71  {
72  return gen_defined_p((gen_chunk*) p);
73 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ owner_non_recursive_free()

void owner_non_recursive_free ( owner  p)

Definition at line 84 of file makefile.c.

84  {
85  // should clear up contents...
86  free(p);
87 }

References free().

+ Here is the call graph for this function:

◆ owner_tag_as_string()

string owner_tag_as_string ( enum owner_utype  tag)

Definition at line 94 of file makefile.c.

94  {
95  switch (tag) {
96  case is_owner_program: return "program";
97  case is_owner_module: return "module";
98  case is_owner_main: return "main";
99  case is_owner_callees: return "callees";
100  case is_owner_callers: return "callers";
101  case is_owner_all: return "all";
102  case is_owner_select: return "select";
103  case is_owner_compilation_unit: return "compilation_unit";
104  default: return string_undefined;
105  }
106 }
#define string_undefined
Definition: newgen_types.h:40

References is_owner_all, is_owner_callees, is_owner_callers, is_owner_compilation_unit, is_owner_main, is_owner_module, is_owner_program, is_owner_select, and string_undefined.

◆ read_makefile()

makefile read_makefile ( FILE *  f)

Definition at line 49 of file makefile.c.

49  {
50  return (makefile) gen_read(f);
51 }
gen_chunk * gen_read(FILE *file)
GEN_READ reads any object from the FILE stream.
Definition: genClib.c:2323
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
Definition: offsets.c:15

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_owner()

owner read_owner ( FILE *  f)

Definition at line 91 of file makefile.c.

91  {
92  return (owner) gen_read(f);
93 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_real_resource()

real_resource read_real_resource ( FILE *  f)

Definition at line 170 of file makefile.c.

170  {
171  return (real_resource) gen_read(f);
172 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_rule()

rule read_rule ( FILE *  f)

Definition at line 212 of file makefile.c.

212  {
213  return (rule) gen_read(f);
214 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_virtual_resource()

virtual_resource read_virtual_resource ( FILE *  f)

Definition at line 254 of file makefile.c.

254  {
255  return (virtual_resource) gen_read(f);
256 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ real_resource_assign_contents()

void real_resource_assign_contents ( real_resource  r,
real_resource  v 
)

Definition at line 156 of file makefile.c.

156  {
159  message_assert("defined references to domain real_resource",
161  memcpy(r, v, sizeof(struct _newgen_struct_real_resource_));
162 }
bool real_resource_defined_p(real_resource p)
Definition: makefile.c:150
real_resource check_real_resource(real_resource p)
Definition: makefile.c:143

References check_real_resource(), message_assert, and real_resource_defined_p().

+ Here is the call graph for this function:

◆ real_resource_consistent_p()

bool real_resource_consistent_p ( real_resource  p)

Definition at line 146 of file makefile.c.

146  {
148  return gen_consistent_p((gen_chunk*) p);
149 }

References check_real_resource(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ real_resource_defined_p()

bool real_resource_defined_p ( real_resource  p)

Definition at line 150 of file makefile.c.

150  {
151  return gen_defined_p((gen_chunk*) p);
152 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ real_resource_non_recursive_free()

void real_resource_non_recursive_free ( real_resource  p)

Definition at line 163 of file makefile.c.

163  {
164  // should clear up contents...
165  free(p);
166 }

References free().

+ Here is the call graph for this function:

◆ rule_assign_contents()

void rule_assign_contents ( rule  r,
rule  v 
)

Definition at line 198 of file makefile.c.

198  {
199  check_rule(r);
200  check_rule(v);
201  message_assert("defined references to domain rule",
202  rule_defined_p(r) && rule_defined_p(v));
203  memcpy(r, v, sizeof(struct _newgen_struct_rule_));
204 }
rule check_rule(rule p)
Definition: makefile.c:185
bool rule_defined_p(rule p)
Definition: makefile.c:192

References check_rule(), message_assert, and rule_defined_p().

+ Here is the call graph for this function:

◆ rule_consistent_p()

bool rule_consistent_p ( rule  p)

Definition at line 188 of file makefile.c.

188  {
189  check_rule(p);
190  return gen_consistent_p((gen_chunk*) p);
191 }

References check_rule(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ rule_defined_p()

bool rule_defined_p ( rule  p)

Definition at line 192 of file makefile.c.

192  {
193  return gen_defined_p((gen_chunk*) p);
194 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ rule_non_recursive_free()

void rule_non_recursive_free ( rule  p)

Definition at line 205 of file makefile.c.

205  {
206  // should clear up contents...
207  free(p);
208 }

References free().

+ Here is the call graph for this function:

◆ virtual_resource_assign_contents()

void virtual_resource_assign_contents ( virtual_resource  r,
virtual_resource  v 
)

Definition at line 240 of file makefile.c.

240  {
243  message_assert("defined references to domain virtual_resource",
245  memcpy(r, v, sizeof(struct _newgen_struct_virtual_resource_));
246 }
bool virtual_resource_defined_p(virtual_resource p)
Definition: makefile.c:234
virtual_resource check_virtual_resource(virtual_resource p)
Definition: makefile.c:227

References check_virtual_resource(), message_assert, and virtual_resource_defined_p().

+ Here is the call graph for this function:

◆ virtual_resource_consistent_p()

bool virtual_resource_consistent_p ( virtual_resource  p)

Definition at line 230 of file makefile.c.

230  {
232  return gen_consistent_p((gen_chunk*) p);
233 }

References check_virtual_resource(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ virtual_resource_defined_p()

bool virtual_resource_defined_p ( virtual_resource  p)

Definition at line 234 of file makefile.c.

234  {
235  return gen_defined_p((gen_chunk*) p);
236 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ virtual_resource_non_recursive_free()

void virtual_resource_non_recursive_free ( virtual_resource  p)

Definition at line 247 of file makefile.c.

247  {
248  // should clear up contents...
249  free(p);
250 }

References free().

+ Here is the call graph for this function:

◆ write_makefile()

void write_makefile ( FILE *  f,
makefile  p 
)

Definition at line 46 of file makefile.c.

46  {
47  gen_write(f, (gen_chunk*) p);
48 }
void gen_write(FILE *fd, gen_chunk *obj)
GEN_WRITE writes the OBJect on the stream FD.
Definition: genClib.c:1745

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_owner()

void write_owner ( FILE *  f,
owner  p 
)

Definition at line 88 of file makefile.c.

88  {
89  gen_write(f, (gen_chunk*) p);
90 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_real_resource()

void write_real_resource ( FILE *  f,
real_resource  p 
)

Definition at line 167 of file makefile.c.

167  {
168  gen_write(f, (gen_chunk*) p);
169 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_rule()

void write_rule ( FILE *  f,
rule  p 
)

Definition at line 209 of file makefile.c.

209  {
210  gen_write(f, (gen_chunk*) p);
211 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_virtual_resource()

void write_virtual_resource ( FILE *  f,
virtual_resource  p 
)

Definition at line 251 of file makefile.c.

251  {
252  gen_write(f, (gen_chunk*) p);
253 }

References f(), and gen_write().

+ Here is the call graph for this function: