home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-04-04 | 3.7 KB | 157 lines |
- # Makefile for Archimedes Bison 1.03
- # ----------------------------------
-
- # Copyright (C) 1984, 1989 Bob Corbett and Free Software Foundation, Inc.
- #
- # This file is part of Bison, the GNU Compiler Compiler.
- #
- # Bison is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 1, or (at your option)
- # any later version.
- #
- # Bison is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with Bison; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
- # Configuration: PARSER is the default name of the parser code, BIN is
- # the directory in which the executable is to be placed, and LIB is the
- # directory in which the parser code is to be placed.
-
- BIN = adfs::HardDisc4.$$.Library.Gnu
- LIB = adfs::HardDisc4.$$.Lib
- PARSER = Lib:Bison
-
- LIBS = Lib:Stubs Lib:Utils
-
- DEFS = -DPARSER="\"$(PARSER)\""
-
- OBJ = O.Allocate O.Closure O.Conflicts O.Derives O.Files O.Getargs \
- O.Gram O.Lalr O.Lex O.Lr0 O.Main O.Nullable O.Output O.Print \
- O.Reader O.Reduce O.Symtab O.Version O.Warshall
-
- # ---------------------------------------------------------------------------
-
- All: Bison
-
- Clean:
- $(dolines i,$(OBJ),remove $i)
-
- Clobber: clean
- remove Bison
-
- Install: Bison
- Copy Bison $(BIN).Bison SFQ~C~V
- Copy Parser $(LIB).Bison SFQ~C~V
- Access $(BIN).Bison R
- Access $(LIB).Bison R
-
- Bison: $(OBJ)
- Link -o Bison $(OBJ) $(LIBS)
- Squeeze Bison
-
- # This file is different to pass the parser file names to the compiler.
- O.Files: C.Files H.System H.Files H.New H.Gram
- $(CC) $(CFLAGS) -c $(DEFS) C.Files
-
- # ---------------------------------------------------------------------------
- #
- # The following dependencies were generated automatically. To regenerate, use
- # "CC -M". If you have "rh", the command
- # rh -e1 -x "CC -M %s >> Deps" C.*
- # will generate the list in file "Deps"
- #
- # ---------------------------------------------------------------------------
-
- o.Allocate: C.Allocate
- o.Allocate: h.system
- o.Closure: C.Closure
- o.Closure: h.system
- o.Closure: h.machine
- o.Closure: h.new
- o.Closure: h.gram
- o.Conflicts: C.Conflicts
- o.Conflicts: h.system
- o.Conflicts: h.machine
- o.Conflicts: h.new
- o.Conflicts: h.files
- o.Conflicts: h.gram
- o.Conflicts: h.state
- o.Derives: C.Derives
- o.Derives: h.system
- o.Derives: h.new
- o.Derives: h.types
- o.Derives: h.gram
- o.Getargs: C.Getargs
- o.Getargs: h.system
- o.Getargs: h.files
- o.Gram: C.Gram
- o.Lalr: C.Lalr
- o.Lalr: h.system
- o.Lalr: h.machine
- o.Lalr: h.types
- o.Lalr: h.state
- o.Lalr: h.new
- o.Lalr: h.gram
- o.Lex: C.Lex
- o.Lex: h.system
- o.Lex: h.files
- o.Lex: h.symtab
- o.Lex: h.lex
- o.Lr0: C.Lr0
- o.Lr0: h.system
- o.Lr0: h.machine
- o.Lr0: h.new
- o.Lr0: h.gram
- o.Lr0: h.state
- o.Main: C.Main
- o.Main: h.system
- o.Main: h.machine
- o.Nullable: C.Nullable
- o.Nullable: h.system
- o.Nullable: h.types
- o.Nullable: h.gram
- o.Nullable: h.new
- o.Output: C.Output
- o.Output: h.system
- o.Output: h.machine
- o.Output: h.new
- o.Output: h.files
- o.Output: h.gram
- o.Output: h.state
- o.Print: C.Print
- o.Print: h.system
- o.Print: h.machine
- o.Print: h.new
- o.Print: h.files
- o.Print: h.gram
- o.Print: h.state
- o.Reader: C.Reader
- o.Reader: h.system
- o.Reader: h.files
- o.Reader: h.new
- o.Reader: h.symtab
- o.Reader: h.lex
- o.Reader: h.gram
- o.Reduce: C.Reduce
- o.Reduce: h.system
- o.Reduce: h.files
- o.Reduce: h.gram
- o.Reduce: h.machine
- o.Reduce: h.new
- o.Symtab: C.Symtab
- o.Symtab: h.system
- o.Symtab: h.new
- o.Symtab: h.symtab
- o.Symtab: h.gram
- o.Version: C.Version
- o.Warshall: C.Warshall
- o.Warshall: h.system
- o.Warshall: h.machine
-
-