It is SYMTAB, not STMTAB.
[deliverable/binutils-gdb.git] / opcodes / makefile.vms
CommitLineData
252b5132
RH
1#
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#
9ifeq ($(ARCH),alpha)
10OBJS=alpha-dis.obj,alpha-opc.obj,dis-buf.obj,disassemble.obj
11FORMAT=OBJ_EVAX
12ARCHDEF="ARCH_alpha"
13else
14OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj
15FORMAT=OBJ_VAX
16ARCHDEF="ARCH_vax"
17endif
18
19ifeq ($(CC),gcc)
20DEFS=/define=($(FORMAT))
21CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
22else
23DEFS=/define=($(FORMAT),"const=")
24CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
25/warnings=disable=(missingreturn,implicitfunc,longextern)
26endif
27
28libopcodes.olb: sysdep.h $(OBJS)
29 purge
30 lib/create libopcodes *.obj
31
32disassemble.obj: disassemble.c
33 $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
34
35sysdep.h: [-.bfd.hosts]$(ARCH)vms.h
36 $(CP) $< $@
37
38clean:
39 $$ purge
40 $(RM) *.obj;
41 $(RM) sysdep.h;
42 $(RM) libopcodes.olb;
This page took 0.06569 seconds and 4 git commands to generate.