PIPS
|
#include "makefile.h"
Go to the source code of this file.
Typedefs | |
typedef bool(* | pipsmake_callback_handler_type) (void) |
Functions | |
void | pipsmake_error (const char *) |
symbols exported by lex / yacc More... | |
int | pipsmake_lex (void) |
int | pipsmake_parse (void) |
void | yyerror (const char *) |
work around cproto 4.7t issue More... | |
void | fprint_virtual_resources (FILE *, const char *, list) |
void | fprint_makefile (FILE *, makefile) |
makefile | parse_makefile (void) |
rule | find_rule_by_phase (const char *) |
this function returns the rule that defines builder pname More... | |
void | add_rule (rule) |
makefile | open_makefile (const char *) |
void | save_makefile (const char *) |
bool | close_makefile (const char *) |
int | yywrap (void) |
symbols form lexer.l More... | |
int | init_lex (void) |
void | yyerror_lex_part (const char *) |
Variables | |
FILE * | pipsmake_in |
typedef bool(* pipsmake_callback_handler_type) (void) |
Definition at line 25 of file pipsmake-local.h.
void add_rule | ( | rule | r | ) |
Definition at line 1704 of file readmakefile.c.
References activated, CONS, find_rule_by_phase(), FOREACH, gen_nconc(), get_bool_property(), hash_get(), hash_put(), HASH_UNDEFINED_VALUE, makefile_active_phases, makefile_rules, NIL, owner_callees_p, owner_callers_p, pips_debug, pips_internal_error, pips_user_warning, pipsmakefile, RULE, rule_phase, rule_produced, rule_required, rule_undefined_p, strdup(), STRING, VIRTUAL_RESOURCE, virtual_resource_name, and virtual_resource_owner.
bool close_makefile | ( | const char * | name | ) |
name | ame |
Definition at line 1812 of file readmakefile.c.
References free_makefile(), makefile_undefined, pipsmakefile, and save_makefile().
Referenced by check_delete_workspace(), and make_close_workspace().
rule find_rule_by_phase | ( | const char * | pname | ) |
this function returns the rule that defines builder pname
walking thru rules
pname | name |
Definition at line 1686 of file readmakefile.c.
References FOREACH, makefile_rules, parse_makefile(), pips_debug, RULE, rule_phase, rule_undefined, and same_string_p.
Referenced by activate_phase(), apply_without_reseting_up_to_date_resources(), concurrent_apply(), get_more_derived_resources(), safe_apply(), and safe_concurrent_apply().
void fprint_makefile | ( | FILE * | fd, |
makefile | m | ||
) |
fd | d |
Definition at line 1649 of file readmakefile.c.
References FOREACH, fprint_virtual_resources(), fprintf(), makefile_rules, RULE, rule_modified, rule_phase, rule_pre_transformation, rule_preserved, rule_produced, and rule_required.
void fprint_virtual_resources | ( | FILE * | fd, |
const char * | dir, | ||
list | lrv | ||
) |
fd | d |
dir | ir |
lrv | rv |
Definition at line 1611 of file readmakefile.c.
References FOREACH, fprintf(), 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, owner_tag, pips_internal_error, VIRTUAL_RESOURCE, virtual_resource_name, and virtual_resource_owner.
int init_lex | ( | void | ) |
makefile open_makefile | ( | const char * | name | ) |
name | ame |
Definition at line 1770 of file readmakefile.c.
References build_pgm_makefile(), free(), free_makefile(), makefile_undefined, makefile_undefined_p, parse_makefile(), pips_debug, pips_user_warning, pipsmakefile, read_makefile(), and safe_fclose().
Referenced by make_open_workspace().
makefile parse_makefile | ( | void | ) |
Definition at line 1663 of file readmakefile.c.
References debug_off, debug_on, fopen_config(), fprint_makefile(), ifdebug, init_lex(), makefile_undefined, pipsmake_in, pipsmakefile, safe_fclose(), and yyparse.
Referenced by activate_phase(), active_phase_p(), build_options_menu_and_panel(), find_rule_by_resource(), fprint_activated(), get_more_derived_resources(), open_module_if_unique(), retrieve_active_phases(), and save_active_phases().
void pipsmake_error | ( | const char * | ) |
symbols exported by lex / yacc
int pipsmake_lex | ( | void | ) |
int pipsmake_parse | ( | void | ) |
void save_makefile | ( | const char * | name | ) |
name | ame |
Definition at line 1801 of file readmakefile.c.
References build_pgm_makefile(), free(), pips_debug, pipsmakefile, safe_fclose(), safe_fopen(), and write_makefile().
Referenced by checkpoint_workspace().
void yyerror | ( | const char * | s | ) |
work around cproto 4.7t issue
symbols from readmakefile.y
work around cproto 4.7t issue
Definition at line 1927 of file genread_yacc.c.
void yyerror_lex_part | ( | const char * | ) |
int yywrap | ( | void | ) |
symbols form lexer.l
|
extern |
Definition at line 142 of file pipsmake.h.
Referenced by parse_makefile(), and yyerror().