readelf: increase size of static buffers
[deliverable/binutils-gdb.git] / binutils / makefile.vms
index 888e4fd36200f3406f9be453f8dc994339a56460..23fa84c9e771743d7594846eacc0503ca59acf5b 100644 (file)
@@ -1,24 +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
+# <http://www.gnu.org/licenses/>.
 #
 
-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"))\
  /warns=(info=(ptrmismatch,shiftcount))
-endif
 
 LIBBFD = [-.bfd]libbfd.olb/lib
 LIBBFD_DEP = [-.bfd]libbfd.olb
@@ -27,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
 
@@ -44,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)
@@ -59,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
This page took 0.032689 seconds and 4 git commands to generate.