summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/stand/Makefile8
-rw-r--r--sys/arch/alpha/stand/installboot/Makefile11
-rw-r--r--sys/arch/alpha/stand/setnetbootinfo/Makefile12
3 files changed, 21 insertions, 10 deletions
diff --git a/sys/arch/alpha/stand/Makefile b/sys/arch/alpha/stand/Makefile
index f31fa16c8ae..4abf0902d32 100644
--- a/sys/arch/alpha/stand/Makefile
+++ b/sys/arch/alpha/stand/Makefile
@@ -1,6 +1,10 @@
-# $OpenBSD: Makefile,v 1.6 1997/06/30 21:00:30 millert Exp $
+# $OpenBSD: Makefile,v 1.7 2000/05/25 21:54:39 deraadt Exp $
# $NetBSD: Makefile,v 1.7 1997/04/10 23:03:38 cgd Exp $
-SUBDIR= boot bootxx installboot netboot setnetbootinfo libkern libsa libz
+.if ${MACHINE} == "alpha"
+SUBDIR= boot bootxx netboot libkern libsa libz
+.endif
+
+SUBDIR= setnetbootinfo installboot
.include <bsd.subdir.mk>
diff --git a/sys/arch/alpha/stand/installboot/Makefile b/sys/arch/alpha/stand/installboot/Makefile
index ab876f2740d..fc9271de5bf 100644
--- a/sys/arch/alpha/stand/installboot/Makefile
+++ b/sys/arch/alpha/stand/installboot/Makefile
@@ -1,15 +1,18 @@
-# $OpenBSD: Makefile,v 1.5 1997/05/05 06:01:54 millert Exp $
+# $OpenBSD: Makefile,v 1.6 2000/05/25 21:54:40 deraadt Exp $
# $NetBSD: Makefile,v 1.2 1996/11/06 23:09:13 cgd Exp $
.PATH: ${.CURDIR}/..
-PROG= installboot
-BINDIR= /usr/mdec
-
MAN= installboot.8
MANSUBDIR=/alpha
+.if ${MACHINE} == "alpha"
+PROG= installboot
+BINDIR= /usr/mdec
DPADD+= ${LIBUTIL}
LDADD+= -lutil
+.else
+NOPROG=
+.endif
.include <bsd.prog.mk>
diff --git a/sys/arch/alpha/stand/setnetbootinfo/Makefile b/sys/arch/alpha/stand/setnetbootinfo/Makefile
index 293399e1da8..ff30d7a5de6 100644
--- a/sys/arch/alpha/stand/setnetbootinfo/Makefile
+++ b/sys/arch/alpha/stand/setnetbootinfo/Makefile
@@ -1,15 +1,19 @@
-# $OpenBSD: Makefile,v 1.1 1997/05/05 06:02:02 millert Exp $
+# $OpenBSD: Makefile,v 1.2 2000/05/25 21:54:40 deraadt Exp $
# $NetBSD: Makefile,v 1.4 1997/04/06 08:41:36 cgd Exp $
.PATH: ${.CURDIR}/..
-PROG= setnetbootinfo
-BINDIR= /usr/mdec
-
MAN= setnetbootinfo.8
MANSUBDIR=/alpha
+.if ${MACHINE} == "alpha"
+PROG= setnetbootinfo
+BINDIR= /usr/mdec
+
CFLAGS+= -I${.CURDIR}/..
LDSTATIC=-static
+.else
+NOPROG=
+.endif
.include <bsd.prog.mk>