NetBSD/usr.bin/elf2ecoff/Makefile

19 lines
493 B
Makefile
Raw Normal View History

2009-12-14 03:43:05 +03:00
# $NetBSD: Makefile,v 1.11 2009/12/14 00:43:05 matt Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
2002-02-24 00:34:06 +03:00
.include <bsd.own.mk>
2009-12-14 03:43:05 +03:00
ABI64:= ${CPUFLAGS:M-mabi=64:M-mabi=o64}
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
2009-12-14 03:43:05 +03:00
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
((${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \
!defined(HOSTPROG) && empty(ABI64)))
2002-02-24 00:34:06 +03:00
PROG= elf2ecoff
.endif
MAN= elf2ecoff.1
.include <bsd.prog.mk>