NetBSD/sbin/fdisk/mbr/Makefile
dsl ae60f83e33 Remove old i386 mbr stuff (move to arch/i386/stand/mbr a while ago)
mbr.8 moved to src/share/man/man8/man8.i386
2003-07-16 11:11:49 +00:00

29 lines
456 B
Makefile

# $NetBSD: Makefile,v 1.18 2003/07/16 11:11:49 dsl Exp $
NOMAN=
BINDIR= /usr/mdec
BINMODE=444
STRIPFLAG=
.include <bsd.own.mk>
.if ${OBJECT_FMT} == "ELF"
LDFLAGS+= -e start
.else
LDFLAGS+= -e _start -N
.endif
.if ${MACHINE} == "macppc"
PROG= mbr
SRCS= mbr_macppc.S
${PROG}: ${OBJS}
${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x600 ${OBJS}
${STRIP} ${PROG}.tmp
${OBJCOPY} -O binary ${PROG}.tmp ${PROG}
rm -f ${PROG}.tmp
.endif
.include <bsd.prog.mk>