xref: /netbsd-src/usr.bin/elf2ecoff/Makefile (revision b1c86f5f087524e68db12794ee9c3e3da1ab17a0)
1#	$NetBSD: Makefile,v 1.11 2009/12/14 00:43:05 matt Exp $
2#	from: @(#)Makefile	5.4 (Berkeley) 5/11/90
3
4.include <bsd.own.mk>
5
6ABI64:=  ${CPUFLAGS:M-mabi=64:M-mabi=o64}
7# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
8.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
9     ((${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \
10      !defined(HOSTPROG) && empty(ABI64)))
11
12PROG=	elf2ecoff
13
14.endif
15
16MAN=	elf2ecoff.1
17
18.include <bsd.prog.mk>
19