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 157

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

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

powered by: WebSVN 2.1.0

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