home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l200 / 6.ddi / TOOL / DATA.C < prev    next >
Encoding:
C/C++ Source or Header  |  1986-10-01  |  2.7 KB  |  85 lines

  1. /* data.c -- BASTOC update maintenance tables
  2.  
  3.     Copyright (c) 1984 by JMI Software Consultants, Inc.
  4. */
  5. #include "upd.h"
  6.  
  7. /* update maintenance modes
  8.     These strings define the update modes that the program
  9.     understands. The update flag(s) are looked up in this
  10.     table and the index into this table is used as the
  11.     second subscript into the upd table. Therefore the order
  12.     of the entrys in this table and the upd table must correspond.
  13. */
  14. GLOBAL TEXT *upd_modes[NMODE + 1] =
  15.     {"S", "M", "C", "L", NULL};
  16.  
  17. /* These are the names of all of the BASTOC translator source
  18.     files that are part of the binary package. The file names
  19.     specified in the update command are looked up in this
  20.     table to see if they are part of the translator library.
  21.     If they are, an index of 0 is used as the first subscript
  22.     of the upd table.
  23. */
  24. GLOBAL TEXT *tran_files[] =
  25.     {"atbls1.c", "atbls2.c", "atvar.c", "parampat.c", NULL};
  26.  
  27. /* These are the names of all of the BASTOC library source
  28.     files that are used by the translator. The file names
  29.     specified in the update command are looked up in this
  30.     table to see if they are used by the translator. If they
  31.     are, an index of 1 is used as the first subscript of 
  32.     the upd table.
  33.  
  34.     If a file name is not found in this table or the previous
  35.     table (tran_files), an index of 2 is used as the first
  36.     subscript of the upd table.
  37. */
  38. GLOBAL TEXT *lib_files[] =
  39.     {"adsys.c", "daclose.c", "dacreate.c", "dafread.c", "daopen.c",
  40.      "daseek.c", "dawrite.c", "tmpnam.c", NULL};
  41.  
  42. /* These are the names of the BASTOC translator libraries
  43. */
  44. GLOBAL TEXT *tran_libs[NMODE] =
  45.     {"\\bastoc\\tranmbs.lib", NULL, "\\bastoc\\tranmbc.lib", NULL};
  46.  
  47. /* These are the names of the BASTOC run-time libraries
  48. */
  49. GLOBAL TEXT *lib_libs[NMODE] =
  50.     {"\\bastoc\\mbs.lib", "\\bastoc\\mbm.lib", "\\bastoc\\mbc.lib", "\\bastoc\\mbl.lib"};
  51.  
  52. /* These are the names of the C run-time libraries
  53. */
  54. GLOBAL TEXT *c_libs[NMODE] =
  55.     {NULL, NULL, NULL, NULL};
  56.  
  57. /* These are the names of the C run-time header object files
  58. */
  59. GLOBAL TEXT *c_objs[NMODE] =
  60.     {NULL, NULL, NULL, NULL};
  61. /* These are the names of the main translator object files
  62. */
  63. GLOBAL TEXT *tran_objs[NMODE] =
  64.     {"\\bastoc\\mains.obj", NULL, "\\bastoc\\mainc.obj", NULL};
  65.  
  66. /* These are the names of the executable BASTOC translators
  67. */
  68. GLOBAL TEXT *tran_pgms[NMODE] =
  69.     {"\\bastoc\\mbas.exe", NULL, "\\bastoc\\mbasc.exe", NULL};
  70.  
  71. /* These are the flags for LC1
  72. */
  73. GLOBAL TEXT *c1_flag[NMODE] =
  74.     {"/AS", "/AM", "/AC", "/AL"};
  75.  
  76. /* These are all of the flags that BASTOC knows about
  77. */
  78. GLOBAL TEXT bas_flags[] = "bcefgmnqstv";
  79.  
  80. GLOBAL BITS errors = 0;
  81. GLOBAL BOOL file_type[3] = {0};
  82. GLOBAL BOOL work_mode[NMODE] = {0};
  83. GLOBAL INT mode = 0;
  84. GLOBAL TEXT *flags = "-";
  85.