X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fmakefile.vms;h=23fa84c9e771743d7594846eacc0503ca59acf5b;hb=0ac553107c601cc9c4c340338e0fc7e0ce8375cc;hp=d6f185704a357f60edfe18c3370f01068221bfdc;hpb=d34089166b3e7b60151752997db33c3f28016349;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/makefile.vms b/binutils/makefile.vms index d6f185704a..23fa84c9e7 100644 --- a/binutils/makefile.vms +++ b/binutils/makefile.vms @@ -1,23 +1,33 @@ # -# Makefile for binutils under openVMS (Alpha and Vax) +# Makefile for binutils under openVMS (Alpha and Itanium) # # For use with gnu-make for vms # -# Created by Klaus K"ampf, kkaempf@rmi.de +# Created by Klaus Kaempf, kkaempf@rmi.de # +# Copyright (C) 2012-2020 Free Software Foundation, Inc. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING3. If not see +# . # -ifeq ($(CC),gcc) -DEFS= -CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS) -LIBS=,gnu_cc_library:libgcc/lib,sys$$library:vaxcrtl.olb/lib,gnu_cc_library:crt0.obj -else -DEFS= +DEFS=/define=("OBJDUMP_PRIVATE_VECTORS=") OPT=/noopt/debug CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\ /name=(as_is,shortened)\ - /prefix=(all,except=("getopt","optarg","optopt","optind","opterr")) -endif + /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))\ + /warns=(info=(ptrmismatch,shiftcount)) LIBBFD = [-.bfd]libbfd.olb/lib LIBBFD_DEP = [-.bfd]libbfd.olb @@ -26,7 +36,8 @@ LIBIBERTY = [-.libiberty]libiberty.olb/lib OPCODES_DEP = [-.opcodes]libopcodes.olb OPCODES = [-.opcodes]libopcodes.olb/lib -DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj +DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,rdcoff.obj,dwarf.obj,\ + elfcomm.obj BULIBS = bucomm.obj,version.obj,filemode.obj @@ -43,6 +54,8 @@ ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP) +READELFOBJS = readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_DEPS) + all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe size.exe: $(SIZEOBJS) @@ -58,7 +71,10 @@ addr2line.exe: $(ADDR2LINEOBJS) link/exe=$@ addr2line.obj,$(ADDL_LIBS) objdump.exe: $(OBJDUMPOBJS) - link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(LIBBFD),$(OPCODES) + link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(OPCODES) + +readelf.exe: $(READELFOBJS) + link/exe=$@ readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_LIBS) config.h: $$ @configure