2 # Makefile for libopcodes under openVMS VAX and Alpha
4 # For use with gnu-make for vms
6 # Created by Klaus K"ampf, kkaempf@progis.de
10 OBJS=alpha-dis.obj,alpha-opc.obj,dis-init.obj,dis-buf.obj,disassemble.obj
14 OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj
20 DEFS=/define=($(FORMAT))
21 CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
23 DEFS=/define=($(FORMAT))
25 CFLAGS=$(OPT)/include=([],[-.include],[-.bfd])$(DEFS)\
26 /name=(as_is,shortened)
29 libopcodes.olb: sysdep.h $(OBJS)
31 lib/create libopcodes *.obj
33 disassemble.obj: disassemble.c
34 $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
36 sysdep.h: [-.bfd.hosts]$(ARCH)vms.h