aboutsummaryrefslogtreecommitdiff
path: root/opcodes/makefile.vms
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-06-18 19:10:42 +0000
committerIan Lance Taylor <ian@airs.com>1996-06-18 19:10:42 +0000
commit03496c49d437508d0cd66f95598ab3081de107e4 (patch)
tree5408f2a694cbdbd315c4f4a66a677038b3af512a /opcodes/makefile.vms
parente10a4fc492bc1837967af0feadd6ff671bce1035 (diff)
downloadgdb-03496c49d437508d0cd66f95598ab3081de107e4.zip
gdb-03496c49d437508d0cd66f95598ab3081de107e4.tar.gz
gdb-03496c49d437508d0cd66f95598ab3081de107e4.tar.bz2
Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: New file. * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
Diffstat (limited to 'opcodes/makefile.vms')
-rw-r--r--opcodes/makefile.vms31
1 files changed, 31 insertions, 0 deletions
diff --git a/opcodes/makefile.vms b/opcodes/makefile.vms
new file mode 100644
index 0000000..5a472a7
--- /dev/null
+++ b/opcodes/makefile.vms
@@ -0,0 +1,31 @@
+#
+# Makefile for libopcodes under openVMS/AXP
+#
+# For use with gnu-make for vms
+#
+# Created by Klaus Kaempf, kkaempf@progis.de
+#
+#
+CC=gcc
+
+OBJS=alpha-dis.obj,dis-buf.obj,disassemble.obj
+
+ifeq ($(CC),gcc)
+CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
+DEFS=/define=(VMS_ASMCODE=1)
+else
+CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)
+DEFS=/define=(VMS_ASMCODE=1)
+endif
+
+libopcodes.olb: sysdep.h $(OBJS)
+ purge
+ lib/create libopcodes *.obj
+
+disassemble.obj: disassemble.c
+ $(CC)$(CFLAGS)/define=("ARCH_alpha") $<
+
+alpha-dis.obj: alpha-dis.c alpha-opc.h
+
+sysdep.h: [-.bfd.hosts]alphavms.h
+ $(CP) $< $@