|
1 # %W% %E% |
|
2 # |
|
3 # -------------- no need to change anything below ---------- |
|
4 |
|
5 LIBNAME=libbasic |
|
6 LIB=libbasic.$(A) |
|
7 SUBDIRS= |
|
8 |
|
9 TOP=.. |
|
10 I = $(INCLUDE) |
|
11 |
|
12 STCFLAGS= -H../include -warnGlobalAssign $(STCOPT) |
|
13 |
|
14 OBJS= Object.$(O) Unix.$(O) Magnitude.$(O) MsgTally.$(O) Point.$(O) \ |
|
15 Rectangle.$(O) Assoc.$(O) ArithVal.$(O) \ |
|
16 Context.$(O) BContext.$(O) CCReader.$(O) Block.$(O) Message.$(O) Smalltalk.$(O) \ |
|
17 UndefObj.$(O) Behavior.$(O) MiniDebug.$(O) MiniIns.$(O) Coll.$(O) \ |
|
18 Link.$(O) ValLink.$(O) Boolean.$(O) Stream.$(O) Character.$(O) \ |
|
19 Number.$(O) ObjMem.$(O) \ |
|
20 Time.$(O) OrdColl.$(O) SeqColl.$(O) Bag.$(O) Set.$(O) \ |
|
21 Date.$(O) True.$(O) False.$(O) ClassDescr.$(O) Class.$(O) Method.$(O) \ |
|
22 FileDir.$(O) Integer.$(O) \ |
|
23 Random.$(O) PosStream.$(O) Metaclass.$(O) Float.$(O) Fraction.$(O) \ |
|
24 LargeInt.$(O) \ |
|
25 SmallInt.$(O) Interval.$(O) LinkList.$(O) Dict.$(O) ArrColl.$(O) \ |
|
26 ReadStr.$(O) WriteStr.$(O) Array.$(O) VarArray.$(O) VarString.$(O) \ |
|
27 IntArray.$(O) ByteArray.$(O) RWStream.$(O) IdDict.$(O) ShIdDict.$(O) \ |
|
28 ShadowArr.$(O) Text.$(O) String.$(O) ActorStr.$(O) \ |
|
29 ExtStream.$(O) ByteString.$(O) \ |
|
30 FileText.$(O) Symbol.$(O) NPExtStr.$(O) FileStr.$(O) PipeStr.$(O) \ |
|
31 DirStr.$(O) PrintStr.$(O) Socket.$(O) \ |
|
32 Autoload.$(O) BCCReader.$(O) ExtBytes.$(O) \ |
|
33 Process.$(O) ProcSched.$(O) SortColl.$(O) UIBytes.$(O) \ |
|
34 ChangeSet.$(O) Change.$(O) ClsDefChg.$(O) ClsComChg.$(O) MethodChg.$(O) \ |
|
35 Signal.$(O) SignalSet.$(O) Exception.$(O) Semaphore.$(O) SharedQueue.$(O) \ |
|
36 Registry.$(O) SoundStr.$(O) FloatArray.$(O) DoubleArray.$(O) |
|
37 |
|
38 AUXOBJS= Polygon.$(O) Filename.$(O) CacheDict.$(O) IdSet.$(O) Project.$(O) |
|
39 |
|
40 all:: $(OBJTARGET) |
|
41 |
|
42 objs:: level0 \ |
|
43 level1 \ |
|
44 level2 \ |
|
45 level3 \ |
|
46 level4 \ |
|
47 level5 \ |
|
48 level6 \ |
|
49 level7 \ |
|
50 level8 \ |
|
51 level9 |
|
52 |
|
53 level0:$(P) \ |
|
54 Object.$(O) |
|
55 |
|
56 level1:$(P) \ |
|
57 Unix.$(O) \ |
|
58 Autoload.$(O) \ |
|
59 Magnitude.$(O) \ |
|
60 MsgTally.$(O) \ |
|
61 Rectangle.$(O) \ |
|
62 Assoc.$(O) \ |
|
63 Context.$(O) \ |
|
64 Signal.$(O) \ |
|
65 Exception.$(O) \ |
|
66 CCReader.$(O) \ |
|
67 Block.$(O) \ |
|
68 Message.$(O) \ |
|
69 Smalltalk.$(O) \ |
|
70 ObjMem.$(O) \ |
|
71 ProcSched.$(O) \ |
|
72 SharedQueue.$(O) \ |
|
73 UndefObj.$(O) \ |
|
74 Behavior.$(O) \ |
|
75 MiniDebug.$(O) \ |
|
76 MiniIns.$(O) \ |
|
77 Coll.$(O) \ |
|
78 Link.$(O) \ |
|
79 Boolean.$(O) \ |
|
80 Stream.$(O) \ |
|
81 Change.$(O) \ |
|
82 Registry.$(O) \ |
|
83 Project.$(O) |
|
84 |
|
85 level2:$(P) \ |
|
86 BContext.$(O) \ |
|
87 Character.$(O) \ |
|
88 Process.$(O) \ |
|
89 ArithVal.$(O) \ |
|
90 Time.$(O) \ |
|
91 Date.$(O) \ |
|
92 True.$(O) \ |
|
93 False.$(O) \ |
|
94 ClassDescr.$(O) \ |
|
95 Method.$(O) \ |
|
96 SeqColl.$(O) \ |
|
97 Set.$(O) \ |
|
98 Bag.$(O) \ |
|
99 FileDir.$(O) \ |
|
100 Random.$(O) \ |
|
101 BCCReader.$(O) \ |
|
102 ValLink.$(O) \ |
|
103 ClassChg.$(O) \ |
|
104 PosStream.$(O) |
|
105 |
|
106 level3:$(P) \ |
|
107 Class.$(O) \ |
|
108 Point.$(O) \ |
|
109 Number.$(O) \ |
|
110 Interval.$(O) \ |
|
111 LinkList.$(O) \ |
|
112 Dict.$(O) \ |
|
113 OrdColl.$(O) \ |
|
114 ArrColl.$(O) \ |
|
115 ReadStr.$(O) \ |
|
116 WriteStr.$(O) \ |
|
117 MethodChg.$(O) \ |
|
118 ClsDefChg.$(O) \ |
|
119 ClsComChg.$(O) |
|
120 |
|
121 level4:$(P) \ |
|
122 Metaclass.$(O) \ |
|
123 Integer.$(O) \ |
|
124 Float.$(O) \ |
|
125 Fraction.$(O) \ |
|
126 Semaphore.$(O) \ |
|
127 Array.$(O) \ |
|
128 VarArray.$(O) \ |
|
129 VarString.$(O) \ |
|
130 IdDict.$(O) \ |
|
131 IntArray.$(O) \ |
|
132 FloatArray.$(O) \ |
|
133 DoubleArray.$(O) \ |
|
134 ExtBytes.$(O) \ |
|
135 SortColl.$(O) \ |
|
136 ChangeSet.$(O) \ |
|
137 RWStream.$(O) |
|
138 |
|
139 level5:$(P) \ |
|
140 LargeInt.$(O) \ |
|
141 SmallInt.$(O) \ |
|
142 ShadowArr.$(O) \ |
|
143 ShIdDict.$(O) \ |
|
144 Text.$(O) \ |
|
145 ByteArray.$(O) \ |
|
146 ActorStr.$(O) \ |
|
147 ExtStream.$(O) |
|
148 |
|
149 level6:$(P) \ |
|
150 FileText.$(O) \ |
|
151 String.$(O) \ |
|
152 UIBytes.$(O) \ |
|
153 NPExtStr.$(O) \ |
|
154 FileStr.$(O) |
|
155 |
|
156 level7:$(P) \ |
|
157 ByteString.$(O) \ |
|
158 SoundStr.$(O) \ |
|
159 Symbol.$(O) \ |
|
160 PipeStr.$(O) \ |
|
161 Socket.$(O) \ |
|
162 DirStr.$(O) |
|
163 |
|
164 level8:$(P) \ |
|
165 PrintStr.$(O) |
|
166 |
|
167 level9:$(P) |
|
168 |
|
169 level10: \ |
|
170 Polygon.$(O) \ |
|
171 Filename.$(O) \ |
|
172 CacheDict.$(O) \ |
|
173 IdSet.$(O) \ |
|
174 Project.$(O) \ |
|
175 PSPrStr.$(O) \ |
|
176 HPIIPrStr.$(O) \ |
|
177 FX1PrStr.$(O) |
|
178 |
|
179 level11: \ |
|
180 SignalSet.$(O) |
|
181 |
|
182 auxobjs:: level10 \ |
|
183 level11 \ |
|
184 $(AUXOBJS) |
|
185 |
|
186 install:: |
|
187 -mkdir $(DESTLIBDIR) |
|
188 -$(INSTALL) $(LIBNAME)$(OBJNAME) $(DESTLIBDIR) |
|
189 |
|
190 libe: $(LIB) |
|
191 |
|
192 PSPrStr.o: |
|
193 $(STC) -CC="$(CC)" $(STCFLAGS) +limitSuperInclude $(CFLAGS) -c $*.st |
|
194 |
|
195 HPIIPrStr.o: |
|
196 $(STC) -CC="$(CC)" $(STCFLAGS) +limitSuperInclude $(CFLAGS) -c $*.st |
|
197 |
|
198 FX1PrStr.o: |
|
199 $(STC) -CC="$(CC)" $(STCFLAGS) +limitSuperInclude $(CFLAGS) -c $*.st |
|
200 |
|
201 Class: |
|
202 $(MAKE) Class.o OPT="" |
|
203 |
|
204 Metaclass: |
|
205 $(MAKE) Metaclass.o OPT="" |
|
206 |
|
207 i_Class.o: |
|
208 $(MAKE) I_CLASS OPT="" |
|
209 |
|
210 i_Metaclass.o: |
|
211 $(MAKE) I_METACLASS OPT="" |
|
212 |
|
213 I_CLASS: |
|
214 $(CC) -c $(CFLAGS) i_Class.c |
|
215 |
|
216 I_METACLASS: |
|
217 $(CC) -c $(CFLAGS) i_Metaclass.c |
|
218 |
|
219 cleanjunk:: |
|
220 -rm -f *.c *.H |
|
221 |
|
222 clean:: |
|
223 -rm -f *.c *.H |
|
224 |
|
225 clobber:: |
|
226 -rm -f *.c *.H |
|
227 |
|
228 tar: |
|
229 rm -f $(TOP)/DISTRIB/libbasic.tar* |
|
230 (cd $(TOP); tar cvf DISTRIB/libbasic.tar \ |
|
231 libbasic/*.st \ |
|
232 libbasic/Make.proto \ |
|
233 libbasic/*.stc) |
|
234 compress $(TOP)/DISTRIB/libbasic.tar |
|
235 |
|
236 # |
|
237 # next thing I'll build into stc is a makedepend feature for this ... |
|
238 # |
|
239 |
|
240 STCHDR=$(I)/stc.h $(I)/stcIntern.h |
|
241 OBJECT=$(I)/Object.H $(STCHDR) |
|
242 BOOLEAN=$(I)/Boolean.H $(OBJECT) |
|
243 BEHAVIOR=$(I)/Behavior.H $(OBJECT) |
|
244 CLASS=$(I)/Class.H $(I)/ClassDescr.H $(BEHAVIOR) |
|
245 |
|
246 Object.o: Object.st $(STCHDR) |
|
247 UndefObj.o: UndefObj.st $(OBJECT) |
|
248 |
|
249 Message.o: Message.st $(OBJECT) |
|
250 |
|
251 Unix.o: Unix.st $(OBJECT) |
|
252 Autoload.o: Autoload.st $(OBJECT) |
|
253 Smalltalk.o: Smalltalk.st $(OBJECT) |
|
254 ObjMem.o: ObjMem.st $(OBJECT) |
|
255 Process.o: Process.st $(OBJECT) |
|
256 ProcSched.o: ProcSched.st $(OBJECT) |
|
257 Semaphore.o: Semaphore.st $(OBJECT) |
|
258 SharedQueue.o: SharedQueue.st $(OBJECT) |
|
259 MsgTally.o: MsgTally.st $(OBJECT) |
|
260 MiniDebug.o: MiniDebug.st $(OBJECT) |
|
261 MiniIns.o: MiniIns.st $(OBJECT) |
|
262 Context.o: Context.st $(OBJECT) |
|
263 BContext.o: BContext.st $(I)/Context.H $(OBJECT) |
|
264 Method.o: Method.st $(OBJECT) |
|
265 Block.o: Block.st $(OBJECT) |
|
266 BlckContext.o: BlckContext.st $(OBJECT) |
|
267 |
|
268 Signal.o: Signal.st $(OBJECT) |
|
269 |
|
270 Exception.o: Exception.st $(OBJECT) |
|
271 Rectangle.o: Rectangle.st $(OBJECT) |
|
272 |
|
273 Assoc.o: Assoc.st $(OBJECT) |
|
274 Boolean.o: Boolean.st $(OBJECT) |
|
275 True.o: True.st $(BOOLEAN) |
|
276 False.o: False.st $(BOOLEAN) |
|
277 ExtSource.o: ExtSource.st $(OBJECT) |
|
278 |
|
279 Behavior.o: Behavior.st $(OBJECT) |
|
280 ClassDescr.o: ClassDescr.st $(BEHAVIOR) |
|
281 Class.o: Class.st $(I)/ClassDescr.H $(BEHAVIOR) |
|
282 Metaclass.o: Metaclass.st $(CLASS) |
|
283 CCReader.o: CCReader.st $(OBJECT) |
|
284 BCCReader.o: BCCReader.st $(I)/CCReader.H $(OBJECT) |
|
285 Project.o: Project.st $(OBJECT) |
|
286 |
|
287 MAGNITUDE=$(I)/Magnitude.H $(OBJECT) |
|
288 ARITHVAL=$(I)/ArithVal.H $(MAGNITUDE) |
|
289 NUMBER=$(I)/Number.H $(ARITHVAL) |
|
290 INTEGER=$(I)/Integer.H $(NUMBER) |
|
291 |
|
292 Magnitude.o: Magnitude.st $(OBJECT) |
|
293 Point.o: Point.st $(MAGNITUDE) |
|
294 Character.o: Character.st $(MAGNITUDE) |
|
295 ArithVal.o: ArithVal.st $(MAGNITUDE) |
|
296 Number.o: Number.st $(ARITHVAL) |
|
297 Integer.o: Integer.st $(NUMBER) |
|
298 Float.o: Float.st $(NUMBER) |
|
299 Fraction.o: Fraction.st $(NUMBER) |
|
300 SmallInt.o: SmallInt.st $(INTEGER) |
|
301 LargeInt.o: LargeInt.st $(INTEGER) |
|
302 Time.o: Time.st $(MAGNITUDE) |
|
303 Date.o: Date.st $(MAGNITUDE) |
|
304 |
|
305 COLL=$(I)/Coll.H $(OBJECT) |
|
306 SET=$(I)/Set.H $(COLL) |
|
307 DICT=$(I)/Dict.H $(COLL) |
|
308 IDDICT=$(I)/IdDict.H $(DICT) |
|
309 SHADOWIDDICT=$(I)/ShIdDict.H $(IDDICT) |
|
310 SEQCOLL=$(I)/SeqColl.H $(COLL) |
|
311 ARRCOLL=$(I)/ArrColl.H $(SEQCOLL) |
|
312 ARRAY=$(I)/Array.H $(ARRCOLL) |
|
313 VARARRAY=$(I)/VarArray.H $(ARRCOLL) |
|
314 INTARRAY=$(I)/IntArray.H $(ARRCOLL) |
|
315 BYTEARRAY=$(I)/ByteArray.H $(INTARRAY) |
|
316 STRING=$(I)/String.H $(BYTEARRAY) |
|
317 |
|
318 Registry.o: Registry.st $(OBJECT) |
|
319 Coll.o: Coll.st $(OBJECT) |
|
320 FileDir.o: FileDir.st $(COLL) |
|
321 SeqColl.o: SeqColl.st $(COLL) |
|
322 Set.o: Set.st $(COLL) |
|
323 IdSet.o: IdSet.st $(SET) |
|
324 SignalSet.o: SignalSet.st $(I)/IdSet.H $(SET) |
|
325 Bag.o: Bag.st $(COLL) |
|
326 Dict.o: Dict.st $(COLL) |
|
327 IdDict.o: IdDict.st $(DICT) |
|
328 CacheDict.o: CacheDict.st $(DICT) |
|
329 ShIdDict.o: ShIdDict.st $(IDDICT) |
|
330 OrdColl.o: OrdColl.st $(SEQCOLL) |
|
331 SortColl.o: SortColl.st $(I)/OrdColl.H $(SEQCOLL) |
|
332 ChangeSet.o: ChangeSet.st $(I)/OrdColl.H $(SEQCOLL) |
|
333 Interval.o: Interval.st $(SEQCOLL) |
|
334 Node.o: Node.st $(COLL) |
|
335 Tree.o: Tree.st $(COLL) |
|
336 LinkList.o: LinkList.st $(SEQCOLL) |
|
337 Link.o: Link.st $(OBJECT) |
|
338 ValLink.o: ValLink.st $(I)/Link.H $(OBJECT) |
|
339 ArrColl.o: ArrColl.st $(SEQCOLL) |
|
340 VarArray.o: VarArray.st $(ARRCOLL) |
|
341 VarString.o: VarString.st $(ARRCOLL) |
|
342 Text.o: Text.st $(VARARRAY) |
|
343 FileText.o: FileText.st $(I)/Text.H $(VARARRAY) |
|
344 Array.o: Array.st $(ARRCOLL) |
|
345 Polygon.o: Polygon.st $(ARRAY) |
|
346 ShadowArr.o: ShadowArr.st $(ARRAY) |
|
347 IntArray.o: IntArray.st $(ARRCOLL) |
|
348 FloatArray.o: FloatArray.st $(ARRCOLL) |
|
349 DoubleArray.o: DoubleArray.st $(ARRCOLL) |
|
350 ExtBytes.o: ExtBytes.st $(ARRCOLL) |
|
351 ByteArray.o: ByteArray.st $(INTARRAY) |
|
352 UIBytes.o: UIBytes.st $(I)/ByteArray.H $(INTARRAY) |
|
353 String.o: String.st $(BYTEARRAY) |
|
354 ByteString.o: ByteString.st $(STRING) |
|
355 Symbol.o: Symbol.st $(STRING) |
|
356 Filename.o: Filename.st $(STRING) |
|
357 |
|
358 Change.o: Change.st $(OBJECT) |
|
359 ClassChg.o: ClassChg.st $(OBJECT) |
|
360 ClsDefChg.o: ClsDefChg.st $(OBJECT) |
|
361 ClsComChg.o: ClsComChg.st $(OBJECT) |
|
362 MethodChg.o: MethodChg.st $(OBJECT) |
|
363 |
|
364 STREAM=$(I)/Stream.H $(OBJECT) |
|
365 POSSTREAM=$(I)/PosStream.H $(STREAM) |
|
366 WRITESTREAM=$(I)/WriteStr.H $(POSSTREAM) |
|
367 RWSTREAM=$(I)/RWStream.H $(WRITESTREAM) |
|
368 EXTSTREAM=$(I)/ExtStream.H $(RWSTREAM) |
|
369 NPEXTSTREAM=$(I)/NPExtStr.H $(EXTSTREAM) |
|
370 PIPESTREAM=$(I)/PipeStr.H $(NPEXTSTREAM) |
|
371 |
|
372 Stream.o: Stream.st $(OBJECT) |
|
373 Random.o: Random.st $(STREAM) |
|
374 PosStream.o: PosStream.st $(STREAM) |
|
375 ReadStr.o: ReadStr.st $(POSSTREAM) |
|
376 WriteStr.o: WriteStr.st $(POSSTREAM) |
|
377 RWStream.o: RWStream.st $(WRITESTREAM) |
|
378 ActorStr.o: ActorStr.st $(RWSTREAM) |
|
379 ExtStream.o: ExtStream.st $(RWSTREAM) |
|
380 NPExtStr.o: NPExtStr.st $(EXTSTREAM) |
|
381 TTYStream.o: TTYStream.st $(NPEXTSTREAM) |
|
382 PipeStr.o: PipeStr.st $(NPEXTSTREAM) |
|
383 Socket.o: Socket.st $(NPEXTSTREAM) |
|
384 PrintStr.o: PrintStr.st $(PIPESTREAM) |
|
385 PSPrStr.o: PSPrStr.st $(I)/PrintStr.H $(PIPESTREAM) |
|
386 HPIIPrStr.o: HPIIPrStr.st $(I)/PrintStr.H $(PIPESTREAM) |
|
387 FX1PrStr.o: FX1PrStr.st $(I)/PrintStr.H $(PIPESTREAM) |
|
388 FileStr.o: FileStr.st $(EXTSTREAM) |
|
389 SoundStr.o: SoundStr.st $(I)/FileStr.H $(EXTSTREAM) |
|
390 DirStr.o: DirStr.st $(I)/FileStr.H $(EXTSTREAM) |