home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / language / bison / Old_Bison / Makefile < prev    next >
Encoding:
Makefile  |  1990-04-04  |  3.7 KB  |  157 lines

  1. # Makefile for Archimedes Bison 1.03
  2. # ----------------------------------
  3.  
  4. #   Copyright (C) 1984, 1989 Bob Corbett and Free Software Foundation, Inc.
  5. # This file is part of Bison, the GNU Compiler Compiler.
  6. # Bison is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 1, or (at your option)
  9. # any later version.
  10. # Bison is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14. # You should have received a copy of the GNU General Public License
  15. # along with Bison; see the file COPYING.  If not, write to
  16. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. # Configuration:  PARSER is the default name of the parser code, BIN is
  19. # the directory in which the executable is to be placed, and LIB is the
  20. # directory in which the parser code is to be placed.
  21.  
  22. BIN    = adfs::HardDisc4.$$.Library.Gnu
  23. LIB    = adfs::HardDisc4.$$.Lib
  24. PARSER    = Lib:Bison
  25.  
  26. LIBS = Lib:Stubs Lib:Utils
  27.  
  28. DEFS = -DPARSER="\"$(PARSER)\""
  29.  
  30. OBJ =    O.Allocate O.Closure O.Conflicts O.Derives O.Files O.Getargs \
  31.     O.Gram O.Lalr O.Lex O.Lr0 O.Main O.Nullable O.Output O.Print \
  32.     O.Reader O.Reduce O.Symtab O.Version O.Warshall
  33.  
  34. # ---------------------------------------------------------------------------
  35.  
  36. All: Bison
  37.  
  38. Clean:
  39.     $(dolines i,$(OBJ),remove $i)
  40.  
  41. Clobber: clean
  42.     remove Bison
  43.  
  44. Install: Bison
  45.     Copy Bison  $(BIN).Bison SFQ~C~V
  46.     Copy Parser $(LIB).Bison SFQ~C~V
  47.     Access $(BIN).Bison R
  48.     Access $(LIB).Bison R
  49.  
  50. Bison: $(OBJ)
  51.     Link -o Bison $(OBJ) $(LIBS)
  52.     Squeeze Bison
  53.  
  54. # This file is different to pass the parser file names to the compiler.
  55. O.Files: C.Files H.System H.Files H.New H.Gram
  56.     $(CC) $(CFLAGS) -c $(DEFS) C.Files
  57.  
  58. # ---------------------------------------------------------------------------
  59. #
  60. # The following dependencies were generated automatically. To regenerate, use
  61. # "CC -M". If you have "rh", the command
  62. #    rh -e1 -x "CC -M %s >> Deps" C.*
  63. # will generate the list in file "Deps"
  64. #
  65. # ---------------------------------------------------------------------------
  66.  
  67. o.Allocate:    C.Allocate
  68. o.Allocate:    h.system
  69. o.Closure:    C.Closure
  70. o.Closure:    h.system
  71. o.Closure:    h.machine
  72. o.Closure:    h.new
  73. o.Closure:    h.gram
  74. o.Conflicts:    C.Conflicts
  75. o.Conflicts:    h.system
  76. o.Conflicts:    h.machine
  77. o.Conflicts:    h.new
  78. o.Conflicts:    h.files
  79. o.Conflicts:    h.gram
  80. o.Conflicts:    h.state
  81. o.Derives:    C.Derives
  82. o.Derives:    h.system
  83. o.Derives:    h.new
  84. o.Derives:    h.types
  85. o.Derives:    h.gram
  86. o.Getargs:    C.Getargs
  87. o.Getargs:    h.system
  88. o.Getargs:    h.files
  89. o.Gram:    C.Gram
  90. o.Lalr:    C.Lalr
  91. o.Lalr:    h.system
  92. o.Lalr:    h.machine
  93. o.Lalr:    h.types
  94. o.Lalr:    h.state
  95. o.Lalr:    h.new
  96. o.Lalr:    h.gram
  97. o.Lex:    C.Lex
  98. o.Lex:    h.system
  99. o.Lex:    h.files
  100. o.Lex:    h.symtab
  101. o.Lex:    h.lex
  102. o.Lr0:    C.Lr0
  103. o.Lr0:    h.system
  104. o.Lr0:    h.machine
  105. o.Lr0:    h.new
  106. o.Lr0:    h.gram
  107. o.Lr0:    h.state
  108. o.Main:    C.Main
  109. o.Main:    h.system
  110. o.Main:    h.machine
  111. o.Nullable:    C.Nullable
  112. o.Nullable:    h.system
  113. o.Nullable:    h.types
  114. o.Nullable:    h.gram
  115. o.Nullable:    h.new
  116. o.Output:    C.Output
  117. o.Output:    h.system
  118. o.Output:    h.machine
  119. o.Output:    h.new
  120. o.Output:    h.files
  121. o.Output:    h.gram
  122. o.Output:    h.state
  123. o.Print:    C.Print
  124. o.Print:    h.system
  125. o.Print:    h.machine
  126. o.Print:    h.new
  127. o.Print:    h.files
  128. o.Print:    h.gram
  129. o.Print:    h.state
  130. o.Reader:    C.Reader
  131. o.Reader:    h.system
  132. o.Reader:    h.files
  133. o.Reader:    h.new
  134. o.Reader:    h.symtab
  135. o.Reader:    h.lex
  136. o.Reader:    h.gram
  137. o.Reduce:    C.Reduce
  138. o.Reduce:    h.system
  139. o.Reduce:    h.files
  140. o.Reduce:    h.gram
  141. o.Reduce:    h.machine
  142. o.Reduce:    h.new
  143. o.Symtab:    C.Symtab
  144. o.Symtab:    h.system
  145. o.Symtab:    h.new
  146. o.Symtab:    h.symtab
  147. o.Symtab:    h.gram
  148. o.Version:    C.Version
  149. o.Warshall:    C.Warshall
  150. o.Warshall:    h.system
  151. o.Warshall:    h.machine
  152.  
  153.