diff options
| author | mrg <mrg@NetBSD.org> | 2003-11-26 12:29:43 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2003-11-26 12:29:43 +0000 |
| commit | ebf56cd11ffaa822d4d26d952f83db138a7227ff (patch) | |
| tree | f2e0c0e6e80901f36ca731103ec91a7e90232d64 /gnu/dist/binutils/makefile.vms | |
| parent | ae462c19db3c87163b43a5f78f1b33526fb69b2a (diff) | |
re-add binutils 2.14 files.
Diffstat (limited to 'gnu/dist/binutils/makefile.vms')
| -rw-r--r-- | gnu/dist/binutils/makefile.vms | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/gnu/dist/binutils/makefile.vms b/gnu/dist/binutils/makefile.vms new file mode 100644 index 00000000000..a9e363403b5 --- /dev/null +++ b/gnu/dist/binutils/makefile.vms @@ -0,0 +1,71 @@ +# +# makefile for bfd, binutils and gas +# +# Created by Klaus K"ampf (kkaempf@rmi.de) +# +# 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 +else + CHECK-COMPILER = +endif + +all: check_cc $(CHECK-COMPILER) [.binutils]makefile.vms + $(CD) [.bfd] + @gmake "CC=$(CC)" + $(CD) [-.opcodes] + @gmake "CC=$(CC)" + $(CD) [-.libiberty] + @gmake "CC=$(CC)" + $(CD) [-.binutils] + @gmake "CC=$(CC)" + $(CD) [-.gas] + @gmake "CC=$(GASCC)" + $(CD) [-] + +check_cc: +ifeq ($CC,) + @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler." + stop +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 + $(CD) [-.opcodes] + @gmake clean + $(CD) [-.libiberty] + @gmake clean + $(CD) [-.binutils] + @gmake clean + $(CD) [-.gas] + @gmake clean + $(CD) [-] + |
