xref: /original-bsd/sys/vax/floppy/Makefile (revision a435f748)
1*a435f748Sbostic#	@(#)Makefile	7.2 (Berkeley) 05/09/91
2*a435f748Sbostic
3d7bfdcb9Ssam# Make a 780 rx01 floppy
4d7bfdcb9Ssam#
5d7bfdcb9SsamBOOTS=	boot
6d7bfdcb9SsamSTDBOO=	defboo.cmd anyboo.cmd restar.cmd
7d7bfdcb9SsamDEFBOO=	defboo.hk defboo.hp defboo.ra defboo.up
8d7bfdcb9SsamDEVBOO=	hkmboo.cmd hksboo.cmd hpmboo.cmd hpsboo.cmd \
9d7bfdcb9Ssam	ramboo.cmd rasboo.cmd upmboo.cmd upsboo.cmd
10d7bfdcb9SsamUTILS=	format copy drtest
1162366483Skarels
127548a88aSsam# order is NOT random...
1399f4f144SkarelsOBJS=	${BOOTS} ${STDBOO} ${DEVBOO} ${UTILS}
141e32e463SkarelsFROMDEC=du* dm* db* s[mbr]* *boo.* vmb.exe *.hlp cs* ci*
1562366483Skarels
1699f4f144SkarelsFLOPPY=	/dev/floppy
1799f4f144Skarels#FLOPPY= /dev/rrx0b		# for using RX device
18d7bfdcb9Ssam
19d7bfdcb9Ssamall:	floppy
20d7bfdcb9Ssam
217548a88aSsamfloppy:	3tracks ${OBJS}
22953e6567Ssam	cp 3tracks floppy
237548a88aSsam	arff crf floppy ${OBJS}
24d7bfdcb9Ssam
25d7bfdcb9Ssaminstall: floppy
267548a88aSsam	dd if=floppy of=${FLOPPY}
277548a88aSsam
287548a88aSsam# build a boot floppy from a DEC console floppy
297548a88aSsamupdate:	${OBJS}
307548a88aSsam	-mkdir fromdec
3199f4f144Skarels	cd fromdec; arff xf ${FLOPPY}; rm -f ${FROMDEC} ${OBJS} ${DEFBOO}; \
324a366bdfSsam		flcopy -t3 -f ${FLOPPY}; rm -f floppy; arff crf ${FLOPPY} *
337548a88aSsam	rm -rf fromdec
347548a88aSsam	arff rf ${FLOPPY} ${OBJS}
35e0282edcSkarels	-rm -f defboo.cmd
36d7bfdcb9Ssam
3762366483Skarelsdefboo.cmd:
3862366483Skarels	@echo You must copy one of \{${DEFBOO}\} to defboo.cmd.
3962366483Skarels	@echo See installing and operating guide for details.
4062366483Skarels	@/bin/false	#force exits
4162366483Skarels
42d7bfdcb9Ssamclean:
4362366483Skarels	rm -f ${BOOTS} ${UTILS} floppy defboo.cmd
447548a88aSsam	rm -rf fromdec
45