1# 2# Copyright (c) 1980, 1986 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 7.1 (Berkeley) 06/05/86 7# 8# Make a 750/730 tu58 cassette 9# 10BOOTS= boot.730 boot.750 11STDBOO= defboo.cmd anyboo.cmd restar.cmd 12DEFBOO= defboo.rb defboo.rl defboo.hk defboo.up defboo.ra 13DEVBOO= rbmboo.cmd rbsboo.cmd rlsboo.cmd hkmboo.cmd hksboo.cmd \ 14 upmboo.cmd upsboo.cmd ramboo.cmd rasboo.cmd 15UTILS= format.730 format.750 copy.730 copy.750 drtest.730 drtest.750 16 17# order is NOT random... 18OBJS= boot ${STDBOO} ${DEFBOO} ${DEVBOO} format copy drtest 19FROMDEC=d[lmq]* cs* *boo.* boot.exe vmb.exe 20 21CASSETTE=/dev/tu0 22 23all: cassette 24 25cassette: boot.750 ${STDBOO} ${DEFBOO} ${DEVBOO} format.750 26cassette: copy.750 drtest.750 27 cp /dev/null cassette 28 cp /dev/null pad 29 cp boot.750 boot 30 cp format.750 format 31 cp copy.750 copy 32 cp drtest.750 drtest 33 arff mcrf cassette ${OBJS} pad 34 rm -f pad 35 36../mdec/tuboot: ../mdec/tuboot.s 37 cd ../mdec; make ${MFLAGS} tuboot 38 39install: cassette ../mdec/tuboot 40 dd if=cassette of=${CASSETTE} bs=2k conv=sync 41 dd if=../mdec/tuboot of=${CASSETTE} bs=512 count=2 42 43# build a 730 boot cassette from a DEC console cassette 44# DONT TRY THIS ON A 750 W/O MRSP, THE SYSTEM WILL CRASH 45update: boot.730 ${STDBOO} ${DEFBOO} ${DEVBOO} format.730 46update: copy.730 drtest.730 47 -mkdir fromdec 48 cd fromdec; arff mxf ${CASSETTE}; rm -f ${FROMDEC} ${OBJS}; \ 49 flcopy -t3 -f ${CASSETTE}; arff mcrf ${CASSETTE} * 50 rm -rf fromdec 51 cp boot.730 boot 52 cp format.730 format 53 cp copy.730 copy 54 cp drtest.730 drtest 55 arff mrf ${CASSETTE} ${OBJS} 56 -rm -f defboo.cmd 57 58defboo.cmd: 59 @echo You must copy one of ${DEFBOO} to defboo.cmd. 60 @echo See installing and operating guide for details. 61 @/bin/false #force exits 62 63clean: 64 rm -f ${BOOTS} ${UTILS} cassette form50 boot50 copy50 defboo.cmd 65 rm -f boot format copy drtest 66