home *** CD-ROM | disk | FTP | other *** search
/ Dream 45 / Amiga_Dream_45.iso / Atari / Magazine / Dossier / texutils / ms.arc / CONFIG.H next >
C/C++ Source or Header  |  1988-10-17  |  2KB  |  95 lines

  1.  /**********************************************************************\
  2.  *                                    *
  3.  *              Configure to your env                *
  4.  *                                    *
  5.  \**********************************************************************/
  6.  
  7. /*
  8.  * Home dir
  9.  */
  10. char *HOME =  "e:\\bammi";
  11.  
  12. /*
  13.  * Path for external commands
  14.  */
  15. char *path[]= {
  16.     "",            /* implicit ".\" */
  17.     "e:\\exec\\",
  18.     "e:\\util\\",
  19.     "c:\\bin\\",
  20.     "d:\\bin\\",
  21.     "f:\\bin\\",
  22.     (char *)NULL
  23.     };
  24.  
  25. /*
  26.  * Extentions to try for external commands
  27.  *
  28.  */
  29. char *ext[] = {
  30.     ".ttp",
  31.     ".prg",
  32.     ".tos",
  33.     "",
  34.     (char *)NULL
  35.     };
  36.  
  37. /* 
  38.  * Environment in which all commands are exec
  39.  *
  40.  */
  41. char *env = 
  42. "cpp=e:\\exec\\gcc-cpp.ttp\0\
  43. cc1=e:\\exec\\gcc-cc1.ttp\0\
  44. gas=e:\\exec\\gcc-as.ttp\0\
  45. as=e:\\exec\\gcc-as.ttp\0\
  46. ar=e:\\exec\\gcc-ar.ttp\0\
  47. ld=e:\\exec\\gcc-ld.ttp\0\
  48. gcc=e:\\exec\\gcc.ttp\0\
  49. cc=e:\\exec\\gcc.ttp\0\
  50. make=e:\\util\\xmake.ttp\0\
  51. bison=e:\\bison\\bison.ttp\0\
  52. BISON_SIMPLE=e:\\bison\\bison.sim\0\
  53. BISON_HAIRY=e:\\bison\\bison.hai\0\
  54. flex=e:\\flex\\flex.ttp\0\
  55. FLEX_DEF=e:\\flex\\flexdef.skl\0\
  56. FLEX_FAST=e:\\flex\\flexfast.skl\0\
  57. TEXFORMATS=f:\\macros;.\0\
  58. TEXINPUTS=.;f:\\macros\0\
  59. TEXFONTS=.;f:\\tfm\0\
  60. GNULIB=e:\\lib\0\
  61. GCCEXEC=e:\\exec\\gcc-\0\
  62. TEMP=h:\0\0\0\0";
  63.  
  64.         
  65. /*
  66.  * Aliases
  67.  *
  68.  */
  69. typedef struct {
  70.     char *aname;    /* alias name */
  71.     char *adef;    /* command to run */
  72.     char *optarg;    /* any arguements to come before supplied args */
  73. } ALIAS;
  74.  
  75. ALIAS alias[] = {
  76.     { "cpp",    "e:\\exec\\gcc-cpp.ttp", (char *)NULL },
  77.     { "cc1",    "e:\\exec\\gcc-cc1.ttp", (char *)NULL },
  78.     { "gas",    "e:\\exec\\gcc-as.ttp", (char *)NULL },
  79.     { "as",        "e:\\exec\\gcc-as.ttp", (char *)NULL },
  80.     { "ar",        "e:\\exec\\gcc-ar.ttp", (char *)NULL },
  81.     { "ld",        "e:\\exec\\gcc-ld.ttp", (char *)NULL },
  82.     { "gcc",    "e:\\exec\\gcc.ttp", (char *)NULL },
  83.     { "cc",        "e:\\exec\\gcc.ttp", (char *)NULL },
  84.     { "make",    "e:\\util\\xmake.ttp", (char *)NULL },
  85.     { "bison",    "e:\\bison\\bison.ttp", (char *)NULL },
  86.     { "mg",        "c:\\bin\\mg.ttp", (char *)NULL },
  87.     { "x",        "c:\\bin\\mg.ttp", (char *)NULL },
  88.     { "flex",    "e:\\flex\\flex.ttp", (char *)NULL },
  89.     { "tex",    "f:\\bin\\tex.ttp", (char *)NULL },
  90.     { "latex",    "f:\\bin\\tex.ttp", "&lplain" },
  91.     { (char *)NULL, (char *)NULL, (char *)NULL }
  92.     };
  93.  
  94. /* - eof - */
  95.