* makefile.vms: Update to build binutils/makefile.vms. Add install
target.
+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
Wed Jul 1 18:52:40 1998 Doug Evans <devans@seba.cygnus.com>
start-sanitize-cygnus
Wed Jul 1 18:52:40 1998 Doug Evans <devans@seba.cygnus.com>
#
# 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
#
#
+
+ifeq ($(ARCH),ALPHA)
+CC = gcc
+GASCC = $(CC)
+else
+CC = cc
+GASCC = gcc
+endif
ifeq ($(CC),cc)
CHECK-COMPILER = check_compiler
ifeq ($(CC),cc)
CHECK-COMPILER = check_compiler
-all: check_cc $(CHECK-COMPILER)
+all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
$(CD) [.bfd]
@gmake "CC=$(CC)"
$(CD) [-.opcodes]
$(CD) [.bfd]
@gmake "CC=$(CC)"
$(CD) [-.opcodes]
$(CD) [-.binutils]
@gmake "CC=$(CC)"
$(CD) [-.gas]
$(CD) [-.binutils]
@gmake "CC=$(CC)"
$(CD) [-.gas]
check_compiler:
@$(ECHO) "Perform a '$$ @setup' before starting make"
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) [-]
+