author | Claus Gittinger <cg@exept.de> |
Mon, 08 Jan 2001 17:36:43 +0100 | |
changeset 5777 | 69a22679b0af |
parent 5691 | da39bcd25073 |
child 5909 | ffabe0442b64 |
permissions | -rw-r--r-- |
5691 | 1 |
# $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.132 2000-11-07 11:36:28 cg Exp $ |
1 | 2 |
# |
3 |
# -------------- no need to change anything below ---------- |
|
4 |
||
95 | 5 |
TOP=.. |
1 | 6 |
SUBDIRS= |
7 |
||
5009 | 8 |
MODULE=stx |
5010 | 9 |
MODULE_DIR=libbasic |
95 | 10 |
LIBNAME=libbasic |
5034 | 11 |
THIS_IS_A_BASE_LIBRARY="yes" |
12 |
||
5009 | 13 |
PACKAGE=$(MODULE):$(LIBNAME) |
3413 | 14 |
LIB_BASE=$(LIBBASIC_BASE) |
4671 | 15 |
NM_LIB_BASE=LIBBASIC_BASE |
15 | 16 |
|
213 | 17 |
STCOPT=$(LIBBASIC_STCOPT) |
4107
ef783ce6951f
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
4082
diff
changeset
|
18 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
1121 | 19 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
1 | 20 |
|
1603 | 21 |
AIX_LOCAL_LIBS=-lm |
22 |
||
1224 | 23 |
all:: classLibRule |
15 | 24 |
|
449 | 25 |
RCSSOURCES=*.st Make.proto resources/*.rs |
26 |
||
941
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
27 |
# |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
28 |
# those are not time critical |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
29 |
# save a few kB by compiling them with +optspace |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
30 |
# (must still be listed in OBJS= to be compiled at all) |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
31 |
# |
4703 | 32 |
UNCRITICALOBJS= \ |
33 |
Autoload.$(O) \ |
|
34 |
AutoloadMetaclass.$(O) \ |
|
35 |
MiniDebugger.$(O) \ |
|
36 |
MiniInspector.$(O) \ |
|
5691 | 37 |
UserPreferences.$(O) \ |
1342 | 38 |
Project.$(O) |
941
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
39 |
|
4766 | 40 |
# |
41 |
# SYSDEP_OBJS is mapped to one of the below, |
|
42 |
# during Makefile building |
|
43 |
# |
|
4765 | 44 |
UNIX_OBJS= \ |
45 |
UnixFilename.$(O) \ |
|
46 |
UnixFileHandle.$(O) \ |
|
47 |
UnixFileDescriptorHandle.$(O) \ |
|
48 |
UnixOperatingSystem.$(O) |
|
49 |
||
50 |
WIN32_OBJS= \ |
|
3505
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
51 |
PCFilename.$(O) \ |
4765 | 52 |
Win32FileHandle.$(O) \ |
53 |
Win32Handle.$(O) \ |
|
4703 | 54 |
Win32OperatingSystem.$(O) |
3415 | 55 |
|
4448
3cb121baa9f7
Add class based exception support classes
Stefan Vogel <sv@exept.de>
parents:
4250
diff
changeset
|
56 |
VMS_OBJS= \ |
3507 | 57 |
OpenVMSFilename.$(O) \ |
4765 | 58 |
OpenVMSFileHandle.$(O) \ |
4703 | 59 |
OpenVMSOperatingSystem.$(O) |
3505
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
60 |
|
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
61 |
OS2_OBJS= \ |
4765 | 62 |
OS2Filename.$(O) \ |
63 |
OS2FileHandle.$(O) \ |
|
4703 | 64 |
OS2OperatingSystem.$(O) |
3505
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
65 |
|
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
66 |
MAC_OBJS= \ |
4765 | 67 |
MacFilename.$(O) \ |
68 |
MacFileHandle.$(O) \ |
|
4703 | 69 |
MacOperatingSystem.$(O) |
3415 | 70 |
|
4765 | 71 |
BEOS_OBJS= \ |
72 |
BEFilename.$(O) \ |
|
73 |
BEFileHandle.$(O) \ |
|
74 |
BEOperatingSystem.$(O) |
|
75 |
||
1840 | 76 |
OBJS= \ |
77 |
Object.$(O) \ |
|
78 |
Autoload.$(O) \ |
|
79 |
Project.$(O) \ |
|
5332
787293497bf3
renamed Namespace -> NameSpace
Claus Gittinger <cg@exept.de>
parents:
5066
diff
changeset
|
80 |
NameSpace.$(O) \ |
1840 | 81 |
Boolean.$(O) \ |
82 |
True.$(O) \ |
|
83 |
False.$(O) \ |
|
4703 | 84 |
ClassCategoryReader.$(O) \ |
4765 | 85 |
Collection.$(O) \ |
1840 | 86 |
Bag.$(O) \ |
4765 | 87 |
SequenceableCollection.$(O)\ |
4696
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
88 |
ArrayedCollection.$(O) \ |
4695
5ab04ea3272c
UIBytes no longer abbreviated
Claus Gittinger <cg@exept.de>
parents:
4671
diff
changeset
|
89 |
UninterpretedBytes.$(O) \ |
1840 | 90 |
Array.$(O) \ |
4765 | 91 |
WeakArray.$(O) \ |
1840 | 92 |
ByteArray.$(O) \ |
4703 | 93 |
CharacterArray.$(O) \ |
1840 | 94 |
String.$(O) \ |
95 |
Symbol.$(O)\ |
|
96 |
DoubleArray.$(O) \ |
|
97 |
FloatArray.$(O) \ |
|
98 |
Interval.$(O) \ |
|
4765 | 99 |
LinkedList.$(O) \ |
1840 | 100 |
Semaphore.$(O) \ |
4765 | 101 |
OrderedCollection.$(O) \ |
102 |
SortedCollection.$(O)\ |
|
1840 | 103 |
Set.$(O) \ |
4765 | 104 |
Dictionary.$(O) \ |
4703 | 105 |
IdentityDictionary.$(O) \ |
106 |
WeakIdentityDictionary.$(O)\ |
|
4706 | 107 |
WeakDependencyDictionary.$(O)\ |
4703 | 108 |
WeakValueDictionary.$(O) \ |
4765 | 109 |
IdentitySet.$(O) \ |
110 |
WeakIdentitySet.$(O)\ |
|
1840 | 111 |
SignalSet.$(O) \ |
4464
cec93c942c14
Use context flag for exception handling instead of searching for
Stefan Vogel <sv@exept.de>
parents:
4448
diff
changeset
|
112 |
ExceptionHandlerSet.$(O) \ |
4765 | 113 |
SemaphoreSet.$(O) \ |
1840 | 114 |
Context.$(O) \ |
4765 | 115 |
BlockContext.$(O) \ |
1840 | 116 |
Delay.$(O) \ |
4481
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4464
diff
changeset
|
117 |
GenericException.$(O) \ |
4510 | 118 |
Exception.$(O) \ |
4481
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4464
diff
changeset
|
119 |
Error.$(O) \ |
5018 | 120 |
TimeoutError.$(O) \ |
4532 | 121 |
ProceedableError.$(O) \ |
122 |
SignalError.$(O) \ |
|
123 |
WrongProceedabilityError.$(O) \ |
|
4481
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4464
diff
changeset
|
124 |
Warning.$(O) \ |
4532 | 125 |
ProceedError.$(O)\ |
4481
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4464
diff
changeset
|
126 |
Notification.$(O) \ |
4765 | 127 |
UserNotification.$(O)\ |
4532 | 128 |
NoHandlerError.$(O) \ |
129 |
RecursiveExceptionError.$(O) \ |
|
4617 | 130 |
Behavior.$(O) \ |
4765 | 131 |
ClassDescription.$(O)\ |
4617 | 132 |
Class.$(O) \ |
133 |
Metaclass.$(O) \ |
|
4765 | 134 |
PrivateMetaclass.$(O)\ |
4617 | 135 |
AutoloadMetaclass.$(O) \ |
4765 | 136 |
ExecutableFunction.$(O) \ |
4703 | 137 |
CompiledCode.$(O) \ |
1840 | 138 |
Block.$(O) \ |
2247 | 139 |
VarArgBlock.$(O) \ |
4703 | 140 |
CheapBlock.$(O) \ |
2247 | 141 |
VarArgCheapBlock.$(O) \ |
1840 | 142 |
Method.$(O) \ |
143 |
Filename.$(O) \ |
|
4765 | 144 |
InterestConverter.$(O) \ |
145 |
WeakInterestConverter.$(O) \ |
|
1840 | 146 |
Link.$(O) \ |
147 |
Process.$(O) \ |
|
148 |
Magnitude.$(O) \ |
|
149 |
LookupKey.$(O) \ |
|
4696
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
150 |
Association.$(O) \ |
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
151 |
AbstractTime.$(O) \ |
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
152 |
AbsoluteTime.$(O) \ |
1840 | 153 |
Time.$(O) \ |
4696
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
154 |
ArithmeticValue.$(O) \ |
1840 | 155 |
Number.$(O) \ |
156 |
Fraction.$(O) \ |
|
5066 | 157 |
FixedPoint.$(O) \ |
1840 | 158 |
Integer.$(O) \ |
4703 | 159 |
LargeInteger.$(O) \ |
160 |
SmallInteger.$(O) \ |
|
4765 | 161 |
LimitedPrecisionReal.$(O)\ |
1840 | 162 |
Float.$(O) \ |
4765 | 163 |
ShortFloat.$(O)\ |
4250 | 164 |
LongFloat.$(O) \ |
1840 | 165 |
Point.$(O) \ |
166 |
Character.$(O) \ |
|
167 |
Date.$(O) \ |
|
168 |
Message.$(O) \ |
|
4765 | 169 |
MiniDebugger.$(O) \ |
170 |
MiniInspector.$(O) \ |
|
171 |
ObjectMemory.$(O) \ |
|
172 |
ProcessorScheduler.$(O)\ |
|
1840 | 173 |
Geometric.$(O) \ |
174 |
Rectangle.$(O) \ |
|
175 |
Registry.$(O) \ |
|
4765 | 176 |
HandleRegistry.$(O) \ |
1840 | 177 |
Signal.$(O) \ |
4765 | 178 |
QuerySignal.$(O) \ |
1840 | 179 |
Smalltalk.$(O) \ |
180 |
Stream.$(O) \ |
|
4765 | 181 |
PeekableStream.$(O) \ |
182 |
PositionableStream.$(O) \ |
|
4703 | 183 |
ReadStream.$(O) \ |
184 |
WriteStream.$(O) \ |
|
185 |
ReadWriteStream.$(O) \ |
|
186 |
ExternalStream.$(O) \ |
|
187 |
FileStream.$(O) \ |
|
188 |
DirectoryStream.$(O) \ |
|
189 |
NonPositionableExternalStream.$(O) \ |
|
190 |
PipeStream.$(O) \ |
|
4765 | 191 |
FileDirectory.$(O) \ |
192 |
UndefinedObject.$(O) \ |
|
193 |
ExternalAddress.$(O) \ |
|
4703 | 194 |
ExternalBytes.$(O) \ |
4765 | 195 |
ExternalFunction.$(O) \ |
196 |
MethodDictionary.$(O) \ |
|
197 |
OSHandle.$(O) \ |
|
198 |
OSFileHandle.$(O) \ |
|
3576
9287c054ac83
started to remove abbreviations ...
Claus Gittinger <cg@exept.de>
parents:
3507
diff
changeset
|
199 |
AbstractOperatingSystem.$(O) \ |
4766 | 200 |
UserPreferences.$(O) \ |
5478 | 201 |
ObjectCoder.$(O) \ |
4766 | 202 |
$(SYSDEP_OBJS) |
1 | 203 |
|
21 | 204 |
# |
443 | 205 |
# only needed for NeXT (2.1) - assembler dumps core with long name ?!?! |
21 | 206 |
# |
476 | 207 |
SeqColl.$(O): |
4043 | 208 |
@$(MAKE) $(LONGNAME_RULE) LONGNAME_FILE=$* OPT="$(OPT)" CC="$(CC)" |
15 | 209 |
|
443 | 210 |
# |
982 | 211 |
# on AIX, Object and Class cannot be compiled with -O2 |
212 |
# (CC running out of space) |
|
443 | 213 |
# |
2450 | 214 |
#AIX:: |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
215 |
# $(MAKE) Object.o OPT= |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
216 |
# $(MAKE) Behavior.o |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
217 |
# $(MAKE) ClassDescr.o |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
218 |
# $(MAKE) Class.o OPT= |
391 | 219 |
|
136 | 220 |
# |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
221 |
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error) |
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
222 |
# |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
223 |
#HP:: HPbigFiles |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
224 |
|
1856 | 225 |
#HPbigFiles: abbrev.stc |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
226 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Object CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
227 |
# $(MAKE) Behavior.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
228 |
# $(MAKE) ClassDescr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
229 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Class CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
230 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Metaclass CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
231 |
# $(MAKE) Coll.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
232 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SeqColl CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
4696
c1f419ff9107
renamed files - going to eliminate abbreviations
Claus Gittinger <cg@exept.de>
parents:
4695
diff
changeset
|
233 |
# $(MAKE) ArrayedCollection.$(O) |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
234 |
# $(MAKE) ByteArray.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
235 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=CharArray CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
236 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Smalltalk CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
237 |
# $(MAKE) Stream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
238 |
# $(MAKE) PeekStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
239 |
# $(MAKE) PosStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
240 |
# $(MAKE) ReadStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
241 |
# $(MAKE) WriteStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
242 |
# $(MAKE) RWStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
243 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=ExtStream CC=$(CC) OPT="$(OPT)" SEPINITCODE=$(SEPINITCODE) |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
244 |
|
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
245 |
# |
136 | 246 |
# special rule, to define the config-string while compiling |
264 | 247 |
# this places the current config setting into the Smalltalk class binary |
136 | 248 |
# |
452 | 249 |
#CONF_STRING="$(CONF) / $(CONF_PACKS)" |
86 | 250 |
|
452 | 251 |
#Smalltalk.$(O): |
486
1e19564b2b5e
prepare for CVS SourceCodeManager
Claus Gittinger <cg@exept.de>
parents:
476
diff
changeset
|
252 |
# $(STC) -CC="$(CC)" $(STCFLAGS) $(CFLAGS) -DCONFIGURATION_STRING='\"$(CONF_STRING)\"' -c Smalltalk.st |
1e19564b2b5e
prepare for CVS SourceCodeManager
Claus Gittinger <cg@exept.de>
parents:
476
diff
changeset
|
253 |
# @$(TOUCH) $*.$(O) |
86 | 254 |
|
1 | 255 |
cleanjunk:: |
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
256 |
@-rm -f [A-Z]*.c [A-Z]*.H [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c |
1 | 257 |
|
258 |
clean:: |
|
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
259 |
@-rm -f [A-Z]*.o [A-Z]*.c [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c *.H |
1 | 260 |
|
261 |
clobber:: |
|
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
262 |
@-rm -f *.c [A-Z]*.c [A-Z]*.s i_[A-Z]*.c i_[A-Z]*.s *.H abbrev.stc classList.stc |
1 | 263 |
|
264 |
tar: |
|
359 | 265 |
(cd $(TOP); tar cvfh DISTRIB/libbasic.tar \ |
159 | 266 |
libbasic/Make.proto \ |
248 | 267 |
libbasic/.dir.info \ |
159 | 268 |
libbasic/*.st \ |
190 | 269 |
libbasic/resources) |
270 |
||
406 | 271 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
272 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |