diff options
| author | gmcgarry <gmcgarry@NetBSD.org> | 2002-02-23 21:34:06 +0000 |
|---|---|---|
| committer | gmcgarry <gmcgarry@NetBSD.org> | 2002-02-23 21:34:06 +0000 |
| commit | 1635c6c690b42a246f6f9ec722fa6c8132cec2ca (patch) | |
| tree | b7929487e3d2290d254ffdeed127fc9a3d23b39f /usr.bin/elf2ecoff | |
| parent | 0d9e66cda7db3bd9a112db2b56400bf09285fadc (diff) | |
Handle being built as a host tool.
Diffstat (limited to 'usr.bin/elf2ecoff')
| -rw-r--r-- | usr.bin/elf2ecoff/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/elf2ecoff/Makefile b/usr.bin/elf2ecoff/Makefile index 439bbfae003..f2eacaf34f8 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 <bsd.own.mk> + # 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 <bsd.prog.mk> +.endif + +.endif |
