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

Subversion Repositories open8_urisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 khays
#
2
# Makefile for libopcodes under openVMS
3
#
4
# For use with gnu-make for vms
5
#
6
# Created by Klaus K"ampf, kkaempf@progis.de
7
#
8
#
9
 
10
ifeq ($(ARCH),IA64)
11
OBJS=ia64-dis.obj,ia64-opc.obj
12
ARCHDEF="ARCH_ia64"
13
endif
14
ifeq ($(ARCH),ALPHA)
15
OBJS=alpha-dis.obj,alpha-opc.obj
16
ARCHDEF="ARCH_alpha"
17
endif
18
ifeq ($(ARCH),VAX)
19
OBJS=vax-dis.obj
20
ARCHDEF="ARCH_vax"
21
endif
22
 
23
OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj
24
 
25
ifeq ($(CC),gcc)
26
DEFS=/define=($(ARCHDEF))
27
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
28
else
29
DEFS=/define=($(ARCHDEF))
30
OPT=/noopt/debug
31
CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
32
 /name=(as_is,shortened)
33
endif
34
 
35
libopcodes.olb: $(OBJS)
36
        purge
37
        lib/create libopcodes *.obj
38
 
39
clean:
40
        $$ purge
41
        $(RM) *.obj;
42
        $(RM) libopcodes.olb;

powered by: WebSVN 2.1.0

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