|
|
1.1 root 1: #
2: # Makefile for ibm specific coherent sources and coherent images.
3: #
4:
5: USRINC=/usr/include
6: SYSINC=$(USRINC)/sys
7: AS=exec /bin/as
8: CC=exec /bin/cc
9: ASFLAGS=-g
10: T=/tmp
11:
12: # HAIINC = $(SYSINC)/haiinst.h $(SYSINC)/haiscsi.h
13:
14: HAIOBJ = \
15: $(K386OBJ)/hai154x.o \
16: $(K386OBJ)/haict.o \
17: $(K386OBJ)/haiscsi.o \
18: $(K386OBJ)/haisd.o
19:
20: IOOBJ = \
21: $(K386OBJ)/aha.o \
22: $(K386OBJ)/aha_dsl.o \
23: $(K386OBJ)/albaud.o \
24: $(K386OBJ)/alx.o \
25: $(K386OBJ)/asy.o \
26: $(K386OBJ)/at.o \
27: $(K386OBJ)/bufq.o \
28: $(K386OBJ)/com1.o \
29: $(K386OBJ)/com2.o \
30: $(K386OBJ)/ct.o \
31: $(K386OBJ)/dmareq.o \
32: $(K386OBJ)/fdisk.o \
33: $(K386OBJ)/fdc.o \
34: $(K386OBJ)/fl386.o \
35: $(K386OBJ)/ft.o \
36: $(K386OBJ)/hai.o \
37: $(K386OBJ)/hs.o \
38: $(K386OBJ)/ipc.o \
39: $(K386OBJ)/lp.o \
40: $(K386OBJ)/kb.o \
41: $(K386OBJ)/mm.o \
42: $(K386OBJ)/mmas.o \
43: $(K386OBJ)/msg.o \
44: $(K386OBJ)/nkb.o \
45: $(K386OBJ)/pty.o \
46: $(K386OBJ)/putchar.o \
47: $(K386OBJ)/rm.o \
48: $(K386OBJ)/scsi.o \
49: $(K386OBJ)/sem386.o \
50: $(K386OBJ)/shm1.o \
51: $(K386OBJ)/ss.o \
52: $(K386OBJ)/tty.o \
53: $(K386OBJ)/vtkb.o \
54: $(K386OBJ)/vtnkb.o \
55: $(K386OBJ)/vtmm.o \
56: $(K386OBJ)/vtmmas.o \
57: $(K386OBJ)/xla.o \
58: $(K386OBJ)/xl_dec.o \
59: $(K386OBJ)/xlft.o
60: # $(K386OBJ)/kb.o \
61: # $(K386OBJ)/kb_d.o \
62: # $(K386OBJ)/kb_f.o \
63: # $(K386OBJ)/vtkb.o \
64: # $(K386OBJ)/vtkb_d.o \
65: # $(K386OBJ)/vtkb_f.o \
66:
67: all: $(IOOBJ)
68: @echo "io objects up to date"
69:
70: clean:
71: @:
72:
73: $(K386OBJ)/aha.o: aha.c $(SYSINC)/aha154x.h
74: $(CC) $(CFLAGS) -c -o $@ aha.c
75:
76: $(K386OBJ)/aha_dsl.o: aha_dsl.c $(SYSINC)/aha154x.h
77: $(CC) $(CFLAGS) -c -o $@ aha_dsl.c
78:
79: $(K386OBJ)/albaud.o: albaud.c
80: $(CC) $(CFLAGS) -c -o $@ $<
81:
82: $(K386OBJ)/alx.o: alx.c \
83: $(SYSINC)/clist.h $(SYSINC)/coherent.h \
84: $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
85: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h $(SYSINC)/con.h
86: $(CC) $(CFLAGS) -c -o $@ alx.c
87:
88: $(K386OBJ)/asy.o: asy.c
89: $(CC) $(CFLAGS) -c -o $@ $<
90:
91: $(K386OBJ)/at.o: at.c
92: $(CC) $(CFLAGS) -c -o $@ $<
93:
94: $(K386OBJ)/bufq.o: bufq.c $(SYSINC)/buf.h $(SYSINC)/coherent.h
95: $(CC) $(CFLAGS) -DALCOM1=1 -c -o $@ bufq.c
96:
97: $(K386OBJ)/com1.o: al.c \
98: $(SYSINC)/clist.h $(SYSINC)/coherent.h $(SYSINC)/types.h \
99: $(USRINC)/kernel/timeout.h $(USRINC)/kernel/reg.h \
100: $(USRINC)/kernel/param.h $(SYSINC)/con.h $(USRINC)/sys/errno.h \
101: $(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
102: $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
103: $(CC) $(CFLAGS) -DALCOM1=1 -c -o $@ al.c
104:
105: $(K386OBJ)/com2.o: al.c \
106: $(SYSINC)/clist.h $(SYSINC)/coherent.h $(SYSINC)/types.h \
107: $(USRINC)/kernel/timeout.h $(USRINC)/kernel/reg.h \
108: $(USRINC)/kernel/param.h $(SYSINC)/con.h $(USRINC)/sys/errno.h \
109: $(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
110: $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
111: $(CC) $(CFLAGS) -DALCOM2=1 -c -o $@ al.c
112:
113: $(K386OBJ)/ct.o: ct.c
114: $(CC) $(CFLAGS) -c -o $@ $<
115:
116: $(K386OBJ)/dmareq.o: \
117: $(SYSINC)/buf.h \
118: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
119: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
120: $(SYSINC)/con.h \
121: $(SYSINC)/dmac.h \
122: $(USRINC)/sys/errno.h \
123: $(SYSINC)/io.h \
124: $(SYSINC)/proc.h $(SYSINC)/types.h $(USRINC)/poll.h \
125: $(SYSINC)/sched.h \
126: $(SYSINC)/seg.h \
127: $(SYSINC)/stat.h \
128: $(SYSINC)/uproc.h \
129: dmareq.c
130: $(CC) $(CFLAGS) -c -o $@ dmareq.c
131:
132: $(K386OBJ)/fdisk.o: \
133: $(SYSINC)/buf.h \
134: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
135: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
136: $(SYSINC)/con.h \
137: $(USRINC)/sys/errno.h \
138: $(SYSINC)/fdisk.h \
139: $(SYSINC)/file.h \
140: $(SYSINC)/uproc.h \
141: fdisk.c
142: $(CC) $(CFLAGS) -c -o $@ fdisk.c
143:
144: $(K386OBJ)/fdc.o: \
145: $(SYSINC)/buf.h \
146: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
147: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
148: $(SYSINC)/con.h \
149: $(USRINC)/sys/errno.h \
150: $(SYSINC)/fdc765.h \
151: $(SYSINC)/uproc.h \
152: fdc.c
153: $(CC) $(CFLAGS) -c -o $@ fdc.c
154:
155: $(K386OBJ)/fl386.o: \
156: $(SYSINC)/buf.h \
157: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
158: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
159: $(SYSINC)/con.h \
160: $(USRINC)/sys/errno.h \
161: $(SYSINC)/fdioctl.h \
162: $(SYSINC)/sched.h \
163: $(SYSINC)/fdc765.h \
164: $(SYSINC)/uproc.h \
165: $(SYSINC)/file.h \
166: fl386.c
167: $(CC) $(CFLAGS) -c -o $@ fl386.c
168:
169: $(K386OBJ)/fontw.o: fontgen.c
170: $(CC) -i fontgen.c -o fontgen
171: : ./fontgen > $*.s
172: rm fontgen
173: : $(AS) -gxo $@ $*.s
174:
175: $(K386OBJ)/ft.o: ft.c
176: $(CC) $(CFLAGS) -VSUVAR -c -o $@ $<
177:
178: $(K386OBJ)/hai.o: $(HAIOBJ) $(HAIINC)
179: ld -r -o $@ $(HAIOBJ)
180:
181: $(K386OBJ)/hai154x.o: hai154x.c $(HAIINC)
182: $(CC) $(CFLAGS) -c -o $@ hai154x.c
183:
184: $(K386OBJ)/haict.o: haict.c $(HAIINC)
185: $(CC) $(CFLAGS) -c -o $@ haict.c
186:
187: $(K386OBJ)/haiscsi.o: haiscsi.c $(HAIINC)
188: $(CC) $(CFLAGS) -c -o $@ haiscsi.c
189:
190: $(K386OBJ)/haisd.o: haisd.c $(HAIINC)
191: $(CC) $(CFLAGS) -c -o $@ haisd.c
192:
193: $(K386OBJ)/hs.o: hs.c
194: $(CC) $(CFLAGS) -c -o $@ hs.c
195:
196: $(K386OBJ)/ipc.o: ipc.c
197: $(CC) $(CFLAGS) -c -o $@ $<
198:
199: $(K386OBJ)/kb.o: \
200: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
201: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
202: $(SYSINC)/con.h \
203: $(USRINC)/sys/errno.h \
204: $(SYSINC)/sched.h \
205: $(USRINC)/signal.h \
206: $(SYSINC)/stat.h \
207: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
208: $(SYSINC)/uproc.h \
209: kb.c
210: $(CC) $(CFLAGS) -c -o $@ kb.c
211:
212: $(K386OBJ)/vtkb.o: \
213: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
214: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
215: $(SYSINC)/con.h \
216: $(USRINC)/sys/errno.h \
217: $(SYSINC)/sched.h \
218: $(USRINC)/signal.h \
219: $(SYSINC)/stat.h \
220: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
221: $(SYSINC)/uproc.h \
222: $(SYSINC)/kb.h \
223: $(SYSINC)/vt.h \
224: vtkb.c
225: $(CC) $(CFLAGS) -c -o $@ vtkb.c
226:
227: $(K386OBJ)/lp.o: \
228: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
229: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
230: $(SYSINC)/con.h \
231: $(USRINC)/sys/errno.h \
232: $(SYSINC)/io.h \
233: $(SYSINC)/proc.h $(SYSINC)/types.h $(USRINC)/poll.h \
234: $(SYSINC)/stat.h \
235: $(SYSINC)/uproc.h \
236: lp386.c
237: $(CC) $(CFLAGS) -c -o $@ lp386.c
238:
239: $(K386OBJ)/mm.o: \
240: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
241: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
242: $(SYSINC)/sched.h \
243: $(USRINC)/sys/errno.h \
244: $(SYSINC)/stat.h \
245: $(SYSINC)/io.h \
246: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
247: $(SYSINC)/uproc.h \
248: mm.c
249: $(CC) $(CFLAGS) -c -o $@ mm.c
250:
251: $(K386OBJ)/mmas.o: mmas.s
252: $(AS) -g -x -o $@ $<
253:
254: $(K386OBJ)/msg.o: msg386.c
255: $(CC) $(CFLAGS) -c -o $@ $<
256:
257: $(K386OBJ)/nkb.o: \
258: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
259: $(USRINC)/kernel/param.h \
260: $(SYSINC)/con.h \
261: $(SYSINC)/devices.h \
262: $(USRINC)/sys/errno.h \
263: $(SYSINC)/kb.h \
264: $(USRINC)/kernel/reg.h \
265: $(SYSINC)/seg.h \
266: $(SYSINC)/sched.h \
267: $(USRINC)/signal.h \
268: $(SYSINC)/stat.h \
269: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
270: $(SYSINC)/uproc.h \
271: nkb.c
272: $(CC) $(CFLAGS) -c -o $@ nkb.c
273:
274: $(K386OBJ)/pty.o: pty.c \
275: $(SYSINC)/stat.h $(SYSINC)/uproc.h \
276: $(SYSINC)/tty.h $(SYSINC)/con.h \
277: $(SYSINC)/devices.h $(USRINC)/sys/errno.h
278: $(CC) $(CFLAGS) -c -o $@ pty.c
279:
280: $(K386OBJ)/putchar.o: \
281: $(SYSINC)/coherent.h $(SYSINC)/types.h $(USRINC)/kernel/timeout.h \
282: $(USRINC)/kernel/reg.h $(USRINC)/kernel/param.h \
283: $(SYSINC)/asy.h \
284: $(SYSINC)/con.h \
285: $(SYSINC)/devices.h \
286: $(SYSINC)/file.h \
287: $(SYSINC)/io.h \
288: $(SYSINC)/stat.h \
289: putchar.c
290: $(CC) $(CFLAGS) -c -o $@ putchar.c
291:
292: $(K386OBJ)/rm.o: rm.c \
293: $(SYSINC)/file.h
294: $(CC) $(CFLAGS) -c -o $@ rm.c
295:
296: $(K386OBJ)/scsi.o: scsi.c
297: $(CC) $(CFLAGS) -c -o $@ $<
298:
299: $(K386OBJ)/sem386.o: sem386.c
300: $(CC) $(CFLAGS) -c -o $@ $<
301:
302: $(K386OBJ)/shm1.o: shm1.c
303: $(CC) $(CFLAGS) -c -o $@ $<
304:
305: $(K386OBJ)/ss.o: ss.c
306: $(CC) $(CFLAGS) -c -o $@ $<
307:
308: $(K386OBJ)/tty.o: tty.c \
309: $(SYSINC)/file.h
310: $(CC) $(CFLAGS) -c -o $@ tty.c
311:
312: $(K386OBJ)/vtmm.o: vtmm.c
313: $(CC) $(CFLAGS) -c -o $@ $<
314:
315: $(K386OBJ)/vtmmas.o: vtmmas.s
316: $(AS) -g -x -o $@ $<
317:
318: $(K386OBJ)/vtnkb.o: vtnkb.c
319: $(CC) $(CFLAGS) -c -o $@ $<
320:
321: $(K386OBJ)/xlft.o: xlft.c \
322: $(SYSINC)/file.h
323: $(CC) $(CFLAGS) -VSUVAR -c -o $@ xlft.c
324:
325: $(K386OBJ)/xl_dec.o: xl_dec.c
326: $(CC) $(CFLAGS) -c -o $@ $<
327:
328: $(K386OBJ)/xla.o: xla.s
329: $(AS) -g -o $@ $<
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.