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