Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
This commit is contained in:
parent
5415bc30ff
commit
255793452f
@ -1,16 +1,15 @@
|
||||
# $NetBSD: Makefile,v 1.11 1999/04/15 22:31:23 fvdl Exp $
|
||||
# $NetBSD: Makefile,v 1.12 1999/05/02 04:42:47 ross Exp $
|
||||
|
||||
SUBDIR= mbr
|
||||
|
||||
.if (${MACHINE} == "i386" || ${MACHINE} == "powerpc")
|
||||
PROG= fdisk
|
||||
SRCS= fdisk.c
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
SUBDIR+= mbr_bootsel
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
SUBDIR= mbr mbr_bootsel
|
||||
.endif
|
||||
|
||||
MAN= fdisk.8
|
||||
|
||||
|
@ -1,15 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/04/15 22:31:23 fvdl Exp $
|
||||
# $NetBSD: Makefile,v 1.5 1999/05/02 04:42:48 ross Exp $
|
||||
|
||||
MAN= mbr.8
|
||||
|
||||
BINDIR= /usr/mdec
|
||||
BINMODE=444
|
||||
|
||||
STRIPFLAG=
|
||||
|
||||
PROG= mbr
|
||||
SRCS= mbr.S
|
||||
|
||||
MAN= mbr.8
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${OBJECT_FMT} == "ELF"
|
||||
@ -18,10 +15,15 @@ LDFLAGS+= -e start
|
||||
LDFLAGS+= -e _start -N
|
||||
.endif
|
||||
|
||||
.if ${MACHINE} == "i386"
|
||||
PROG= mbr
|
||||
SRCS= mbr.S
|
||||
|
||||
${PROG}: ${OBJS}
|
||||
${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x600 ${OBJS}
|
||||
${STRIPPROG} ${PROG}.tmp
|
||||
objcopy -O binary ${PROG}.tmp ${PROG}
|
||||
rm -f ${PROG}.tmp
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user