Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / mvme68k / stand / sboot / Makefile
blob5289f0951614afe692cfcbf60695dba4a236fdc6
1 # $NetBSD: Makefile,v 1.12 2002/02/09 09:36:01 lukem Exp $
4 # sboot would like a newer GNU ld because it can generate S-Records.
5 # Until then, we convert.
8 COMPILE.s= $(CC) -x assembler-with-cpp -traditional-cpp \
9 $(ASFLAGS) $(CPPFLAGS) $(INCPATH) -c -o $*.o
11 RELOC= 0x4000
12 SRCS= start.s clock.c console.c etherfun.c le_poll.c \
13 oc_cksum.s sboot.c
14 SRTOBJ=
15 PROG= sboot
16 LIBS= ${LIBSA}
17 DPADD= ${LIBS}
18 CLEANFILES+= sboot.srec
20 PROGDEPENDS= ${OBJS} ${LIBS}
21 PROGLINKOBJS= ${OBJS} ${LIBS}
23 sboot.srec: ${PROG}
24 ${OBJCOPY} -O srec ${.OBJDIR}/sboot ${.TARGET}
26 .include "../Makefile.booters"
28 all realall: sboot.srec
30 install: sboot.srec
31 ${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
32 ${.OBJDIR}/sboot.srec ${DESTDIR}${MDEC_DIR}/sboot
34 .include <bsd.prog.mk>