diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-06 22:06:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-06 22:06:47 +0000 |
commit | 22973a7d63433e7440de43f6198e1eca318ebdbf (patch) | |
tree | dce1d06c82359c9f9f02293046d3a621b0a39f39 /sys/arch | |
parent | cd14436d414d4a665f10ed4c2405d43168b48295 (diff) |
control how deep the tree can be entered (for man pages)
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/landisk/stand/Makefile | 8 | ||||
-rw-r--r-- | sys/arch/landisk/stand/bootxx/Makefile | 9 | ||||
-rw-r--r-- | sys/arch/landisk/stand/mbr/Makefile | 12 |
3 files changed, 23 insertions, 6 deletions
diff --git a/sys/arch/landisk/stand/Makefile b/sys/arch/landisk/stand/Makefile index c30bf9efc55..4e1ab704b8f 100644 --- a/sys/arch/landisk/stand/Makefile +++ b/sys/arch/landisk/stand/Makefile @@ -1,5 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2006/10/06 21:48:50 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2006/10/06 22:06:46 deraadt Exp $ + +SUBDIR= mbr bootxx +.if ${MACHINE} == "landisn" +SUBDIR+= boot +.endif -SUBDIR= mbr bootxx boot .include <bsd.subdir.mk> diff --git a/sys/arch/landisk/stand/bootxx/Makefile b/sys/arch/landisk/stand/bootxx/Makefile index 70b49c44968..af0e6029ea2 100644 --- a/sys/arch/landisk/stand/bootxx/Makefile +++ b/sys/arch/landisk/stand/bootxx/Makefile @@ -1,8 +1,10 @@ -# $OpenBSD: Makefile,v 1.1 2006/10/06 21:48:50 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2006/10/06 22:06:46 deraadt Exp $ +MAN= bootxx.8 + +.if ${MACHINE} == "landisk" PROG= bootxx SRCS= pbr.S bootxx.S boot1.c -MAN= bootxx.8 LDFLAGS=-nostdlib -Ttext 0x8c201000 -N -x -Bstatic -e start INSTALL_STRIP= @@ -41,5 +43,8 @@ ${PROG}: ${OBJS} ${DPADD} dd if=/dev/zero bs=1 count=$$pad >>${PROG} 2>/dev/null; \ echo "${PROG} size $$sz, $$((${BOOTXX_MAXSIZE} - $$sz)) free"; \ fi +.else +NOPROG= +.endif .include <bsd.prog.mk> diff --git a/sys/arch/landisk/stand/mbr/Makefile b/sys/arch/landisk/stand/mbr/Makefile index e44acf8cee7..4ea898a5872 100644 --- a/sys/arch/landisk/stand/mbr/Makefile +++ b/sys/arch/landisk/stand/mbr/Makefile @@ -1,8 +1,12 @@ -# $OpenBSD: Makefile,v 1.1 2006/10/06 21:48:50 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2006/10/06 22:06:46 deraadt Exp $ +.include <bsd.own.mk> + +MAN= mbr.8 + +.if ${MACHINE} == "landisk" PROG= mbr SRCS= mbr.S -MAN= mbr.8 AFLAGS+=-nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${.CURDIR}/../../.. #-Wa,a LDFLAGS+=-N -e start -Ttext 0x8c200200 OBJCOPY?=objcopy @@ -22,4 +26,8 @@ ${PROG}: $(OBJS) $(DPADD) ls -l ${.OBJDIR}/${PROG}; \ fi +.else +NOPROG= +.endif + .include <bsd.prog.mk> |