|
|
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: CFLAGS=
10: ASFLAGS=-g
11:
12: IOOBJ = \
13: $(K386OBJ)/aha.o \
14: $(K386OBJ)/aha_dsl.o \
15: $(K386OBJ)/albaud.o \
16: $(K386OBJ)/alx.o \
17: $(K386OBJ)/asy.o \
18: $(K386OBJ)/at.o \
19: $(K386OBJ)/bufq.o \
20: $(K386OBJ)/com1.o \
21: $(K386OBJ)/com2.o \
22: $(K386OBJ)/ct.o \
23: $(K386OBJ)/dmareq.o \
24: $(K386OBJ)/fdisk.o \
25: $(K386OBJ)/fl.o \
26: $(K386OBJ)/hs.o \
27: $(K386OBJ)/ipc.o \
28: $(K386OBJ)/kb.o \
29: $(K386OBJ)/kb_d.o \
30: $(K386OBJ)/kb_f.o \
31: $(K386OBJ)/lp.o \
32: $(K386OBJ)/mm.o \
33: $(K386OBJ)/mmas.o \
34: $(K386OBJ)/msg.o \
35: $(K386OBJ)/msgcon.o \
36: $(K386OBJ)/nkb.o \
37: $(K386OBJ)/pty.o \
38: $(K386OBJ)/putchar.o \
39: $(K386OBJ)/rm.o \
40: $(K386OBJ)/scsi.o \
41: $(K386OBJ)/sem.o \
42: $(K386OBJ)/semcon.o \
43: $(K386OBJ)/shm.o \
44: $(K386OBJ)/shmcon.o \
45: $(K386OBJ)/ss.o \
46: $(K386OBJ)/tty.o \
47: $(K386OBJ)/vtmm.o \
48: $(K386OBJ)/vtmmas.o \
49: $(K386OBJ)/vtnkb.o
50:
51: all: $(IOOBJ)
52: @echo "io objects up to date"
53:
54: $(K386OBJ)/aha.o: aha.c $(SYSINC)/aha154x.h
55: $(CC) $(CFLAGS) -c -o $@ aha.c
56:
57: $(K386OBJ)/aha_dsl.o: aha_dsl.c $(SYSINC)/aha154x.h
58: $(CC) $(CFLAGS) -c -o $@ aha_dsl.c
59:
60: $(K386OBJ)/albaud.o: albaud.c
61: $(CC) $(CFLAGS) -c -o $@ $<
62:
63: $(K386OBJ)/alx.o: alx.c \
64: $(SYSINC)/clist.h $(SYSINC)/coherent.h \
65: $(SYSINC)/types.h $(SYSINC)/timeout.h \
66: $(SYSINC)/reg.h $(SYSINC)/param.h $(SYSINC)/fun.h $(SYSINC)/con.h
67: $(CC) $(CFLAGS) -c -o $@ alx.c
68:
69: $(K386OBJ)/asy.o: asy.c
70: $(CC) $(CFLAGS) -c -o $@ $<
71:
72: $(K386OBJ)/at.o: at.c
73: $(CC) $(CFLAGS) -c -o $@ $<
74:
75: $(K386OBJ)/bufq.o: bufq.c $(SYSINC)/buf.h $(SYSINC)/coherent.h
76: $(CC) $(CFLAGS) -DALCOM1=1 -c -o $@ bufq.c
77:
78: $(K386OBJ)/com1.o: al.c \
79: $(SYSINC)/clist.h $(SYSINC)/coherent.h $(SYSINC)/types.h \
80: $(SYSINC)/timeout.h $(SYSINC)/reg.h $(SYSINC)/param.h \
81: $(SYSINC)/fun.h $(SYSINC)/con.h $(USRINC)/errno.h $(SYSINC)/reg.h \
82: $(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
83: $(SYSINC)/timeout.h $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
84: $(CC) $(CFLAGS) -DALCOM1=1 -c -o $@ al.c
85:
86: $(K386OBJ)/com2.o: al.c \
87: $(SYSINC)/clist.h $(SYSINC)/coherent.h $(SYSINC)/types.h \
88: $(SYSINC)/timeout.h $(SYSINC)/reg.h $(SYSINC)/param.h \
89: $(SYSINC)/fun.h $(SYSINC)/con.h $(USRINC)/errno.h $(SYSINC)/reg.h \
90: $(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
91: $(SYSINC)/timeout.h $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
92: $(CC) $(CFLAGS) -DALCOM2=1 -c -o $@ al.c
93:
94: $(K386OBJ)/ct.o: ct.c
95: $(CC) $(CFLAGS) -c -o $@ $<
96:
97: $(K386OBJ)/dmareq.o: \
98: $(SYSINC)/buf.h \
99: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
100: $(SYSINC)/reg.h $(SYSINC)/param.h \
101: $(SYSINC)/fun.h \
102: $(SYSINC)/con.h \
103: $(SYSINC)/dmac.h \
104: $(USRINC)/errno.h \
105: $(SYSINC)/io.h \
106: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
107: $(SYSINC)/sched.h \
108: $(SYSINC)/seg.h \
109: $(SYSINC)/stat.h \
110: $(SYSINC)/uproc.h \
111: dmareq.c
112: $(CC) $(CFLAGS) -c -o $@ dmareq.c
113:
114: $(K386OBJ)/fdisk.o: \
115: $(SYSINC)/buf.h \
116: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
117: $(SYSINC)/reg.h $(SYSINC)/param.h \
118: $(SYSINC)/fun.h \
119: $(SYSINC)/con.h \
120: $(USRINC)/errno.h \
121: $(SYSINC)/fdisk.h \
122: $(SYSINC)/inode.h \
123: $(SYSINC)/uproc.h \
124: fdisk.c
125: $(CC) $(CFLAGS) -c -o $@ fdisk.c
126:
127: $(K386OBJ)/fl.o: \
128: $(SYSINC)/buf.h \
129: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
130: $(SYSINC)/reg.h $(SYSINC)/param.h \
131: $(SYSINC)/fun.h \
132: $(SYSINC)/con.h \
133: $(SYSINC)/dmac.h \
134: $(USRINC)/errno.h \
135: $(SYSINC)/fdioctl.h \
136: $(SYSINC)/reg.h \
137: $(SYSINC)/sched.h \
138: $(SYSINC)/stat.h \
139: $(SYSINC)/timeout.h \
140: $(SYSINC)/uproc.h \
141: fl.c
142: $(CC) $(CFLAGS) -c -o $@ fl.c
143:
144: $(K386OBJ)/fontw.o: fontgen.c
145: $(CC) -i fontgen.c -o fontgen
146: : ./fontgen > $*.s
147: rm fontgen
148: : $(AS) -gxo $@ $*.s
149:
150: $(K386OBJ)/hs.o: hs.c
151: $(CC) $(CFLAGS) -c -o $@ hs.c
152:
153: $(K386OBJ)/ipc.o: ipc.c
154: $(CC) $(CFLAGS) -c -o $@ $<
155:
156: $(K386OBJ)/kb.o: \
157: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
158: $(SYSINC)/reg.h $(SYSINC)/param.h \
159: $(SYSINC)/fun.h \
160: $(SYSINC)/con.h \
161: $(USRINC)/errno.h \
162: $(SYSINC)/reg.h \
163: $(SYSINC)/sched.h \
164: $(USRINC)/signal.h \
165: $(SYSINC)/stat.h \
166: $(SYSINC)/timeout.h \
167: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
168: $(SYSINC)/uproc.h \
169: kb.c
170: $(CC) $(CFLAGS) -c -o $@ kb.c
171:
172: $(K386OBJ)/kb_d.o: kb_d.c
173: $(CC) $(CFLAGS) -c -o $@ $<
174:
175: $(K386OBJ)/kb_f.o: kb_f.c
176: $(CC) $(CFLAGS) -c -o $@ $<
177:
178: $(K386OBJ)/lp.o: \
179: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
180: $(SYSINC)/reg.h $(SYSINC)/param.h \
181: $(SYSINC)/fun.h \
182: $(SYSINC)/con.h \
183: $(USRINC)/errno.h \
184: $(SYSINC)/reg.h \
185: $(SYSINC)/io.h \
186: $(SYSINC)/proc.h $(SYSINC)/types.h $(SYSINC)/poll.h \
187: $(SYSINC)/stat.h \
188: $(SYSINC)/timeout.h \
189: $(SYSINC)/uproc.h \
190: lp.c
191: $(CC) $(CFLAGS) -c -o $@ lp.c
192:
193: $(K386OBJ)/mm.o: \
194: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
195: $(SYSINC)/reg.h $(SYSINC)/param.h \
196: $(SYSINC)/fun.h \
197: $(SYSINC)/sched.h \
198: $(USRINC)/errno.h \
199: $(SYSINC)/stat.h \
200: $(SYSINC)/io.h \
201: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
202: $(SYSINC)/uproc.h \
203: $(SYSINC)/timeout.h \
204: mm.c
205: $(CC) $(CFLAGS) -c -o $@ mm.c
206:
207: $(K386OBJ)/mmas.o: mmas.s
208: $(AS) -g -o $@ $<
209:
210: $(K386OBJ)/msg.o: msg.c
211: $(CC) $(CFLAGS) -c -o $@ $<
212:
213: $(K386OBJ)/msgcon.o: msgcon.c
214: $(CC) $(CFLAGS) -c -o $@ $<
215:
216: $(K386OBJ)/nkb.o: \
217: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
218: $(SYSINC)/param.h \
219: $(SYSINC)/fun.h \
220: $(SYSINC)/con.h \
221: $(SYSINC)/devices.h \
222: $(USRINC)/errno.h \
223: $(SYSINC)/kb.h \
224: $(SYSINC)/reg.h \
225: $(SYSINC)/seg.h \
226: $(SYSINC)/sched.h \
227: $(USRINC)/signal.h \
228: $(SYSINC)/stat.h \
229: $(SYSINC)/timeout.h \
230: $(SYSINC)/tty.h $(SYSINC)/ktty.h \
231: $(SYSINC)/uproc.h \
232: nkb.c
233: $(CC) $(CFLAGS) -c -o $@ nkb.c
234:
235: $(K386OBJ)/pty.o: pty.c \
236: $(SYSINC)/stat.h $(SYSINC)/uproc.h \
237: $(SYSINC)/tty.h $(SYSINC)/con.h \
238: $(SYSINC)/devices.h $(USRINC)/errno.h
239: $(CC) $(CFLAGS) -c -o $@ pty.c
240:
241: $(K386OBJ)/putchar.o: \
242: $(SYSINC)/coherent.h $(SYSINC)/types.h $(SYSINC)/timeout.h \
243: $(SYSINC)/reg.h $(SYSINC)/param.h \
244: $(SYSINC)/fun.h \
245: $(SYSINC)/asy.h \
246: $(SYSINC)/con.h \
247: $(SYSINC)/devices.h \
248: $(SYSINC)/inode.h \
249: $(SYSINC)/io.h \
250: $(SYSINC)/stat.h \
251: putchar.c
252: $(CC) $(CFLAGS) -c -o $@ putchar.c
253:
254: $(K386OBJ)/rm.o: rm.c
255: $(CC) $(CFLAGS) -c -o $@ $<
256:
257: $(K386OBJ)/scsi.o: scsi.c
258: $(CC) $(CFLAGS) -c -o $@ $<
259:
260: $(K386OBJ)/sem.o: sem.c
261: $(CC) $(CFLAGS) -c -o $@ $<
262:
263: $(K386OBJ)/semcon.o: semcon.c
264: $(CC) $(CFLAGS) -c -o $@ $<
265:
266: $(K386OBJ)/shm.o: shm.c
267: $(CC) $(CFLAGS) -c -o $@ $<
268:
269: $(K386OBJ)/shmcon.o: shmcon.c
270: $(CC) $(CFLAGS) -c -o $@ $<
271:
272: $(K386OBJ)/ss.o: ss.c
273: $(CC) $(CFLAGS) -c -o $@ $<
274:
275: $(K386OBJ)/tty.o: tty.c
276: $(CC) $(CFLAGS) -c -o $@ $<
277:
278: $(K386OBJ)/vtmm.o: vtmm.c
279: $(CC) $(CFLAGS) -c -o $@ $<
280:
281: $(K386OBJ)/vtmmas.o: vtmmas.s
282: $(AS) -g -o $@ $<
283:
284: $(K386OBJ)/vtnkb.o: vtnkb.c
285: $(CC) $(CFLAGS) -c -o $@ $<
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.