xref: /original-bsd/sys/vax/floppy/Makefile (revision a1c2194a)
1#	@(#)Makefile	7.2 (Berkeley) 05/09/91
2
3# Make a 780 rx01 floppy
4#
5BOOTS=	boot
6STDBOO=	defboo.cmd anyboo.cmd restar.cmd
7DEFBOO=	defboo.hk defboo.hp defboo.ra defboo.up
8DEVBOO=	hkmboo.cmd hksboo.cmd hpmboo.cmd hpsboo.cmd \
9	ramboo.cmd rasboo.cmd upmboo.cmd upsboo.cmd
10UTILS=	format copy drtest
11
12# order is NOT random...
13OBJS=	${BOOTS} ${STDBOO} ${DEVBOO} ${UTILS}
14FROMDEC=du* dm* db* s[mbr]* *boo.* vmb.exe *.hlp cs* ci*
15
16FLOPPY=	/dev/floppy
17#FLOPPY= /dev/rrx0b		# for using RX device
18
19all:	floppy
20
21floppy:	3tracks ${OBJS}
22	cp 3tracks floppy
23	arff crf floppy ${OBJS}
24
25install: floppy
26	dd if=floppy of=${FLOPPY}
27
28# build a boot floppy from a DEC console floppy
29update:	${OBJS}
30	-mkdir fromdec
31	cd fromdec; arff xf ${FLOPPY}; rm -f ${FROMDEC} ${OBJS} ${DEFBOO}; \
32		flcopy -t3 -f ${FLOPPY}; rm -f floppy; arff crf ${FLOPPY} *
33	rm -rf fromdec
34	arff rf ${FLOPPY} ${OBJS}
35	-rm -f defboo.cmd
36
37defboo.cmd:
38	@echo You must copy one of \{${DEFBOO}\} to defboo.cmd.
39	@echo See installing and operating guide for details.
40	@/bin/false	#force exits
41
42clean:
43	rm -f ${BOOTS} ${UTILS} floppy defboo.cmd
44	rm -rf fromdec
45