gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / binutils / makefile.vms
CommitLineData
252b5132 1#
516ec24d 2# Makefile for binutils under openVMS (Alpha and Itanium)
252b5132
RH
3#
4# For use with gnu-make for vms
5#
516ec24d 6# Created by Klaus Kaempf, kkaempf@rmi.de
252b5132 7#
b3adc24a 8# Copyright (C) 2012-2020 Free Software Foundation, Inc.
5bf135a7
NC
9#
10# This file is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 3 of the License, or
13# (at your option) any later version.
3aade688 14#
5bf135a7
NC
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
3aade688 19#
5bf135a7
NC
20# You should have received a copy of the GNU General Public License
21# along with this program; see the file COPYING3. If not see
22# <http://www.gnu.org/licenses/>.
252b5132
RH
23#
24
516ec24d 25DEFS=/define=("OBJDUMP_PRIVATE_VECTORS=")
c5ac1056 26OPT=/noopt/debug
e06ae0d4 27CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
c5ac1056 28 /name=(as_is,shortened)\
6cdb8d82
TG
29 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))\
30 /warns=(info=(ptrmismatch,shiftcount))
252b5132 31
e06ae0d4
TG
32LIBBFD = [-.bfd]libbfd.olb/lib
33LIBBFD_DEP = [-.bfd]libbfd.olb
252b5132
RH
34LIBIBERTY_DEP = [-.libiberty]libiberty.olb
35LIBIBERTY = [-.libiberty]libiberty.olb/lib
36OPCODES_DEP = [-.opcodes]libopcodes.olb
37OPCODES = [-.opcodes]libopcodes.olb/lib
38
fdef3943 39DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,rdcoff.obj,dwarf.obj,\
083faca9 40 elfcomm.obj
252b5132 41
e06ae0d4 42BULIBS = bucomm.obj,version.obj,filemode.obj
252b5132 43
e06ae0d4
TG
44ADDL_DEPS = $(BULIBS),$(LIBBFD_DEP),$(LIBIBERTY_DEP)
45ADDL_LIBS = $(BULIBS),$(LIBBFD),$(LIBIBERTY)
252b5132
RH
46
47SIZEOBJS = $(ADDL_DEPS),size.obj
48
49STRINGSOBJS = $(ADDL_DEPS),strings.obj
50
51NMOBJS = $(ADDL_DEPS),nm.obj
52
c5ac1056
TG
53ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj
54
d3408916 55OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP)
252b5132 56
545f57c6
TG
57READELFOBJS = readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_DEPS)
58
c5ac1056 59all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe
252b5132
RH
60
61size.exe: $(SIZEOBJS)
e06ae0d4 62 link/exe=$@ size.obj,$(ADDL_LIBS)
252b5132
RH
63
64strings.exe: $(STRINGSOBJS)
e06ae0d4 65 link/exe=$@ strings.obj,$(ADDL_LIBS)
252b5132
RH
66
67nm.exe: $(NMOBJS)
e06ae0d4 68 link/exe=$@ nm.obj,$(ADDL_LIBS)
252b5132 69
c5ac1056 70addr2line.exe: $(ADDR2LINEOBJS)
e06ae0d4 71 link/exe=$@ addr2line.obj,$(ADDL_LIBS)
c5ac1056 72
252b5132 73objdump.exe: $(OBJDUMPOBJS)
545f57c6
TG
74 link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(OPCODES)
75
76readelf.exe: $(READELFOBJS)
77 link/exe=$@ readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_LIBS)
252b5132 78
252b5132
RH
79config.h:
80 $$ @configure
81 $(MAKE) -f makefile.vms "CC=$(CC)"
82
252b5132
RH
83clean:
84 $$ purge
85 $(RM) *.obj;
86 $(RM) *.exe;
87
88distclean: clean
89 $(RM) config.h;
90 $(RM) makefile.vms;
This page took 0.785342 seconds and 4 git commands to generate.