diff --git a/ChangeLog b/ChangeLog index f2f93f7ed7..e1269dab8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 2 13:57:36 1998 Klaus Kaempf + + * makefile.vms: Update to build binutils/makefile.vms. Add install + target. + start-sanitize-cygnus Wed Jul 1 18:52:40 1998 Doug Evans diff --git a/makefile.vms b/makefile.vms index 01b54d0cb1..a9e363403b 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" -clean: - $(CD) [.bfd] - gmake clean - $(CD) [-.opcodes] - gmake clean - $(CD) [-.libiberty] - gmake clean - $(CD) [-.binutils] - gmake clean - $(CD) [-.gas] - gmake clean +[.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 + $(CD) [-.opcodes] + @gmake clean + $(CD) [-.libiberty] + @gmake clean + $(CD) [-.binutils] + @gmake clean + $(CD) [-.gas] + @gmake clean $(CD) [-]