* breakpoint.c (addr_string_to_sals): Avoid uninitialized
[deliverable/binutils-gdb.git] / binutils / makefile.vms
CommitLineData
252b5132
RH
1#
2# Makefile for binutils under openVMS (Alpha and Vax)
3#
4# For use with gnu-make for vms
5#
6# Created by Klaus K"ampf, kkaempf@rmi.de
7#
8#
9
252b5132 10ifeq ($(CC),gcc)
c5ac1056 11DEFS=
252b5132 12CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
252b5132
RH
13LIBS=,gnu_cc_library:libgcc/lib,sys$$library:vaxcrtl.olb/lib,gnu_cc_library:crt0.obj
14else
c5ac1056
TG
15DEFS=
16OPT=/noopt/debug
e06ae0d4 17CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
c5ac1056 18 /name=(as_is,shortened)\
6cdb8d82
TG
19 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))\
20 /warns=(info=(ptrmismatch,shiftcount))
252b5132
RH
21endif
22
e06ae0d4
TG
23LIBBFD = [-.bfd]libbfd.olb/lib
24LIBBFD_DEP = [-.bfd]libbfd.olb
252b5132
RH
25LIBIBERTY_DEP = [-.libiberty]libiberty.olb
26LIBIBERTY = [-.libiberty]libiberty.olb/lib
27OPCODES_DEP = [-.opcodes]libopcodes.olb
28OPCODES = [-.opcodes]libopcodes.olb/lib
29
083faca9
TG
30DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj,\
31 elfcomm.obj
252b5132 32
e06ae0d4 33BULIBS = bucomm.obj,version.obj,filemode.obj
252b5132 34
e06ae0d4
TG
35ADDL_DEPS = $(BULIBS),$(LIBBFD_DEP),$(LIBIBERTY_DEP)
36ADDL_LIBS = $(BULIBS),$(LIBBFD),$(LIBIBERTY)
252b5132
RH
37
38SIZEOBJS = $(ADDL_DEPS),size.obj
39
40STRINGSOBJS = $(ADDL_DEPS),strings.obj
41
42NMOBJS = $(ADDL_DEPS),nm.obj
43
c5ac1056
TG
44ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj
45
d3408916 46OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP)
252b5132 47
c5ac1056 48all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe
252b5132
RH
49
50size.exe: $(SIZEOBJS)
e06ae0d4 51 link/exe=$@ size.obj,$(ADDL_LIBS)
252b5132
RH
52
53strings.exe: $(STRINGSOBJS)
e06ae0d4 54 link/exe=$@ strings.obj,$(ADDL_LIBS)
252b5132
RH
55
56nm.exe: $(NMOBJS)
e06ae0d4 57 link/exe=$@ nm.obj,$(ADDL_LIBS)
252b5132 58
c5ac1056 59addr2line.exe: $(ADDR2LINEOBJS)
e06ae0d4 60 link/exe=$@ addr2line.obj,$(ADDL_LIBS)
c5ac1056 61
252b5132 62objdump.exe: $(OBJDUMPOBJS)
d3408916 63 link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(LIBBFD),$(OPCODES)
252b5132 64
252b5132
RH
65config.h:
66 $$ @configure
67 $(MAKE) -f makefile.vms "CC=$(CC)"
68
252b5132
RH
69clean:
70 $$ purge
71 $(RM) *.obj;
72 $(RM) *.exe;
73
74distclean: clean
75 $(RM) config.h;
76 $(RM) makefile.vms;
This page took 0.463742 seconds and 4 git commands to generate.