+Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
+
+ * 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 <ian@cygnus.com>
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
#
-# 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
$$ purge
$(RM) *.obj;
$(RM) *.exe;
+
+distclean: clean
$(RM) config.h;
+ $(RM) makefile.vms;