Pristine Ack-5.5
[Ack-5.5.git] / util / ack / data.h
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 #ifndef NORCSID
6 #define RCS_DATA "$Id: data.h,v 2.7 1994/06/24 10:12:32 ceriel Exp $"
7 #endif
8
9 EXTERN  char            *stopsuffix;    /* Suffix to stop at */
10 EXTERN  char            *machine;       /* The machine id */
11 EXTERN  char            *callname;      /* argv[0] */
12 EXTERN  char            *rts;           /* The runtime-system */
13 EXTERN  char            *rtsuf;         /* The runtime-system module suffix */
14 EXTERN  char            *Optlist;       /* Which optimizers */
15
16 EXTERN  list_head       arguments;      /* List of arguments */
17 EXTERN  list_head       flags;          /* List of flags */
18
19 EXTERN  list_head       tr_list;        /* List of transformations */
20
21 EXTERN  list_head       R_list;         /* List of -R flags */
22 EXTERN  list_head       head_list;      /* List of suffices for headers */
23 EXTERN  list_head       tail_list;      /* List of suffices for tails */
24
25 EXTERN  int             k_flag;         /* Like -k of lint */
26 EXTERN  int             t_flag;         /* Preserve intermediate files */
27 EXTERN  int             v_flag;         /* Verbose */
28 EXTERN  int             w_flag;         /* Don't print warnings */
29 EXTERN  int             nill_flag;      /* Don't print file names */
30 EXTERN  int             Optlevel;       /* Optimizing */
31
32 #ifdef DEBUG
33 EXTERN  int             debug;          /* Debugging control */
34 #endif
35
36 EXTERN  int             n_error;        /* Number of errors encountered */
37
38 EXTERN  char            *progname;      /* The program call name */
39
40 EXTERN  char            *outfile;       /* The result file e.g. a.out */
41 EXTERN  char            template[20];   /* The template for temporary file
42                                                 names */
43
44 EXTERN  trf             *linker;        /* Pointer to the Loader/Linker */
45 EXTERN  trf             *cpp_trafo;     /* Pointer to C-preprocessor */
46
47 EXTERN  path            in;             /* The current single input pathname */
48 EXTERN  path            out;            /* The current output pathname */
49 EXTERN  path            orig;           /* The original input path */
50 EXTERN  char            *p_basename;    /* The current basename */
51 EXTERN  char            *p_suffix;      /* The current input suffix */