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