summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-12 00:47:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-12 00:47:44 +0000
commitb2e6338136b1431de2fec79278472d7057a0af51 (patch)
tree13f2ff954a773b1a28e4fbe9eafd1f3f6fe81fce /sys
parent8e6d3d2112f833cd96a62c21371929a66ce1dfcf (diff)
build program on hppa only
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/stand/mkboot/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/hppa/stand/mkboot/Makefile b/sys/arch/hppa/stand/mkboot/Makefile
index 51298d82a66..0aab4a50555 100644
--- a/sys/arch/hppa/stand/mkboot/Makefile
+++ b/sys/arch/hppa/stand/mkboot/Makefile
@@ -1,10 +1,15 @@
-# $OpenBSD: Makefile,v 1.3 2000/05/31 19:52:59 mickey Exp $
+# $OpenBSD: Makefile,v 1.4 2002/11/12 00:47:43 deraadt Exp $
+MAN= mkboot.8
+MANSUBDIR=/hppa
+
+.if ${MACHINE} == "hppa"
PROG= mkboot
CC= ${HOSTCC}
CFLAGS=-g -O
LDSTATIC= -static
-MAN= mkboot.8
-MANSUBDIR=/hppa
+.else
+NOPROG=
+.endif
.include <bsd.prog.mk>