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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [binutils/] [makefile.vms] - Blame information for rev 861

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

Line No. Rev Author Line
1 205 julius
#
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
 
10
ifeq ($(CC),gcc)
11
DEFS=
12
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
13
LIBS=,gnu_cc_library:libgcc/lib,sys$$library:vaxcrtl.olb/lib,gnu_cc_library:crt0.obj
14
else
15
DEFS=
16
OPT=/noopt/debug
17
CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
18
 /name=(as_is,shortened)\
19
 /prefix=(all,except=("getopt","optarg","optopt","optind","opterr"))
20
endif
21
 
22
LIBBFD = [-.bfd]libbfd.olb/lib
23
LIBBFD_DEP = [-.bfd]libbfd.olb
24
LIBIBERTY_DEP = [-.libiberty]libiberty.olb
25
LIBIBERTY = [-.libiberty]libiberty.olb/lib
26
OPCODES_DEP = [-.opcodes]libopcodes.olb
27
OPCODES = [-.opcodes]libopcodes.olb/lib
28
 
29
DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj,dwarf.obj
30
 
31
BULIBS = bucomm.obj,version.obj,filemode.obj
32
 
33
ADDL_DEPS = $(BULIBS),$(LIBBFD_DEP),$(LIBIBERTY_DEP)
34
ADDL_LIBS = $(BULIBS),$(LIBBFD),$(LIBIBERTY)
35
 
36
SIZEOBJS = $(ADDL_DEPS),size.obj
37
 
38
STRINGSOBJS = $(ADDL_DEPS),strings.obj
39
 
40
NMOBJS = $(ADDL_DEPS),nm.obj
41
 
42
ADDR2LINEOBJS = $(ADDL_DEPS),addr2line.obj
43
 
44
OBJDUMPOBJS = objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_DEPS),$(OPCODES_DEP)
45
 
46
all: config.h size.exe strings.exe objdump.exe nm.exe addr2line.exe
47
 
48
size.exe: $(SIZEOBJS)
49
        link/exe=$@ size.obj,$(ADDL_LIBS)
50
 
51
strings.exe: $(STRINGSOBJS)
52
        link/exe=$@ strings.obj,$(ADDL_LIBS)
53
 
54
nm.exe: $(NMOBJS)
55
        link/exe=$@ nm.obj,$(ADDL_LIBS)
56
 
57
addr2line.exe: $(ADDR2LINEOBJS)
58
        link/exe=$@ addr2line.obj,$(ADDL_LIBS)
59
 
60
objdump.exe: $(OBJDUMPOBJS)
61
        link/exe=$@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(ADDL_LIBS),$(LIBBFD),$(OPCODES)
62
 
63
config.h:
64
        $$ @configure
65
        $(MAKE) -f makefile.vms "CC=$(CC)"
66
 
67
clean:
68
        $$ purge
69
        $(RM) *.obj;
70
        $(RM) *.exe;
71
 
72
distclean: clean
73
        $(RM) config.h;
74
        $(RM) makefile.vms;

powered by: WebSVN 2.1.0

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