mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00:00
03496c49d4
* makefile.vms: New file. * alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
32 lines
612 B
Plaintext
32 lines
612 B
Plaintext
#
|
|
# 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) $< $@
|