* hppa.h (pa_opcodes): Change fmpyfadd, fmpynfadd, fneg,
[binutils.git] / opcodes / makefile.vms
blobfc8704831e05379e0e2dbbe248c0da1549b9ee6c
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
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
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
28 libopcodes.olb: sysdep.h $(OBJS)
29         purge
30         lib/create libopcodes *.obj
32 disassemble.obj: disassemble.c
33         $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
35 sysdep.h: [-.bfd.hosts]$(ARCH)vms.h
36         $(CP) $< $@
38 clean:
39         $$ purge
40         $(RM) *.obj;
41         $(RM) sysdep.h;
42         $(RM) libopcodes.olb;