NetBSD/sys/arch/vax/floppy/Makefile
1996-03-02 17:57:34 +00:00

46 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1 1996/03/02 17:57:34 ragge Exp $
# @(#)Makefile 7.2 (Berkeley) 5/9/91
# Make a 780 rx01 floppy
#
BOOTS= boot
STDBOO= defboo.cmd anyboo.cmd restar.cmd
DEFBOO= defboo.hk defboo.hp defboo.ra defboo.up
DEVBOO= hkmboo.cmd hksboo.cmd hpmboo.cmd hpsboo.cmd \
ramboo.cmd rasboo.cmd upmboo.cmd upsboo.cmd
UTILS= format copy drtest
# order is NOT random...
OBJS= ${BOOTS} ${STDBOO} ${DEVBOO} ${UTILS}
FROMDEC=du* dm* db* s[mbr]* *boo.* vmb.exe *.hlp cs* ci*
FLOPPY= /dev/floppy
#FLOPPY= /dev/rrx0b # for using RX device
all: floppy
floppy: 3tracks ${OBJS}
cp 3tracks floppy
arff crf floppy ${OBJS}
install: floppy
dd if=floppy of=${FLOPPY}
# build a boot floppy from a DEC console floppy
update: ${OBJS}
-mkdir fromdec
cd fromdec; arff xf ${FLOPPY}; rm -f ${FROMDEC} ${OBJS} ${DEFBOO}; \
flcopy -t3 -f ${FLOPPY}; rm -f floppy; arff crf ${FLOPPY} *
rm -rf fromdec
arff rf ${FLOPPY} ${OBJS}
-rm -f defboo.cmd
defboo.cmd:
@echo You must copy one of \{${DEFBOO}\} to defboo.cmd.
@echo See installing and operating guide for details.
@/bin/false #force exits
clean:
rm -f ${BOOTS} ${UTILS} floppy defboo.cmd
rm -rf fromdec