|
|
1.1 root 1: # Makefile for AT specific Coherent drivers
2: # Environment variable USRSYS must be defined! Try /usr/sys ...
3: # Environment variable KOBJ must be defined! Try /usr/kobj ...
4:
5: # Include directories
6: USRINC=/usr/include
7: SYSINC=/usr/include/sys
8: IO386=$(KS)/io.386
9:
10: DEBUG=0
11:
12: # Loadable driver directory
13: LDRV=$(USRSYS)/ldrv
14:
15: ARCHIVES=$(USRSYS)/lib/aha154x.a \
16: $(USRSYS)/lib/al.a \
17: $(USRSYS)/lib/asy.a \
18: $(USRSYS)/lib/at.a \
19: $(USRSYS)/lib/ati.a \
20: $(USRSYS)/lib/fl.a \
21: $(USRSYS)/lib/gr.a \
22: $(USRSYS)/lib/hs.a \
23: $(USRSYS)/lib/kb.a \
24: $(USRSYS)/lib/kb_d.a \
25: $(USRSYS)/lib/kb_f.a \
26: $(USRSYS)/lib/lp.a \
27: $(USRSYS)/lib/mm.a \
28: $(USRSYS)/lib/ms.a \
29: $(USRSYS)/lib/msg.a \
30: $(USRSYS)/lib/nkb.a \
31: $(USRSYS)/lib/rm.a \
32: $(USRSYS)/lib/rs.a \
33: $(USRSYS)/lib/sem.a \
34: $(USRSYS)/lib/shm.a \
35: $(USRSYS)/lib/st.a \
36: $(USRSYS)/lib/tn.a \
37: $(USRSYS)/lib/vt.a \
38:
39: DRVOBJ= $(KOBJ)/aha.o \
40: $(KOBJ)/alx.o \
41: $(KOBJ)/at.o \
42: $(KOBJ)/atas.o \
43: $(KOBJ)/bufq.o \
44: $(KOBJ)/ati.o \
45: $(KOBJ)/com1.o $(KOBJ)/com2.o \
46: $(KOBJ)/fdisk.o \
47: $(KOBJ)/fl.o \
48: $(KOBJ)/fontw.o \
49: $(KOBJ)/gr.o $(KOBJ)/gras.o \
50: $(KOBJ)/hs.o \
51: $(KOBJ)/ipc.o \
52: $(KOBJ)/ipcas.o \
53: $(KOBJ)/nkb.o \
54: $(KOBJ)/kb.o \
55: $(KOBJ)/kb_d.o \
56: $(KOBJ)/kb_f.o \
57: $(KOBJ)/kb_vt.o \
58: $(KOBJ)/mm.o \
59: $(KOBJ)/mm_vt.o \
60: $(KOBJ)/ms.o \
61: $(KOBJ)/msg.o \
62: $(KOBJ)/msgcon.o \
63: $(KOBJ)/lp.o \
64: $(KOBJ)/mmas.o \
65: $(KOBJ)/mmas_vt.o \
66: $(KOBJ)/rm.o \
67: $(KOBJ)/rs0.o $(KOBJ)/rs1.o $(KOBJ)/rsas.o \
68: $(KOBJ)/scsi.o \
69: $(KOBJ)/sem.o \
70: $(KOBJ)/semcon.o \
71: $(KOBJ)/shm.o \
72: $(KOBJ)/shmcon.o \
73: $(KOBJ)/ss.o \
74: $(KOBJ)/ssas.o \
75: $(KOBJ)/st.o \
76: $(KOBJ)/tn.o $(KOBJ)/tnas.o \
77:
78: DRIVERS=$(LDRV)/aha154x \
79: $(LDRV)/al0 \
80: $(LDRV)/al1 \
81: $(LDRV)/asy \
82: $(LDRV)/at \
83: $(LDRV)/fl \
84: $(LDRV)/gr \
85: $(LDRV)/hs \
86: $(LDRV)/lp \
87: $(LDRV)/mm \
88: $(LDRV)/ms \
89: $(LDRV)/msg \
90: $(LDRV)/rm \
91: $(LDRV)/sem \
92: $(LDRV)/shm \
93: $(LDRV)/ss \
94: $(LDRV)/vt \
95:
96: install: $(ARCHIVES) $(DRIVERS)
97: @exec /bin/sync
98:
99: all: $(DRVOBJ)
100: @exec /bin/sync
101:
102: $(USRSYS)/lib/aha154x.a: $(KOBJ)/scsi.o $(KOBJ)/aha.o $(KOBJ)/fdisk.o
103: rm -f $@
104: ar rc $@ $<
105: $(USRSYS)/lib/al.a: $(KOBJ)/com1.o $(KOBJ)/com2.o $(KOBJ)/alx.o
106: rm -f $@
107: ar rc $@ $<
108: $(USRSYS)/lib/asy.a: $(KOBJ)/asy.o
109: rm -f $@
110: ar rc $@ $<
111: $(USRSYS)/lib/at.a: $(KOBJ)/at.o $(KOBJ)/atas.o $(KOBJ)/fdisk.o
112: rm -f $@
113: ar rc $@ $<
114: $(USRSYS)/lib/ati.a: $(KOBJ)/mm.o $(KOBJ)/ati.o
115: rm -f $@
116: ar rc $@ $<
117: $(USRSYS)/lib/fl.a: $(KOBJ)/fl.o
118: rm -f $(USRSYS)/lib/fl.a
119: ar rc $(USRSYS)/lib/fl.a $(KOBJ)/fl.o
120: $(USRSYS)/lib/gr.a: $(KOBJ)/mm.o $(KOBJ)/gr.o $(KOBJ)/gras.o \
121: $(KOBJ)/fontw.o
122: rm -f $@
123: ar rc $@ $<
124: $(USRSYS)/lib/hs.a: $(KOBJ)/hs.o
125: rm -f $@
126: ar rc $@ $<
127: $(USRSYS)/lib/kb.a: $(KOBJ)/kb.o
128: rm -f $@
129: ar rc $@ $<
130: $(USRSYS)/lib/kb_d.a: $(KOBJ)/kb_d.o
131: rm -f $@
132: ar rc $@ $<
133: $(USRSYS)/lib/kb_f.a: $(KOBJ)/kb_f.o
134: rm -f $@
135: ar rc $@ $<
136: $(USRSYS)/lib/lp.a: $(KOBJ)/lp.o
137: rm -f $@
138: ar rc $@ $<
139: $(USRSYS)/lib/mm.a: $(KOBJ)/mm.o $(KOBJ)/mmas.o
140: rm -f $@
141: ar rc $@ $<
142: $(USRSYS)/lib/ms.a: $(KOBJ)/ms.o
143: rm -f $@
144: ar rc $@ $<
145: $(USRSYS)/lib/msg.a: $(KOBJ)/msg.o $(KOBJ)/msgcon.o \
146: $(KOBJ)/ipc.o $(KOBJ)/ipcas.o
147: rm -f $@
148: ar rc $@ $<
149: $(USRSYS)/lib/nkb.a: $(KOBJ)/nkb.o
150: rm -f $@
151: ar rc $@ $<
152: $(USRSYS)/lib/rm.a: $(KOBJ)/rm.o
153: rm -f $@
154: ar rc $@ $<
155: $(USRSYS)/lib/rs.a: $(KOBJ)/rs0.o $(KOBJ)/rs1.o $(KOBJ)/rsas.o
156: rm -f $@
157: ar rc $@ $<
158: $(USRSYS)/lib/sem.a: $(KOBJ)/sem.o $(KOBJ)/semcon.o \
159: $(KOBJ)/ipc.o
160: rm -f $@
161: ar rc $@ $<
162: $(USRSYS)/lib/shm.a: $(KOBJ)/shm.o $(KOBJ)/shmcon.o \
163: $(KOBJ)/ipc.o $(KOBJ)/ipcas.o
164: rm -f $@
165: ar rc $@ $<
166: $(USRSYS)/lib/ss.a: $(KOBJ)/ss.o $(KOBJ)/ssas.o $(KOBJ)/bufq.o $(KOBJ)/fdisk.o
167: rm -f $@
168: ar rc $@ $<
169: $(USRSYS)/lib/st.a: $(KOBJ)/st.o
170: rm -f $@
171: ar rc $@ $<
172: $(USRSYS)/lib/tn.a: $(KOBJ)/tn.o $(KOBJ)/tnas.o
173: rm -f $@
174: ar rc $@ $<
175: $(USRSYS)/lib/vt.a: $(KOBJ)/mm_vt.o $(KOBJ)/mmas_vt.o $(KOBJ)/kb_vt.o
176: rm -f $@
177: ar rc $@ $<
178:
179: $(KOBJ)/aha.o: \
180: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
181: $(SYSINC)/machine.h $(SYSINC)/param.h \
182: $(SYSINC)/fun.h $(SYSINC)/mmu.h \
183: $(SYSINC)/buf.h \
184: $(SYSINC)/sched.h \
185: $(SYSINC)/scsiwork.h \
186: $(SYSINC)/aha154x.h \
187: $(IO386)/aha.c
188: $(CC) $(CFLAGS) -c -o $@ $(IO386)/aha.c
189:
190: $(KOBJ)/alx.o: \
191: $(SYSINC)/clist.h \
192: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
193: $(SYSINC)/machine.h $(SYSINC)/param.h \
194: $(SYSINC)/fun.h \
195: $(SYSINC)/con.h \
196: $(USRINC)/errno.h \
197: $(SYSINC)/i8086.h \
198: $(SYSINC)/ins8250.h \
199: $(SYSINC)/sched.h \
200: $(SYSINC)/stat.h \
201: $(SYSINC)/timeout.h \
202: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
203: $(SYSINC)/uproc.h \
204: $(IO386)/alx.c
205: $(CC) $(CFLAGS) -c -o $@ $(IO386)/alx.c
206:
207: $(KOBJ)/asy.o: $(IO386)/asy.c
208: $(CC) $(CFLAGS) -c -o $@ $(IO386)/asy.c
209:
210: $(KOBJ)/at.o: $(IO386)/at.c \
211: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
212: $(SYSINC)/machine.h $(SYSINC)/param.h \
213: $(SYSINC)/fun.h \
214: $(SYSINC)/fdisk.h \
215: $(SYSINC)/hdioctl.h \
216: $(SYSINC)/buf.h \
217: $(SYSINC)/con.h \
218: $(SYSINC)/devices.h \
219: $(SYSINC)/stat.h \
220: $(SYSINC)/uproc.h \
221: $(USRINC)/errno.h
222: $(CC) $(CFLAGS) -DVERBOSE=1 -c -o $@ $(IO386)/at.c
223:
224: $(KOBJ)/atas.o: atas.s
225: $(AS) -go $@ $<
226:
227: $(KOBJ)/ati.o: ati.m
228: $(CC) $(CFLAGS) -DATI_132=1 -c -o $@ ati.m
229:
230: $(KOBJ)/bufq.o: \
231: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
232: $(SYSINC)/machine.h $(SYSINC)/param.h \
233: $(SYSINC)/fun.h $(SYSINC)/mmu.h \
234: $(SYSINC)/buf.h \
235: $(IO386)/bufq.c
236: $(CC) $(CFLAGS) -DDEBUG=$(DEBUG) -c -o $@ $(IO386)/bufq.c
237:
238: $(KOBJ)/com1.o: \
239: $(SYSINC)/al.h \
240: $(SYSINC)/clist.h \
241: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
242: $(SYSINC)/machine.h $(SYSINC)/param.h \
243: $(SYSINC)/fun.h \
244: $(SYSINC)/con.h \
245: $(SYSINC)/devices.h \
246: $(USRINC)/errno.h \
247: $(SYSINC)/i8086.h \
248: $(SYSINC)/ins8250.h \
249: $(SYSINC)/sched.h \
250: $(SYSINC)/stat.h \
251: $(SYSINC)/timeout.h \
252: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
253: $(SYSINC)/uproc.h \
254: $(IO386)/al.c
255: $(CC) $(CFLAGS) -DALCOM1=1 -c -o $@ $(IO386)/al.c
256:
257: $(KOBJ)/com2.o: \
258: $(SYSINC)/al.h \
259: $(SYSINC)/clist.h \
260: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
261: $(SYSINC)/machine.h $(SYSINC)/param.h \
262: $(SYSINC)/fun.h \
263: $(SYSINC)/con.h \
264: $(SYSINC)/devices.h \
265: $(USRINC)/errno.h \
266: $(SYSINC)/i8086.h \
267: $(SYSINC)/ins8250.h \
268: $(SYSINC)/sched.h \
269: $(SYSINC)/stat.h \
270: $(SYSINC)/timeout.h \
271: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
272: $(SYSINC)/uproc.h \
273: $(IO386)/al.c
274: $(CC) $(CFLAGS) -DALCOM2=1 -c -o $@ $(IO386)/al.c
275:
276: $(KOBJ)/fdisk.o: \
277: $(SYSINC)/buf.h \
278: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
279: $(SYSINC)/machine.h $(SYSINC)/param.h \
280: $(SYSINC)/fun.h \
281: $(SYSINC)/con.h \
282: $(USRINC)/errno.h \
283: $(SYSINC)/fdisk.h \
284: $(SYSINC)/inode.h \
285: $(SYSINC)/uproc.h \
286: $(IO386)/fdisk.c
287: $(CC) $(CFLAGS) -c -o $@ $(IO386)/fdisk.c
288:
289: $(KOBJ)/fl.o: \
290: $(SYSINC)/buf.h \
291: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
292: $(SYSINC)/machine.h $(SYSINC)/param.h \
293: $(SYSINC)/fun.h \
294: $(SYSINC)/con.h \
295: $(SYSINC)/devices.h \
296: $(SYSINC)/dmac.h \
297: $(USRINC)/errno.h \
298: $(SYSINC)/fdioctl.h \
299: $(SYSINC)/i8086.h \
300: $(SYSINC)/sched.h \
301: $(SYSINC)/stat.h \
302: $(SYSINC)/timeout.h \
303: $(SYSINC)/uproc.h \
304: $(IO386)/fl.c
305: $(CC) $(CFLAGS) -c -o $@ $(IO386)/fl.c
306:
307: $(KOBJ)/fontw.o: $(KS)/tools/fontgen.c
308: $(CC) -o $(KS)/tools/fontgen $(KS)/tools/fontgen.c
309: exec $(KS)/tools/fontgen > fontw.s
310: exec /bin/rm $(KS)/tools/fontgen
311: $(AS) -gxo $(KOBJ)/fontw.o fontw.s
312: exec /bin/rm fontw.s
313:
314: $(KOBJ)/gr.o: \
315: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
316: $(SYSINC)/machine.h $(SYSINC)/param.h \
317: $(SYSINC)/fun.h \
318: $(SYSINC)/con.h \
319: $(SYSINC)/devices.h \
320: $(USRINC)/errno.h \
321: $(SYSINC)/sched.h \
322: $(SYSINC)/timeout.h \
323: $(SYSINC)/types.h \
324: $(SYSINC)/uproc.h \
325: gr.c
326: $(CC) $(CFLAGS) -c -o $@ gr.c
327:
328: $(KOBJ)/gras.o: gras.m
329: $(CC) $(CFLAGS) -c -o $@ gras.m
330:
331: $(KOBJ)/hgas.o: gras.s
332: $(CC) $(CFLAGS) -c -o $@ -DHERCULES gras.m
333:
334: $(KOBJ)/hd.o: hd.c
335: $(CC) $(CFLAGS) -c -o $@ hd.c
336:
337: $(KOBJ)/hs.o: \
338: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
339: $(SYSINC)/machine.h $(SYSINC)/param.h \
340: $(SYSINC)/fun.h \
341: $(SYSINC)/con.h \
342: $(SYSINC)/devices.h \
343: $(USRINC)/errno.h \
344: $(SYSINC)/ins8250.h \
345: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
346: $(SYSINC)/stat.h \
347: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
348: $(SYSINC)/uproc.h \
349: $(IO386)/hs.c
350: $(CC) $(CFLAGS) -c -o $@ $(IO386)/hs.c
351:
352: $(KOBJ)/ipc.o: $(IO386)/ipc.c
353: $(CC) $(CFLAGS) -c -o $@ $<
354:
355: $(KOBJ)/ipcas.o: ipcas.s
356: $(AS) -gxo $@ $<
357:
358: $(KOBJ)/kb.o: \
359: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
360: $(SYSINC)/machine.h $(SYSINC)/param.h \
361: $(SYSINC)/fun.h \
362: $(SYSINC)/con.h \
363: $(SYSINC)/devices.h \
364: $(USRINC)/errno.h \
365: $(SYSINC)/i8086.h \
366: $(SYSINC)/sched.h \
367: $(USRINC)/signal.h \
368: $(SYSINC)/stat.h \
369: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
370: $(SYSINC)/uproc.h \
371: $(IO386)/kb.c
372: $(CC) $(CFLAGS) -c -o $@ $(IO386)/kb.c
373:
374: $(KOBJ)/kb_vt.o: \
375: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
376: $(SYSINC)/machine.h $(SYSINC)/param.h \
377: $(SYSINC)/fun.h \
378: $(SYSINC)/con.h \
379: $(SYSINC)/devices.h \
380: $(USRINC)/errno.h \
381: $(SYSINC)/i8086.h \
382: $(SYSINC)/sched.h \
383: $(USRINC)/signal.h \
384: $(SYSINC)/stat.h \
385: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
386: $(SYSINC)/uproc.h \
387: kb_vt.c
388: $(CC) $(CFLAGS) -c -o $@ kb_vt.c
389:
390: $(KOBJ)/kb_d.o: \
391: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
392: $(SYSINC)/machine.h $(SYSINC)/param.h \
393: $(SYSINC)/fun.h \
394: $(SYSINC)/con.h \
395: $(USRINC)/errno.h \
396: $(SYSINC)/i8086.h \
397: $(SYSINC)/sched.h \
398: $(USRINC)/signal.h \
399: $(SYSINC)/stat.h \
400: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
401: $(SYSINC)/uproc.h \
402: $(IO386)/kb_d.c
403: $(CC) $(CFLAGS) -c -o $@ $(IO386)/kb_d.c
404:
405: $(KOBJ)/kb_f.o: \
406: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
407: $(SYSINC)/machine.h $(SYSINC)/param.h \
408: $(SYSINC)/fun.h \
409: $(SYSINC)/con.h \
410: $(USRINC)/errno.h \
411: $(SYSINC)/i8086.h \
412: $(SYSINC)/sched.h \
413: $(USRINC)/signal.h \
414: $(SYSINC)/stat.h \
415: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
416: $(SYSINC)/uproc.h \
417: $(IO386)/kb_f.c
418: $(CC) $(CFLAGS) -c -o $@ $(IO386)/kb_f.c
419:
420: $(KOBJ)/nkb.o: \
421: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
422: $(SYSINC)/machine.h $(SYSINC)/param.h \
423: $(SYSINC)/fun.h \
424: $(SYSINC)/con.h \
425: $(USRINC)/errno.h \
426: $(SYSINC)/i8086.h \
427: $(SYSINC)/sched.h \
428: $(SYSINC)/seg.h \
429: $(USRINC)/signal.h \
430: $(SYSINC)/stat.h \
431: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
432: $(SYSINC)/uproc.h \
433: $(SYSINC)/kb.h \
434: $(IO386)/nkb.c
435: $(CC) $(CFLAGS) -c -o $@ $(IO386)/nkb.c
436:
437: $(KOBJ)/lp.o: \
438: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
439: $(SYSINC)/machine.h $(SYSINC)/param.h \
440: $(SYSINC)/fun.h \
441: $(SYSINC)/con.h \
442: $(SYSINC)/devices.h \
443: $(USRINC)/errno.h \
444: $(SYSINC)/i8086.h \
445: $(SYSINC)/io.h \
446: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
447: $(SYSINC)/stat.h \
448: $(SYSINC)/timeout.h \
449: $(SYSINC)/uproc.h \
450: $(IO386)/lp.c
451: $(CC) $(CFLAGS) -c -o $@ $(IO386)/lp.c
452:
453: $(KOBJ)/mm.o: \
454: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
455: $(SYSINC)/machine.h $(SYSINC)/param.h \
456: $(SYSINC)/fun.h \
457: $(SYSINC)/sched.h \
458: $(USRINC)/errno.h \
459: $(SYSINC)/stat.h \
460: $(SYSINC)/io.h \
461: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
462: $(SYSINC)/uproc.h \
463: $(SYSINC)/timeout.h \
464: mm.c
465: $(CC) $(CFLAGS) -c -o $@ mm.c
466:
467: $(KOBJ)/mm_vt.o: \
468: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
469: $(SYSINC)/machine.h $(SYSINC)/param.h \
470: $(SYSINC)/fun.h \
471: $(SYSINC)/sched.h \
472: $(USRINC)/errno.h \
473: $(SYSINC)/stat.h \
474: $(SYSINC)/io.h \
475: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
476: $(SYSINC)/uproc.h \
477: $(SYSINC)/timeout.h \
478: mm_vt.c
479: $(CC) $(CFLAGS) -c -o $@ mm_vt.c
480:
481: $(KOBJ)/mmas.o: mmas.m
482: $(CC) $(CFLAGS) -c -o $@ mmas.m
483:
484: $(KOBJ)/mmas_vt.o: mmas_vt.m
485: $(CC) $(CFLAGS) -c -o $@ mmas_vt.m
486:
487: $(KOBJ)/ms.o: \
488: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
489: $(SYSINC)/machine.h $(SYSINC)/param.h \
490: $(SYSINC)/fun.h \
491: $(SYSINC)/uproc.h \
492: $(SYSINC)/con.h \
493: $(SYSINC)/devices.h \
494: $(SYSINC)/ms.h \
495: $(USRINC)/errno.h \
496: ms.c
497: $(CC) $(CFLAGS) -c -o $@ ms.c
498:
499: $(KOBJ)/msg.o: $(IO386)/msg.c
500: $(CC) $(CFLAGS) -c -o $@ $<
501:
502: $(KOBJ)/msgcon.o: $(IO386)/msgcon.c
503: $(CC) $(CFLAGS) -c -o $@ $<
504:
505: $(KOBJ)/rm.o: rm.c \
506: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
507: $(SYSINC)/machine.h $(SYSINC)/param.h \
508: $(SYSINC)/fun.h \
509: $(SYSINC)/buf.h \
510: $(USRINC)/errno.h \
511: $(SYSINC)/uproc.h \
512: $(SYSINC)/seg.h \
513: $(SYSINC)/con.h \
514: $(SYSINC)/devices.h \
515: $(SYSINC)/inode.h \
516: $(SYSINC)/stat.h
517: $(CC) $(CFLAGS) -c -o $@ rm.c
518:
519: $(KOBJ)/rs0.o: \
520: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
521: $(SYSINC)/machine.h $(SYSINC)/param.h \
522: $(SYSINC)/fun.h \
523: $(SYSINC)/con.h \
524: $(SYSINC)/devices.h \
525: $(USRINC)/errno.h \
526: $(SYSINC)/ins8250.h \
527: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
528: $(SYSINC)/sched.h \
529: $(SYSINC)/stat.h \
530: $(USRINC)/termio.h \
531: $(SYSINC)/uproc.h \
532: rs.c
533: $(CC) $(CFLAGS) -DRS0 -c -o $@ rs.c
534:
535: $(KOBJ)/rs1.o: \
536: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
537: $(SYSINC)/machine.h $(SYSINC)/param.h \
538: $(SYSINC)/fun.h \
539: $(SYSINC)/con.h \
540: $(SYSINC)/devices.h \
541: $(USRINC)/errno.h \
542: $(SYSINC)/ins8250.h \
543: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
544: $(SYSINC)/sched.h \
545: $(SYSINC)/stat.h \
546: $(USRINC)/termio.h \
547: $(SYSINC)/uproc.h \
548: rs.c
549: $(CC) $(CFLAGS) -DRS1 -c -o $@ rs.c
550:
551: $(KOBJ)/rsas.o: rsas.s
552: $(AS) -gxo $@ $<
553:
554: $(KOBJ)/scsi.o: \
555: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
556: $(SYSINC)/machine.h $(SYSINC)/param.h \
557: $(SYSINC)/fun.h $(SYSINC)/mmu.h \
558: $(SYSINC)/fdisk.h \
559: $(SYSINC)/hdioctl.h \
560: $(SYSINC)/sdioctl.h \
561: $(SYSINC)/buf.h \
562: $(SYSINC)/con.h \
563: $(SYSINC)/stat.h \
564: $(SYSINC)/uproc.h \
565: $(USRINC)/errno.h \
566: $(SYSINC)/scsiwork.h \
567: $(IO386)/scsi.c
568: $(CC) $(CFLAGS) -c -o $(KOBJ)/scsi.o $(IO386)/scsi.c
569:
570: $(KOBJ)/sem.o: $(IO386)/sem.c
571: $(CC) $(CFLAGS) -c -o $@ $<
572:
573: $(KOBJ)/semcon.o: $(IO386)/semcon.c
574: $(CC) $(CFLAGS) -c -o $@ $<
575:
576: $(KOBJ)/shm.o: $(IO386)/shm.c
577: $(CC) $(CFLAGS) -c -o $@ $<
578:
579: $(KOBJ)/shmcon.o: $(IO386)/shmcon.c
580: $(CC) $(CFLAGS) -c -o $@ $<
581:
582: $(KOBJ)/ss.o: \
583: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
584: $(SYSINC)/machine.h $(SYSINC)/param.h \
585: $(SYSINC)/fun.h $(SYSINC)/mmu.h \
586: $(SYSINC)/io.h \
587: $(SYSINC)/sched.h \
588: $(SYSINC)/uproc.h \
589: $(SYSINC)/proc.h \
590: $(SYSINC)/con.h \
591: $(SYSINC)/stat.h \
592: $(SYSINC)/devices.h \
593: $(USRINC)/errno.h \
594: $(SYSINC)/ss.h \
595: $(SYSINC)/fdisk.h \
596: $(SYSINC)/hdioctl.h \
597: $(SYSINC)/buf.h \
598: $(SYSINC)/scsiwork.h \
599: $(IO386)/ss.c
600: $(CC) $(CFLAGS) -DDEBUG=$(DEBUG) -c -o $(KOBJ)/ss.o $(IO386)/ss.c
601:
602: $(KOBJ)/ssas.o: \
603: ssas.s
604: $(AS) -go $@ $<
605:
606: $(KOBJ)/st.o: \
607: $(SYSINC)/buf.h \
608: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
609: $(SYSINC)/machine.h $(SYSINC)/param.h \
610: $(SYSINC)/fun.h \
611: $(SYSINC)/con.h \
612: $(SYSINC)/devices.h \
613: $(SYSINC)/const.h \
614: $(USRINC)/errno.h \
615: $(SYSINC)/inode.h \
616: $(SYSINC)/mtioctl.h \
617: $(SYSINC)/sched.h \
618: $(SYSINC)/seg.h \
619: $(SYSINC)/stat.h \
620: $(SYSINC)/uproc.h \
621: st.c
622: $(CC) $(CFLAGS) -c -o $@ st.c
623:
624: $(KOBJ)/tn.o: \
625: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
626: $(SYSINC)/machine.h $(SYSINC)/param.h \
627: $(SYSINC)/fun.h \
628: $(SYSINC)/con.h \
629: $(SYSINC)/devices.h \
630: $(USRINC)/errno.h \
631: $(SYSINC)/sched.h \
632: $(SYSINC)/timeout.h \
633: $(SYSINC)/types.h \
634: $(SYSINC)/uproc.h \
635: tn.c
636: $(CC) $(CFLAGS) -c -o $@ tn.c
637:
638: $(KOBJ)/tnas.o: tnas.s
639: $(AS) -gxo $@ tnas.s
640:
641: # How to make loadable drivers.
642:
643: $(LDRV)/aha154x: $(USRSYS)/lib/aha154x.a
644: ( cd $(USRSYS); ./ldconfig aha154x )
645:
646: $(LDRV)/al0: $(USRSYS)/lib/al.a
647: ( cd $(USRSYS); ./ldconfig al0 )
648:
649: $(LDRV)/al1: $(USRSYS)/lib/al.a
650: ( cd $(USRSYS); ./ldconfig al1 )
651:
652: $(LDRV)/asy: $(USRSYS)/lib/asy.a
653: ( cd $(USRSYS); ./ldconfig asy )
654:
655: $(LDRV)/at: $(USRSYS)/lib/at.a
656: ( cd $(USRSYS); ./ldconfig at )
657:
658: $(LDRV)/fl: $(USRSYS)/lib/fl.a
659: ( cd $(USRSYS); ./ldconfig fl )
660:
661: $(LDRV)/gr: $(USRSYS)/lib/gr.a
662: ( cd $(USRSYS); ./ldconfig gr )
663:
664: $(LDRV)/hs: $(USRSYS)/lib/hs.a
665: ( cd $(USRSYS); ./ldconfig hs )
666:
667: $(LDRV)/lp: $(USRSYS)/lib/lp.a
668: ( cd $(USRSYS); ./ldconfig lp )
669:
670: $(LDRV)/mm: $(USRSYS)/lib/mm.a
671: ( cd $(USRSYS); ./ldconfig mm )
672:
673: $(LDRV)/ms: $(USRSYS)/lib/ms.a
674: ( cd $(USRSYS); ./ldconfig ms )
675:
676: $(LDRV)/msg: $(USRSYS)/lib/msg.a
677: ( cd $(USRSYS); ./ldconfig msg )
678:
679: $(LDRV)/rm: $(USRSYS)/lib/rm.a
680: ( cd $(USRSYS); ./ldconfig rm )
681:
682: $(LDRV)/sem: $(USRSYS)/lib/sem.a
683: ( cd $(USRSYS); ./ldconfig sem )
684:
685: $(LDRV)/shm: $(USRSYS)/lib/shm.a
686: ( cd $(USRSYS); ./ldconfig shm )
687:
688: $(LDRV)/ss: $(USRSYS)/lib/ss.a
689: ( cd $(USRSYS); ./ldconfig ss )
690:
691: $(LDRV)/vt: $(USRSYS)/lib/vt.a
692: ( cd $(USRSYS); ./ldconfig vt )
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.