Commit | Line | Data |
---|---|---|
92e67171 | 1 | # @(#)Makefile 6.1 %G% |
393ec768 | 2 | # |
278e42ae | 3 | ALL= hkboot hpboot htboot mtboot noboot raboot rlboot \ |
f687b90b | 4 | upboot utboot tmboot tsboot tuboot \ |
278e42ae | 5 | httoggle mttoggle tmtoggle tstoggle uttoggle |
393ec768 SL |
6 | |
7 | all: ${ALL} | |
8 | ||
278e42ae SL |
9 | hkboot: 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 | ||
16 | hpboot: 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 | ||
393ec768 SL |
23 | htboot: 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 | ||
278e42ae SL |
30 | mtboot: 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 | ||
37 | raboot: 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 | ||
44 | rlboot: 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 | ||
393ec768 SL |
51 | tmboot: 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 | ||
58 | tsboot: 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 | ||
393ec768 SL |
65 | upboot: 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 | ||
f687b90b SL |
72 | tuboot: 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 | ||
f4cc9d92 SL |
79 | utboot: 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 | ||
393ec768 SL |
86 | httoggle: 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 | ||
278e42ae SL |
92 | mttoggle: mttoggle.s |
93 | as mttoggle.s | |
393ec768 SL |
94 | nm -u a.out |
95 | strip a.out | |
278e42ae | 96 | dd if=a.out bs=32 skip=1 of=mttoggle |
393ec768 SL |
97 | |
98 | tmtoggle: 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 | ||
278e42ae SL |
104 | tstoggle: tstoggle.s |
105 | as tstoggle.s | |
393ec768 SL |
106 | nm -u a.out |
107 | strip a.out | |
278e42ae | 108 | dd if=a.out bs=32 skip=1 of=tstoggle |
393ec768 | 109 | |
f4cc9d92 SL |
110 | uttoggle: 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 | ||
393ec768 SL |
116 | noboot: |
117 | echo | dd of=noboot conv=sync | |
118 | ||
119 | clean: | |
120 | rm -f a.out b.out ${ALL} | |
121 | ||
122 | install: | |
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 |