Cross Reference: Makefile
xref: /src/sys/arch/mvme68k/stand/sboot/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/mvme68k/stand/sboot/
Makefile revision 1.2
11.2Sthorpej#	$NetBSD: Makefile,v 1.2 1996/09/07 19:23:03 thorpej Exp $
21.1Schuck
31.1Schuck#
41.2Sthorpej# sboot would like a newer GNU ld because it can generate S-Records.
51.2Sthorpej# Until then, we convert.
61.1Schuck#
71.1Schuck
81.1SchuckCOMPILE.s= $(AS) $(ASFLAGS) -o $*.o
91.2SthorpejLDFLAGS=-x -N -Ttext 0x4000 -e start
101.1SchuckNOMAN=
111.1SchuckSRCS=	start.s clock.c console.c etherfun.c le_poll.c libc_sa.c \
121.1Schuck		oc_cksum.s sboot.c
131.2SthorpejOBJS=	${SRCS:N*.h:R:S/$/.o/g}
141.1Schuck
151.2SthorpejBOOTS=	sboot.srec
161.2Sthorpej
171.2Sthorpejall: ${BOOTS}
181.2Sthorpej
191.2Sthorpejsboot.srec: sboot srec
201.2Sthorpej	dd ibs=32 skip=1 if=sboot | ${.OBJDIR}/srec 4 0x4000 sboot > ${.TARGET}
211.2Sthorpej
221.2Sthorpejsboot: ${OBJS}
231.2Sthorpej	${LD} ${LDFLAGS} -o ${.TARGET} ${OBJS}
241.2Sthorpej
251.2Sthorpejsrec: ${.CURDIR}/srec.c
261.2Sthorpej	${CC} ${CFLAGS} ${.CURDIR}/srec.c -o ${.TARGET}
271.2Sthorpej
281.2Sthorpejinstall:
291.2Sthorpej	install -c -m 444 -g bin -o bin sboot.srec ${DESTDIR}${MDEC_DIR}/sboot
301.1Schuck
311.1Schuck.include <bsd.prog.mk>
32

Indexes created Thu Dec 04 23:09:28 GMT 2025