159
|
1 |
# $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.16 1994-10-10 00:29:28 claus Exp $
|
1
|
2 |
#
|
|
3 |
# -------------- no need to change anything below ----------
|
|
4 |
|
95
|
5 |
TOP=..
|
1
|
6 |
SUBDIRS=
|
|
7 |
|
95
|
8 |
LIBNAME=libbasic
|
15
|
9 |
|
95
|
10 |
STCOPT=$(LIBBASIC_STCOPT) -warnGlobalAssign
|
1
|
11 |
|
147
|
12 |
all:: abbrev.stc objs classList.stc $(OBJTARGET)
|
15
|
13 |
|
159
|
14 |
objs:: \
|
|
15 |
Object.$(O) \
|
65
|
16 |
Autoload.$(O) \
|
|
17 |
Behavior.$(O) \
|
159
|
18 |
ClassDescr.$(O) \
|
|
19 |
Class.$(O) \
|
|
20 |
Metaclass.$(O) \
|
65
|
21 |
Boolean.$(O) \
|
159
|
22 |
True.$(O) \
|
|
23 |
False.$(O) \
|
65
|
24 |
CCReader.$(O) \
|
|
25 |
Coll.$(O) \
|
159
|
26 |
Bag.$(O) \
|
|
27 |
FileDir.$(O) \
|
|
28 |
SeqColl.$(O) \
|
|
29 |
ArrColl.$(O) \
|
|
30 |
Array.$(O) \
|
|
31 |
WeakArr.$(O) \
|
|
32 |
ByteArray.$(O) \
|
|
33 |
AbstrStr.$(O) \
|
|
34 |
String.$(O) \
|
|
35 |
Symbol.$(O) \
|
|
36 |
UIBytes.$(O) \
|
|
37 |
DoubleArray.$(O) \
|
|
38 |
ExtBytes.$(O) \
|
|
39 |
FloatArray.$(O) \
|
|
40 |
Interval.$(O) \
|
|
41 |
LinkList.$(O) \
|
|
42 |
Semaphore.$(O) \
|
|
43 |
OrdColl.$(O) \
|
|
44 |
SortColl.$(O) \
|
|
45 |
Set.$(O) \
|
|
46 |
Dict.$(O) \
|
|
47 |
IdDict.$(O) \
|
|
48 |
WeakIdDict.$(O) \
|
|
49 |
IdSet.$(O) \
|
|
50 |
WeakIdSet.$(O) \
|
|
51 |
SignalSet.$(O) \
|
65
|
52 |
Context.$(O) \
|
159
|
53 |
BContext.$(O) \
|
|
54 |
Delay.$(O) \
|
65
|
55 |
Exception.$(O) \
|
86
|
56 |
ExecFunc.$(O) \
|
159
|
57 |
ExecCode.$(O) \
|
|
58 |
Block.$(O) \
|
|
59 |
CheapBlk.$(O) \
|
|
60 |
Method.$(O) \
|
65
|
61 |
Filename.$(O) \
|
|
62 |
Link.$(O) \
|
159
|
63 |
Process.$(O) \
|
65
|
64 |
Magnitude.$(O) \
|
159
|
65 |
LookupKey.$(O) \
|
|
66 |
Assoc.$(O) \
|
|
67 |
AbsTime.$(O) \
|
|
68 |
Time.$(O) \
|
|
69 |
ArithVal.$(O) \
|
|
70 |
Number.$(O) \
|
|
71 |
Fraction.$(O) \
|
|
72 |
Integer.$(O) \
|
|
73 |
LargeInt.$(O) \
|
|
74 |
SmallInt.$(O) \
|
|
75 |
LPReal.$(O) \
|
|
76 |
Float.$(O) \
|
|
77 |
Point.$(O) \
|
|
78 |
Character.$(O) \
|
|
79 |
Date.$(O) \
|
65
|
80 |
Message.$(O) \
|
95
|
81 |
MiniDebug.$(O) \
|
|
82 |
MiniIns.$(O) \
|
65
|
83 |
ObjMem.$(O) \
|
|
84 |
ProcSched.$(O) \
|
159
|
85 |
Queue.$(O) \
|
|
86 |
SharedQueue.$(O) \
|
65
|
87 |
Rectangle.$(O) \
|
|
88 |
Registry.$(O) \
|
|
89 |
Signal.$(O) \
|
86
|
90 |
SMALLTALK \
|
65
|
91 |
Stream.$(O) \
|
159
|
92 |
PeekStr.$(O) \
|
|
93 |
PosStream.$(O) \
|
|
94 |
ReadStr.$(O) \
|
|
95 |
WriteStr.$(O) \
|
|
96 |
RWStream.$(O) \
|
|
97 |
ActorStr.$(O) \
|
|
98 |
ExtStream.$(O) \
|
|
99 |
FileStr.$(O) \
|
|
100 |
DirStr.$(O) \
|
|
101 |
UnbndExtStr.$(O) \
|
|
102 |
NPExtStr.$(O) \
|
|
103 |
PipeStr.$(O) \
|
65
|
104 |
UndefObj.$(O) \
|
|
105 |
Unix.$(O)
|
1
|
106 |
|
21
|
107 |
#
|
147
|
108 |
# generate class list from what is found here
|
|
109 |
#
|
|
110 |
classList.stc:: Make.proto
|
|
111 |
$(MAKE) genClassList
|
|
112 |
|
|
113 |
#
|
21
|
114 |
# only needed for NeXT - assembler dumps core with long name ?!?!
|
|
115 |
#
|
15
|
116 |
SeqColl.$(O):
|
|
117 |
$(STC) -CC="$(CC)" $(STCFLAGS) +shortNames $(CFLAGS) -c $*.st
|
|
118 |
|
136
|
119 |
#
|
|
120 |
# special rule, to define the config-string while compiling
|
|
121 |
#
|
86
|
122 |
CONF_STRING="$(CONF)"
|
|
123 |
|
|
124 |
SMALLTALK:
|
|
125 |
$(MAKE) Smalltalk.$(O) \
|
159
|
126 |
DEFS="$(DEFS) -DCONFIGURATION_STRING='\\\"$(CONF_STRING)\\\"' "
|
86
|
127 |
|
136
|
128 |
# Class:
|
159
|
129 |
# $(MAKE) Class.$(O) OPT=""
|
136
|
130 |
#
|
|
131 |
# Metaclass:
|
159
|
132 |
# $(MAKE) Metaclass.$(O) OPT=""
|
136
|
133 |
#
|
|
134 |
# i_Class.$(O):
|
159
|
135 |
# $(MAKE) I_CLASS OPT=""
|
136
|
136 |
#
|
|
137 |
# i_Metaclass.$(O):
|
159
|
138 |
# $(MAKE) I_METACLASS OPT=""
|
136
|
139 |
#
|
|
140 |
# I_CLASS:
|
159
|
141 |
# $(CC) -c $(CFLAGS) i_Class.c
|
136
|
142 |
#
|
|
143 |
# I_METACLASS:
|
159
|
144 |
# $(CC) -c $(CFLAGS) i_Metaclass.c
|
1
|
145 |
|
|
146 |
cleanjunk::
|
|
147 |
-rm -f *.c *.H
|
|
148 |
|
|
149 |
clean::
|
147
|
150 |
-rm -f *.c *.H abbrev.stc classList.stc
|
1
|
151 |
|
|
152 |
clobber::
|
147
|
153 |
-rm -f *.c *.H abbrev.stc classList.stc
|
1
|
154 |
|
|
155 |
tar:
|
|
156 |
rm -f $(TOP)/DISTRIB/libbasic.tar*
|
|
157 |
(cd $(TOP); tar cvf DISTRIB/libbasic.tar \
|
159
|
158 |
libbasic/Make.proto \
|
|
159 |
libbasic/*.st \
|
|
160 |
libbasic/resources) \
|
1
|
161 |
compress $(TOP)/DISTRIB/libbasic.tar
|
|
162 |
|
95
|
163 |
|
1
|
164 |
#
|
|
165 |
# next thing I'll build into stc is a makedepend feature for this ...
|
|
166 |
#
|
|
167 |
|
136
|
168 |
I = $(INCLUDE)
|
|
169 |
STCHDR =$(I)/stc.h $(I)/stcIntern.h
|
|
170 |
OBJECT =$(I)/Object.H $(STCHDR)
|
|
171 |
BOOLEAN =$(I)/Boolean.H $(OBJECT)
|
1
|
172 |
BEHAVIOR=$(I)/Behavior.H $(OBJECT)
|
136
|
173 |
CLASS =$(I)/Class.H $(I)/ClassDescr.H $(BEHAVIOR)
|
1
|
174 |
|
95
|
175 |
Object.$(O): Object.st $(STCHDR)
|
|
176 |
UndefObj.$(O): UndefObj.st $(OBJECT)
|
1
|
177 |
|
95
|
178 |
Message.$(O): Message.st $(OBJECT)
|
|
179 |
MiniDebug.$(O): MiniDebug.st $(OBJECT)
|
|
180 |
MiniIns.$(O): MiniIns.st $(OBJECT)
|
1
|
181 |
|
86
|
182 |
Unix.$(O): Unix.st $(OBJECT)
|
|
183 |
Autoload.$(O): Autoload.st $(OBJECT)
|
|
184 |
Smalltalk.$(O): Smalltalk.st $(OBJECT)
|
|
185 |
ObjMem.$(O): ObjMem.st $(OBJECT)
|
159
|
186 |
Process.$(O): Process.st $(I)/Link.H $(OBJECT)
|
86
|
187 |
ProcSched.$(O): ProcSched.st $(OBJECT)
|
159
|
188 |
Semaphore.$(O): Semaphore.st $(I)/LinkList.H $(OBJECT)
|
86
|
189 |
Queue.$(O): Queue.st $(OBJECT)
|
|
190 |
Delay.$(O): Delay.st $(OBJECT)
|
|
191 |
SharedQueue.$(O): SharedQueue.st $(I)/Queue.H $(OBJECT)
|
|
192 |
MsgTally.$(O): MsgTally.st $(OBJECT)
|
|
193 |
MiniDebug.$(O): MiniDebug.st $(OBJECT)
|
|
194 |
MiniIns.$(O): MiniIns.st $(OBJECT)
|
|
195 |
Context.$(O): Context.st $(OBJECT)
|
|
196 |
BContext.$(O): BContext.st $(I)/Context.H $(OBJECT)
|
159
|
197 |
ExecFunc.$(O): ExecFunc.st $(OBJECT)
|
|
198 |
ExecCode.$(O): ExecCode.st $(I)/ExecFunc.H $(OBJECT)
|
86
|
199 |
Method.$(O): Method.st $(I)/ExecCode.H $(I)/ExecFunc.H $(OBJECT)
|
|
200 |
Block.$(O): Block.st $(I)/ExecCode.H $(I)/ExecFunc.H $(OBJECT)
|
159
|
201 |
CheapBlk.$(O): CheapBlk.st $(I)/Block.H $(I)/ExecCode.H $(I)/ExecFunc.H $(OBJECT)
|
86
|
202 |
BlckContext.$(O): BlckContext.st $(OBJECT)
|
1
|
203 |
|
86
|
204 |
Signal.$(O): Signal.st $(OBJECT)
|
1
|
205 |
|
86
|
206 |
Exception.$(O): Exception.st $(OBJECT)
|
|
207 |
Rectangle.$(O): Rectangle.st $(OBJECT)
|
1
|
208 |
|
86
|
209 |
Boolean.$(O): Boolean.st $(OBJECT)
|
|
210 |
True.$(O): True.st $(BOOLEAN)
|
|
211 |
False.$(O): False.st $(BOOLEAN)
|
|
212 |
ExtSource.$(O): ExtSource.st $(OBJECT)
|
1
|
213 |
|
86
|
214 |
Behavior.$(O): Behavior.st $(OBJECT)
|
|
215 |
ClassDescr.$(O): ClassDescr.st $(BEHAVIOR)
|
|
216 |
Class.$(O): Class.st $(I)/ClassDescr.H $(BEHAVIOR)
|
|
217 |
Metaclass.$(O): Metaclass.st $(CLASS)
|
|
218 |
CCReader.$(O): CCReader.st $(OBJECT)
|
|
219 |
BCCReader.$(O): BCCReader.st $(I)/CCReader.H $(OBJECT)
|
|
220 |
Project.$(O): Project.st $(OBJECT)
|
1
|
221 |
|
|
222 |
MAGNITUDE=$(I)/Magnitude.H $(OBJECT)
|
35
|
223 |
ABSTIME=$(I)/AbsTime.H $(MAGNITUDE)
|
1
|
224 |
ARITHVAL=$(I)/ArithVal.H $(MAGNITUDE)
|
|
225 |
NUMBER=$(I)/Number.H $(ARITHVAL)
|
|
226 |
INTEGER=$(I)/Integer.H $(NUMBER)
|
|
227 |
|
86
|
228 |
Magnitude.$(O): Magnitude.st $(OBJECT)
|
159
|
229 |
LookupKey.$(O): LookupKey.st $(MAGNITUDE)
|
|
230 |
Assoc.$(O): Assoc.st $(I)/LookupKey.H $(MAGNITUDE)
|
86
|
231 |
Point.$(O): Point.st $(MAGNITUDE)
|
|
232 |
Character.$(O): Character.st $(MAGNITUDE)
|
|
233 |
ArithVal.$(O): ArithVal.st $(MAGNITUDE)
|
|
234 |
Number.$(O): Number.st $(ARITHVAL)
|
|
235 |
Integer.$(O): Integer.st $(NUMBER)
|
|
236 |
LPReal.$(O): LPReal.st $(NUMBER)
|
|
237 |
Float.$(O): Float.st $(I)/LPReal.H $(NUMBER)
|
|
238 |
Fraction.$(O): Fraction.st $(NUMBER)
|
|
239 |
SmallInt.$(O): SmallInt.st $(INTEGER)
|
|
240 |
LargeInt.$(O): LargeInt.st $(INTEGER)
|
|
241 |
AbsTime.$(O): AbsTime.st $(MAGNITUDE)
|
|
242 |
Time.$(O): Time.st $(ABSTIME)
|
|
243 |
Date.$(O): Date.st $(ABSTIME)
|
1
|
244 |
|
|
245 |
COLL=$(I)/Coll.H $(OBJECT)
|
|
246 |
SET=$(I)/Set.H $(COLL)
|
|
247 |
DICT=$(I)/Dict.H $(COLL)
|
|
248 |
IDDICT=$(I)/IdDict.H $(DICT)
|
10
|
249 |
WEAKIDDICT=$(I)/WeakIdDict.H $(IDDICT)
|
1
|
250 |
SEQCOLL=$(I)/SeqColl.H $(COLL)
|
|
251 |
ARRCOLL=$(I)/ArrColl.H $(SEQCOLL)
|
|
252 |
ARRAY=$(I)/Array.H $(ARRCOLL)
|
|
253 |
VARARRAY=$(I)/VarArray.H $(ARRCOLL)
|
10
|
254 |
BYTEARRAY=$(I)/ByteArray.H $(ARRCOLL)
|
65
|
255 |
STRING=$(I)/String.H $(I)/AbstrStr.H $(BYTEARRAY)
|
1
|
256 |
|
86
|
257 |
Registry.$(O): Registry.st $(OBJECT)
|
|
258 |
Coll.$(O): Coll.st $(OBJECT)
|
|
259 |
FileDir.$(O): FileDir.st $(COLL)
|
|
260 |
SeqColl.$(O): SeqColl.st $(COLL)
|
159
|
261 |
# MappedColl.$(O): MappedColl.st $(COLL)
|
86
|
262 |
Set.$(O): Set.st $(COLL)
|
|
263 |
IdSet.$(O): IdSet.st $(SET)
|
|
264 |
SignalSet.$(O): SignalSet.st $(I)/IdSet.H $(SET)
|
|
265 |
Bag.$(O): Bag.st $(COLL)
|
|
266 |
Dict.$(O): Dict.st $(COLL)
|
|
267 |
IdDict.$(O): IdDict.st $(DICT)
|
95
|
268 |
WeakIdSet.$(O): WeakIdSet.st $(IDDICT)
|
159
|
269 |
# CacheDict.$(O): CacheDict.st $(DICT)
|
86
|
270 |
WeakIdDict.$(O): WeakIdDict.st $(IDDICT)
|
|
271 |
OrdColl.$(O): OrdColl.st $(SEQCOLL)
|
|
272 |
SortColl.$(O): SortColl.st $(I)/OrdColl.H $(SEQCOLL)
|
159
|
273 |
# ChangeSet.$(O): ChangeSet.st $(I)/OrdColl.H $(SEQCOLL)
|
86
|
274 |
Interval.$(O): Interval.st $(SEQCOLL)
|
159
|
275 |
# Node.$(O): Node.st $(COLL)
|
|
276 |
# Tree.$(O): Tree.st $(COLL)
|
86
|
277 |
LinkList.$(O): LinkList.st $(SEQCOLL)
|
|
278 |
Link.$(O): Link.st $(OBJECT)
|
159
|
279 |
# ValLink.$(O): ValLink.st $(I)/Link.H $(OBJECT)
|
86
|
280 |
ArrColl.$(O): ArrColl.st $(SEQCOLL)
|
159
|
281 |
# VarArray.$(O): VarArray.st $(ARRCOLL)
|
|
282 |
# VarString.$(O): VarString.st $(ARRCOLL)
|
|
283 |
# Text.$(O): Text.st $(VARARRAY)
|
|
284 |
# FileText.$(O): FileText.st $(I)/Text.H $(VARARRAY)
|
86
|
285 |
Array.$(O): Array.st $(ARRCOLL)
|
|
286 |
WeakArr.$(O): WeakArr.st $(ARRAY)
|
|
287 |
FloatArray.$(O): FloatArray.st $(ARRCOLL)
|
|
288 |
DoubleArray.$(O): DoubleArray.st $(ARRCOLL)
|
|
289 |
ExtBytes.$(O): ExtBytes.st $(ARRCOLL)
|
|
290 |
ByteArray.$(O): ByteArray.st $(ARRCOLL)
|
|
291 |
UIBytes.$(O): UIBytes.st $(BYTEARRAY)
|
|
292 |
AbstrStr.$(O): AbstrStr.st $(BYTEARRAY)
|
|
293 |
String.$(O): String.st $(I)/AbstrStr.H $(BYTEARRAY)
|
159
|
294 |
# TwoByteStr.$(O): TwoByteStr.st $(I)/AbstrStr.H $(BYTEARRAY)
|
86
|
295 |
Symbol.$(O): Symbol.st $(STRING)
|
|
296 |
Filename.$(O): Filename.st $(STRING)
|
1
|
297 |
|
159
|
298 |
# Change.$(O): Change.st $(OBJECT)
|
|
299 |
# ClassChg.$(O): ClassChg.st $(OBJECT)
|
|
300 |
# ClsDefChg.$(O): ClsDefChg.st $(OBJECT)
|
|
301 |
# ClsComChg.$(O): ClsComChg.st $(OBJECT)
|
|
302 |
# MethodChg.$(O): MethodChg.st $(OBJECT)
|
1
|
303 |
|
|
304 |
STREAM=$(I)/Stream.H $(OBJECT)
|
|
305 |
POSSTREAM=$(I)/PosStream.H $(STREAM)
|
|
306 |
WRITESTREAM=$(I)/WriteStr.H $(POSSTREAM)
|
|
307 |
RWSTREAM=$(I)/RWStream.H $(WRITESTREAM)
|
|
308 |
EXTSTREAM=$(I)/ExtStream.H $(RWSTREAM)
|
159
|
309 |
UNBNDEXTSTREAM=$(I)/UnbndExtStr.H $(EXTSTREAM)
|
|
310 |
NPEXTSTREAM=$(I)/NPExtStr.H $(UNBNDEXTSTREAM)
|
|
311 |
PIPESTREAM=$(I)/PipeStr.H $(UNBNDEXTSTREAM)
|
1
|
312 |
|
86
|
313 |
Stream.$(O): Stream.st $(OBJECT)
|
159
|
314 |
# Random.$(O): Random.st $(STREAM)
|
86
|
315 |
PeekStr.$(O): PeekStr.st $(STREAM)
|
|
316 |
PosStream.$(O): PosStream.st $(I)/PeekStr.H $(STREAM)
|
|
317 |
ReadStr.$(O): ReadStr.st $(POSSTREAM)
|
|
318 |
WriteStr.$(O): WriteStr.st $(POSSTREAM)
|
|
319 |
RWStream.$(O): RWStream.st $(WRITESTREAM)
|
|
320 |
ActorStr.$(O): ActorStr.st $(RWSTREAM)
|
|
321 |
ExtStream.$(O): ExtStream.st $(RWSTREAM)
|
159
|
322 |
UnbndExtStr.$(O): UnbndExtStr.st $(EXTSTREAM)
|
|
323 |
NPExtStr.$(O): NPExtStr.st $(UNBNDEXTSTREAM)
|
|
324 |
# TTYStream.$(O): TTYStream.st $(UNBNDEXTSTREAM)
|
|
325 |
PipeStr.$(O): PipeStr.st $(UNBNDEXTSTREAM)
|
|
326 |
# Socket.$(O): Socket.st $(NPEXTSTREAM)
|
86
|
327 |
FileStr.$(O): FileStr.st $(EXTSTREAM)
|
159
|
328 |
# SoundStr.$(O): SoundStr.st $(I)/FileStr.H $(EXTSTREAM)
|
86
|
329 |
DirStr.$(O): DirStr.st $(I)/FileStr.H $(EXTSTREAM)
|