OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [opcodes/] [makefile.vms] - Blame information for rev 320

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

Line No. Rev Author Line
1 24 jeremybenn
#
2 225 jeremybenn
# Makefile for libopcodes under openVMS
3 24 jeremybenn
#
4
# For use with gnu-make for vms
5
#
6
# Created by Klaus K"ampf, kkaempf@progis.de
7
#
8
#
9 225 jeremybenn
 
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 24 jeremybenn
ARCHDEF="ARCH_alpha"
17 225 jeremybenn
endif
18
ifeq ($(ARCH),VAX)
19
OBJS=vax-dis.obj
20 24 jeremybenn
ARCHDEF="ARCH_vax"
21
endif
22
 
23 225 jeremybenn
OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj
24
 
25 24 jeremybenn
ifeq ($(CC),gcc)
26 225 jeremybenn
DEFS=/define=($(ARCHDEF))
27 24 jeremybenn
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
28
else
29 225 jeremybenn
DEFS=/define=($(ARCHDEF))
30
OPT=/noopt/debug
31
CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
32
 /name=(as_is,shortened)
33 24 jeremybenn
endif
34
 
35 225 jeremybenn
libopcodes.olb: $(OBJS)
36 24 jeremybenn
        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.