author | Claus Gittinger <cg@exept.de> |
Wed, 30 Apr 2014 15:41:54 +0200 | |
changeset 6465 | 05bbb9791069 |
parent 6457 | 382eb8b81974 |
child 6523 | b6dc0f5f499a |
child 6562 | 96226f44ac7e |
permissions | -rw-r--r-- |
5252 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
5282 | 3 |
All Rights Reserved |
5252 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
4582 | 12 |
"{ Package: 'stx:libview' }" |
13 |
||
14 |
LibraryDefinition subclass:#stx_libview |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
4746 | 18 |
category:'* Projects & Packages *' |
4582 | 19 |
! |
20 |
||
5251 | 21 |
!stx_libview class methodsFor:'documentation'! |
22 |
||
5252 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
5282 | 26 |
All Rights Reserved |
5252 | 27 |
|
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
5251 | 37 |
documentation |
38 |
" |
|
5939 | 39 |
Build- and package information for creation of the st/x standard library: stx_libview. |
5251 | 40 |
This library contains low level interfaces to the underlying graphic system |
41 |
and representations of windows, colors, bitmaps etc. |
|
42 |
" |
|
43 |
! ! |
|
4582 | 44 |
|
4775 | 45 |
!stx_libview class methodsFor:'description'! |
46 |
||
47 |
excludedFromPreRequisites |
|
48 |
^ #( |
|
5282 | 49 |
#'stx:libcompat' "OrderedDither - referenced by Image>>convertToPalette:renderedBy: " |
50 |
#'stx:libtool' "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet " |
|
51 |
#'stx:libtool2' "ImageEditor - referenced by Image>>edit " |
|
52 |
#'stx:libui' "ViewSpec - referenced by SimpleView>>specClass " |
|
53 |
#'stx:libview2' "TIFFReader - referenced by Image>>saveOn: " |
|
54 |
#'stx:libwidg' "Button - referenced by ModalBox>>initialize " |
|
55 |
#'stx:libwidg2' "ImageView - referenced by Form>>show " |
|
4775 | 56 |
) |
57 |
! |
|
58 |
||
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
59 |
mandatoryPreRequisites |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
60 |
"list all required mandatory packages. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
61 |
Packages are mandatory, if they contain superclasses of the package's classes |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
62 |
or classes which are extended by this package. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
63 |
This list can be maintained manually or (better) generated and |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
64 |
updated by scanning the superclass hierarchies |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
65 |
(the browser has a menu function for that) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
66 |
However, often too much is found, and you may want to explicitely |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
67 |
exclude individual packages in the #excludedFromPreRequisites method." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
68 |
|
4775 | 69 |
^ #( |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
70 |
#'stx:libbasic' "MessageSend - superclass of WindowEvent::ButtonMultiPressEvent " |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
71 |
) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
72 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
73 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
74 |
referencedPreRequisites |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
75 |
"list all packages containing classes referenced by the packages's members. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
76 |
This list can be maintained manually or (better) generated and |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
77 |
updated by looking for global variable accesses |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
78 |
(the browser has a menu function for that) |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
79 |
However, often too much is found, and you may want to explicitely |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
80 |
exclude individual packages in the #excludedFromPreRequisites method." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
81 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
82 |
^ #( |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
83 |
#'stx:libbasic2' "Text - referenced by SimpleView>>shortcutAndTranslatedStringFrom: " |
4775 | 84 |
) |
85 |
! ! |
|
86 |
||
4698 | 87 |
!stx_libview class methodsFor:'description - compilation'! |
88 |
||
5347 | 89 |
additionalBaseAddressDefinition_bc_dot_mak |
90 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
91 |
on win32 systems." |
|
92 |
||
4698 | 93 |
^ ' |
94 |
# see stdHeader_bc for LIBVIEW_BASE |
|
5347 | 95 |
LIB_BASE=$(LIBVIEW_BASE) |
96 |
' |
|
97 |
! |
|
5102 | 98 |
|
5347 | 99 |
additionalDefinitions_bc_dot_mak |
100 |
^ ' |
|
5102 | 101 |
!!ifdef USEBC |
102 |
X11_LIBS=..\libbc\X11OMF.lib ..\libbc\XextOMF.lib |
|
103 |
!!else |
|
5813 | 104 |
!! ifdef USEVC |
5825 | 105 |
# X11_LIBS=..\libvc\X11.lib ..\libvc\Xext.lib |
5819 | 106 |
!! else |
107 |
!! endif |
|
5102 | 108 |
!!endif |
109 |
' |
|
5813 | 110 |
|
5825 | 111 |
"Modified: / 27-09-2011 / 18:25:27 / cg" |
5102 | 112 |
! |
113 |
||
6444 | 114 |
additionalDefinitions_make_dot_proto |
115 |
^ ' |
|
6450 | 116 |
LOCAL_SHARED_LIBS=-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) |
6444 | 117 |
' |
118 |
! |
|
119 |
||
5102 | 120 |
additionalRules_bc_dot_mak |
121 |
^ '# |
|
122 |
||
123 |
..\libbc\X11OMF.lib: ..\support\win32\borland\X11OMF.lib |
|
5813 | 124 |
copy ..\support\win32\borland\X11OMF.lib ..\libbc |
5102 | 125 |
|
126 |
..\libbc\XextOMF.lib: ..\support\win32\borland\XextOMF.lib |
|
5813 | 127 |
copy ..\support\win32\borland\XextOMF.lib ..\libbc |
5102 | 128 |
|
5813 | 129 |
..\libvc\X11.lib: ..\support\win32\msc\X11.lib |
130 |
copy ..\support\win32\msc\X11.lib ..\libvc |
|
5102 | 131 |
|
5813 | 132 |
..\libvc\Xext.lib: ..\support\win32\msc\Xext.lib |
133 |
copy ..\support\win32\msc\Xext.lib ..\libvc |
|
5102 | 134 |
|
4698 | 135 |
' |
5813 | 136 |
|
137 |
"Modified: / 27-09-2011 / 18:10:19 / cg" |
|
4698 | 138 |
! |
139 |
||
140 |
additionalRules_make_dot_proto |
|
5789 | 141 |
^ ' |
5796 | 142 |
postMake:: $(LIBVIEW_EXTRA_TARGETS) |
143 |
||
5789 | 144 |
clean:: |
145 |
@-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav |
|
146 |
@-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav |
|
147 |
@-rm -f [A-Z]*.o *.s *.s2 *.c *.H |
|
148 |
@-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o |
|
149 |
@-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o |
|
150 |
@-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st |
|
151 |
||
152 |
# |
|
4698 | 153 |
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode |
154 |
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts) |
|
155 |
# |
|
156 |
||
157 |
XWorkstation.$(O): XWorkstation.st $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H |
|
5789 | 158 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \ |
159 |
CC="$(CC)" OPT="$(OPT)" \ |
|
160 |
CLASSLIB_CC="$(CLASSLIB_CC)" \ |
|
161 |
CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize=64000" \ |
|
162 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
4698 | 163 |
|
164 |
xw: |
|
5789 | 165 |
$(MAKE) XWorkstation.c \ |
166 |
CC="$(CC)" OPT="$(OPT)" \ |
|
167 |
CLASSLIB_CC="$(CLASSLIB_CC)" \ |
|
168 |
CLASSLIB_OPT="$(CLASSLIB_OPT) -primitiveStackSize: 64000 -V" \ |
|
169 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
4698 | 170 |
|
171 |
XWorkstation.$(SO): XWorkstation.$(O) |
|
6017 | 172 |
$(MAKE) $(SHAREDLIBRULE) \ |
173 |
LIB=XWorkstation.$(SO) \ |
|
174 |
OBJS="XWorkstation.$(O)" \ |
|
6419 | 175 |
LOCAL_SHARED_LIBS="-L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_XFT) $(LIB_X) $(LIBRUN_LINK_LIB) " |
176 |
||
177 |
# LOCAL_SHARED_LIBS="-L$(TOP)/librun -lrun -L$(X_LIB_DIR) $(LIB_XEXT) $(LIB_XINERAMA) $(LIB_X) " |
|
6017 | 178 |
|
4698 | 179 |
|
180 |
||
181 |
__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE_TOP)/stx/libview/XWorkstation.H $(INCLUDE_TOP)/stx/libview/DeviceWorkstation.H $(INCLUDE_TOP)/stx/libview/HostGraphicsDevice.H $(INCLUDE_TOP)/stx/libview/GraphicsDevice.H $(INCLUDE)/stc.h |
|
5789 | 182 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \ |
183 |
CC="$(CC)" OPT="$(OPT)" \ |
|
184 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
185 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
186 |
mv GLXWorkstation.$(O) __GLXWorkstation.$(O) |
|
4698 | 187 |
|
188 |
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O) |
|
5789 | 189 |
@if [ "$(NO_PRELINK_LIBGL)" = "" ]; \ |
190 |
then\ |
|
191 |
echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
|
192 |
$(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \ |
|
193 |
else \ |
|
194 |
echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
|
195 |
cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \ |
|
196 |
fi |
|
4698 | 197 |
|
198 |
glLib: |
|
5789 | 199 |
@-if [ -d ../support/VGL ]; then \ |
200 |
(cd ../support/VGL ; $(MAKE) ) ; \ |
|
201 |
fi |
|
4698 | 202 |
|
203 |
DeviceWorkstation.$(O): |
|
5789 | 204 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \ |
205 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
206 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 207 |
|
208 |
SimpleView.$(O): |
|
5789 | 209 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \ |
210 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
211 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 212 |
|
213 |
Image.$(O): |
|
5789 | 214 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \ |
215 |
CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \ |
|
216 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" |
|
4698 | 217 |
|
218 |
#OGLWorkstation.$(O): OGLWorkstation.st |
|
219 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \ |
|
220 |
# XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG= |
|
221 |
# $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
|
222 |
# $(MESA_DIR)/lib/libMesaGL.a \ |
|
223 |
# $(MESA_DIR)/lib/libMesaGLU.a \ |
|
224 |
# $(MESA_DIR)/lib/libMesaaux.a |
|
225 |
# mv ttt.$(O) OGLWorkstation.$(O) |
|
226 |
||
227 |
OGLWorkstation.$(O): GLXWorkstation.st |
|
5789 | 228 |
cp GLXWorkstation.st OGLWorkstation.st |
229 |
$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \ |
|
230 |
CC="$(CC)" OPT="$(OPT)" \ |
|
231 |
CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \ |
|
232 |
CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\ |
|
233 |
SEPINITCODE=-sepInitCode ZFLAG= |
|
234 |
$(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \ |
|
235 |
$(MESA_DIR)/lib/libMesaGL.a \ |
|
236 |
$(MESA_DIR)/lib/libMesaGLU.a \ |
|
237 |
$(MESA_DIR)/lib/libMesaaux.a |
|
238 |
mv ttt.$(O) OGLWorkstation.$(O) |
|
239 |
rm -f OGLWorkstation.st |
|
4698 | 240 |
|
241 |
#ogl: |
|
242 |
# $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG= |
|
243 |
# mv OGLWorkstation.o ttt.o |
|
244 |
# $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \ |
|
245 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a \ |
|
246 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a \ |
|
247 |
# $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a \ |
|
248 |
# /lib/libc.so.4 |
|
249 |
||
250 |
# |
|
251 |
# on my 320H, do not compile DeviceWorkstation with -O2; |
|
252 |
# compiler is running out of space ... |
|
253 |
# |
|
254 |
#AIX_BIGGIES: |
|
255 |
# $(MAKE) GraphicsContext.$(O) |
|
256 |
# $(MAKE) DeviceGraphicsContext.$(O) |
|
257 |
# $(MAKE) OPT= DeviceWorkstation.$(O) |
|
258 |
# $(MAKE) OPT= XWorkstation.$(O) |
|
259 |
# $(MAKE) OPT= Image.$(O) |
|
260 |
# $(MAKE) OPT= SimpleView.$(O) |
|
261 |
||
262 |
# |
|
263 |
# prelink those - cannot mix non-shared with shared objects (sigh) |
|
264 |
# |
|
265 |
AIX_SHARED_XWORKSTATION: |
|
5789 | 266 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
267 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
|
268 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
269 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
270 |
$(MAKE) XWorkstation$(O_EXT) \ |
|
271 |
ENTRY_INIT=XWorkstation \ |
|
272 |
AIX_LOCAL_LIBS="$(LIBX)" |
|
4698 | 273 |
|
274 |
AIX_SHARED_GLXWORKSTATION: |
|
5789 | 275 |
$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O) |
276 |
$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation |
|
277 |
@-echo "__XErrorHandler__" >> XWorkstation.exp |
|
278 |
@-echo "__XIOErrorHandler__" >> XWorkstation.exp |
|
279 |
$(MAKE) GLXWorkstation$(O_EXT) \ |
|
280 |
ENTRY_INIT=GLXWorkstation \ |
|
281 |
AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm" |
|
282 |
rm -f XWorkstation.exp |
|
4698 | 283 |
|
284 |
# |
|
285 |
# in (my) aix system, those cannot be compiled with |
|
286 |
# the optimizer - running out of space ... |
|
287 |
# |
|
288 |
AIX:: GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O) |
|
5789 | 289 |
$(MAKE) OPT="" SimpleView.$(O) |
290 |
$(MAKE) OPT="" Image.$(O) |
|
291 |
$(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE) |
|
4698 | 292 |
|
293 |
# |
|
294 |
# on HP, big classes blow the C-preprocessor (stops with "too much defining" error) |
|
295 |
# |
|
296 |
#HP:: |
|
297 |
# |
|
298 |
#HPbigFiles: |
|
299 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)" |
|
300 |
# $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)" |
|
301 |
' |
|
302 |
||
5796 | 303 |
"Modified: / 14-09-2011 / 13:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5789 | 304 |
! |
305 |
||
4698 | 306 |
localDefines_unix |
6413 | 307 |
^ '$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)' |
5492 | 308 |
! |
309 |
||
310 |
stcOptimizationOptions |
|
311 |
^ '+optinline +optinline2' |
|
4698 | 312 |
! ! |
313 |
||
4582 | 314 |
!stx_libview class methodsFor:'description - contents'! |
315 |
||
316 |
classNamesAndAttributes |
|
5501 | 317 |
"lists the classes which are to be included in the project. |
318 |
Each entry in the list may be: a single class-name (symbol), |
|
319 |
or an array-literal consisting of class name and attributes. |
|
320 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
321 |
||
4582 | 322 |
^ #( |
5305 | 323 |
"<className> or (<className> attributes...) in load order" |
324 |
(AlphaMask autoload) |
|
5861 | 325 |
BitmapFont |
5305 | 326 |
Border |
327 |
Color |
|
328 |
ColorPalette |
|
329 |
Colormap |
|
5861 | 330 |
CompoundFont |
5305 | 331 |
Controller |
332 |
(ControllerWithMenu autoload) |
|
333 |
Cursor |
|
334 |
Depth16Image |
|
335 |
Depth1Image |
|
336 |
Depth24Image |
|
337 |
Depth2Image |
|
338 |
Depth32Image |
|
339 |
Depth4Image |
|
340 |
Depth8Image |
|
341 |
DeviceGraphicsContext |
|
342 |
DeviceHandle |
|
343 |
DeviceWorkstation |
|
344 |
DisplayRootView |
|
345 |
DisplaySurface |
|
346 |
(FixedPalette autoload) |
|
347 |
Font |
|
348 |
FontDescription |
|
349 |
Form |
|
350 |
(GraphicsAttributes autoload) |
|
351 |
GraphicsContext |
|
352 |
GraphicsDevice |
|
353 |
GraphicsMedium |
|
354 |
HostGraphicsDevice |
|
355 |
Image |
|
356 |
ImageMask |
|
357 |
ImageReader |
|
358 |
KeyboardForwarder |
|
359 |
KeyboardMap |
|
360 |
(MDIChildView autoload) |
|
361 |
MappedPalette |
|
362 |
ModalBox |
|
363 |
MonoMappedPalette |
|
364 |
(NeXTWorkstation autoload) |
|
365 |
PopUpView |
|
366 |
ResourcePack |
|
367 |
ShadowView |
|
368 |
SimpleView |
|
369 |
StandardSystemView |
|
370 |
SynchronousWindowSensor |
|
371 |
TopView |
|
372 |
(TranslucentColor autoload) |
|
373 |
View |
|
374 |
ViewStyle |
|
375 |
(WinWorkstation win32) |
|
376 |
Event |
|
377 |
WindowEvent |
|
378 |
WindowGroup |
|
379 |
WindowSensor |
|
380 |
WindowingTransformation |
|
381 |
#'stx_libview' |
|
382 |
Depth48Image |
|
5312 | 383 |
Depth64Image |
5384 | 384 |
AbstractBorder |
385 |
SimpleBorder |
|
5404 | 386 |
BeveledBorder |
387 |
NoBackground |
|
388 |
ImageBackground |
|
389 |
SolidBackground |
|
390 |
AbstractBackground |
|
5435
81a316b3834a
changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents:
5434
diff
changeset
|
391 |
(RoundButtonBorder autoload) |
5702 | 392 |
GradientBackground |
5760 | 393 |
WidgetEvent |
6457 | 394 |
XWorkstation |
6465
05bbb9791069
GLXWorkstation under windows
Claus Gittinger <cg@exept.de>
parents:
6457
diff
changeset
|
395 |
(GLXWorkstation unix) |
5769 | 396 |
(XEmbedContainerView unix) |
6425 | 397 |
(XftFontDescription unix) |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
398 |
) |
4582 | 399 |
! |
400 |
||
401 |
extensionMethodNames |
|
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
402 |
"lists the extension methods which are to be included in the project. |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
403 |
Entries are 2-element array literals, consisting of class-name and selector." |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
404 |
|
4582 | 405 |
^ #( |
406 |
) |
|
407 |
! ! |
|
408 |
||
409 |
!stx_libview class methodsFor:'description - project information'! |
|
410 |
||
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
411 |
applicationIconFileName |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
412 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
413 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
414 |
^ nil |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
415 |
"/ ^ self applicationName |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
416 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
417 |
|
4582 | 418 |
companyName |
419 |
"Return a companyname which will appear in <lib>.rc" |
|
420 |
||
421 |
^ 'eXept Software AG' |
|
422 |
! |
|
423 |
||
424 |
description |
|
425 |
"Return a description string which will appear in nt.def / bc.def" |
|
426 |
||
427 |
^ 'Smalltalk/X Low Level Graphic Interfacing' |
|
428 |
||
429 |
"Modified: / 14-09-2006 / 10:54:54 / cg" |
|
430 |
! |
|
431 |
||
432 |
legalCopyright |
|
433 |
"Return a copyright string which will appear in <lib>.rc" |
|
434 |
||
5921 | 435 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
4841 | 436 |
|
5921 | 437 |
"Modified: / 18-07-2012 / 19:12:02 / cg" |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
438 |
! |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
439 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
440 |
productName |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
441 |
"Return a product name which will appear in <lib>.rc" |
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
442 |
|
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
443 |
^ 'Smalltalk/X' |
4582 | 444 |
! ! |
445 |
||
446 |
!stx_libview class methodsFor:'documentation'! |
|
447 |
||
5819 | 448 |
version |
6465
05bbb9791069
GLXWorkstation under windows
Claus Gittinger <cg@exept.de>
parents:
6457
diff
changeset
|
449 |
^ '$Header: /cvs/stx/stx/libview/stx_libview.st,v 1.73 2014-04-30 13:41:54 cg Exp $' |
5819 | 450 |
! |
451 |
||
5384 | 452 |
version_CVS |
6465
05bbb9791069
GLXWorkstation under windows
Claus Gittinger <cg@exept.de>
parents:
6457
diff
changeset
|
453 |
^ '$Header: /cvs/stx/stx/libview/stx_libview.st,v 1.73 2014-04-30 13:41:54 cg Exp $' |
4582 | 454 |
! ! |
6022
6d21e8a9929a
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
6017
diff
changeset
|
455 |