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

Subversion Repositories open8_urisc

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

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

Line No. Rev Author Line
1 14 khays
#
2
# Makefile for bfd library under openVMS
3
#
4
# For use with gnu-make for vms
5
#
6
# Created by Klaus K"ampf, kkaempf@rmi.de
7
#
8
#
9
 
10
ifeq ($(ARCH),IA64)
11
HOSTFILE=alphavms.h
12
OBJS:=cpu-ia64.obj,elf64-ia64.obj,\
13
  vms-misc.obj,vms-lib.obj,elf-strtab.obj,corefile.obj,stabs.obj,\
14
  merge.obj,elf-eh-frame.obj,elflink.obj,elf-attrs.obj,dwarf1.obj,elf64.obj
15
DEFS=SELECT_VECS="&bfd_elf64_ia64_vms_vec",\
16
 SELECT_ARCHITECTURES="&bfd_ia64_arch","HAVE_bfd_elf64_ia64_vms_vec"=1
17
endif
18
ifeq ($(ARCH),ALPHA)
19
HOSTFILE=alphavms.h
20
OBJS:=vms-alpha.obj,vms-lib.obj,vms-misc.obj,cpu-alpha.obj
21
DEFS=SELECT_VECS="&vms_alpha_vec",SELECT_ARCHITECTURES="&bfd_alpha_arch"
22
endif
23
ifeq ($(ARCH),VAX)
24
HOSTFILE=vaxvms.h
25
OBJS:=vms.obj,vms-hdr.obj,vms-gsd.obj,vms-tir.obj,vms-misc.obj,cpu-vax.obj
26
DEFS=SELECT_VECS="&vms_vax_vec",SELECT_ARCHITECTURES="&bfd_vax_arch"
27
endif
28
 
29
OBJS:=$(OBJS),archive.obj,archive64.obj,archures.obj,bfd.obj,bfdio.obj,\
30
  binary.obj,cache.obj,coffgen.obj,compress.obj,corefile.obj,dwarf2.obj,\
31
  elf.obj,format.obj,hash.obj,ihex.obj,init.obj,libbfd.obj,linker.obj,\
32
  opncls.obj,reloc.obj,section.obj,simple.obj,srec.obj,stab-syms.obj,\
33
  syms.obj,targets.obj,tekhex.obj,verilog.obj
34
 
35
ifeq ($(CC),gcc)
36
CFLAGS=/include=([],[-.include])$(DEFS)
37
else
38
OPT=/noopt/debug
39
CFLAGS=/name=(as_is,shortened)/include=([],"../include")\
40
 /define=("unlink=remove",DEBUGDIR="""GNU$$DEBUGDIR:""",$(DEFS))\
41
 /warns=(infor=(missingreturn,badansialias))$(OPT)
42
endif
43
 
44
libbfd.olb: $(OBJS)
45
        purge
46
        lib/create libbfd $(OBJS)
47
 
48
targmatch.h: bfd.h
49
config.h: bfd.h
50
vms-misc.c: vms.h
51
targets.c: targmatch.h
52
 
53
clean:
54
        $$ purge
55
        $(RM) libbfd.olb;
56
        $(RM) *.obj;

powered by: WebSVN 2.1.0

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