author | Claus Gittinger <cg@exept.de> |
Tue, 08 Nov 2016 10:38:43 +0100 | |
changeset 1476 | 9b0d52aa3e11 |
parent 1475 | 7ffbb8c714d2 |
child 1481 | 4a4686007f8f |
child 1501 | 191b159df11e |
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 |
# |
|
1288 | 9 |
# This makefile generatfes the smalltalk executable itself; |
796 | 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 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
99 |
# now in libview |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
100 |
# EXTRA_UI_CLASSES= $(WORKSTAT1) $(WORKSTAT2) |
796 | 101 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
102 |
#EXTRA_UI_OBJ=\ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
103 |
# $(OPTIONAL_XWORKSTATION_OBJ) \ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
104 |
# $(OPTIONAL_GLXWORKSTATION_OBJ) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
105 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
106 |
#STATIC_EXTRA_UI_OBJ=\ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
107 |
# $(STATIC_OPTIONAL_XWORKSTATION_OBJ) \ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
108 |
# $(STATIC_OPTIONAL_GLXWORKSTATION_OBJ) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
109 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
110 |
#EXTRA_LINK_UI_OBJ=\ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
111 |
# $(OPTIONAL_LINK_XWORKSTATION_OBJ) \ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
112 |
# $(OPTIONAL_LINK_GLXWORKSTATION_OBJ) |
796 | 113 |
|
114 |
OPTIONAL_LIBGL_TARGET = $(LIB_GL_TARGET) |
|
115 |
OPTIONAL_GL_LIB = $(LIB_GL) |
|
116 |
OPTIONAL_LINK_GL_LIB = $(LINK_LIB_GL) |
|
117 |
||
1282 | 118 |
|
796 | 119 |
# ---------------------- 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
|
120 |
|
8 | 121 |
|
796 | 122 |
# |
123 |
# default target: create the TARGET (usually smalltalk) |
|
124 |
# |
|
125 |
all:: $(TARGET)$(TARGET_RULE_EXTENSION) symlinks |
|
126 |
@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \ |
|
127 |
mv stx stx_dynamic; \ |
|
128 |
$(MAKE) stx_fullstatic; \ |
|
129 |
fi |
|
130 |
||
131 |
# |
|
132 |
# same, force recreation of link-directories |
|
133 |
# |
|
134 |
allNew: $(TARGET)$(TARGET_RULE_EXTENSION) misc |
|
135 |
@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \ |
|
136 |
mv stx stx_dynamic; \ |
|
137 |
$(MAKE) stx_fullstatic; \ |
|
138 |
fi |
|
139 |
||
140 |
# |
|
141 |
# create symbolic links to sources, resources etc. |
|
142 |
# normally (on an end-user system) these should go into usr/local/lib/smalltalk |
|
143 |
# |
|
144 |
symlinks: includeLink misc |
|
145 |
||
146 |
# |
|
147 |
# the standard smalltalk executable: |
|
148 |
# basic classes + view & widgets + tools + persistency |
|
149 |
# |
|
150 |
smalltalk:: $(TARGET)$(TARGET_RULE_EXTENSION) |
|
130 | 151 |
|
796 | 152 |
# |
153 |
# a specialized mySmalltalk with additional class(es) and additional |
|
154 |
# C-library builtIn |
|
155 |
# |
|
156 |
MY_ADDITIONAL_OBJECTS=Foo.$(O) |
|
157 |
MY_ADDITIONAL_CLASSES=Foo |
|
158 |
MY_ADDITIONAL_LIBS=$(TOP)/../myClasses/libFoo.a |
|
130 | 159 |
|
796 | 160 |
mySmalltalk: $(MY_ADDITIONAL_OBJECTS) |
161 |
@echo "making special smalltalk ..." |
|
162 |
@$(MAKE) linkTarget \ |
|
163 |
LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \ |
|
164 |
LINK_OBJS="$(LINK_OBJS)" \ |
|
165 |
LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \ |
|
166 |
LINK_LIBRUN="$(LINK_LIBRUN)" \ |
|
167 |
LIBRUN="$(LIBRUN)" \ |
|
168 |
ADDITIONAL_OBJS=$(MY_ADDITIONAL_OBJECTS) \ |
|
169 |
ADDITIONAL_CLASSES=$(MY_ADDITIONAL_CLASSES) \ |
|
170 |
ADDITIONAL_LIBS=$(MY_ADDITIONAL_LIBS) \ |
|
171 |
LIBLIST="$(LIBLIST)" |
|
172 |
@$(MAKE) removeLinkLibs |
|
173 |
||
174 |
# |
|
175 |
# by default, the TARGET rule calls for one of the |
|
176 |
# rules below. Which one is controlled by the |
|
177 |
# architecture-specific definition file. |
|
178 |
# |
|
179 |
$(TARGET)_shared: |
|
180 |
@echo "making shared library linked smalltalk ..." |
|
181 |
echo EXTRA_LINK_UI_OBJ = $(EXTRA_LINK_UI_OBJ) |
|
182 |
$(MAKE) linkTarget \ |
|
183 |
LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \ |
|
184 |
LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \ |
|
185 |
LINK_LIBRUN=$(LINK_LIBRUN) \ |
|
186 |
LIBRUN=$(LIBRUN) \ |
|
187 |
ADDITIONAL_OBJS=$(ADDITIONAL_OBJS) \ |
|
188 |
ADDITIONAL_CLASSES=$(ADDITIONAL_CLASSES) \ |
|
189 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" |
|
132 | 190 |
|
796 | 191 |
$(TARGET)_static: $(STATIC_LIBRUN) |
192 |
@echo "making statically linked smalltalk ..." |
|
193 |
@$(MAKE) linkTarget \ |
|
1476 | 194 |
rebaseLibsRule=$(rebaseLibsRule_static) \ |
796 | 195 |
LIBOBJS="" \ |
196 |
LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
|
1282 | 197 |
LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
796 | 198 |
LINK_LIBRUN="$(STATIC_LIBRUN)" \ |
199 |
LIBRUN="$(STATIC_LIBRUN)" \ |
|
200 |
ADDITIONAL_OBJS=$(STATIC_ADDITIONAL_OBJS) \ |
|
201 |
ADDITIONAL_CLASSES=$(STATIC_ADDITIONAL_CLASSES) \ |
|
1282 | 202 |
EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \ |
796 | 203 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" |
204 |
@$(MAKE) removeLinkLibs |
|
25 | 205 |
|
796 | 206 |
$(TARGET)_fullstatic: $(STATIC_LIBRUN) |
207 |
if [ -f $(LIBRUNDIR)/librun.a ]; then \ |
|
208 |
echo "librun.a already made."; \ |
|
209 |
else \ |
|
1108 | 210 |
cd $(LIBRUNDIR) && $(MAKE) librun.a; \ |
796 | 211 |
fi |
212 |
@echo "making full statically linked smalltalk ..." |
|
213 |
@$(MAKE) linkTarget \ |
|
214 |
LIBOBJS="" \ |
|
215 |
LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
|
1282 | 216 |
LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \ |
796 | 217 |
LINK_LIBRUN="$(STATIC_LIBRUN)" \ |
218 |
LIBRUN="$(STATIC_LIBRUN)" \ |
|
219 |
ADDITIONAL_OBJS=$(STATIC_ADDITIONAL_OBJS) \ |
|
220 |
ADDITIONAL_CLASSES=$(STATIC_ADDITIONAL_CLASSES) \ |
|
221 |
LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" \ |
|
222 |
MATHLIB="$(STATIC_MATHLIB)" \ |
|
223 |
EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \ |
|
224 |
SYSLIBS="$(STATIC_SYSLIBS)" |
|
225 |
||
226 |
@$(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
|
227 |
|
796 | 228 |
AIX_SHARED_LIBOBJS= \ |
229 |
$(LIBBASICDIR)/libstx_libbasic.so \ |
|
230 |
$(LIBCOMPDIR)/libstx_libcomp.so \ |
|
231 |
$(LIBVIEWDIR)/libstx_libview.so \ |
|
232 |
$(LIBVIEW2DIR)/libstx_libview2.so \ |
|
233 |
$(LIBWIDGDIR)/libstx_libwidg.so \ |
|
234 |
$(LIBTOOLDIR)/libstx_libtool.so \ |
|
235 |
$(LIBBASIC2DIR)/libstx_libbasic2.so \ |
|
236 |
$(LIBBASIC3DIR)/libstx_libbasic3.so \ |
|
237 |
$(LIBHTMLDIR)/libstx_libhtml.so \ |
|
238 |
$(LIBWIDG2DIR)/libstx_libwidg2.so \ |
|
239 |
$(PERSDIR)/libstx_libdbase.so |
|
16 | 240 |
|
796 | 241 |
aix: |
242 |
@echo "making shared library linked smalltalk for aix ..." |
|
243 |
@$(MAKE) linkTarget \ |
|
244 |
LIBOBJS="$(AIX_SHARED_LIBOBJS)" \ |
|
245 |
EXTRA_OBJ="$(EXTRA_OBJ)" \ |
|
246 |
EXTRA_LINK_OBJ="$(EXTRA_LINK_OBJ)" \ |
|
247 |
LIBLIST="$(LIBLIST)" \ |
|
248 |
LINK_LIBRUN=$(LINK_LIBDIR)librun.so \ |
|
249 |
LIBRUN=$(LIBRUNDIR)/librun.so |
|
250 |
||
251 |
aix_librun_only: |
|
252 |
@echo "making partial shared library linked smalltalk ..." |
|
253 |
@$(MAKE) linkTarget LIBRUN=$(LIBRUNDIR)/librun.so |
|
362 | 254 |
|
796 | 255 |
forceStatic: |
256 |
(cd $(LIBBASICDIR) ; $(MAKE) libbasicInit.o) |
|
257 |
-rm -f $(LIBBASICDIR)/libbasic.o |
|
258 |
$(MAKE) linkTarget LIBRUN="$(LIBRUNDIR)/*.o" LIBBASIC="$(LIBBASICDIR)/*.o" |
|
259 |
||
260 |
$(LIBVIEWDIR)/XWorkstation.o: |
|
1108 | 261 |
cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.o |
796 | 262 |
|
263 |
$(LIBVIEWDIR)/XWorkstation.so: |
|
1108 | 264 |
cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.so |
796 | 265 |
|
266 |
$(LIBVIEWDIR)/GLXWorkstation.o: |
|
1108 | 267 |
cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.o |
796 | 268 |
|
269 |
$(LIBVIEWDIR)/GLXWorkstation.so: |
|
1108 | 270 |
cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.so |
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
271 |
|
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
272 |
|
796 | 273 |
# |
274 |
# dont want these ttt-tempfile abbrevs to be included ... |
|
275 |
# |
|
276 |
abbrev.stc:: |
|
277 |
@-rm -f ttt*.* |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
278 |
|
796 | 279 |
# |
280 |
# currently, abbrev,stc must be made cross |
|
281 |
# |
|
282 |
ntAbbrev.stc: include/abbrev.stc |
|
283 |
cp include/abbrev.stc ntAbbrev.stc |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
284 |
|
796 | 285 |
# |
286 |
# dont want local abbrevs to be included ... |
|
287 |
# |
|
288 |
collectAbbrev:: |
|
289 |
@-rm -f abbrev.stc |
|
290 |
@-if [ "$(SUPPRESS_ABBREVS)" = "" ]; then \ |
|
291 |
if [ -d include ]; then \ |
|
292 |
if [ ! -f include/abbrev.stc ]; then \ |
|
293 |
(cd include; $(LNS) ../$(INCLUDE)/abbrev.stc . ); \ |
|
294 |
fi; \ |
|
295 |
fi; \ |
|
296 |
fi |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
297 |
|
796 | 298 |
collectAutoload:: |
299 |
@-rm -f autoloadList.stc |
|
300 |
@-if [ -d include ]; then \ |
|
301 |
if [ ! -f include/autoloadList.stc ]; then \ |
|
302 |
(cd include; $(LNS) ../$(INCLUDE)/autoloadList.stc . ); \ |
|
303 |
fi; \ |
|
304 |
fi |
|
15 | 305 |
|
796 | 306 |
classes:: |
307 |
test -d classes || mkdir classes |
|
308 |
-for i in source/*.st; do \ |
|
309 |
stcomp -i stcomp.img $$i; \ |
|
310 |
done |
|
311 |
||
312 |
include: includeLink |
|
313 |
||
314 |
misc: examples |
|
315 |
||
316 |
examples: |
|
317 |
test -d examples || mkdir examples examples/3D |
|
1108 | 318 |
-cd examples/3D && $(LNS) ../../$(TOP)/clients/GLdemos/*.data . 2>/dev/null |
8 | 319 |
|
796 | 320 |
# |
321 |
# clean out intermediate chunk |
|
322 |
# |
|
0 | 323 |
cleanjunk:: |
796 | 324 |
@-rm -f a.out SymbolTable ttt main.c |
325 |
@-rm -f classList.c fclassList.c nxclassList.c basicclassList.c |
|
326 |
@-rm -f betaclassList.c miniList.c tinyList.c |
|
327 |
@-rm -f modulList.stc modulList.c modulList.o |
|
328 |
@-rm -f pers* pers2 data data2 data.boss tetris.scores |
|
0 | 329 |
|
796 | 330 |
cleanlinks: |
331 |
@-rm -rf source bitmaps binaries resources examples include |
|
332 |
||
333 |
# |
|
334 |
# clean out all that is not needed to run smalltalk |
|
335 |
# |
|
0 | 336 |
clean:: |
796 | 337 |
@-rm -f a.out SymbolTable ttt main.c |
338 |
@-rm -f modulList.stc modulList.c modulList.o |
|
339 |
@-rm -f classList.stc classList.c classList.o |
|
340 |
@-rm -f fclassList.stc fclassList.c |
|
341 |
@-rm -f nxclassList.stc nxclassList.c |
|
342 |
@-rm -f basicclassList.stc basicclassList.c |
|
343 |
@-rm -f betaclassList.stc betaclassList.c |
|
344 |
@-rm -f miniList.stc miniList.c |
|
345 |
@-rm -f tinyList.stc tinyList.c |
|
346 |
@-rm -f pers pers2 data data2 data.boss tetris.scores |
|
347 |
@-rm -f st.img st2.img st.img.sav errorOutput |
|
348 |
@-rm -f .stx*.mem |
|
349 |
@-rm -rf modules stxtmp* |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
350 |
|
796 | 351 |
# |
352 |
# clean out all that can be regenerated |
|
353 |
# |
|
788
51c7d65adf36
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
717
diff
changeset
|
354 |
clobber:: |
796 | 355 |
@$(MAKE) removeLinkLibs |
356 |
@-rm -f modulList.stc modulList.c modulList.o |
|
357 |
@-rm -rf resources source bitmaps include examples lib |
|
358 |
@-rm -f stx st.img st.img.sav st.sav |
|
359 |
@-rm -f main.o |
|
360 |
@-rm -rf modules |
|
1368 | 361 |
@-rm -rf package |
796 | 362 |
@-rm -rf stxtmp_* |
0 | 363 |
|
1312
6b35651ab77e
Change dependency for main.o from makefile to Make.proto
Stefan Vogel <sv@exept.de>
parents:
1288
diff
changeset
|
364 |
main.o:: $(INCLUDE)/stc.h $(INCLUDE)/stcIntern.h Make.proto |
0 | 365 |
|
796 | 366 |
installProgsIf:: $(INSTALLBIN_DIR) |
367 |
@-echo "installing smalltalk..." |
|
368 |
$(INSTALL_SCRIPT_CMD) smalltalk $(INSTALLBIN_DIR) |
|
369 |
@-echo "installing stx..." |
|
370 |
$(INSTALL_BIN_CMD) stx $(INSTALLBIN_DIR) |
|
371 |
-strip $(INSTALLBIN_DIR)/stx |
|
383 | 372 |
|
796 | 373 |
installAux:: installRCScripts |
383 | 374 |
|
796 | 375 |
installRCScripts:: |
376 |
@-echo "installing rc scripts..." |
|
377 |
$(INSTALL_AUX_CMD) *.rc $(INSTALLLIB_DIR) |
|
378 |
$(INSTALL_AUX_CMD) *.xpm $(INSTALLLIB_DIR) |
|
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
379 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
380 |
################################################################### |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
381 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
382 |
# packaging for deployment |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
383 |
# DEPLOY_PACKAGE is (currently) one of "dmg", "tgz" |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
384 |
# and coming from the arch-specific configuration file |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
385 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
386 |
deploy: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
387 |
$(MAKE) deploy_$(DEPLOY_PACKAGE) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
388 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
389 |
################### begin mac specific ################# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
390 |
# creates /tmp/stx.dmg |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
391 |
# |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
392 |
DMG_TMP=/tmp/stx_dmg |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
393 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
394 |
deploy_dmg: |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
395 |
$(MAKE) newDMG |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
396 |
$(MAKE) hdUtil |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
397 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
398 |
newDMG: |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
399 |
rm -rf $(DMG_TMP) |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
400 |
$(MAKE) $(DMG_TMP) |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
401 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
402 |
hdUtil: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
403 |
-rm -f stx.dmg /tmp/stx.dmg |
1391 | 404 |
(cd /tmp ; hdiutil create -fs HFSX -layout SPUD "stx.dmg" -srcfolder "$(DMG_TMP)" -format UDRW -volname "stx" -quiet) |
1475 | 405 |
@-sync |
406 |
@-sleep 2 |
|
1391 | 407 |
$(MAKE) dmg_mount_script |
408 |
hdiutil convert "/tmp/stx.dmg" -format UDZO -imagekey zlib-level=9 -o "/tmp/stx_cmpr.dmg" |
|
1475 | 409 |
@-rm /tmp/stx.dmg |
410 |
@-mv /tmp/stx_cmpr.dmg /tmp/stx.dmg |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
411 |
|
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
412 |
dmg: $(DMG_TMP) |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
413 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
414 |
$(DMG_TMP): |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
415 |
-mkdir "$(DMG_TMP)" |
1391 | 416 |
(pushd "$(DMG_TMP)"; ln -s /Applications ./Applications; popd) |
417 |
cp "../../README" "$(DMG_TMP)"/README.txt |
|
418 |
cp "../../README.macosx" "$(DMG_TMP)"/README_macosx.txt |
|
419 |
sed "s/..\/icons/.background/" < "../../doc/online/english/LICENCE_FREE_STX.html" > "$(DMG_TMP)"/LICENCE_STX.html |
|
420 |
-mkdir "$(DMG_TMP)"/.background |
|
421 |
cp "../../doc/online/icons/exeptLogo.gif" "$(DMG_TMP)"/.background/exeptLogo.gif |
|
1395 | 422 |
cp "banner8_lightMsg.png" "$(DMG_TMP)"/.background/banner.png |
1391 | 423 |
cp "../../COPYRIGHT" "$(DMG_TMP)"/COPYRIGHT.txt |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
424 |
-mkdir "$(DMG_TMP)"/stx.app |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
425 |
-mkdir "$(DMG_TMP)"/stx.app/Contents |
1475 | 426 |
cp deploySupport/osx_Info.plist "$(DMG_TMP)"/stx.app/Contents/Info.plist |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
427 |
-mkdir "$(DMG_TMP)"/stx.app/Contents/MacOS |
1360 | 428 |
$(MAKE) dmgSTXPackages |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
429 |
$(MAKE) dmgBINContents |
1397 | 430 |
$(MAKE) patchLicenceInResources |
431 |
||
432 |
patchLicenceInResources: |
|
433 |
LC_ALL=C sed "s/LICENCE_STX/LICENCE_FREE_STX/" < "../../libview/resources/resources.rs" > "$(DMG_TMP)"/stx.app/Packages/stx/libview/resources/resources.rs |
|
434 |
LC_ALL=C sed "s/LICENCE_STX/LICENCE_FREE_STX/" < "../../libview/resources/de.rs" > "$(DMG_TMP)"/stx.app/Packages/stx/libview/resources/de.rs |
|
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
435 |
|
1391 | 436 |
# tell the Finder to resize the window, set the background, |
437 |
# change the icon size, place the icons in the right position, etc. |
|
438 |
dmg_mount_script: |
|
1475 | 439 |
@-hdiutil detach /Volumes/stx |
440 |
@-hdiutil detach /Volumes/stx |
|
441 |
@-sync |
|
1391 | 442 |
hdiutil attach -readwrite -noverify /tmp/stx.dmg |
1475 | 443 |
@-sync |
444 |
@-sleep 3 |
|
445 |
@-(cat ../../rules/macosx_osascript.script | osascript) |
|
1396 | 446 |
hdiutil detach /Volumes/stx |
1475 | 447 |
@-sync |
1391 | 448 |
|
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
449 |
# |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
450 |
# the actual executable and its binaries |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
451 |
# |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
452 |
dmgBINContents: |
1357 | 453 |
(cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stx .) |
1360 | 454 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.so .) |
455 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stc .) |
|
456 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stx .) |
|
457 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.rc .) |
|
458 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/patches .) |
|
459 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stxPatches .) |
|
460 |
# (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/rc.d .) |
|
1357 | 461 |
# -cp -r resources "$(DMG_TMP)"/stx.app/Contents/MacOS/. |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
462 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
463 |
# |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
464 |
# sources and all other package stuff |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
465 |
# |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
466 |
dmgSTXPackages: "$(DMG_TMP)/stx.app/Packages" |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
467 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
468 |
"$(DMG_TMP)/stx.app/Packages": |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
469 |
@-mkdir "$(DMG_TMP)" |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
470 |
@-mkdir "$(DMG_TMP)/stx.app" |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
471 |
@-mkdir "$(DMG_TMP)/stx.app/Packages" |
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
472 |
@-rm -f stx.dmg |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
473 |
-cp -r $(TOP)/../stx "$(DMG_TMP)/stx.app/Packages/." |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
474 |
$(MAKE) clean_dmg |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
475 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
476 |
clean_dmg: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
477 |
$(MAKE) cleanTemporaryDeploymentHierarchy TMP_TOP="$(DMG_TMP)/stx.app/Packages" |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
478 |
|
1458 | 479 |
# (ongoing work) |
480 |
# install the binaries and required headers into a user-private framework |
|
481 |
# |
|
1459 | 482 |
VSN=`cat $(TOP)/RELEASE` |
483 |
FRAMEWORK_DST=~/Library/Frameworks/SmalltalkX.framework |
|
484 |
OSX_LIBS=$(STANDARD_RELDIR) |
|
485 |
||
486 |
# see http://bomutils.dyndns.org/tutorial.html |
|
487 |
||
488 |
PKG_TMP=/tmp/stx_pkg |
|
489 |
||
490 |
tmp_pkg: linkLibs |
|
491 |
@-rm -rf $(PKG_TMP) |
|
492 |
@-mkdir $(PKG_TMP) |
|
493 |
# @-mkdir $(PKG_TMP)/flat |
|
494 |
# @-mkdir $(PKG_TMP)/flat/base.pkg |
|
495 |
# @-mkdir $(PKG_TMP)/flat/Resources |
|
496 |
# @-mkdir $(PKG_TMP)/flat/Resources/en.lproj |
|
497 |
# @-cp banner8.png $(PKG_TMP)/flat/Resources/en.lproj/background.png |
|
498 |
# @-cp $(TOP)/README $(PKG_TMP)/flat/Resources/en.lproj/ |
|
499 |
# @-cp $(TOP)/README.macosx $(PKG_TMP)/flat/Resources/en.lproj/ |
|
500 |
# @-cp $(TOP)/COPYRIGHT $(PKG_TMP)/flat/Resources/en.lproj/ |
|
501 |
@-mkdir $(PKG_TMP)/root |
|
502 |
@-mkdir $(PKG_TMP)/root/Library |
|
503 |
@-mkdir $(PKG_TMP)/root/Library/Frameworks |
|
504 |
@-mkdir $(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework |
|
505 |
$(MAKE) osx_install FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework |
|
506 |
pkgbuild --identifier stx.base --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Runtime_$(VSN).pkg |
|
507 |
||
508 |
$(MAKE) osx_installHeaders FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework |
|
509 |
pkgbuild --identifier stx.base.headers --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Headers_$(VSN).pkg |
|
1458 | 510 |
|
1459 | 511 |
$(MAKE) osx_installSource FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework |
512 |
pkgbuild --identifier stx.base.source --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Source_$(VSN).pkg |
|
1460 | 513 |
|
514 |
$(MAKE) osx_installDocumentation FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework |
|
515 |
pkgbuild --identifier stx.base.documentation --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Documentation_$(VSN).pkg |
|
516 |
||
1459 | 517 |
productbuild --package SmalltalkX_Runtime_$(VSN).pkg \ |
518 |
--package SmalltalkX_Headers_$(VSN).pkg \ |
|
519 |
--package SmalltalkX_Source_$(VSN).pkg \ |
|
1460 | 520 |
--package SmalltalkX_Documentation_$(VSN).pkg \ |
1459 | 521 |
SmalltalkX$(VSN).pkg |
1460 | 522 |
# see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html |
523 |
rm -rf SmalltalkX$(VSN)_pkg |
|
524 |
pkgutil --expand SmalltalkX$(VSN).pkg SmalltalkX$(VSN)_pkg |
|
525 |
cp SmalltalkX$(VSN)_pkg/Distribution Distribution.extracted |
|
1464 | 526 |
cp deploySupport/osx_Distribution SmalltalkX$(VSN)_pkg/Distribution |
1460 | 527 |
mkdir SmalltalkX$(VSN)_pkg/Resources |
528 |
mkdir SmalltalkX$(VSN)_pkg/Resources/en.lproj |
|
529 |
mkdir SmalltalkX$(VSN)_pkg/Resources/de.lproj |
|
530 |
# mkdir SmalltalkX$(VSN)_pkg/Resources/icons |
|
531 |
# (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s en.lproj english) |
|
532 |
# (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s de.lproj german) |
|
533 |
cp banner8_light.png SmalltalkX$(VSN)_pkg/Resources/en.lproj/background.png |
|
534 |
cp banner8_light.png SmalltalkX$(VSN)_pkg/Resources/de.lproj/background.png |
|
535 |
# cp $(TOP)/doc/online/icons/exeptLogo.gif SmalltalkX$(VSN)_pkg/Resources/icons/ |
|
536 |
cp $(TOP)/doc/online/english/LICENCE_FREE_STX.html SmalltalkX$(VSN)_pkg/Resources/en.lproj/LICENCE_FREE_STX.html |
|
537 |
cp $(TOP)/doc/online/english/LICENCE_STX.html SmalltalkX$(VSN)_pkg/Resources/en.lproj/LICENCE_STX.html |
|
538 |
cp $(TOP)/doc/online/german/LICENCE_FREE_STX.html SmalltalkX$(VSN)_pkg/Resources/de.lproj/LICENCE_FREE_STX.html |
|
539 |
cp $(TOP)/doc/online/german/LICENCE_STX.html SmalltalkX$(VSN)_pkg/Resources/de.lproj/LICENCE_STX.html |
|
540 |
rm SmalltalkX$(VSN).pkg |
|
541 |
pkgutil --flatten SmalltalkX$(VSN)_pkg SmalltalkX$(VSN).pkg |
|
542 |
@echo "package generated as SmalltalkX$(VSN).pkg" |
|
543 |
||
1459 | 544 |
# echo " <?xml version=\"1.0\" encoding=\"utf-8\"?>" >> $(PKG_TMP)/flat/Distribution |
545 |
# echo " <installer-gui-script minSpecVersion=\"1\">" >> $(PKG_TMP)/flat/Distribution |
|
546 |
# echo " <title>Smalltalk/X 7.1.0</title>" >> $(PKG_TMP)/flat/Distribution |
|
547 |
# echo " <options customize=\"never\" allow-external-scripts=\"no\"/>" >> $(PKG_TMP)/flat/Distribution |
|
548 |
# echo " <domains enable_anywhere=\"true\"/>" >> $(PKG_TMP)/flat/Distribution |
|
549 |
# echo " <installation-check script=\"install_check();\"/>" >> $(PKG_TMP)/flat/Distribution |
|
550 |
# echo " <script><![CDATA[" >> $(PKG_TMP)/flat/Distribution |
|
551 |
# echo " function install_check() {" >> $(PKG_TMP)/flat/Distribution |
|
552 |
# echo " if(!(system.compareVersions(system.version.ProductVersion,'10.5') >= 0)) {" >> $(PKG_TMP)/flat/Distribution |
|
553 |
# echo " my.result.title = 'Failure';" >> $(PKG_TMP)/flat/Distribution |
|
554 |
# echo " my.result.message = 'You need at least Mac OS X 10.5 to install stx.';" >> $(PKG_TMP)/flat/Distribution |
|
555 |
# echo " my.result.type = 'Fatal';" >> $(PKG_TMP)/flat/Distribution |
|
556 |
# echo " return false;" >> $(PKG_TMP)/flat/Distribution |
|
557 |
# echo " }" >> $(PKG_TMP)/flat/Distribution |
|
558 |
# echo " return true;" >> $(PKG_TMP)/flat/Distribution |
|
559 |
# echo " }" >> $(PKG_TMP)/flat/Distribution |
|
560 |
# echo " ]]></script>" >> $(PKG_TMP)/flat/Distribution |
|
561 |
# echo " <background file=\"background.png\" mime-type=\"image/png\" alignment=\"bottomleft\" scaling=\"none\"/>" >> $(PKG_TMP)/flat/Distribution |
|
562 |
# echo " <license file=\"COPYRIGHT\" mime-type=\"text/plain\"/>" >> $(PKG_TMP)/flat/Distribution |
|
563 |
# echo " <welcome file=\"README\" mime-type=\"text/plain\"/>" >> $(PKG_TMP)/flat/Distribution |
|
564 |
# echo " <choices-outline>" >> $(PKG_TMP)/flat/Distribution |
|
565 |
# echo " <line choice=\"choice1\"/>" >> $(PKG_TMP)/flat/Distribution |
|
566 |
# echo " </choices-outline>" >> $(PKG_TMP)/flat/Distribution |
|
567 |
# echo " <choice id=\"choice1\" title=\"base\">" >> $(PKG_TMP)/flat/Distribution |
|
568 |
# echo " <pkg-ref id=\"com.exept.stx.base.pkg\"/>" >> $(PKG_TMP)/flat/Distribution |
|
569 |
# echo " </choice>" >> $(PKG_TMP)/flat/Distribution |
|
570 |
# echo " <pkg-ref id=\"com.exept.stx.base.pkg\" installKBytes=\""`cat $(PKG_TMP)/diskUsage`"\" version=\"7.1.0\" auth=\"Root\">#base.pkg</pkg-ref>" >> $(PKG_TMP)/flat/Distribution |
|
571 |
# echo " </installer-script>" >> $(PKG_TMP)/flat/Distribution |
|
572 |
# rm $(PKG_TMP)/diskUsage $(PKG_TMP)/numFiles |
|
573 |
# ( cd $(PKG_TMP)/flat && xar --compression none -cf "/tmp/stx7.1.0Installer.pkg" * ) |
|
1458 | 574 |
|
1459 | 575 |
# |
576 |
# installs stx base system in user's local Library folder |
|
577 |
# |
|
578 |
osx_localInstall: |
|
579 |
$(MAKE) osx_install FRAMEWORK_DST=~/Library/Frameworks/SmalltalkX.framework |
|
580 |
||
581 |
# |
|
582 |
# installs stx base system in the system's Library folder |
|
583 |
# |
|
584 |
osx_systemInstall: |
|
585 |
$(MAKE) osx_install FRAMEWORK_DST=/Library/Frameworks/SmalltalkX.framework |
|
586 |
||
587 |
# |
|
588 |
# installs stx base system in $(FRAMEWORK_DST) folder |
|
589 |
# |
|
1458 | 590 |
osx_install: |
591 |
$(MAKE) osx_installFramework |
|
1459 | 592 |
@echo "Installing Version "$(VSN)" in "$(FRAMEWORK_DST) |
593 |
@-if [ ! -d $(FRAMEWORK_DST) ]; then \ |
|
594 |
mkdir $(FRAMEWORK_DST); \ |
|
1458 | 595 |
fi |
1459 | 596 |
@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \ |
597 |
mkdir $(FRAMEWORK_DST)/Versions; \ |
|
1458 | 598 |
fi |
1459 | 599 |
cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/ |
1460 | 600 |
@-rm $(FRAMEWORK_DST)/Versions/Current |
601 |
@-echo $(VSN) > /tmp/stx_vsn |
|
602 |
@(cd $(FRAMEWORK_DST)/Versions; ln -s `cat /tmp/stx_vsn` Current) |
|
603 |
@-rm /tmp/stx_vsn |
|
604 |
@-rm -f $(FRAMEWORK_DST)/Headers |
|
605 |
@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Headers Headers) |
|
606 |
@-rm -f $(FRAMEWORK_DST)/Sources |
|
607 |
@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Sources Sources) |
|
608 |
@-rm -f $(FRAMEWORK_DST)/Documentation |
|
609 |
@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Documentation Documentation) |
|
610 |
@-rm -f $(FRAMEWORK_DST)/Libraries |
|
611 |
@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Libraries Libraries) |
|
612 |
@-rm -f $(FRAMEWORK_DST)/Resources |
|
613 |
@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Resources Resources) |
|
1458 | 614 |
|
615 |
osx_installFramework: |
|
616 |
@-rm -rf tmp_framework |
|
617 |
@-mkdir tmp_framework |
|
618 |
@-mkdir tmp_framework/Versions |
|
619 |
@-mkdir tmp_framework/Versions/$(VSN) |
|
620 |
@-mkdir tmp_framework/Versions/$(VSN)/Resources |
|
621 |
@-mkdir tmp_framework/Versions/$(VSN)/Libraries |
|
1459 | 622 |
-cp *.so tmp_framework/Versions/$(VSN)/Libraries |
1458 | 623 |
-for i in $(OSX_LIBS); do \ |
624 |
if [ -d ../../$$i/resources ]; then \ |
|
625 |
mkdir tmp_framework/Versions/$(VSN)/Resources/$$i; \ |
|
626 |
cp ../../$$i/resources/*.rs tmp_framework/Versions/$(VSN)/Resources/$$i/; \ |
|
627 |
fi; \ |
|
628 |
done |
|
629 |
||
1459 | 630 |
osx_installHeaders: |
631 |
$(MAKE) osx_installFrameworkHeaders |
|
632 |
@echo "Installing Headers for Version "$(VSN)" in "$(FRAMEWORK_DST) |
|
633 |
@-if [ ! -d $(FRAMEWORK_DST) ]; then \ |
|
634 |
mkdir $(FRAMEWORK_DST); \ |
|
635 |
fi |
|
636 |
@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \ |
|
637 |
mkdir $(FRAMEWORK_DST)/Versions; \ |
|
638 |
fi |
|
639 |
cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/ |
|
640 |
||
641 |
osx_installFrameworkHeaders: |
|
642 |
@-rm -rf tmp_framework |
|
643 |
@-mkdir tmp_framework |
|
644 |
@-mkdir tmp_framework/Versions |
|
645 |
@-mkdir tmp_framework/Versions/$(VSN) |
|
646 |
@-mkdir tmp_framework/Versions/$(VSN)/Headers |
|
647 |
-for i in $(OSX_LIBS); do \ |
|
648 |
mkdir tmp_framework/Versions/$(VSN)/Headers/$$i; \ |
|
649 |
cp ../../$$i/*.H tmp_framework/Versions/$(VSN)/Headers/$$i/; \ |
|
650 |
done |
|
651 |
||
652 |
osx_installSource: |
|
653 |
$(MAKE) osx_installFrameworkSource |
|
654 |
@echo "Installing Sources for Version "$(VSN)" in "$(FRAMEWORK_DST) |
|
655 |
@-if [ ! -d $(FRAMEWORK_DST) ]; then \ |
|
656 |
mkdir $(FRAMEWORK_DST); \ |
|
657 |
fi |
|
658 |
@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \ |
|
659 |
mkdir $(FRAMEWORK_DST)/Versions; \ |
|
660 |
fi |
|
661 |
cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/ |
|
662 |
||
663 |
osx_installFrameworkSource: |
|
664 |
@-rm -rf tmp_framework |
|
665 |
@-mkdir tmp_framework |
|
666 |
@-mkdir tmp_framework/Versions |
|
667 |
@-mkdir tmp_framework/Versions/$(VSN) |
|
668 |
@-mkdir tmp_framework/Versions/$(VSN)/Sources |
|
669 |
-for i in $(OSX_LIBS); do \ |
|
670 |
mkdir tmp_framework/Versions/$(VSN)/Sources/$$i; \ |
|
671 |
cp ../../$$i/*.st tmp_framework/Versions/$(VSN)/Sources/$$i/; \ |
|
672 |
done |
|
673 |
||
1460 | 674 |
osx_installDocumentation: |
675 |
$(MAKE) osx_installFrameworkDocumentation |
|
676 |
@echo "Installing Documentation for Version "$(VSN)" in "$(FRAMEWORK_DST) |
|
677 |
@-if [ ! -d $(FRAMEWORK_DST) ]; then \ |
|
678 |
mkdir $(FRAMEWORK_DST); \ |
|
679 |
fi |
|
680 |
@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \ |
|
681 |
mkdir $(FRAMEWORK_DST)/Versions; \ |
|
682 |
fi |
|
683 |
cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/ |
|
684 |
||
685 |
osx_installFrameworkDocumentation: |
|
686 |
@-rm -rf tmp_framework |
|
687 |
@-mkdir tmp_framework |
|
688 |
@-mkdir tmp_framework/Versions |
|
689 |
@-mkdir tmp_framework/Versions/$(VSN) |
|
690 |
@-mkdir tmp_framework/Versions/$(VSN)/Documentation |
|
691 |
cp -R ../../doc/online "tmp_framework/Versions/$(VSN)/Documentation/" |
|
692 |
@-find "tmp_framework/Versions/$(VSN)/Documentation/" -name ".cvsignore" -exec rm -f {} \; |
|
693 |
@-find "tmp_framework/Versions/$(VSN)/Documentation/" -name "CVS" -exec rm -rf {} \; |
|
694 |
@-find "tmp_framework/Versions/$(VSN)/Documentation/" -name "NO*AUTO*" -exec rm -f {} \; |
|
695 |
@-find "tmp_framework/Versions/$(VSN)/Documentation/" -name "makefile" -exec rm -f {} \; |
|
696 |
@-find "tmp_framework/Versions/$(VSN)/Documentation/" -name "Make.*" -exec rm -f {} \; |
|
697 |
||
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
698 |
################### end of mac specific ################# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
699 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
700 |
################### begin of tgz specific ################# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
701 |
# creates /tmp/stx.tgz |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
702 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
703 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
704 |
# should work on all systems |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
705 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
706 |
TGZ_TMP=/tmp/stx_tgz |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
707 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
708 |
deploy_tgz: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
709 |
$(MAKE) newTGZ |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
710 |
$(MAKE) tarIt |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
711 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
712 |
tarIt: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
713 |
rm -f stx.tgz |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
714 |
(cd $(TGZ_TMP); tar cvfz /tmp/stx.tgz stx) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
715 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
716 |
newTGZ: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
717 |
rm -rf $(TGZ_TMP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
718 |
$(MAKE) $(TGZ_TMP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
719 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
720 |
$(TGZ_TMP): |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
721 |
@-mkdir "$(TGZ_TMP)" |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
722 |
-cp -r $(TOP)/../stx "$(TGZ_TMP)/." |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
723 |
$(MAKE) clean_tgz |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
724 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
725 |
clean_tgz: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
726 |
$(MAKE) cleanTemporaryDeploymentHierarchy TMP_TOP="$(TGZ_TMP)" |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
727 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
728 |
################### end of tgz specific ################# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
729 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
730 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
731 |
################### common ################# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
732 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
733 |
# all of the following depend on TMP_TOP to be set to "stx" |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
734 |
# in a temporary copy of the whole work tree. |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
735 |
# The tree below that will be cleaned from any leftover build files. |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
736 |
# No hardcoding of any architecture specifics below, please. |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
737 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
738 |
FIND_PRINT=-print |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
739 |
#FIND_PRINT= |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
740 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
741 |
cleanTemporaryDeploymentHierarchy: |
1475 | 742 |
@-if [ "$TMP_TOP" = "" ]; then \ |
743 |
exit 1; \ |
|
744 |
fi |
|
1391 | 745 |
$(MAKE) cleanMiscJunk TMP_TOP=$(TMP_TOP) |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
746 |
$(MAKE) cleanNeverDeliveredStuff TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
747 |
$(MAKE) cleanPackages TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
748 |
$(MAKE) cleanUnfinished TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
749 |
$(MAKE) cleanObsoleteStuff TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
750 |
# $(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
751 |
$(MAKE) cleanArchitectureSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
752 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
753 |
cleanArchitectureSpecific: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
754 |
$(MAKE) cleanStuffNotForArch_$(ARCH) TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
755 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
756 |
cleanStuffNotForArch_macosx: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
757 |
$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP) |
1475 | 758 |
$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP) |
759 |
$(MAKE) cleanLinuxSpecific TMP_TOP=$(TMP_TOP) |
|
760 |
$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP) |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
761 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
762 |
cleanStuffNotForArch_linux: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
763 |
$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
764 |
$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP) |
1475 | 765 |
$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP) |
766 |
$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP) |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
767 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
768 |
cleanStuffNotForArch_raspian: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
769 |
$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
770 |
$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP) |
1475 | 771 |
$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP) |
772 |
$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP) |
|
773 |
||
774 |
cleanStuffNotForArch_win32: |
|
775 |
$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP) |
|
776 |
$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP) |
|
777 |
$(MAKE) cleanLinuxSpecific TMP_TOP=$(TMP_TOP) |
|
778 |
$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP) |
|
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
779 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
780 |
cleanWindowsSpecific: |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
781 |
find "$(TMP_TOP)"/stx -name "*.mak" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
782 |
find "$(TMP_TOP)"/stx -name "*.bat" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
783 |
find "$(TMP_TOP)"/stx -name "nt.def" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
784 |
rm -rf "$(TMP_TOP)"/stx/support/win32 |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
785 |
rm -rf "$(TMP_TOP)"/stx/configurations/NT |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
786 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
787 |
cleanMacOSXSpecific: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
788 |
rm -rf "$(TMP_TOP)"/stx/libobjc |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
789 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
790 |
cleanObsoleteArchitectureSpecific: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
791 |
$(MAKE) cleanSunSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
792 |
$(MAKE) cleanSgiSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
793 |
$(MAKE) cleanNeXTSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
794 |
$(MAKE) cleanAixSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
795 |
$(MAKE) cleanDecSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
796 |
$(MAKE) cleanHpSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
797 |
$(MAKE) cleanMotorolaSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
798 |
$(MAKE) cleanQnxSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
799 |
$(MAKE) cleanUnixwareSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
800 |
$(MAKE) cleanLinuxAoutOnElfSpecific TMP_TOP=$(TMP_TOP) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
801 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
802 |
cleanLinuxAoutOnElfSpecific: |
1475 | 803 |
-rm -rf "$(TMP_TOP)"/stx/configurations/linux_a.out_onELF |
804 |
||
805 |
cleanLinuxSpecific: |
|
806 |
-rm -rf "$(TMP_TOP)"/stx/configurations/linux |
|
807 |
-rm -rf "$(TMP_TOP)"/stx/configurations/linux-* |
|
808 |
-rm -rf "$(TMP_TOP)"/stx/support/autopackage.* |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
809 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
810 |
cleanFreeBSDSpecific: |
1475 | 811 |
-rm -rf "$(TMP_TOP)"/stx/configurations/freeBSD |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
812 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
813 |
cleanSunSpecific: |
1475 | 814 |
-rm -rf "$(TMP_TOP)"/stx/configurations/sun |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
815 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
816 |
cleanSgiSpecific: |
1475 | 817 |
-rm -rf "$(TMP_TOP)"/stx/configurations/sgi |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
818 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
819 |
cleanNeXTSpecific: |
1475 | 820 |
-rm -rf "$(TMP_TOP)"/stx/configurations/NeXT |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
821 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
822 |
cleanAixSpecific: |
1475 | 823 |
-rm -rf "$(TMP_TOP)"/stx/configurations/aix |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
824 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
825 |
cleanDecSpecific: |
1475 | 826 |
-rm -rf "$(TMP_TOP)"/stx/configurations/dec |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
827 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
828 |
cleanHpSpecific: |
1475 | 829 |
-rm -rf "$(TMP_TOP)"/stx/configurations/hp |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
830 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
831 |
cleanMotorolaSpecific: |
1475 | 832 |
-rm -rf "$(TMP_TOP)"/stx/configurations/motorola |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
833 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
834 |
cleanQnxSpecific: |
1475 | 835 |
-rm -rf "$(TMP_TOP)"/stx/configurations/qnx |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
836 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
837 |
cleanUnixwareSpecific: |
1475 | 838 |
-rm -rf "$(TMP_TOP)"/stx/configurations/unixware |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
839 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
840 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
841 |
# work in progress or not-yet-fully ported stuff |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
842 |
# |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
843 |
cleanUnfinished: |
1475 | 844 |
-rm -rf "$(TMP_TOP)"/stx/libobjc |
845 |
-rm -rf "$(TMP_TOP)"/stx/libdb/nosql/ken |
|
846 |
-rm -rf "$(TMP_TOP)"/stx/libdb/nosql/sedna |
|
847 |
-rm -rf "$(TMP_TOP)"/stx/libdb/libopenDBX |
|
848 |
-rm -rf "$(TMP_TOP)"/stx/goodies/roelTyper |
|
849 |
-rm -rf "$(TMP_TOP)"/stx/goodies/raytracing |
|
850 |
-rm -rf "$(TMP_TOP)"/stx/goodies/imageSegments |
|
851 |
-rm -rf "$(TMP_TOP)"/stx/goodies/hotdraw |
|
852 |
-rm -rf "$(TMP_TOP)"/stx/goodies/goods |
|
853 |
-rm -rf "$(TMP_TOP)"/stx/goodies/gitocello |
|
854 |
-rm -rf "$(TMP_TOP)"/stx/goodies/glorp0_4 |
|
855 |
-rm -rf "$(TMP_TOP)"/stx/goodies/constraints |
|
856 |
-rm -rf "$(TMP_TOP)"/stx/goodies/cassovary |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
857 |
-find "$(TMP_TOP)"/stx -name "not_ported" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
858 |
|
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
859 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
860 |
# baby baby baby you're out of tiiiime... |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
861 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
862 |
cleanObsoleteStuff: |
1475 | 863 |
-rm -rf "$(TMP_TOP)"/stx/librt |
864 |
-rm -rf "$(TMP_TOP)"/stx/libsnmp |
|
865 |
-rm -rf "$(TMP_TOP)"/stx/goodies/stx |
|
866 |
-rm -rf "$(TMP_TOP)"/stx/clients/AddrBook |
|
867 |
-rm -rf "$(TMP_TOP)"/stx/clients/DirView |
|
868 |
-rm -rf "$(TMP_TOP)"/stx/clients/DocTool |
|
869 |
-rm -rf "$(TMP_TOP)"/stx/clients/MailTool |
|
870 |
-rm -rf "$(TMP_TOP)"/stx/clients/NewsTool |
|
871 |
-rm -rf "$(TMP_TOP)"/stx/liboracle8 |
|
872 |
-rm -rf "$(TMP_TOP)"/stx/support/DLD |
|
873 |
-rm -rf "$(TMP_TOP)"/stx/support/unixware |
|
874 |
-rm -rf "$(TMP_TOP)"/stx/support/db |
|
875 |
-rm -rf "$(TMP_TOP)"/stx/projects/drawtool |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
876 |
-find "$(TMP_TOP)"/stx -name "obsolete" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
877 |
-find "$(TMP_TOP)"/stx -name "obsolete_*" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
878 |
-find "$(TMP_TOP)"/stx -name "*_old" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
879 |
-find "$(TMP_TOP)"/stx -name "*_old2" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
880 |
-find "$(TMP_TOP)"/stx -name "*.old" $(FIND_PRINT) -exec rm -rf {} \; |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
881 |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
882 |
# |
1391 | 883 |
# stuff noone needs outside expet |
884 |
# |
|
885 |
cleanMiscJunk: |
|
1475 | 886 |
-rm -f "$(TMP_TOP)"/stx/Dockerfile |
887 |
-rm -f "$(TMP_TOP)"/stx/Install.files |
|
888 |
-rm -f "$(TMP_TOP)"/stx/update.sh |
|
889 |
-rm -f "$(TMP_TOP)"/stx/TAGS |
|
890 |
-rm -f "$(TMP_TOP)"/stx/goodies/*.zip |
|
891 |
-rm -f "$(TMP_TOP)"/stx/mkisofs.exclude |
|
892 |
-rm -rf "$(TMP_TOP)"/stx/support/des |
|
893 |
-rm -rf "$(TMP_TOP)"/stx/support/ctags-3* |
|
894 |
-rm -rf "$(TMP_TOP)"/stx/support/libjpeg-6* |
|
895 |
-rm -f "$(TMP_TOP)"/stx/support/mk-selfinstall |
|
1391 | 896 |
|
897 |
# |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
898 |
# stuff we keep secret - that's live |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
899 |
# |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
900 |
cleanNeverDeliveredStuff: |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
901 |
mv "$(TMP_TOP)"/stx/librun/main.c "$(TMP_TOP)"/stx/librun/main_c |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
902 |
-mv "$(TMP_TOP)"/stx/librun/buildDate.h "$(TMP_TOP)"/stx/librun/buildDate_h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
903 |
-mv "$(TMP_TOP)"/stx/librun/symbolAddress.h "$(TMP_TOP)"/stx/librun/symbolAddress_h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
904 |
-mv "$(TMP_TOP)"/stx/librun/symbols.h "$(TMP_TOP)"/stx/librun/symbols_h |
1433 | 905 |
-mv "$(TMP_TOP)"/stx/librun/symlist.c "$(TMP_TOP)"/stx/librun/symlist_h |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
906 |
rm -f "$(TMP_TOP)"/stx/librun/*.c |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
907 |
rm -f "$(TMP_TOP)"/stx/librun/*.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
908 |
mv "$(TMP_TOP)"/stx/librun/main_c "$(TMP_TOP)"/stx/librun/main.c |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
909 |
-mv "$(TMP_TOP)"/stx/librun/buildDate_h "$(TMP_TOP)"/stx/librun/buildDate.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
910 |
-mv "$(TMP_TOP)"/stx/librun/symbolAddress_h "$(TMP_TOP)"/stx/librun/symbolAddress.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
911 |
-mv "$(TMP_TOP)"/stx/librun/symbols_h "$(TMP_TOP)"/stx/librun/symbols.h |
1433 | 912 |
-mv "$(TMP_TOP)"/stx/librun/symlist_c "$(TMP_TOP)"/stx/librun/symlist.c |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
913 |
rm -rf "$(TMP_TOP)"/stx/librun/doc |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
914 |
rm -rf "$(TMP_TOP)"/stx/librun/ieee754_support |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
915 |
rm -rf "$(TMP_TOP)"/stx/librun/libffi* |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
916 |
rm -rf "$(TMP_TOP)"/stx/librun/genDate* |
1475 | 917 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.bpr |
918 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.BPR |
|
919 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.cpp |
|
920 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.dbg |
|
921 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.gdb |
|
922 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.s |
|
923 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.asm |
|
924 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.sln |
|
925 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.def |
|
926 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.exp |
|
927 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.rc |
|
928 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.vcproj |
|
929 |
-rm -rf "$(TMP_TOP)"/stx/librun/*.vcExpress |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
930 |
rm -f "$(TMP_TOP)"/stx/stc/*.c |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
931 |
rm -f "$(TMP_TOP)"/stx/stc/*.y |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
932 |
rm -f "$(TMP_TOP)"/stx/stc/*.l |
1475 | 933 |
-rm -f "$(TMP_TOP)"/stx/stc/*.bpr |
934 |
-rm -f "$(TMP_TOP)"/stx/stc/*.BPR |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
935 |
rm -f "$(TMP_TOP)"/stx/stc/global.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
936 |
rm -f "$(TMP_TOP)"/stx/stc/nttokens.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
937 |
rm -f "$(TMP_TOP)"/stx/stc/tokens.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
938 |
rm -f "$(TMP_TOP)"/stx/stc/sha1.h |
1475 | 939 |
-rm -f "$(TMP_TOP)"/stx/stc/*.cpp |
940 |
-rm -f "$(TMP_TOP)"/stx/stc/*.sln |
|
941 |
-rm -f "$(TMP_TOP)"/stx/stc/*.vcproj |
|
942 |
-rm -f "$(TMP_TOP)"/stx/stc/*.depend |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
943 |
rm -f "$(TMP_TOP)"/stx/stc/defs.h |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
944 |
rm -rf "$(TMP_TOP)"/stx/stc/bin |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
945 |
rm -rf "$(TMP_TOP)"/stx/stc/obj |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
946 |
rm -f "$(TMP_TOP)"/stx/stc/tests/*.xc |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
947 |
rm -f "$(TMP_TOP)"/stx/stc/tests/*.c |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
948 |
-find "$(TMP_TOP)"/stx -name "not_delivered" $(FIND_PRINT) -exec rm -rf {} \; |
1351
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
949 |
|
3ef333479676
added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents:
1312
diff
changeset
|
950 |
cleanPackages: |
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
951 |
# (cd "$(TMP_TOP)"/stx ; make cleanjunk) |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
952 |
(cd "$(TMP_TOP)"/stx/stc/tests ; make clobber) |
1475 | 953 |
-rm -rf "$(TMP_TOP)"/stx/libjava.both |
954 |
-rm -rf "$(TMP_TOP)"/stx/libjava.cvs |
|
955 |
-rm -rf "$(TMP_TOP)"/stx/libjava.old |
|
956 |
-rm -rf "$(TMP_TOP)"/stx/librun-* |
|
957 |
-rm -rf "$(TMP_TOP)"/stx/librun_* |
|
958 |
-rm -rf "$(TMP_TOP)"/stx/librun.* |
|
959 |
-rm -rf "$(TMP_TOP)"/stx/stc/*.dSYM |
|
960 |
-rm -rf "$(TMP_TOP)"/stx/stc/*/*.dSYM |
|
961 |
-rm -rf "$(TMP_TOP)"/stx/stc/libfl |
|
962 |
-rm -rf "$(TMP_TOP)"/stx/stc/tests/test[0-9]* |
|
963 |
-rm -rf "$(TMP_TOP)"/stx/stc/tests/hw |
|
964 |
-rm -rf "$(TMP_TOP)"/stx/stc/tests |
|
965 |
-rm -rf "$(TMP_TOP)"/stx/libscm.cvs |
|
966 |
-rm -rf "$(TMP_TOP)"/stx/libscm.hg |
|
967 |
-rm -f "$(TMP_TOP)"/stx/libbasic*/[A-Z]*.c |
|
968 |
-rm -f "$(TMP_TOP)"/stx/libboss/[A-Z]*.c |
|
969 |
-rm -f "$(TMP_TOP)"/stx/libcomp/[A-Z]*.c |
|
970 |
-rm -f "$(TMP_TOP)"/stx/libview*/[A-Z]*.c |
|
971 |
-rm -f "$(TMP_TOP)"/stx/libwidg*/[A-Z]*.c |
|
972 |
-rm -f "$(TMP_TOP)"/stx/libtool*/[A-Z]*.c |
|
973 |
-rm -f "$(TMP_TOP)"/stx/libui/[A-Z]*.c |
|
974 |
-rm -f "$(TMP_TOP)"/stx/libdb/[A-Z]*.c |
|
975 |
-rm -f "$(TMP_TOP)"/stx/libdb/*/[A-Z]*.c |
|
976 |
-rm -f "$(TMP_TOP)"/stx/libopengl/[A-Z]*.c |
|
977 |
-rm -f "$(TMP_TOP)"/stx/goodies/chronos/[A-Z]*.c |
|
978 |
-rm -f "$(TMP_TOP)"/stx/goodies/chronos/*/[A-Z]*.c |
|
979 |
-rm -f "$(TMP_TOP)"/stx/goodies/*/i_[A-Z]*.c |
|
980 |
-rm -rf "$(TMP_TOP)"/stx/monticello_packages |
|
981 |
-rm -rf "$(TMP_TOP)"/stx/support/tools/splint-* |
|
982 |
-rm -rf "$(TMP_TOP)"/stx/support/tools/cscope-* |
|
983 |
-rm -rf "$(TMP_TOP)"/stx/support/xft |
|
984 |
-rm -rf "$(TMP_TOP)"/stx/support/libjpeg |
|
985 |
-rm -rf "$(TMP_TOP)"/stx/support/libjpeg-7 |
|
986 |
-rm -rf "$(TMP_TOP)"/stx/projects/tinytalk |
|
987 |
-rm -rf "$(TMP_TOP)"/stx/projects/minitalk |
|
988 |
-rm -rf "$(TMP_TOP)"/stx/projects/demoServer |
|
989 |
-rm -rf "$(TMP_TOP)"/stx/projects/fileBrowser |
|
990 |
-rm -rf "$(TMP_TOP)"/stx/projects/simpleFileBrowser |
|
991 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/package-cache |
|
992 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/modules |
|
993 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/stcTests |
|
994 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/crashdumps |
|
995 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/examples |
|
996 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/expeccoPatches |
|
997 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/.SandstoneDb |
|
998 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/changes_* |
|
999 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/[A-Z]*.st |
|
1000 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/old_settings.stx |
|
1001 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.txt |
|
1002 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.uprj |
|
1003 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.js |
|
1004 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/evo*.wsp |
|
1005 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.html |
|
1006 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.log |
|
1007 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.png |
|
1008 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/data |
|
1009 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/out |
|
1010 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/err |
|
1011 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/outfile |
|
1012 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/ss |
|
1013 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/stbc.rc |
|
1014 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.bos |
|
1015 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.swf |
|
1016 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.sln |
|
1017 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.vcproj |
|
1018 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.vcxproj |
|
1019 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.tgz |
|
1020 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.dmg |
|
1021 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*_dmg |
|
1022 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*_tgz |
|
1023 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/X |
|
1024 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/ZZ |
|
1025 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/test* |
|
1026 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.extracted* |
|
1027 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.pkg* |
|
1028 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/*_pkg* |
|
1029 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/*_dmg* |
|
1030 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.jnk* |
|
1031 |
-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/tmp* |
|
1032 |
-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.manifest |
|
1356
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1033 |
find "$(TMP_TOP)"/stx/projects -name "*.mcz" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1034 |
find "$(TMP_TOP)"/stx/projects -name "*.sav" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1035 |
find "$(TMP_TOP)"/stx/projects -name "*.img" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1036 |
find "$(TMP_TOP)"/stx/projects -name "*.dmg" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1037 |
find "$(TMP_TOP)"/stx/projects -name "*.chg" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1038 |
find "$(TMP_TOP)"/stx/projects -name "*.dat" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1039 |
find "$(TMP_TOP)"/stx -name "cscope.out" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1040 |
find "$(TMP_TOP)"/stx -name "a.out" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1041 |
find "$(TMP_TOP)"/stx -name ".stxgdb" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1042 |
find "$(TMP_TOP)"/stx -name "*.o" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1043 |
find "$(TMP_TOP)"/stx -name "*.st-e" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1044 |
find "$(TMP_TOP)"/stx -name "*.bad" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1045 |
find "$(TMP_TOP)"/stx -name "*.bak" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1046 |
find "$(TMP_TOP)"/stx -name "*.sav" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1047 |
find "$(TMP_TOP)"/stx -name "*.swp" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1048 |
-find "$(TMP_TOP)"/stx -name "stxtmp_*" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1049 |
-find "$(TMP_TOP)"/stx -name ".DS_Store" $(FIND_PRINT) -exec rm -f {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1050 |
-find "$(TMP_TOP)"/stx -name "CVS" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1051 |
-find "$(TMP_TOP)"/stx -name ".CVS" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1052 |
-find "$(TMP_TOP)"/stx -name ".hg" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1053 |
-find "$(TMP_TOP)"/stx -name "..hg" $(FIND_PRINT) -exec rm -rf {} \; |
1b5c8313260e
XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents:
1351
diff
changeset
|
1054 |
-find "$(TMP_TOP)"/stx -name ".#*" $(FIND_PRINT) -exec rm -rf {} \; |