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