author | penk |
Tue, 14 Dec 2004 14:14:09 +0100 | |
changeset 8657 | 1df84e8daa15 |
parent 8308 | 19a958b21ac0 |
child 9365 | 9003f8432516 |
permissions | -rw-r--r-- |
8308 | 1 |
# $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.174 2004-04-08 12:53:08 cg Exp $ |
1 | 2 |
# |
3 |
# -------------- no need to change anything below ---------- |
|
4 |
||
95 | 5 |
TOP=.. |
1 | 6 |
SUBDIRS= |
7 |
||
3413 | 8 |
LIB_BASE=$(LIBBASIC_BASE) |
4671 | 9 |
NM_LIB_BASE=LIBBASIC_BASE |
15 | 10 |
|
213 | 11 |
STCOPT=$(LIBBASIC_STCOPT) |
8308 | 12 |
LOCALINCLUDES=-I../librun |
13 |
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) -varPrefix=$(LIBNAME) $(LOCALINCLUDES) -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 |
|
1121 | 14 |
LINKOBJRULE=$(SEPINITLINKOBJRULE) |
1 | 15 |
|
1603 | 16 |
AIX_LOCAL_LIBS=-lm |
17 |
||
1224 | 18 |
all:: classLibRule |
15 | 19 |
|
7784 | 20 |
EXTERNALSTREAM=$(OUTDIR)ExternalStream.$(O) |
21 |
||
21 | 22 |
# |
443 | 23 |
# only needed for NeXT (2.1) - assembler dumps core with long name ?!?! |
21 | 24 |
# |
476 | 25 |
SeqColl.$(O): |
4043 | 26 |
@$(MAKE) $(LONGNAME_RULE) LONGNAME_FILE=$* OPT="$(OPT)" CC="$(CC)" |
15 | 27 |
|
443 | 28 |
# |
982 | 29 |
# on AIX, Object and Class cannot be compiled with -O2 |
30 |
# (CC running out of space) |
|
443 | 31 |
# |
2450 | 32 |
#AIX:: |
7773 | 33 |
# $(MAKE) Object.o OPT= |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
34 |
# $(MAKE) Behavior.o |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
35 |
# $(MAKE) ClassDescr.o |
7773 | 36 |
# $(MAKE) Class.o OPT= |
391 | 37 |
|
136 | 38 |
# |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
39 |
# 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
|
40 |
# |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
41 |
#HP:: HPbigFiles |
1374
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
42 |
|
1856 | 43 |
#HPbigFiles: abbrev.stc |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
44 |
# $(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
|
45 |
# $(MAKE) Behavior.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
46 |
# $(MAKE) ClassDescr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
47 |
# $(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
|
48 |
# $(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
|
49 |
# $(MAKE) Coll.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
50 |
# $(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
|
51 |
# $(MAKE) ArrayedCollection.$(O) |
3204
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
52 |
# $(MAKE) ByteArray.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
53 |
# $(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
|
54 |
# $(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
|
55 |
# $(MAKE) Stream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
56 |
# $(MAKE) PeekStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
57 |
# $(MAKE) PosStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
58 |
# $(MAKE) ReadStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
59 |
# $(MAKE) WriteStr.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
60 |
# $(MAKE) RWStream.$(O) |
ae5a60d65943
FileDirectory is obsolete. Do not compile (will be autoloaded).
Stefan Vogel <sv@exept.de>
parents:
2961
diff
changeset
|
61 |
# $(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
|
62 |
|
791021fceeaf
HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents:
1342
diff
changeset
|
63 |
# |
136 | 64 |
# special rule, to define the config-string while compiling |
264 | 65 |
# this places the current config setting into the Smalltalk class binary |
136 | 66 |
# |
452 | 67 |
#CONF_STRING="$(CONF) / $(CONF_PACKS)" |
86 | 68 |
|
452 | 69 |
#Smalltalk.$(O): |
486
1e19564b2b5e
prepare for CVS SourceCodeManager
Claus Gittinger <cg@exept.de>
parents:
476
diff
changeset
|
70 |
# $(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
|
71 |
# @$(TOUCH) $*.$(O) |
86 | 72 |
|
1 | 73 |
cleanjunk:: |
7721 | 74 |
@-rm -f [A-Z]*.c [A-Z]*.H [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c *.s2 |
1 | 75 |
|
76 |
clean:: |
|
7721 | 77 |
@-rm -f [A-Z]*.o [A-Z]*.c [A-Z]*.s i_[A-Z]*.s i_[A-Z]*.c *.s2 *.H |
1 | 78 |
|
79 |
clobber:: |
|
4082
6fc4498dc612
be less verbose when cleaning or clobbering
Claus Gittinger <cg@exept.de>
parents:
4043
diff
changeset
|
80 |
@-rm -f *.c [A-Z]*.c [A-Z]*.s i_[A-Z]*.c i_[A-Z]*.s *.H abbrev.stc classList.stc |
1 | 81 |
|
406 | 82 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
83 |
# ENDMAKEDEPEND --- do not remove this line; make depend needs it |