From 66d4501431c2754de32aa47ea6391f14ef88bcae Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 2 Jul 1998 19:02:27 +0000 Subject: [PATCH] Thu Jul 2 14:01:34 1998 Klaus Kaempf * configure.com: Add vax/vms support. * makefile.vms-in: Renamed from makefile.vms. Add substitutions now done by configure.com. --- binutils/.Sanitize | 2 +- binutils/ChangeLog | 6 ++++++ binutils/{makefile.vms => makefile.vms-in} | 23 +++++++++++++--------- 3 files changed, 21 insertions(+), 10 deletions(-) rename binutils/{makefile.vms => makefile.vms-in} (81%) diff --git a/binutils/.Sanitize b/binutils/.Sanitize index 44eda8785ea..904390c1ddc 100644 --- a/binutils/.Sanitize +++ b/binutils/.Sanitize @@ -65,7 +65,7 @@ ieee.c is-ranlib.c is-strip.c mac-binutils.r -makefile.vms +makefile.vms-in maybe-ranlib.c maybe-strip.c mpw-config.in diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 83f5672e698..104c438b165 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 2 14:01:34 1998 Klaus Kaempf + + * configure.com: Add vax/vms support. + * makefile.vms-in: Renamed from makefile.vms. Add substitutions + now done by configure.com. + Wed Jul 1 20:43:52 1998 Ian Lance Taylor * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed diff --git a/binutils/makefile.vms b/binutils/makefile.vms-in similarity index 81% rename from binutils/makefile.vms rename to binutils/makefile.vms-in index 817855ed33f..a809d1b13cd 100644 --- a/binutils/makefile.vms +++ b/binutils/makefile.vms-in @@ -1,27 +1,29 @@ # -# Makefile for binutils under openVMS/Alpha +# Makefile for binutils under openVMS (Alpha and Vax) # # For use with gnu-make for vms # -# Created by Klaus K"ampf, kkaempf@progis.de +# Created by Klaus K"ampf, kkaempf@rmi.de # # # Distribution version, filled in by configure.com -VERSION= +VERSION=@VERSION@ -TARGET=""evax-alpha"" +ifeq ($(ARCH),ALPHA) +TARGET=""vms-alpha"" +else +TARGET=""vms-vax"" +endif ifeq ($(CC),gcc) CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS) DEFS=/define=("TARGET=$(TARGET)") LIBS=,gnu_cc_library:libgcc/lib,sys$$library:vaxcrtl.olb/lib,gnu_cc_library:crt0.obj else -CFLAGS=/noopt/nodebug/include=([],[-.include],[-.bfd])$(DEFS)/warnings=disable=(missingreturn,implicitfunc) -DEFS=/define=("TARGET=$(TARGET)",\ -"const=","unlink=remove",\ -"_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\ -"_bfd_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec") +CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\ +/warnings=disable=(missingreturn,implicitfunc,longextern) +DEFS=/define=("TARGET=$(TARGET)","const=","unlink=remove") LIBS=,sys$$library:vaxcrtl.olb/lib endif @@ -90,4 +92,7 @@ clean: $$ purge $(RM) *.obj; $(RM) *.exe; + +distclean: clean $(RM) config.h; + $(RM) makefile.vms; -- 2.30.2