1# @(#)Makefile 6.1 07/29/83 2# 3ALL= hkboot hpboot htboot mtboot noboot raboot rlboot \ 4 upboot utboot tmboot tsboot tuboot \ 5 httoggle mttoggle tmtoggle tstoggle uttoggle 6 7all: ${ALL} 8 9hkboot: hkboot.s 10 as hkboot.s 11 nm -u a.out 12 strip a.out 13 dd if=a.out bs=32 skip=1 of=b.out 14 dd if=b.out of=hkboot conv=sync 15 16hpboot: hpboot.s 17 as hpboot.s 18 nm -u a.out 19 strip a.out 20 dd if=a.out bs=32 skip=1 of=b.out 21 dd if=b.out of=hpboot conv=sync 22 23htboot: htboot.s 24 as htboot.s 25 nm -u a.out 26 strip a.out 27 dd if=a.out of=b.out bs=32 skip=1 28 dd if=b.out of=htboot conv=sync 29 30mtboot: mtboot.s 31 as mtboot.s 32 nm -u a.out 33 strip a.out 34 dd if=a.out bs=32 skip=1 of=b.out 35 dd if=b.out of=mtboot conv=sync 36 37raboot: raboot.s 38 as raboot.s 39 nm -u a.out 40 strip a.out 41 dd if=a.out bs=32 skip=1 of=b.out 42 dd if=b.out of=raboot conv=sync 43 44rlboot: rlboot.s 45 as rlboot.s 46 nm -u a.out 47 strip a.out 48 dd if=a.out bs=32 skip=1 of=b.out 49 dd if=b.out of=rlboot conv=sync 50 51tmboot: tmboot.s 52 as tmboot.s 53 nm -u a.out 54 strip a.out 55 dd if=a.out of=b.out bs=32 skip=1 56 dd if=b.out of=tmboot conv=sync 57 58tsboot: tsboot.s 59 as tsboot.s 60 nm -u a.out 61 strip a.out 62 dd if=a.out of=b.out bs=32 skip=1 63 dd if=b.out of=tsboot conv=sync 64 65upboot: upboot.s 66 as upboot.s 67 nm -u a.out 68 strip a.out 69 dd if=a.out bs=32 skip=1 of=b.out 70 dd if=b.out of=upboot conv=sync 71 72tuboot: tuboot.s 73 as tuboot.s 74 nm -u a.out 75 strip a.out 76 dd if=a.out of=b.out bs=32 skip=1 77 dd if=b.out of=tuboot conv=sync 78 79utboot: utboot.s 80 as utboot.s 81 nm -u a.out 82 strip a.out 83 dd if=a.out bs=32 skip=1 of=b.out 84 dd if=b.out of=utboot conv=sync 85 86httoggle: httoggle.s 87 as httoggle.s 88 nm -u a.out 89 strip a.out 90 dd if=a.out bs=32 skip=1 of=httoggle 91 92mttoggle: mttoggle.s 93 as mttoggle.s 94 nm -u a.out 95 strip a.out 96 dd if=a.out bs=32 skip=1 of=mttoggle 97 98tmtoggle: tmtoggle.s 99 as tmtoggle.s 100 nm -u a.out 101 strip a.out 102 dd if=a.out bs=32 skip=1 of=tmtoggle 103 104tstoggle: tstoggle.s 105 as tstoggle.s 106 nm -u a.out 107 strip a.out 108 dd if=a.out bs=32 skip=1 of=tstoggle 109 110uttoggle: uttoggle.s 111 as uttoggle.s 112 nm -u a.out 113 strip a.out 114 dd if=a.out bs=32 skip=1 of=uttoggle 115 116noboot: 117 echo | dd of=noboot conv=sync 118 119clean: 120 rm -f a.out b.out ${ALL} 121 122install: 123 cp *boot /usr/mdec 124 rm -f /usr/mdec/mboot 125 ln /usr/mdec/htboot /usr/mdec/mboot 126 rm -f /usr/mdec/uboot 127 ln /usr/mdec/hpboot /usr/mdec/uboot 128