author | Claus Gittinger <cg@exept.de> |
Thu, 24 Jan 2013 16:08:24 +0100 | |
changeset 1285 | 09024870e513 |
parent 1284 | 78f7a1cdfeb1 |
child 1288 | 8c1a158d74d1 |
permissions | -rw-r--r-- |
796 | 1 |
# |
6 | 2 |
# $Header$ |
0 | 3 |
# |
1283 | 4 |
# ATTENTION: this Make.proto is still maintained manually. |
5 |
# i.e. not generated from the ApplicationDefinition |
|
6 |
# |
|
796 | 7 |
# -------------- no need to change anything below ---------- |
8 |
# |
|
9 |
# This makefile generates the smalltalk executable itself; |
|
10 |
# it can be invoked as: |
|
11 |
# |
|
12 |
# make |
|
13 |
# generates a standard smalltalk, and sets up symbolic links |
|
14 |
# for local execution. |
|
398 | 15 |
# |
796 | 16 |
# make smalltalk |
17 |
# generates a standard smalltalk executable only |
|
18 |
# |
|
19 |
# make smalltalk ADDITIONAL_OBJS=<list of object files> \ |
|
20 |
# ADDITIONAL_CLASSES=<list of class names> |
|
21 |
# generates a customized executable, containing additional |
|
22 |
# class (list of classes) which are to be found in the object |
|
23 |
# files (list of object files). |
|
24 |
# Example: |
|
25 |
# make smalltalk ADDITIONAL_OBJS=Foo.o ADDITIONAL_CLASSES=Foo |
|
26 |
# |
|
27 |
# No longer maintained (make could fail): |
|
556
c2f0be91462a
all library definitions are now here - no need for a PACK file
Claus Gittinger <cg@exept.de>
parents:
555
diff
changeset
|
28 |
# |
796 | 29 |
# make stx_static (ELF based systems only): |
30 |
# generates a smalltalk with statically linked |
|
31 |
# class libs. (still uses dynamic unix libraries) |
|
32 |
# |
|
33 |
# make stx_fullstatic (ELF based systems only): |
|
34 |
# generates a fully statically linked smalltalk |
|
35 |
# (even system libs are linked in) |
|
36 |
# |
|
37 |
||
38 |
TOP=../.. |
|
39 |
SUBDIRS= |
|
40 |
SUPPRESS_LOCAL_ABBREVS="yes" |
|
6 | 41 |
# |
796 | 42 |
# these are installed when installing their |
43 |
# package dir ... |
|
44 |
# |
|
45 |
SUPPRESS_INSTALL_BITMAPS="yes" |
|
46 |
SUPPRESS_INSTALL_RESOURCES="yes" |
|
47 |
||
48 |
INSTALLBIN_DIR=$(INSTALLBASE)/bin |
|
49 |
INSTALLLIB_DIR=$(INSTALLBASE)/lib |
|
50 |
||
51 |
RCSSOURCES=*.rc patches Make.proto |
|
52 |
LINKSOURCES=*.rc patches Make.proto |
|
53 |
||
54 |
DELIVERBINARIES=stx |
|
207 | 55 |
|
56 |
# |
|
796 | 57 |
# other definitions to use for things compiled here |
58 |
# |
|
59 |
LOCALDEFS=-DDEBUG |
|
60 |
#ST_LDFLAG= |
|
61 |
||
62 |
# st files found here wont go into the global abbrev list |
|
63 |
SUPPRESS_LOCAL_ABBREVS=1 |
|
569 | 64 |
|
796 | 65 |
# |
66 |
# this defines where the show starts |
|
67 |
# |
|
68 |
STARTUP_CLASS="Smalltalk" |
|
69 |
STARTUP_SELECTOR="start" |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
70 |
|
796 | 71 |
# |
72 |
# including your own private lib in the make process and executable: |
|
73 |
# |
|
74 |
# for example, if you have a libprivate directory, |
|
75 |
# where libprivate.obj is built, and that one should be included, |
|
76 |
# add lines as below to your configuration/.../defines file: |
|
77 |
# PRIVATEOBJ=$(TOP)/libprivate/libprivate.obj |
|
78 |
# PRIVATE_SO=$(TOP)/libprivate/libprivate.so |
|
79 |
# PRIVATELIBS=libprivate |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
80 |
|
796 | 81 |
# This defines which library packages are linked in. |
82 |
# See COMMON/defines for what those XXX_LIB etc. are |
|
83 |
# |
|
84 |
# MINI_LIB = libbasic, libcomp $(PRIVATELIBS) |
|
85 |
# FUNDAMENTAL_LIB = above PLUS libview, libwidg |
|
86 |
# DEVELOP_LIB = above PLUS libtool refactoring |
|
87 |
# STANDARD_LIB = above PLUS libwidg2, libdbase |
|
88 |
# EXTENDED_LIB = above PLUS libwidg3 |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
89 |
|
796 | 90 |
CLASSLIBDIRS = $(STANDARD_DIR) $(PRIVATE_CLASSLIBDIRS) $(ARCH_CLASSLIBDIRS) |
91 |
LIBOBJS = $(STANDARD_LIB) $(PRIVATE_OBJS) |
|
92 |
LINK_LIBOBJS = $(LINK_STANDARD_LIB) $(PRIVATE_OBJS) |
|
1285 | 93 |
STATIC_LIBOBJS = $(STATIC_STANDARD_LIB) $(PRIVATE_OBJS) |
1284
78f7a1cdfeb1
oops - checked in mac version by accident
Claus Gittinger <cg@exept.de>
parents:
1283
diff
changeset
|
94 |
LIBLIST = $(STANDARD_LIST) $(PRIVATE_LIBS) |
8 | 95 |
|
1078 | 96 |
# WORKSTAT1 = XWorkstation |
97 |
# WORKSTAT2 = GLXWorkstation |
|
979
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
98 |
EXTRA_UI_CLASSES= $(WORKSTAT1) $(WORKSTAT2) |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
99 |
|
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
100 |
EXTRA_UI_OBJ=\ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
101 |
$(OPTIONAL_XWORKSTATION_OBJ) \ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
102 |
$(OPTIONAL_GLXWORKSTATION_OBJ) |
796 | 103 |
|
979
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
104 |
STATIC_EXTRA_UI_OBJ=\ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
105 |
$(STATIC_OPTIONAL_XWORKSTATION_OBJ) \ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
106 |
$(STATIC_OPTIONAL_GLXWORKSTATION_OBJ) |
796 | 107 |
|
979
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
108 |
EXTRA_LINK_UI_OBJ=\ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
109 |
$(OPTIONAL_LINK_XWORKSTATION_OBJ) \ |
a0be1710134d
Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents:
796
diff
changeset
|
110 |
$(OPTIONAL_LINK_GLXWORKSTATION_OBJ) |
796 | 111 |
|
112 |
OPTIONAL_LIBGL_TARGET = $(LIB_GL_TARGET) |
|
113 |
OPTIONAL_GL_LIB = $(LIB_GL) |
|
114 |
OPTIONAL_LINK_GL_LIB = $(LINK_LIB_GL) |
|
115 |
||
1282 | 116 |
STATIC_ADDITIONAL_OBJS=/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation |
117 |
||
796 | 118 |
# ---------------------- end additional stuff -------------------- |
178
7ab96c8246bd
added stx_static & stx_fullstatic support on shared lib systems (Linux-ELF)
Claus Gittinger <cg@exept.de>
parents:
176
diff
changeset
|
119 |
|
8 | 120 |
|
796 | 121 |
# |
122 |
# default target: create the TARGET (usually smalltalk) |
|
123 |
# |
|
124 |
all:: $(TARGET)$(TARGET_RULE_EXTENSION) symlinks |
|
125 |
@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \ |
|
126 |
mv stx stx_dynamic; \ |
|
127 |
$(MAKE) stx_fullstatic; \ |
|
128 |
fi |
|
129 |
||
130 |
# |
|
131 |
# same, force recreation of link-directories |
|
132 |
# |
|
133 |
allNew: $(TARGET)$(TARGET_RULE_EXTENSION) misc |
|
134 |
@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \ |
|
135 |
mv stx stx_dynamic; \ |
|
136 |
$(MAKE) stx_fullstatic; \ |
|
137 |
fi |
|
138 |
||
139 |
# |
|
140 |
# create symbolic links to sources, resources etc. |
|
141 |
# normally (on an end-user system) these should go into usr/local/lib/smalltalk |
|
142 |
# |
|
143 |
symlinks: includeLink misc |
|
144 |
||
145 |
# |
|
146 |
# the standard smalltalk executable: |
|
147 |
# basic classes + view & widgets + tools + persistency |
|
148 |
# |
|
149 |
smalltalk:: $(TARGET)$(TARGET_RULE_EXTENSION) |
|
130 | 150 |
|
796 | 151 |
# |
152 |
# a specialized mySmalltalk with additional class(es) and additional |
|
153 |
# C-library builtIn |
|
154 |
# |
|
155 |
MY_ADDITIONAL_OBJECTS=Foo.$(O) |
|
156 |
MY_ADDITIONAL_CLASSES=Foo |
|
157 |
MY_ADDITIONAL_LIBS=$(TOP)/../myClasses/libFoo.a |
|
130 | 158 |
|
796 | 159 |
mySmalltalk: $(MY_ADDITIONAL_OBJECTS) |
160 |
@echo "making special smalltalk ..." |
|
161 |
@$(MAKE) linkTarget \ |
|
162 |
LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \ |
|
163 |
LINK_OBJS="$(LINK_OBJS)" \ |
|
164 |
LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \ |
|
165 |
LINK_LIBRUN="$(LINK_LIBRUN)" \ |
|
166 |
LIBRUN="$(LIBRUN)" \ |
|
167 |
ADDITIONAL_OBJS=$(MY_ADDITIONAL_OBJECTS) \ |
|
168 |
ADDITIONAL_CLASSES=$(MY_ADDITIONAL_CLASSES) \ |
|
169 |
ADDITIONAL_LIBS=$(MY_ADDITIONAL_LIBS) \ |
|
170 |
LIBLIST="$(LIBLIST)" |
|
171 |
@$(MAKE) removeLinkLibs |
|
172 |
||
173 |
# |
|
174 |
# by default, the TARGET rule calls for one of the |
|
175 |
# rules below. Which one is controlled by the |
|
176 |
# architecture-specific definition file. |
|
177 |
# |
|
178 |
$(TARGET)_shared: |
|
179 |
@echo "making shared library linked smalltalk ..." |
|
180 |
echo EXTRA_LINK_UI_OBJ = $(EXTRA_LINK_UI_OBJ) |
|
181 |
$(MAKE) linkTarget \ |
|
182 |
LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \ |
|
183 |
LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \ |
|
184 |
LINK_LIBRUN=$(LINK_LIBRUN) \ |
|
185 |
LIBRUN=$(LIBRUN) \ |
|
186 |
ADDITIONAL_OBJS=$(ADDITIONAL_OBJS) \ |
|
187 |
ADDITIONAL_CLASSES=$(ADDITIONAL_CLASSES) \ |
|
188 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" |
|
132 | 189 |
|
796 | 190 |
$(TARGET)_static: $(STATIC_LIBRUN) |
191 |
@echo "making statically linked smalltalk ..." |
|
192 |
@$(MAKE) linkTarget \ |
|
193 |
LIBOBJS="" \ |
|
194 |
LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
|
1282 | 195 |
LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
796 | 196 |
LINK_LIBRUN="$(STATIC_LIBRUN)" \ |
197 |
LIBRUN="$(STATIC_LIBRUN)" \ |
|
198 |
ADDITIONAL_OBJS=$(STATIC_ADDITIONAL_OBJS) \ |
|
199 |
ADDITIONAL_CLASSES=$(STATIC_ADDITIONAL_CLASSES) \ |
|
1282 | 200 |
EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \ |
796 | 201 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" |
202 |
@$(MAKE) removeLinkLibs |
|
25 | 203 |
|
796 | 204 |
$(TARGET)_fullstatic: $(STATIC_LIBRUN) |
205 |
if [ -f $(LIBRUNDIR)/librun.a ]; then \ |
|
206 |
echo "librun.a already made."; \ |
|
207 |
else \ |
|
1108 | 208 |
cd $(LIBRUNDIR) && $(MAKE) librun.a; \ |
796 | 209 |
fi |
210 |
@echo "making full statically linked smalltalk ..." |
|
211 |
@$(MAKE) linkTarget \ |
|
212 |
LIBOBJS="" \ |
|
213 |
LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
|
1282 | 214 |
LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
796 | 215 |
LINK_LIBRUN="$(STATIC_LIBRUN)" \ |
216 |
LIBRUN="$(STATIC_LIBRUN)" \ |
|
217 |
ADDITIONAL_OBJS=$(STATIC_ADDITIONAL_OBJS) \ |
|
218 |
ADDITIONAL_CLASSES=$(STATIC_ADDITIONAL_CLASSES) \ |
|
219 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" \ |
|
220 |
MATHLIB="$(STATIC_MATHLIB)" \ |
|
221 |
EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \ |
|
222 |
SYSLIBS="$(STATIC_SYSLIBS)" |
|
223 |
||
224 |
@$(MAKE) removeLinkLibs |
|
178
7ab96c8246bd
added stx_static & stx_fullstatic support on shared lib systems (Linux-ELF)
Claus Gittinger <cg@exept.de>
parents:
176
diff
changeset
|
225 |
|
796 | 226 |
AIX_SHARED_LIBOBJS= \ |
227 |
$(LIBBASICDIR)/libstx_libbasic.so \ |
|
228 |
$(LIBCOMPDIR)/libstx_libcomp.so \ |
|
229 |
$(LIBVIEWDIR)/libstx_libview.so \ |
|
230 |
$(LIBVIEW2DIR)/libstx_libview2.so \ |
|
231 |
$(LIBWIDGDIR)/libstx_libwidg.so \ |
|
232 |
$(LIBTOOLDIR)/libstx_libtool.so \ |
|
233 |
$(LIBBASIC2DIR)/libstx_libbasic2.so \ |
|
234 |
$(LIBBASIC3DIR)/libstx_libbasic3.so \ |
|
235 |
$(LIBHTMLDIR)/libstx_libhtml.so \ |
|
236 |
$(LIBWIDG2DIR)/libstx_libwidg2.so \ |
|
237 |
$(PERSDIR)/libstx_libdbase.so |
|
16 | 238 |
|
796 | 239 |
aix: |
240 |
@echo "making shared library linked smalltalk for aix ..." |
|
241 |
@$(MAKE) linkTarget \ |
|
242 |
LIBOBJS="$(AIX_SHARED_LIBOBJS)" \ |
|
243 |
EXTRA_OBJ="$(EXTRA_OBJ)" \ |
|
244 |
EXTRA_LINK_OBJ="$(EXTRA_LINK_OBJ)" \ |
|
245 |
LIBLIST="$(LIBLIST)" \ |
|
246 |
LINK_LIBRUN=$(LINK_LIBDIR)librun.so \ |
|
247 |
LIBRUN=$(LIBRUNDIR)/librun.so |
|
248 |
||
249 |
aix_librun_only: |
|
250 |
@echo "making partial shared library linked smalltalk ..." |
|
251 |
@$(MAKE) linkTarget LIBRUN=$(LIBRUNDIR)/librun.so |
|
362 | 252 |
|
796 | 253 |
forceStatic: |
254 |
(cd $(LIBBASICDIR) ; $(MAKE) libbasicInit.o) |
|
255 |
-rm -f $(LIBBASICDIR)/libbasic.o |
|
256 |
$(MAKE) linkTarget LIBRUN="$(LIBRUNDIR)/*.o" LIBBASIC="$(LIBBASICDIR)/*.o" |
|
257 |
||
258 |
$(LIBVIEWDIR)/XWorkstation.o: |
|
1108 | 259 |
cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.o |
796 | 260 |
|
261 |
$(LIBVIEWDIR)/XWorkstation.so: |
|
1108 | 262 |
cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.so |
796 | 263 |
|
264 |
$(LIBVIEWDIR)/GLXWorkstation.o: |
|
1108 | 265 |
cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.o |
796 | 266 |
|
267 |
$(LIBVIEWDIR)/GLXWorkstation.so: |
|
1108 | 268 |
cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.so |
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
269 |
|
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
270 |
|
796 | 271 |
# |
272 |
# dont want these ttt-tempfile abbrevs to be included ... |
|
273 |
# |
|
274 |
abbrev.stc:: |
|
275 |
@-rm -f ttt*.* |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
276 |
|
796 | 277 |
# |
278 |
# currently, abbrev,stc must be made cross |
|
279 |
# |
|
280 |
ntAbbrev.stc: include/abbrev.stc |
|
281 |
cp include/abbrev.stc ntAbbrev.stc |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
282 |
|
796 | 283 |
# |
284 |
# dont want local abbrevs to be included ... |
|
285 |
# |
|
286 |
collectAbbrev:: |
|
287 |
@-rm -f abbrev.stc |
|
288 |
@-if [ "$(SUPPRESS_ABBREVS)" = "" ]; then \ |
|
289 |
if [ -d include ]; then \ |
|
290 |
if [ ! -f include/abbrev.stc ]; then \ |
|
291 |
(cd include; $(LNS) ../$(INCLUDE)/abbrev.stc . ); \ |
|
292 |
fi; \ |
|
293 |
fi; \ |
|
294 |
fi |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
295 |
|
796 | 296 |
collectAutoload:: |
297 |
@-rm -f autoloadList.stc |
|
298 |
@-if [ -d include ]; then \ |
|
299 |
if [ ! -f include/autoloadList.stc ]; then \ |
|
300 |
(cd include; $(LNS) ../$(INCLUDE)/autoloadList.stc . ); \ |
|
301 |
fi; \ |
|
302 |
fi |
|
15 | 303 |
|
796 | 304 |
classes:: |
305 |
test -d classes || mkdir classes |
|
306 |
-for i in source/*.st; do \ |
|
307 |
stcomp -i stcomp.img $$i; \ |
|
308 |
done |
|
309 |
||
310 |
include: includeLink |
|
311 |
||
312 |
misc: examples |
|
313 |
||
314 |
examples: |
|
315 |
test -d examples || mkdir examples examples/3D |
|
1108 | 316 |
-cd examples/3D && $(LNS) ../../$(TOP)/clients/GLdemos/*.data . 2>/dev/null |
8 | 317 |
|
796 | 318 |
# |
319 |
# clean out intermediate chunk |
|
320 |
# |
|
0 | 321 |
cleanjunk:: |
796 | 322 |
@-rm -f a.out SymbolTable ttt main.c |
323 |
@-rm -f classList.c fclassList.c nxclassList.c basicclassList.c |
|
324 |
@-rm -f betaclassList.c miniList.c tinyList.c |
|
325 |
@-rm -f modulList.stc modulList.c modulList.o |
|
326 |
@-rm -f pers* pers2 data data2 data.boss tetris.scores |
|
0 | 327 |
|
796 | 328 |
cleanlinks: |
329 |
@-rm -rf source bitmaps binaries resources examples include |
|
330 |
||
331 |
# |
|
332 |
# clean out all that is not needed to run smalltalk |
|
333 |
# |
|
0 | 334 |
clean:: |
796 | 335 |
@-rm -f a.out SymbolTable ttt main.c |
336 |
@-rm -f modulList.stc modulList.c modulList.o |
|
337 |
@-rm -f classList.stc classList.c classList.o |
|
338 |
@-rm -f fclassList.stc fclassList.c |
|
339 |
@-rm -f nxclassList.stc nxclassList.c |
|
340 |
@-rm -f basicclassList.stc basicclassList.c |
|
341 |
@-rm -f betaclassList.stc betaclassList.c |
|
342 |
@-rm -f miniList.stc miniList.c |
|
343 |
@-rm -f tinyList.stc tinyList.c |
|
344 |
@-rm -f pers pers2 data data2 data.boss tetris.scores |
|
345 |
@-rm -f st.img st2.img st.img.sav errorOutput |
|
346 |
@-rm -f .stx*.mem |
|
347 |
@-rm -rf modules stxtmp* |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
348 |
|
796 | 349 |
# |
350 |
# clean out all that can be regenerated |
|
351 |
# |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
352 |
clobber:: |
796 | 353 |
@$(MAKE) removeLinkLibs |
354 |
@-rm -f modulList.stc modulList.c modulList.o |
|
355 |
@-rm -rf resources source bitmaps include examples lib |
|
356 |
@-rm -f stx st.img st.img.sav st.sav |
|
357 |
@-rm -f main.o |
|
358 |
@-rm -rf modules |
|
359 |
@-rm -rf stxtmp_* |
|
0 | 360 |
|
796 | 361 |
main.o:: $(INCLUDE)/stc.h $(INCLUDE)/stcIntern.h makefile |
0 | 362 |
|
796 | 363 |
installProgsIf:: $(INSTALLBIN_DIR) |
364 |
@-echo "installing smalltalk..." |
|
365 |
$(INSTALL_SCRIPT_CMD) smalltalk $(INSTALLBIN_DIR) |
|
366 |
@-echo "installing stx..." |
|
367 |
$(INSTALL_BIN_CMD) stx $(INSTALLBIN_DIR) |
|
368 |
-strip $(INSTALLBIN_DIR)/stx |
|
383 | 369 |
|
796 | 370 |
installAux:: installRCScripts |
383 | 371 |
|
796 | 372 |
installRCScripts:: |
373 |
@-echo "installing rc scripts..." |
|
374 |
$(INSTALL_AUX_CMD) *.rc $(INSTALLLIB_DIR) |
|
375 |
$(INSTALL_AUX_CMD) *.xpm $(INSTALLLIB_DIR) |