NetBSD/sys/arch/vax/boot/xxboot/Makefile

30 lines
629 B
Makefile

# $NetBSD: Makefile,v 1.1 1999/03/06 16:36:06 ragge Exp $
S= ${.CURDIR}/../../../../
PROG= xxboot
LINKS= ${BINDIR}/xxboot ${BINDIR}/raboot
LINKS+= ${BINDIR}/xxboot ${BINDIR}/rdboot
LINKS+= ${BINDIR}/xxboot ${BINDIR}/sdboot
LINKS+= ${BINDIR}/xxboot ${BINDIR}/hpboot
SRCS= start.s bootxx.c romread.s urem.s udiv.s str.s
STRIPFLAG=
CPPFLAGS+=-D_STANDALONE
BINDIR= /usr/mdec
NOMAN= 1
SA_AS= library
.include "${S}/lib/libsa/Makefile.inc"
LIBSA= ${SALIB}
${PROG}: ${OBJS} ${LIBSA}
ld -N -Ttext 100000 -o a.out ${OBJS} ${LIBSA}
strip a.out
size a.out
dd if=a.out of=${PROG} bs=32 skip=1
rm -f a.out
.include <bsd.prog.mk>