6 #ifndef pipsmake_header_included
7 #define pipsmake_header_included
43 extern void yyerror(
const char *);
71 extern bool rmake(
const char *,
const char *);
79 extern bool safe_make(
const char *,
const char *);
80 extern bool safe_apply(
const char *,
const char *);
93 extern const char *
activate(
const char *);
107 extern bool unsplit(
const string );
int bool
we cannot use an enum or stdbool because we need to be compatible with newgen, thus boolean need to h...
bool make_close_workspace(bool)
FI->GO: could be in top-level, no?
void delete_some_resources(void)
this is quite ugly, but I wanted to put the enumeration down to pipsdbm.
bool print_bdt(string)
=================================================================
void reset_static_phase_variables(void)
Static variables used by phases must be reset on error although pipsmake does not know which ones are...
void do_resource_usage_check(const char *, rule)
check the usage of resources
string get_dont_build_view_file(const char *)
void initialize_signal_catcher(void)
bool make_cache_consistent_p(void)
Debug function: make sure that up-to-date resources do exist in the resource database.
string make_open_workspace(const char *)
void fprint_virtual_resources(FILE *, const char *, list)
void set_pips_timeout(unsigned int)
set pips timeout on delay setting to 0 removes the current timeout.
bool rmake(const char *, const char *)
recursive make resource.
FILE * pipsmake_get_in(void)
void save_makefile(const char *)
bool make_cache_p(void)
Can the make cache be used?
const char * activate(const char *)
void yyerror(const char *)
work around cproto 4.7t issue
void reset_pips_timeout(void)
signal.c
bool unsplit(const string)
unsplit.c
bool unsplit_parsed(const string)
void set_current_phase_context(const char *, const char *)
cproto-generated files
bool make_cache_hit_p(void *)
void pipsmake_free(void *)
bool(* pipsmake_callback_handler_type)(void)
Warning! Do not modify this file that is automatically generated!
bool scheduling(string)
=================================================================
bool safe_concurrent_apply(const char *, gen_array_t)
int delete_obsolete_resources(void)
bool close_makefile(const char *)
void pipsmake_restart(FILE *)
void print_make_cache(void)
Debug function, to be tested...
bool print_parallelizedCMF_code(string)
======================================================================
gen_array_t get_callees(string)
Get all the callers of the specified module.
void delete_named_resources(const char *)
Delete from up_to_date_resources make cache all the resources with a given resource name.
bool safe_make(const char *, const char *)
int pipsmake_get_leng(void)
void pipsmake_pop_buffer_state(void)
string get_first_main_module(void)
Should be able to handle Fortran applications, C applications and mixed Fortran/C applications.
void * pipsmake_alloc(yy_size_t)
bool safe_apply(const char *, const char *)
void remove_resource_from_make_cache(void *)
void pipsmake_set_out(FILE *)
void save_active_phases(void)
activate.c
bool activate_phases(void)
Use property ACTIVE_PHASES to active the phases required by the user.
bool active_phase_p(const char *)
bool print_array_dfg(string)
int pipsmake_get_debug(void)
void pipsmake_set_debug(int)
void set_pips_timeout_from_env(void)
set pips timeout using PIPS_TIMEOUT environment variable
bool check_resource_up_to_date(const char *, const char *)
To be used in a rule.
bool rule_use_resource_produced(rule)
Test if a rule uses a resource it produces.
bool run_pipsmake_callback(void)
void pipsmake_error(const char *)
symbols exported by lex / yacc
void pipsmake_set_lineno(int)
void yyerror_lex_part(const char *)
void init_make_cache(void)
void retrieve_active_phases(void)
bool print_parallelizedCRAFT_code(string)
======================================================================
int yywrap(void)
symbols form lexer.l
void add_resource_to_make_cache(void *)
bool prgm_mapping(string)
=========================================================================
void activate_language(language)
Choose the right combination of activate and setproperty for a given language.
void fprint_activated(FILE *)
rule find_rule_by_phase(const char *)
this function returns the rule that defines builder pname
makefile open_makefile(const char *)
void reset_current_phase_context(void)
char * pipsmake_get_text(void)
FILE * pipsmake_get_out(void)
string active_phase_for_resource(string)
return the phase which would be used to build a given resource.
void reset_pipsmake_callback(void)
void set_pipsmake_callback(pipsmake_callback_handler_type)
callback.c
void reset_make_cache(void)
rule find_rule_by_resource(const char *)
This function returns the active rule to produce resource rname.
void * pipsmake_realloc(void *, yy_size_t)
string build_pgm_makefile(const char *)
openclose.c
const char * activate_phase(const char *)
bool safe_set_property(const char *, const char *)
void fprint_makefile(FILE *, makefile)
bool array_dfg(string)
stubs.c
void delete_all_resources(void)
gen_array_t get_callers(string)
Get all the callers of the specified module.
void pipsmake_set_in(FILE *)
void reinit_make_cache_if_necessary(void)
void checkpoint_workspace(void)
checkpoint the current workspace, i.e.
bool saved_active_phase_p(const char *)
Debugging function.
int pipsmake_lex_destroy(void)
makefile parse_makefile(void)
string build_view_file(const char *)
view.c
bool reindexing(string)
======================================================================
int pipsmake_get_lineno(void)
int pipsmake_char
readmakefile.c
The structure used to build lists in NewGen.