NetBSD/sys/arch/sparc/stand/boot/Makefile

19 lines
448 B
Makefile

# $NetBSD: Makefile,v 1.3 1996/10/05 23:46:44 mrg Exp $
R= ..
.PATH: ${.CURDIR}/${R}
PROG= boot
SRCS= srt0.S boot.c promdev.c dvma.c net.c netif_sun.c conf.c version.c
NOMAN= 1
BINDIR= /usr/mdec
LIBS!= cd ${.CURDIR}/${R}; ${MAKE} libdep
${PROG}: ${OBJS} ${LIBS}
${LD} -N -T ${RELOC} -e start ${OBJS} ${LIBS}
# convert to Sun magic
(echo -n 01 | tr 01 '\01\03'; tail +3c a.out) > ${.TARGET}
@rm a.out
@size ${.TARGET}
.include <bsd.prog.mk>