PIPS
pipsmake-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: pipsmake-local.h 23656 2022-05-08 06:45:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 #include "makefile.h"
26 
27 /* symbols exported by lex / yacc */
28 extern void pipsmake_error(const char *);
29 extern FILE *pipsmake_in;
30 extern int pipsmake_lex(void);
31 extern int pipsmake_parse(void);
32 
33 /* work around cproto 4.7t issue */
34 /* symbols from readmakefile.y */
35 extern void yyerror(const char *);
36 extern void fprint_virtual_resources(FILE *, const char *, list);
37 extern void fprint_makefile(FILE *, makefile);
38 extern makefile parse_makefile(void);
39 extern rule find_rule_by_phase(const char *);
40 extern void add_rule(rule);
41 extern makefile open_makefile(const char *);
42 extern void save_makefile(const char *);
43 extern bool close_makefile(const char *);
44 /* symbols form lexer.l */
45 extern int yywrap(void);
46 extern int init_lex(void);
47 extern void yyerror_lex_part(const char *);
int bool
we cannot use an enum or stdbool because we need to be compatible with newgen, thus boolean need to h...
Definition: newgen_types.h:78
void fprint_virtual_resources(FILE *, const char *, list)
void save_makefile(const char *)
void yyerror(const char *)
work around cproto 4.7t issue
bool(* pipsmake_callback_handler_type)(void)
bool close_makefile(const char *)
int pipsmake_lex(void)
void pipsmake_error(const char *)
symbols exported by lex / yacc
void yyerror_lex_part(const char *)
int yywrap(void)
symbols form lexer.l
rule find_rule_by_phase(const char *)
this function returns the rule that defines builder pname
makefile open_makefile(const char *)
int pipsmake_parse(void)
FILE * pipsmake_in
Definition: pipsmake.h:142
void add_rule(rule)
void fprint_makefile(FILE *, makefile)
int init_lex(void)
makefile parse_makefile(void)
The structure used to build lists in NewGen.
Definition: newgen_list.h:41