diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-07-02 19:03:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-07-02 19:03:37 +0000 |
commit | 57e66bdb83a6185e901aa4a5d21d4fdce79b0659 (patch) | |
tree | e3e29a15368d67fb2438ba5f1ccfdd544f86469f /makefile.vms | |
parent | 66d4501431c2754de32aa47ea6391f14ef88bcae (diff) | |
download | gdb-57e66bdb83a6185e901aa4a5d21d4fdce79b0659.zip gdb-57e66bdb83a6185e901aa4a5d21d4fdce79b0659.tar.gz gdb-57e66bdb83a6185e901aa4a5d21d4fdce79b0659.tar.bz2 |
Thu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de>
* makefile.vms: Update to build binutils/makefile.vms. Add install
target.
Diffstat (limited to 'makefile.vms')
-rw-r--r-- | makefile.vms | 38 |
1 files changed, 29 insertions, 9 deletions
diff --git a/makefile.vms b/makefile.vms index 01b54d0..a9e3634 100644 --- a/makefile.vms +++ b/makefile.vms @@ -1,12 +1,19 @@ # # makefile for bfd, binutils and gas # -# Created by Klaus K"ampf (kkaempf@progis.de) +# Created by Klaus K"ampf (kkaempf@rmi.de) # # You must use Version 3.76 of GNU Make # # -CC = + +ifeq ($(ARCH),ALPHA) +CC = gcc +GASCC = $(CC) +else +CC = cc +GASCC = gcc +endif ifeq ($(CC),cc) CHECK-COMPILER = check_compiler @@ -14,7 +21,7 @@ else CHECK-COMPILER = endif -all: check_cc $(CHECK-COMPILER) +all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms $(CD) [.bfd] @gmake "CC=$(CC)" $(CD) [-.opcodes] @@ -24,7 +31,7 @@ all: check_cc $(CHECK-COMPILER) $(CD) [-.binutils] @gmake "CC=$(CC)" $(CD) [-.gas] - @gmake "CC=$(CC)" + @gmake "CC=$(GASCC)" $(CD) [-] check_cc: @@ -36,16 +43,29 @@ endif check_compiler: @$(ECHO) "Perform a '$$ @setup' before starting make" +[.binutils]makefile.vms: + $(CD) [.binutils] + $$ @configure + $(CD) [-] + +install: all + $(CD) [.binutils] + @gmake "CC=$(CC)" install + $(CD) [-] + $(CD) [.gas] + @gmake "CC=$(GASCC)" install + $(CD) [-] + clean: $(CD) [.bfd] - gmake clean + @gmake clean $(CD) [-.opcodes] - gmake clean + @gmake clean $(CD) [-.libiberty] - gmake clean + @gmake clean $(CD) [-.binutils] - gmake clean + @gmake clean $(CD) [-.gas] - gmake clean + @gmake clean $(CD) [-] |