OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [binutils/] [makefile.vms] - Blame information for rev 299

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 khays
#
2 148 khays
# Makefile for binutils under openVMS (Alpha and Itanium)
3 15 khays
#
4
# For use with gnu-make for vms
5
#
6 148 khays
# Created by Klaus Kaempf, kkaempf@rmi.de
7 15 khays
#
8
#
9
 
10 148 khays
DEFS=/define=("OBJDUMP_PRIVATE_VECTORS=")
11 15 khays
OPT=/noopt/debug
12
CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
13
 /name=(as_is,shortened)\
14
 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))\
15
 /warns=(info=(ptrmismatch,shiftcount))
16
 
17
LIBBFD = [-.bfd]libbfd.olb/lib
18
LIBBFD_DEP = [-.bfd]libbfd.olb
19
LIBIBERTY_DEP = [-.libiberty]libiberty.olb
20
LIBIBERTY = [-.libiberty]libiberty.olb/lib
21
OPCODES_DEP = [-.opcodes]libopcodes.olb
22
OPCODES = [-.opcodes]libopcodes.olb/lib
23
 
24
DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj,\
25
  elfcomm.obj
26
 
27
BULIBS = bucomm.obj,version.obj,filemode.obj
28
 
29
ADDL_DEPS = $(BULIBS),$(LIBBFD_DEP),$(LIBIBERTY_DEP)
30
ADDL_LIBS = $(BULIBS),$(LIBBFD),$(LIBIBERTY)
31
 
32
SIZEOBJS = $(ADDL_DEPS),size.obj
33
 
34
STRINGSOBJS = $(ADDL_DEPS),strings.obj
35
 
36
NMOBJS = $(ADDL_DEPS),nm.obj
37
 
38
ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj
39
 
40
OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP)
41
 
42
READELFOBJS = readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_DEPS)
43
 
44
all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe
45
 
46
size.exe: $(SIZEOBJS)
47
        link/exe=$@ size.obj,$(ADDL_LIBS)
48
 
49
strings.exe: $(STRINGSOBJS)
50
        link/exe=$@ strings.obj,$(ADDL_LIBS)
51
 
52
nm.exe: $(NMOBJS)
53
        link/exe=$@ nm.obj,$(ADDL_LIBS)
54
 
55
addr2line.exe: $(ADDR2LINEOBJS)
56
        link/exe=$@ addr2line.obj,$(ADDL_LIBS)
57
 
58
objdump.exe: $(OBJDUMPOBJS)
59
        link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(OPCODES)
60
 
61
readelf.exe: $(READELFOBJS)
62
        link/exe=$@ readelf.obj,dwarf.obj,unwind-ia64.obj,$(ADDL_LIBS)
63
 
64
config.h:
65
        $$ @configure
66
        $(MAKE) -f makefile.vms "CC=$(CC)"
67
 
68
clean:
69
        $$ purge
70
        $(RM) *.obj;
71
        $(RM) *.exe;
72
 
73
distclean: clean
74
        $(RM) config.h;
75
        $(RM) makefile.vms;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.