Fix PE-COFF archiving long name tables
[binutils/dougsmingw.git] / opcodes / makefile.vms
blobd11d54f665acb8a517e6579f2dc9ee79a24a8f64
2 # Makefile for libopcodes under openVMS
4 # For use with gnu-make for vms
6 # Created by Klaus K"ampf, kkaempf@progis.de
10 ifeq ($(ARCH),IA64)
11 OBJS=ia64-dis.obj,ia64-opc.obj
12 ARCHDEF="ARCH_ia64"
13 endif
14 ifeq ($(ARCH),ALPHA)
15 OBJS=alpha-dis.obj,alpha-opc.obj
16 ARCHDEF="ARCH_alpha"
17 endif
18 ifeq ($(ARCH),VAX)
19 OBJS=vax-dis.obj
20 ARCHDEF="ARCH_vax"
21 endif
23 OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj
25 ifeq ($(CC),gcc)
26 DEFS=/define=($(ARCHDEF))
27 CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
28 else
29 DEFS=/define=($(ARCHDEF))
30 OPT=/noopt/debug
31 CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\
32  /name=(as_is,shortened)
33 endif
35 libopcodes.olb: $(OBJS)
36         purge
37         lib/create libopcodes *.obj
39 clean:
40         $$ purge
41         $(RM) *.obj;
42         $(RM) libopcodes.olb;