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-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),"const=")
24 CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
25 /warnings=disable=(missingreturn,implicitfunc,longextern)
28 libopcodes.olb: sysdep.h $(OBJS)
30 lib/create libopcodes *.obj
32 disassemble.obj: disassemble.c
33 $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
35 sysdep.h: [-.bfd.hosts]$(ARCH)vms.h