2009-12-14 03:43:05 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 2009/12/14 00:43:05 matt Exp $
|
1996-09-30 01:53:11 +04:00
|
|
|
# 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}
|
1999-06-09 06:54:17 +04:00
|
|
|
# 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)))
|
1999-06-09 06:54:17 +04:00
|
|
|
|
2002-02-24 00:34:06 +03:00
|
|
|
PROG= elf2ecoff
|
2002-02-24 04:52:09 +03:00
|
|
|
|
|
|
|
.endif
|
|
|
|
|
1999-06-09 06:54:17 +04:00
|
|
|
MAN= elf2ecoff.1
|
1996-09-30 01:53:11 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|