Thu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de>

* makefile.vms: Update to build binutils/makefile.vms.  Add install
	target.
This commit is contained in:
Ian Lance Taylor 1998-07-02 19:03:37 +00:00
parent 66d4501431
commit 57e66bdb83
2 changed files with 40 additions and 15 deletions

View file

@ -1,3 +1,8 @@
Thu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de>
* makefile.vms: Update to build binutils/makefile.vms. Add install
target.
start-sanitize-cygnus start-sanitize-cygnus
Wed Jul 1 18:52:40 1998 Doug Evans <devans@seba.cygnus.com> Wed Jul 1 18:52:40 1998 Doug Evans <devans@seba.cygnus.com>

View file

@ -1,12 +1,19 @@
# #
# makefile for bfd, binutils and gas # 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 # 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) ifeq ($(CC),cc)
CHECK-COMPILER = check_compiler CHECK-COMPILER = check_compiler
@ -14,7 +21,7 @@ else
CHECK-COMPILER = CHECK-COMPILER =
endif endif
all: check_cc $(CHECK-COMPILER) all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
$(CD) [.bfd] $(CD) [.bfd]
@gmake "CC=$(CC)" @gmake "CC=$(CC)"
$(CD) [-.opcodes] $(CD) [-.opcodes]
@ -24,7 +31,7 @@ all: check_cc $(CHECK-COMPILER)
$(CD) [-.binutils] $(CD) [-.binutils]
@gmake "CC=$(CC)" @gmake "CC=$(CC)"
$(CD) [-.gas] $(CD) [-.gas]
@gmake "CC=$(CC)" @gmake "CC=$(GASCC)"
$(CD) [-] $(CD) [-]
check_cc: check_cc:
@ -36,16 +43,29 @@ endif
check_compiler: check_compiler:
@$(ECHO) "Perform a '$$ @setup' before starting make" @$(ECHO) "Perform a '$$ @setup' before starting make"
clean: [.binutils]makefile.vms:
$(CD) [.bfd] $(CD) [.binutils]
gmake clean $$ @configure
$(CD) [-.opcodes] $(CD) [-]
gmake clean
$(CD) [-.libiberty] install: all
gmake clean $(CD) [.binutils]
$(CD) [-.binutils] @gmake "CC=$(CC)" install
gmake clean $(CD) [-]
$(CD) [-.gas] $(CD) [.gas]
gmake clean @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) [-] $(CD) [-]