282
|
1 |
# $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.26 1995-02-24 16:38:46 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 |
|
213
|
10 |
STCOPT=$(LIBBASIC_STCOPT)
|
218
|
11 |
STCLOCALOPT=-Pbasic-classes -warnGlobalAssign +optinline2 $(COMMONSYMBOLS)
|
1
|
12 |
|
264
|
13 |
all:: abbrev.stc objs genClassList $(OBJTARGET)
|
15
|
14 |
|
159
|
15 |
objs:: \
|
|
16 |
Object.$(O) \
|
65
|
17 |
Autoload.$(O) \
|
|
18 |
Behavior.$(O) \
|
159
|
19 |
ClassDescr.$(O) \
|
|
20 |
Class.$(O) \
|
|
21 |
Metaclass.$(O) \
|
65
|
22 |
Boolean.$(O) \
|
159
|
23 |
True.$(O) \
|
|
24 |
False.$(O) \
|
65
|
25 |
CCReader.$(O) \
|
|
26 |
Coll.$(O) \
|
159
|
27 |
Bag.$(O) \
|
|
28 |
FileDir.$(O) \
|
|
29 |
SeqColl.$(O) \
|
|
30 |
ArrColl.$(O) \
|
|
31 |
Array.$(O) \
|
|
32 |
WeakArr.$(O) \
|
|
33 |
ByteArray.$(O) \
|
255
|
34 |
CharArray.$(O) \
|
159
|
35 |
String.$(O) \
|
|
36 |
Symbol.$(O) \
|
|
37 |
UIBytes.$(O) \
|
|
38 |
DoubleArray.$(O) \
|
|
39 |
ExtBytes.$(O) \
|
|
40 |
FloatArray.$(O) \
|
|
41 |
Interval.$(O) \
|
|
42 |
LinkList.$(O) \
|
|
43 |
Semaphore.$(O) \
|
|
44 |
OrdColl.$(O) \
|
|
45 |
SortColl.$(O) \
|
|
46 |
Set.$(O) \
|
|
47 |
Dict.$(O) \
|
|
48 |
IdDict.$(O) \
|
|
49 |
WeakIdDict.$(O) \
|
|
50 |
IdSet.$(O) \
|
|
51 |
WeakIdSet.$(O) \
|
|
52 |
SignalSet.$(O) \
|
65
|
53 |
Context.$(O) \
|
159
|
54 |
BContext.$(O) \
|
|
55 |
Delay.$(O) \
|
65
|
56 |
Exception.$(O) \
|
86
|
57 |
ExecFunc.$(O) \
|
252
|
58 |
CompCode.$(O) \
|
159
|
59 |
Block.$(O) \
|
|
60 |
CheapBlk.$(O) \
|
|
61 |
Method.$(O) \
|
65
|
62 |
Filename.$(O) \
|
|
63 |
Link.$(O) \
|
159
|
64 |
Process.$(O) \
|
65
|
65 |
Magnitude.$(O) \
|
159
|
66 |
LookupKey.$(O) \
|
|
67 |
Assoc.$(O) \
|
241
|
68 |
AbstrTime.$(O) \
|
|
69 |
AbsTime.$(O) \
|
159
|
70 |
Time.$(O) \
|
|
71 |
ArithVal.$(O) \
|
|
72 |
Number.$(O) \
|
|
73 |
Fraction.$(O) \
|
|
74 |
Integer.$(O) \
|
|
75 |
LargeInt.$(O) \
|
|
76 |
SmallInt.$(O) \
|
|
77 |
LPReal.$(O) \
|
|
78 |
Float.$(O) \
|
|
79 |
Point.$(O) \
|
|
80 |
Character.$(O) \
|
|
81 |
Date.$(O) \
|
65
|
82 |
Message.$(O) \
|
95
|
83 |
MiniDebug.$(O) \
|
|
84 |
MiniIns.$(O) \
|
65
|
85 |
ObjMem.$(O) \
|
|
86 |
ProcSched.$(O) \
|
|
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) \
|
269
|
103 |
PipeStr.$(O) \
|
65
|
104 |
UndefObj.$(O) \
|
|
105 |
Unix.$(O)
|
1
|
106 |
|
21
|
107 |
#
|
|
108 |
# only needed for NeXT - assembler dumps core with long name ?!?!
|
|
109 |
#
|
15
|
110 |
SeqColl.$(O):
|
264
|
111 |
$(MAKE) $(LONGNAME_RULE) LONGNAME_FILE=$*
|
15
|
112 |
|
136
|
113 |
#
|
|
114 |
# special rule, to define the config-string while compiling
|
264
|
115 |
# this places the current config setting into the Smalltalk class binary
|
136
|
116 |
#
|
86
|
117 |
CONF_STRING="$(CONF)"
|
|
118 |
|
|
119 |
SMALLTALK:
|
|
120 |
$(MAKE) Smalltalk.$(O) \
|
159
|
121 |
DEFS="$(DEFS) -DCONFIGURATION_STRING='\\\"$(CONF_STRING)\\\"' "
|
86
|
122 |
|
1
|
123 |
cleanjunk::
|
|
124 |
-rm -f *.c *.H
|
|
125 |
|
|
126 |
clean::
|
147
|
127 |
-rm -f *.c *.H abbrev.stc classList.stc
|
1
|
128 |
|
|
129 |
clobber::
|
147
|
130 |
-rm -f *.c *.H abbrev.stc classList.stc
|
1
|
131 |
|
|
132 |
tar:
|
|
133 |
(cd $(TOP); tar cvf DISTRIB/libbasic.tar \
|
159
|
134 |
libbasic/Make.proto \
|
248
|
135 |
libbasic/.dir.info \
|
159
|
136 |
libbasic/*.st \
|
190
|
137 |
libbasic/resources)
|
|
138 |
|
1
|
139 |
#
|
|
140 |
# next thing I'll build into stc is a makedepend feature for this ...
|
|
141 |
#
|
|
142 |
|
136
|
143 |
I = $(INCLUDE)
|
213
|
144 |
STCHDR =$(I)/stc.h $(I)/stcIntern.h $(CPUINTERN_H)
|
136
|
145 |
OBJECT =$(I)/Object.H $(STCHDR)
|
|
146 |
BOOLEAN =$(I)/Boolean.H $(OBJECT)
|
1
|
147 |
BEHAVIOR=$(I)/Behavior.H $(OBJECT)
|
136
|
148 |
CLASS =$(I)/Class.H $(I)/ClassDescr.H $(BEHAVIOR)
|
1
|
149 |
|
95
|
150 |
Object.$(O): Object.st $(STCHDR)
|
|
151 |
UndefObj.$(O): UndefObj.st $(OBJECT)
|
1
|
152 |
|
95
|
153 |
Message.$(O): Message.st $(OBJECT)
|
|
154 |
MiniDebug.$(O): MiniDebug.st $(OBJECT)
|
|
155 |
MiniIns.$(O): MiniIns.st $(OBJECT)
|
1
|
156 |
|
86
|
157 |
Unix.$(O): Unix.st $(OBJECT)
|
|
158 |
Autoload.$(O): Autoload.st $(OBJECT)
|
|
159 |
Smalltalk.$(O): Smalltalk.st $(OBJECT)
|
|
160 |
ObjMem.$(O): ObjMem.st $(OBJECT)
|
159
|
161 |
Process.$(O): Process.st $(I)/Link.H $(OBJECT)
|
86
|
162 |
ProcSched.$(O): ProcSched.st $(OBJECT)
|
159
|
163 |
Semaphore.$(O): Semaphore.st $(I)/LinkList.H $(OBJECT)
|
86
|
164 |
Delay.$(O): Delay.st $(OBJECT)
|
|
165 |
MsgTally.$(O): MsgTally.st $(OBJECT)
|
|
166 |
MiniDebug.$(O): MiniDebug.st $(OBJECT)
|
|
167 |
MiniIns.$(O): MiniIns.st $(OBJECT)
|
|
168 |
Context.$(O): Context.st $(OBJECT)
|
|
169 |
BContext.$(O): BContext.st $(I)/Context.H $(OBJECT)
|
159
|
170 |
ExecFunc.$(O): ExecFunc.st $(OBJECT)
|
252
|
171 |
CompCode.$(O): CompCode.st $(I)/ExecFunc.H $(OBJECT)
|
|
172 |
Method.$(O): Method.st $(I)/CompCode.H $(I)/ExecFunc.H $(OBJECT)
|
|
173 |
Block.$(O): Block.st $(I)/CompCode.H $(I)/ExecFunc.H $(OBJECT)
|
|
174 |
CheapBlk.$(O): CheapBlk.st $(I)/Block.H $(I)/CompCode.H $(I)/ExecFunc.H $(OBJECT)
|
1
|
175 |
|
86
|
176 |
Signal.$(O): Signal.st $(OBJECT)
|
1
|
177 |
|
86
|
178 |
Exception.$(O): Exception.st $(OBJECT)
|
|
179 |
Rectangle.$(O): Rectangle.st $(OBJECT)
|
1
|
180 |
|
86
|
181 |
Boolean.$(O): Boolean.st $(OBJECT)
|
|
182 |
True.$(O): True.st $(BOOLEAN)
|
|
183 |
False.$(O): False.st $(BOOLEAN)
|
1
|
184 |
|
86
|
185 |
Behavior.$(O): Behavior.st $(OBJECT)
|
|
186 |
ClassDescr.$(O): ClassDescr.st $(BEHAVIOR)
|
|
187 |
Class.$(O): Class.st $(I)/ClassDescr.H $(BEHAVIOR)
|
|
188 |
Metaclass.$(O): Metaclass.st $(CLASS)
|
|
189 |
CCReader.$(O): CCReader.st $(OBJECT)
|
|
190 |
Project.$(O): Project.st $(OBJECT)
|
1
|
191 |
|
|
192 |
MAGNITUDE=$(I)/Magnitude.H $(OBJECT)
|
241
|
193 |
ABSTRTIME=$(I)/AbstrTime.H $(MAGNITUDE)
|
1
|
194 |
ARITHVAL=$(I)/ArithVal.H $(MAGNITUDE)
|
|
195 |
NUMBER=$(I)/Number.H $(ARITHVAL)
|
|
196 |
INTEGER=$(I)/Integer.H $(NUMBER)
|
|
197 |
|
86
|
198 |
Magnitude.$(O): Magnitude.st $(OBJECT)
|
159
|
199 |
LookupKey.$(O): LookupKey.st $(MAGNITUDE)
|
|
200 |
Assoc.$(O): Assoc.st $(I)/LookupKey.H $(MAGNITUDE)
|
86
|
201 |
Point.$(O): Point.st $(MAGNITUDE)
|
|
202 |
Character.$(O): Character.st $(MAGNITUDE)
|
|
203 |
ArithVal.$(O): ArithVal.st $(MAGNITUDE)
|
|
204 |
Number.$(O): Number.st $(ARITHVAL)
|
|
205 |
Integer.$(O): Integer.st $(NUMBER)
|
|
206 |
LPReal.$(O): LPReal.st $(NUMBER)
|
|
207 |
Float.$(O): Float.st $(I)/LPReal.H $(NUMBER)
|
|
208 |
Fraction.$(O): Fraction.st $(NUMBER)
|
|
209 |
SmallInt.$(O): SmallInt.st $(INTEGER)
|
|
210 |
LargeInt.$(O): LargeInt.st $(INTEGER)
|
241
|
211 |
AbstrTime.$(O): AbstrTime.st $(MAGNITUDE)
|
|
212 |
AbsTime.$(O): AbsTime.st $(ABSTRTIME)
|
|
213 |
Time.$(O): Time.st $(ABSTRTIME)
|
|
214 |
Date.$(O): Date.st $(MAGNITUDE)
|
1
|
215 |
|
|
216 |
COLL=$(I)/Coll.H $(OBJECT)
|
|
217 |
SET=$(I)/Set.H $(COLL)
|
|
218 |
DICT=$(I)/Dict.H $(COLL)
|
|
219 |
IDDICT=$(I)/IdDict.H $(DICT)
|
10
|
220 |
WEAKIDDICT=$(I)/WeakIdDict.H $(IDDICT)
|
1
|
221 |
SEQCOLL=$(I)/SeqColl.H $(COLL)
|
282
|
222 |
ORDCOLL=$(I)/OrdColl.H $(SEQCOLL)
|
1
|
223 |
ARRCOLL=$(I)/ArrColl.H $(SEQCOLL)
|
|
224 |
ARRAY=$(I)/Array.H $(ARRCOLL)
|
|
225 |
VARARRAY=$(I)/VarArray.H $(ARRCOLL)
|
10
|
226 |
BYTEARRAY=$(I)/ByteArray.H $(ARRCOLL)
|
282
|
227 |
CHARARRAY=$(I)/CharArray.H $(BYTEARRAY)
|
|
228 |
STRING=$(I)/String.H $(CHARARRAY)
|
1
|
229 |
|
86
|
230 |
Registry.$(O): Registry.st $(OBJECT)
|
|
231 |
Coll.$(O): Coll.st $(OBJECT)
|
|
232 |
FileDir.$(O): FileDir.st $(COLL)
|
|
233 |
SeqColl.$(O): SeqColl.st $(COLL)
|
|
234 |
Set.$(O): Set.st $(COLL)
|
|
235 |
IdSet.$(O): IdSet.st $(SET)
|
|
236 |
SignalSet.$(O): SignalSet.st $(I)/IdSet.H $(SET)
|
|
237 |
Bag.$(O): Bag.st $(COLL)
|
|
238 |
Dict.$(O): Dict.st $(COLL)
|
|
239 |
IdDict.$(O): IdDict.st $(DICT)
|
95
|
240 |
WeakIdSet.$(O): WeakIdSet.st $(IDDICT)
|
86
|
241 |
WeakIdDict.$(O): WeakIdDict.st $(IDDICT)
|
|
242 |
OrdColl.$(O): OrdColl.st $(SEQCOLL)
|
282
|
243 |
SortColl.$(O): SortColl.st $(ORDCOLL)
|
86
|
244 |
Interval.$(O): Interval.st $(SEQCOLL)
|
|
245 |
LinkList.$(O): LinkList.st $(SEQCOLL)
|
|
246 |
Link.$(O): Link.st $(OBJECT)
|
|
247 |
ArrColl.$(O): ArrColl.st $(SEQCOLL)
|
|
248 |
Array.$(O): Array.st $(ARRCOLL)
|
|
249 |
WeakArr.$(O): WeakArr.st $(ARRAY)
|
|
250 |
FloatArray.$(O): FloatArray.st $(ARRCOLL)
|
|
251 |
DoubleArray.$(O): DoubleArray.st $(ARRCOLL)
|
|
252 |
ExtBytes.$(O): ExtBytes.st $(ARRCOLL)
|
|
253 |
ByteArray.$(O): ByteArray.st $(ARRCOLL)
|
|
254 |
UIBytes.$(O): UIBytes.st $(BYTEARRAY)
|
255
|
255 |
CharArray.$(O): CharArray.st $(BYTEARRAY)
|
282
|
256 |
String.$(O): String.st $(CHARARRAY)
|
86
|
257 |
Symbol.$(O): Symbol.st $(STRING)
|
|
258 |
Filename.$(O): Filename.st $(STRING)
|
1
|
259 |
|
|
260 |
STREAM=$(I)/Stream.H $(OBJECT)
|
282
|
261 |
PEEKSTREAM=$(I)/PeekStr.H $(STREAM)
|
|
262 |
POSSTREAM=$(I)/PosStream.H $(PEEKSTREAM)
|
1
|
263 |
WRITESTREAM=$(I)/WriteStr.H $(POSSTREAM)
|
|
264 |
RWSTREAM=$(I)/RWStream.H $(WRITESTREAM)
|
|
265 |
EXTSTREAM=$(I)/ExtStream.H $(RWSTREAM)
|
159
|
266 |
UNBNDEXTSTREAM=$(I)/UnbndExtStr.H $(EXTSTREAM)
|
|
267 |
NPEXTSTREAM=$(I)/NPExtStr.H $(UNBNDEXTSTREAM)
|
269
|
268 |
PIPESTREAM=$(I)/PipeStr.H $(NPEXTSTREAM)
|
1
|
269 |
|
86
|
270 |
Stream.$(O): Stream.st $(OBJECT)
|
|
271 |
PeekStr.$(O): PeekStr.st $(STREAM)
|
282
|
272 |
PosStream.$(O): PosStream.st $(PEEKSTREAM)
|
86
|
273 |
ReadStr.$(O): ReadStr.st $(POSSTREAM)
|
|
274 |
WriteStr.$(O): WriteStr.st $(POSSTREAM)
|
|
275 |
RWStream.$(O): RWStream.st $(WRITESTREAM)
|
|
276 |
ActorStr.$(O): ActorStr.st $(RWSTREAM)
|
|
277 |
ExtStream.$(O): ExtStream.st $(RWSTREAM)
|
159
|
278 |
UnbndExtStr.$(O): UnbndExtStr.st $(EXTSTREAM)
|
|
279 |
NPExtStr.$(O): NPExtStr.st $(UNBNDEXTSTREAM)
|
269
|
280 |
PipeStr.$(O): PipeStr.st $(NPEXTSTREAM)
|
86
|
281 |
FileStr.$(O): FileStr.st $(EXTSTREAM)
|
|
282 |
DirStr.$(O): DirStr.st $(I)/FileStr.H $(EXTSTREAM)
|