diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-09-01 13:16:53 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-09-01 13:16:53 +0000 |
commit | e06ae0d430d9731f3ae19c0a08fc4d8549202eb1 (patch) | |
tree | 0de1cff261cb2ea26d7708b161c097ebee8af4cd /opcodes/makefile.vms | |
parent | 11d73275f00b0546fd903e3c336806d61df198f5 (diff) | |
download | gdb-e06ae0d430d9731f3ae19c0a08fc4d8549202eb1.zip gdb-e06ae0d430d9731f3ae19c0a08fc4d8549202eb1.tar.gz gdb-e06ae0d430d9731f3ae19c0a08fc4d8549202eb1.tar.bz2 |
2009-09-01 Tristan Gingold <gingold@adacore.com>
* makefile.vms: Ported to Itanium VMS. Remove useless targets and
dependencies. Remove unused FORMAT variable.
* configure.com: New file to create build.com DCL script for
Itanium VMS or Alpha VMS.
Diffstat (limited to 'opcodes/makefile.vms')
-rw-r--r-- | opcodes/makefile.vms | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/opcodes/makefile.vms b/opcodes/makefile.vms index 41599d9..d11d54f 100644 --- a/opcodes/makefile.vms +++ b/opcodes/makefile.vms @@ -1,43 +1,42 @@ # -# Makefile for libopcodes under openVMS VAX and Alpha +# Makefile for libopcodes under openVMS # # For use with gnu-make for vms # # Created by Klaus K"ampf, kkaempf@progis.de # # + +ifeq ($(ARCH),IA64) +OBJS=ia64-dis.obj,ia64-opc.obj +ARCHDEF="ARCH_ia64" +endif ifeq ($(ARCH),ALPHA) -OBJS=alpha-dis.obj,alpha-opc.obj,dis-init.obj,dis-buf.obj,disassemble.obj -FORMAT=OBJ_EVAX +OBJS=alpha-dis.obj,alpha-opc.obj ARCHDEF="ARCH_alpha" -else -OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj -FORMAT=OBJ_VAX +endif +ifeq ($(ARCH),VAX) +OBJS=vax-dis.obj ARCHDEF="ARCH_vax" endif +OBJS:=$(OBJS),dis-init.obj,dis-buf.obj,disassemble.obj + ifeq ($(CC),gcc) -DEFS=/define=($(FORMAT)) +DEFS=/define=($(ARCHDEF)) CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS) else -DEFS=/define=($(FORMAT)) +DEFS=/define=($(ARCHDEF)) OPT=/noopt/debug -CFLAGS=$(OPT)/include=([],[-.include],[-.bfd])$(DEFS)\ +CFLAGS=$(OPT)/include=([],"../include",[-.bfd])$(DEFS)\ /name=(as_is,shortened) endif -libopcodes.olb: sysdep.h $(OBJS) +libopcodes.olb: $(OBJS) purge lib/create libopcodes *.obj -disassemble.obj: disassemble.c - $(CC)$(CFLAGS)/define=($(ARCHDEF)) $< - -sysdep.h: [-.bfd.hosts]$(ARCH)vms.h - $(CP) $< $@ - clean: $$ purge $(RM) *.obj; - $(RM) sysdep.h; $(RM) libopcodes.olb; |