d387240a63
2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG, BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr. Generate bfdver.h. * vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca. * hosts/alphavms.h: Defines macros to bypass i18n. * makefile.vms (OBJS): Update file list. (DEFS): Remove VMS_DEBUG, const, add DEBUGDIR. (CFLAGS): Update flags. * bfdio.c (real_fopen): Add code specific to VMS: extract attributes from modes. binutils/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * configure.com: Get version from configure.in of bfd. * makefile.vms-in (DEBUG_OBJS): Add dwarf.obj. (CFLAGS): Update flags. include/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * fopen-vms.h (FOPEN_RB): Use a single string to match the standard prototype. (FOPEN_WB): Ditto. (FOPEN_AB): Ditto. (FOPEN_RUB): Ditto. (FOPEN_WUB): Ditto. (FOPEN_AUB): Ditto. libiberty/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca. opcodes/ 2008-11-14 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list of objects. (DEFS): Update (CFLAGS): Update.
43 lines
882 B
Plaintext
43 lines
882 B
Plaintext
#
|
|
# Makefile for libopcodes under openVMS VAX and Alpha
|
|
#
|
|
# For use with gnu-make for vms
|
|
#
|
|
# Created by Klaus K"ampf, kkaempf@progis.de
|
|
#
|
|
#
|
|
ifeq ($(ARCH),ALPHA)
|
|
OBJS=alpha-dis.obj,alpha-opc.obj,dis-init.obj,dis-buf.obj,disassemble.obj
|
|
FORMAT=OBJ_EVAX
|
|
ARCHDEF="ARCH_alpha"
|
|
else
|
|
OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj
|
|
FORMAT=OBJ_VAX
|
|
ARCHDEF="ARCH_vax"
|
|
endif
|
|
|
|
ifeq ($(CC),gcc)
|
|
DEFS=/define=($(FORMAT))
|
|
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
|
|
else
|
|
DEFS=/define=($(FORMAT))
|
|
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
|
|
/name=(as_is,shortened)/warnings=disable=(missingreturn,longextern)
|
|
endif
|
|
|
|
libopcodes.olb: sysdep.h $(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;
|