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