NetBSD/sys/arch/sparc/stand/bootxx/Makefile

19 lines
447 B
Makefile

# $NetBSD: Makefile,v 1.14 2002/05/07 11:32:44 pk Exp $
PROG= bootxx
PROGSOURCE= bootxx.c
.include "../Makefile.buildboot"
CPPFLAGS+= -DBOOTXX -DLIBSA_NO_CLOSE
STRIPFLAG=
LINKFLAGS= -N -Ttext ${RELOC_BOOTXX} -e start
CLEANFILES+= ${PROG}.sym
${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}
@${SIZE} ${.TARGET}.sym
${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
.include <bsd.prog.mk>