equal
deleted
inserted
replaced
1 # $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.27 1995-02-26 18:14:39 claus Exp $ |
1 # $Header: /cvs/stx/stx/libbasic/Make.proto,v 1.28 1995-05-08 03:31:14 claus Exp $ |
2 # |
2 # |
3 # -------------- no need to change anything below ---------- |
3 # -------------- no need to change anything below ---------- |
4 |
4 |
5 TOP=.. |
5 TOP=.. |
6 SUBDIRS= |
6 SUBDIRS= |
10 STCOPT=$(LIBBASIC_STCOPT) |
10 STCOPT=$(LIBBASIC_STCOPT) |
11 STCLOCALOPT=-Pbasic-classes -warnGlobalAssign +optinline2 $(COMMONSYMBOLS) |
11 STCLOCALOPT=-Pbasic-classes -warnGlobalAssign +optinline2 $(COMMONSYMBOLS) |
12 |
12 |
13 all:: abbrev.stc objs genClassList $(OBJTARGET) |
13 all:: abbrev.stc objs genClassList $(OBJTARGET) |
14 |
14 |
15 objs:: \ |
15 OBJFILES=$(OBJS) |
|
16 |
|
17 OBJS= \ |
16 Object.$(O) \ |
18 Object.$(O) \ |
17 Autoload.$(O) \ |
19 Autoload.$(O) \ |
18 Behavior.$(O) \ |
20 Behavior.$(O) \ |
19 ClassDescr.$(O) \ |
21 ClassDescr.$(O) \ |
20 Class.$(O) \ |
22 Class.$(O) \ |
85 ObjMem.$(O) \ |
87 ObjMem.$(O) \ |
86 ProcSched.$(O) \ |
88 ProcSched.$(O) \ |
87 Rectangle.$(O) \ |
89 Rectangle.$(O) \ |
88 Registry.$(O) \ |
90 Registry.$(O) \ |
89 Signal.$(O) \ |
91 Signal.$(O) \ |
90 SMALLTALK \ |
92 Smalltalk.$(O) \ |
91 Stream.$(O) \ |
93 Stream.$(O) \ |
92 PeekStr.$(O) \ |
94 PeekStr.$(O) \ |
93 PosStream.$(O) \ |
95 PosStream.$(O) \ |
94 ReadStr.$(O) \ |
96 ReadStr.$(O) \ |
95 WriteStr.$(O) \ |
97 WriteStr.$(O) \ |
114 # special rule, to define the config-string while compiling |
116 # special rule, to define the config-string while compiling |
115 # this places the current config setting into the Smalltalk class binary |
117 # this places the current config setting into the Smalltalk class binary |
116 # |
118 # |
117 CONF_STRING="$(CONF)" |
119 CONF_STRING="$(CONF)" |
118 |
120 |
119 SMALLTALK: |
121 Smalltalk.$(O): |
120 @$(MAKE) Smalltalk.$(O) \ |
122 $(STC) -CC="$(CC)" $(STCFLAGS) $(CFLAGS) -DCONFIGURATION_STRING='\"$(CONF_STRING)\"' -c Smalltalk.st |
121 DEFS="$(DEFS) -DCONFIGURATION_STRING='\\\"$(CONF_STRING)\\\"' " |
123 @$(TOUCH) $*.$(O) |
122 |
124 |
123 cleanjunk:: |
125 cleanjunk:: |
124 -rm -f *.c *.H |
126 -rm -f *.c *.H |
125 |
127 |
126 clean:: |
128 clean:: |