put back ut
[unix-history] / usr / src / sys / vax / mdec / Makefile
CommitLineData
f4cc9d92 1# @(#)Makefile 4.2 %G%
393ec768 2#
f4cc9d92
SL
3ALL= htboot tmboot tsboot hpboot hkboot upboot mtboot utboot noboot \
4 httoggle tmtoggle tstoggle mttoggle uttoggle
393ec768
SL
5
6all: ${ALL}
7
8htboot: htboot.s
9 as htboot.s
10 nm -u a.out
11 strip a.out
12 dd if=a.out of=b.out bs=32 skip=1
13 dd if=b.out of=htboot conv=sync
14
15tmboot: tmboot.s
16 as tmboot.s
17 nm -u a.out
18 strip a.out
19 dd if=a.out of=b.out bs=32 skip=1
20 dd if=b.out of=tmboot conv=sync
21
22tsboot: tsboot.s
23 as tsboot.s
24 nm -u a.out
25 strip a.out
26 dd if=a.out of=b.out bs=32 skip=1
27 dd if=b.out of=tsboot conv=sync
28
29hpboot: hpboot.s
30 as hpboot.s
31 nm -u a.out
32 strip a.out
33 dd if=a.out bs=32 skip=1 of=b.out
34 dd if=b.out of=hpboot conv=sync
35
36hkboot: hkboot.s
37 as hkboot.s
38 nm -u a.out
39 strip a.out
40 dd if=a.out bs=32 skip=1 of=b.out
41 dd if=b.out of=hkboot conv=sync
42
43upboot: upboot.s
44 as upboot.s
45 nm -u a.out
46 strip a.out
47 dd if=a.out bs=32 skip=1 of=b.out
48 dd if=b.out of=upboot conv=sync
49
50mtboot: mtboot.s
51 as mtboot.s
52 nm -u a.out
53 strip a.out
54 dd if=a.out bs=32 skip=1 of=b.out
55 dd if=b.out of=mtboot conv=sync
56
f4cc9d92
SL
57utboot: utboot.s
58 as utboot.s
59 nm -u a.out
60 strip a.out
61 dd if=a.out bs=32 skip=1 of=b.out
62 dd if=b.out of=utboot conv=sync
63
393ec768
SL
64httoggle: httoggle.s
65 as httoggle.s
66 nm -u a.out
67 strip a.out
68 dd if=a.out bs=32 skip=1 of=httoggle
69
70tstoggle: tstoggle.s
71 as tstoggle.s
72 nm -u a.out
73 strip a.out
74 dd if=a.out bs=32 skip=1 of=tstoggle
75
76tmtoggle: tmtoggle.s
77 as tmtoggle.s
78 nm -u a.out
79 strip a.out
80 dd if=a.out bs=32 skip=1 of=tmtoggle
81
82mttoggle: mttoggle.s
83 as mttoggle.s
84 nm -u a.out
85 strip a.out
86 dd if=a.out bs=32 skip=1 of=mttoggle
87
f4cc9d92
SL
88uttoggle: uttoggle.s
89 as uttoggle.s
90 nm -u a.out
91 strip a.out
92 dd if=a.out bs=32 skip=1 of=uttoggle
93
393ec768
SL
94noboot:
95 echo | dd of=noboot conv=sync
96
97clean:
98 rm -f a.out b.out ${ALL}
99
100install:
101 cp *boot /usr/mdec
102 rm -f /usr/mdec/mboot
103 ln /usr/mdec/htboot /usr/mdec/mboot
104 rm -f /usr/mdec/uboot
105 ln /usr/mdec/hpboot /usr/mdec/uboot