data.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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$"
  7. #endif
  8. EXTERN char *stopsuffix; /* Suffix to stop at */
  9. EXTERN char *machine; /* The machine id */
  10. EXTERN char *callname; /* argv[0] */
  11. EXTERN char *rts; /* The runtime-system */
  12. EXTERN char *rtsuf; /* The runtime-system module suffix */
  13. EXTERN char *Optlist; /* Which optimizers */
  14. EXTERN list_head arguments; /* List of arguments */
  15. EXTERN list_head flags; /* List of flags */
  16. EXTERN list_head tr_list; /* List of transformations */
  17. EXTERN list_head R_list; /* List of -R flags */
  18. EXTERN list_head head_list; /* List of suffices for headers */
  19. EXTERN list_head tail_list; /* List of suffices for tails */
  20. EXTERN int k_flag; /* Like -k of lint */
  21. EXTERN int t_flag; /* Preserve intermediate files */
  22. EXTERN int v_flag; /* Verbose */
  23. EXTERN int w_flag; /* Don't print warnings */
  24. EXTERN int nill_flag; /* Don't print file names */
  25. EXTERN int Optlevel; /* Optimizing */
  26. #ifdef DEBUG
  27. EXTERN int debug; /* Debugging control */
  28. #endif
  29. EXTERN int n_error; /* Number of errors encountered */
  30. EXTERN char *progname; /* The program call name */
  31. EXTERN char *outfile; /* The result file e.g. a.out */
  32. EXTERN char template[512]; /* The template for temporary file
  33. names */
  34. EXTERN trf *linker; /* Pointer to the Loader/Linker */
  35. EXTERN trf *cpp_trafo; /* Pointer to C-preprocessor */
  36. EXTERN path in; /* The current single input pathname */
  37. EXTERN path out; /* The current output pathname */
  38. EXTERN path orig; /* The original input path */
  39. EXTERN char *p_basename; /* The current basename */
  40. EXTERN char *p_suffix; /* The current input suffix */