author | Claus Gittinger <cg@exept.de> |
Thu, 15 Jul 1999 21:45:54 +0200 | |
changeset 4392 | 26fb48f04e1b |
parent 4250 | 5546439c3c5b |
child 4448 | 3cb121baa9f7 |
permissions | -rw-r--r-- |
4250 | 1 |
# $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.108 1999-06-02 08:24:25 cg Exp $ |
1 | 2 |
# |
3 |
# -------------- no need to change anything below ---------- |
|
4 |
||
95 | 5 |
TOP=.. |
1 | 6 |
SUBDIRS= |
7 |
||
95 | 8 |
LIBNAME=libbasic |
4107
ef783ce6951f
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
4082
diff
changeset
|
9 |
PACKAGE=stx:$(LIBNAME) |
3413 | 10 |
LIB_BASE=$(LIBBASIC_BASE) |
15 | 11 |
|
213 | 12 |
STCOPT=$(LIBBASIC_STCOPT) |
4107
ef783ce6951f
added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents:
4082
diff
changeset
|
13 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) |
1121 | 14 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
1 | 15 |
|
1603 | 16 |
AIX_LOCAL_LIBS=-lm |
17 |
||
1224 | 18 |
all:: classLibRule |
15 | 19 |
|
449 | 20 |
RCSSOURCES=*.st Make.proto resources/*.rs |
21 |
||
941
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
22 |
# |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
23 |
# those are not time critical |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
24 |
# 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
|
25 |
# (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
|
26 |
# |
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
27 |
UNCRITICALOBJS= \ |
1342 | 28 |
Autoload.$(O) \ |
29 |
MiniDebug.$(O) \ |
|
30 |
MiniInsp.$(O) \ |
|
31 |
Project.$(O) |
|
941
9fb9823d1ff4
some can easily be compiled with optspace
Claus Gittinger <cg@exept.de>
parents:
871
diff
changeset
|
32 |
|
3415 | 33 |
WIN_OBJS= \ |
3505
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
34 |
PCFilename.$(O) \ |
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
35 |
Win32OS.$(O) |
3415 | 36 |
|
37 |
VMS_OBJS= \ |
|
3507 | 38 |
OpenVMSFilename.$(O) \ |
3505
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
39 |
OpenVMSOS.$(O) |
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
40 |
|
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
41 |
OS2_OBJS= \ |
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
42 |
OS2OS.$(O) |
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
43 |
|
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
44 |
MAC_OBJS= \ |
7f920b07faf6
prepared to split OS dependencies
Claus Gittinger <cg@exept.de>
parents:
3499
diff
changeset
|
45 |
MacOS.$(O) |
3415 | 46 |
|
1840 | 47 |
OBJS= \ |
48 |
Object.$(O) \ |
|
49 |
Autoload.$(O) \ |
|
50 |
Behavior.$(O) \ |
|
51 |
ClassDescr.$(O) \ |
|
52 |
Class.$(O) \ |
|
53 |
Metaclass.$(O) \ |
|
54 |
PMetaclass.$(O) \ |
|
55 |
Project.$(O) \ |
|
1907
f0ca293ccceb
Namespace is required (during startup, to install autoloaded classes)
Claus Gittinger <cg@exept.de>
parents:
1856
diff
changeset
|
56 |
Namespace.$(O) \ |
1840 | 57 |
Boolean.$(O) \ |
58 |
True.$(O) \ |
|
59 |
False.$(O) \ |
|
60 |
CCReader.$(O) \ |
|
61 |
Coll.$(O) \ |
|
62 |
Bag.$(O) \ |
|
63 |
SeqColl.$(O) \ |
|
64 |
ArrColl.$(O) \ |
|
3213 | 65 |
UIBytes.$(O) \ |
1840 | 66 |
Array.$(O) \ |
67 |
WeakArr.$(O) \ |
|
68 |
ByteArray.$(O) \ |
|
69 |
CharArray.$(O) \ |
|
70 |
String.$(O) \ |
|
71 |
Symbol.$(O)\ |
|
72 |
DoubleArray.$(O) \ |
|
73 |
FloatArray.$(O) \ |
|
74 |
Interval.$(O) \ |
|
75 |
LinkList.$(O) \ |
|
76 |
Semaphore.$(O) \ |
|
77 |
OrdColl.$(O) \ |
|
78 |
SortColl.$(O) \ |
|
79 |
Set.$(O) \ |
|
80 |
Dict.$(O) \ |
|
81 |
IdDict.$(O) \ |
|
82 |
WeakIdDict.$(O)\ |
|
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
83 |
WeakDepDict.$(O)\ |
1840 | 84 |
WeakVDict.$(O) \ |
85 |
IdSet.$(O) \ |
|
86 |
WeakIdSet.$(O) \ |
|
87 |
SignalSet.$(O) \ |
|
88 |
SemaSet.$(O) \ |
|
89 |
Context.$(O) \ |
|
90 |
BContext.$(O) \ |
|
91 |
Delay.$(O) \ |
|
92 |
Exception.$(O) \ |
|
93 |
ExecFunc.$(O) \ |
|
94 |
CompCode.$(O) \ |
|
95 |
Block.$(O) \ |
|
2247 | 96 |
VarArgBlock.$(O) \ |
1840 | 97 |
CheapBlk.$(O) \ |
2247 | 98 |
VarArgCheapBlock.$(O) \ |
1840 | 99 |
Method.$(O) \ |
100 |
Filename.$(O) \ |
|
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
101 |
UnixFilename.$(O) \ |
1840 | 102 |
InterestC.$(O) \ |
2657 | 103 |
WeakInterestConverter.$(O) \ |
1840 | 104 |
Link.$(O) \ |
105 |
Process.$(O) \ |
|
106 |
Magnitude.$(O) \ |
|
107 |
LookupKey.$(O) \ |
|
108 |
Assoc.$(O) \ |
|
109 |
AbstrTime.$(O) \ |
|
110 |
AbsTime.$(O) \ |
|
111 |
Time.$(O) \ |
|
112 |
ArithVal.$(O) \ |
|
113 |
Number.$(O) \ |
|
114 |
Fraction.$(O) \ |
|
115 |
Integer.$(O) \ |
|
116 |
LargeInt.$(O) \ |
|
117 |
SmallInt.$(O) \ |
|
118 |
LPReal.$(O) \ |
|
119 |
Float.$(O) \ |
|
120 |
SFloat.$(O) \ |
|
4250 | 121 |
LongFloat.$(O) \ |
1840 | 122 |
Point.$(O) \ |
123 |
Character.$(O) \ |
|
124 |
Date.$(O) \ |
|
125 |
Message.$(O) \ |
|
126 |
MiniDebug.$(O) \ |
|
127 |
MiniIns.$(O) \ |
|
128 |
ObjMem.$(O) \ |
|
129 |
ProcSched.$(O) \ |
|
130 |
Geometric.$(O) \ |
|
131 |
Rectangle.$(O) \ |
|
132 |
Registry.$(O) \ |
|
133 |
HRegistry.$(O) \ |
|
134 |
Signal.$(O) \ |
|
135 |
QuerySig.$(O) \ |
|
136 |
Smalltalk.$(O) \ |
|
137 |
Stream.$(O) \ |
|
138 |
PeekStr.$(O) \ |
|
139 |
PosStream.$(O) \ |
|
140 |
ReadStr.$(O) \ |
|
141 |
WriteStr.$(O) \ |
|
142 |
RWStream.$(O) \ |
|
143 |
ExtStream.$(O) \ |
|
144 |
FileStr.$(O) \ |
|
145 |
DirStr.$(O) \ |
|
146 |
NPExtStr.$(O) \ |
|
147 |
PipeStr.$(O) \ |
|
3441 | 148 |
FileDir.$(O) \ |
1840 | 149 |
UndefObj.$(O) \ |
150 |
ExtAddr.$(O) \ |
|
151 |
ExtBytes.$(O) \ |
|
152 |
ExtFunc.$(O) \ |
|
153 |
MthdDict.$(O) \ |
|
3576
9287c054ac83
started to remove abbreviations ...
Claus Gittinger <cg@exept.de>
parents:
3507
diff
changeset
|
154 |
AbstractOperatingSystem.$(O) \ |
3499 | 155 |
UnixOS.$(O) \ |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
156 |
Obsolete.$(O) \ |
3369 | 157 |
UserPreferences.$(O) \ |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
158 |
BOSS.$(O) \ |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
159 |
BinIOMgr.$(O) \ |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
160 |
BinInMgr.$(O) \ |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
161 |
BinOutMgr.$(O) |
1 | 162 |
|
21 | 163 |
# |
443 | 164 |
# only needed for NeXT (2.1) - assembler dumps core with long name ?!?! |
21 | 165 |
# |
476 | 166 |
SeqColl.$(O): |
4043 | 167 |
@$(MAKE) $(LONGNAME_RULE) LONGNAME_FILE=$* OPT="$(OPT)" CC="$(CC)" |
15 | 168 |
|
443 | 169 |
# |
1099
324cde654232
HP needs BIG rule for Unix.st
Claus Gittinger <cg@exept.de>
parents:
1077
diff
changeset
|
170 |
# special BIG-rule (kludge for HP) |
324cde654232
HP needs BIG rule for Unix.st
Claus Gittinger <cg@exept.de>
parents:
1077
diff
changeset
|
171 |
# |
324cde654232
HP needs BIG rule for Unix.st
Claus Gittinger <cg@exept.de>
parents:
1077
diff
changeset
|
172 |
Unix.$(O): |
4043 | 173 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Unix CC="$(CC)" OPT="$(OPT)" |
1099
324cde654232
HP needs BIG rule for Unix.st
Claus Gittinger <cg@exept.de>
parents:
1077
diff
changeset
|
174 |
|
324cde654232
HP needs BIG rule for Unix.st
Claus Gittinger <cg@exept.de>
parents:
1077
diff
changeset
|
175 |
# |
982 | 176 |
# on AIX, Object and Class cannot be compiled with -O2 |
177 |
# (CC running out of space) |
|
443 | 178 |
# |
2450 | 179 |
#AIX:: |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
180 |
# $(MAKE) Object.o OPT= |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
181 |
# $(MAKE) Behavior.o |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
182 |
# $(MAKE) ClassDescr.o |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
183 |
# $(MAKE) Class.o OPT= |
391 | 184 |
|
136 | 185 |
# |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
186 |
# 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
|
187 |
# |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
188 |
#HP:: HPbigFiles |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
189 |
|
1856 | 190 |
#HPbigFiles: abbrev.stc |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
191 |
# $(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
|
192 |
# $(MAKE) Behavior.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
193 |
# $(MAKE) ClassDescr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
194 |
# $(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
|
195 |
# $(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
|
196 |
# $(MAKE) Coll.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
197 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SeqColl 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
|
198 |
# $(MAKE) ArrColl.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
199 |
# $(MAKE) ByteArray.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
200 |
# $(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
|
201 |
# $(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
|
202 |
# $(MAKE) Stream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
203 |
# $(MAKE) PeekStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
204 |
# $(MAKE) PosStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
205 |
# $(MAKE) ReadStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
206 |
# $(MAKE) WriteStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
207 |
# $(MAKE) RWStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
208 |
# $(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
|
209 |
|
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
210 |
# |
136 | 211 |
# special rule, to define the config-string while compiling |
264 | 212 |
# this places the current config setting into the Smalltalk class binary |
136 | 213 |
# |
452 | 214 |
#CONF_STRING="$(CONF) / $(CONF_PACKS)" |
86 | 215 |
|
452 | 216 |
#Smalltalk.$(O): |
486
1e19564b2b5e
prepare for CVS SourceCodeManager
Claus Gittinger <cg@exept.de>
parents:
476
diff
changeset
|
217 |
# $(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
|
218 |
# @$(TOUCH) $*.$(O) |
86 | 219 |
|
1 | 220 |
cleanjunk:: |
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
221 |
@-rm -f [A-Z]*.c [A-Z]*.H [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c |
1 | 222 |
|
223 |
clean:: |
|
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
224 |
@-rm -f [A-Z]*.o [A-Z]*.c [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c *.H |
1 | 225 |
|
226 |
clobber:: |
|
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
227 |
@-rm -f *.c [A-Z]*.c [A-Z]*.s i_[A-Z]*.c i_[A-Z]*.s *.H abbrev.stc classList.stc |
1 | 228 |
|
229 |
tar: |
|
359 | 230 |
(cd $(TOP); tar cvfh DISTRIB/libbasic.tar \ |
159 | 231 |
libbasic/Make.proto \ |
248 | 232 |
libbasic/.dir.info \ |
159 | 233 |
libbasic/*.st \ |
190 | 234 |
libbasic/resources) |
235 |
||
406 | 236 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
237 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |