OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [opcodes/] [makefile.vms] - Diff between revs 156 and 816

Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
#
#
# Makefile for libopcodes under openVMS VAX and Alpha
# Makefile for libopcodes under openVMS VAX and Alpha
#
#
# For use with gnu-make for vms
# For use with gnu-make for vms
#
#
# Created by Klaus K"ampf, kkaempf@progis.de
# Created by Klaus K"ampf, kkaempf@progis.de
#
#
#
#
ifeq ($(ARCH),alpha)
ifeq ($(ARCH),alpha)
OBJS=alpha-dis.obj,alpha-opc.obj,dis-buf.obj,disassemble.obj
OBJS=alpha-dis.obj,alpha-opc.obj,dis-buf.obj,disassemble.obj
FORMAT=OBJ_EVAX
FORMAT=OBJ_EVAX
ARCHDEF="ARCH_alpha"
ARCHDEF="ARCH_alpha"
else
else
OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj
OBJS=vax-dis.obj,dis-buf.obj,disassemble.obj
FORMAT=OBJ_VAX
FORMAT=OBJ_VAX
ARCHDEF="ARCH_vax"
ARCHDEF="ARCH_vax"
endif
endif
ifeq ($(CC),gcc)
ifeq ($(CC),gcc)
DEFS=/define=($(FORMAT))
DEFS=/define=($(FORMAT))
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
else
else
DEFS=/define=($(FORMAT),"const=")
DEFS=/define=($(FORMAT),"const=")
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)\
/warnings=disable=(missingreturn,implicitfunc,longextern)
/warnings=disable=(missingreturn,implicitfunc,longextern)
endif
endif
libopcodes.olb: sysdep.h $(OBJS)
libopcodes.olb: sysdep.h $(OBJS)
        purge
        purge
        lib/create libopcodes *.obj
        lib/create libopcodes *.obj
disassemble.obj: disassemble.c
disassemble.obj: disassemble.c
        $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
        $(CC)$(CFLAGS)/define=($(ARCHDEF)) $<
sysdep.h: [-.bfd.hosts]$(ARCH)vms.h
sysdep.h: [-.bfd.hosts]$(ARCH)vms.h
        $(CP) $< $@
        $(CP) $< $@
clean:
clean:
        $$ purge
        $$ purge
        $(RM) *.obj;
        $(RM) *.obj;
        $(RM) sysdep.h;
        $(RM) sysdep.h;
        $(RM) libopcodes.olb;
        $(RM) libopcodes.olb;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.