Makefile revision 1.3
11.3She#	$NetBSD: Makefile,v 1.3 2000/05/31 14:31:25 he Exp $
21.1Sthorpej
31.1SthorpejPROGAOUT=	uboot
41.1SthorpejPROGSOURCE=	uboot.c tgets.c
51.1SthorpejNEWVERSWHAT=	"Primary Boot"
61.2Sthorpej
71.2SthorpejCPPFLAGS+=	-DSUPPORT_ETHERNET -DSUPPORT_TAPE -DSUPPORT_DISK
81.1Sthorpej
91.1Sthorpejinstall:
101.1Sthorpej	${INSTALL} -d -m 755 -o ${BINOWN} -g ${BINGRP} \
111.1Sthorpej	    ${DESTDIR}${BINDIR}/rbootd
121.1Sthorpej	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 uboot.lif \
131.1Sthorpej	    ${DESTDIR}${BINDIR}/uboot.lif
141.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/rdboot
151.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rdboot
161.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/bootrd
171.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootrd
181.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/sdboot
191.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/sdboot
201.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/bootsd
211.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootsd
221.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/ctboot
231.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/ctboot
241.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/bootct
251.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/bootct
261.1Sthorpej	rm -f ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT
271.1Sthorpej	ln ${DESTDIR}${BINDIR}/uboot.lif ${DESTDIR}${BINDIR}/rbootd/SYS_UBOOT
281.3She
291.3She.ifndef RELEASEDIR
301.3Sherelease:
311.3She	@echo setenv RELEASEDIR first
321.3She	@false
331.3She.else
341.3Sherelease: uboot.lif
351.3She	mkdir -p $(RELEASEDIR)/installation/misc
361.3She	rm -f $(RELEASEDIR)/installation/misc/SYS_UBOOT
371.3She	${INSTALL} -c -m 444 uboot.lif $(RELEASEDIR)/installation/misc/SYS_UBOOT
381.3She.endif # RELEASEDIR check
391.3She
401.1Sthorpej
411.1Sthorpej.include "../Makefile.buildboot"
42