Handle being built as a host tool.

This commit is contained in:
gmcgarry 2002-02-23 21:34:06 +00:00
parent 0d9e66cda7
commit 1635c6c690
1 changed files with 8 additions and 3 deletions

View File

@ -1,11 +1,16 @@
# $NetBSD: Makefile,v 1.7 1999/06/09 02:54:18 simonb Exp $ # $NetBSD: Makefile,v 1.8 2002/02/23 21:34:06 gmcgarry Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90 # from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.include <bsd.own.mk>
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs. # Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb") .if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
PROG= elf2ecoff
.endif
PROG= elf2ecoff
MAN= elf2ecoff.1 MAN= elf2ecoff.1
.ifndef HOSTPROG
.include <bsd.prog.mk> .include <bsd.prog.mk>
.endif
.endif