From 1635c6c690b42a246f6f9ec722fa6c8132cec2ca Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Sat, 23 Feb 2002 21:34:06 +0000 Subject: [PATCH] Handle being built as a host tool. --- usr.bin/elf2ecoff/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/usr.bin/elf2ecoff/Makefile b/usr.bin/elf2ecoff/Makefile index 439bbfae003a..f2eacaf34f8c 100644 --- a/usr.bin/elf2ecoff/Makefile +++ b/usr.bin/elf2ecoff/Makefile @@ -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 +.include + # Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs. .if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb") -PROG= elf2ecoff -.endif +PROG= elf2ecoff MAN= elf2ecoff.1 +.ifndef HOSTPROG .include +.endif + +.endif