author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 14 Feb 2016 07:29:57 +0000 | |
branch | jv |
changeset 19227 | 5e949760a4e8 |
parent 18506 | de28c10ed519 |
parent 19206 | ddfedbc80f20 |
child 19331 | 59f77658de07 |
permissions | -rw-r--r-- |
9526
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
1 |
" |
14910 | 2 |
COPYRIGHT (c) 2006-2013 by eXept Software AG |
3 |
All Rights Reserved |
|
9526
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
4 |
|
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
5 |
This software is furnished under a license and may be used |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
10 |
hereby transferred. |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
11 |
" |
9671 | 12 |
"{ Package: 'stx:libbasic' }" |
9493 | 13 |
|
18502 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
9568 | 16 |
ProjectDefinition subclass:#LibraryDefinition |
9616 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'System-Support-Projects' |
|
9493 | 21 |
! |
22 |
||
9568 | 23 |
!LibraryDefinition class methodsFor:'documentation'! |
9526
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
24 |
|
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
25 |
copyright |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
26 |
" |
14910 | 27 |
COPYRIGHT (c) 2006-2013 by eXept Software AG |
28 |
All Rights Reserved |
|
9526
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
29 |
|
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
30 |
This software is furnished under a license and may be used |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
31 |
only in accordance with the terms of that license and with the |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
32 |
inclusion of the above copyright notice. This software may not |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
33 |
be provided or otherwise made available to, or used by, any |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
34 |
other person. No title to or ownership of the software is |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
35 |
hereby transferred. |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
36 |
" |
6760ab786028
changed name from '..._Definition' to '...'
Claus Gittinger <cg@exept.de>
parents:
9517
diff
changeset
|
37 |
! ! |
9493 | 38 |
|
11577
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
39 |
!LibraryDefinition class methodsFor:'description - compilation'! |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
40 |
|
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
41 |
primaryTarget |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
42 |
"the primary make target in Make.proto/bc.mak" |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
43 |
|
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
44 |
^ 'classLibRule' |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
45 |
! ! |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
46 |
|
9576 | 47 |
!LibraryDefinition class methodsFor:'description - project information'! |
48 |
||
49 |
description |
|
50 |
"Returns a description string which will appear in nt.def / bc.def" |
|
51 |
||
52 |
self module = 'stx' ifTrue:[ |
|
12095 | 53 |
^ 'Smalltalk/X Class library' |
9576 | 54 |
]. |
55 |
||
9586 | 56 |
^ 'Class Library' |
9576 | 57 |
|
58 |
"Created: / 17-08-2006 / 20:52:16 / cg" |
|
9586 | 59 |
"Modified: / 18-08-2006 / 16:15:53 / cg" |
9847 | 60 |
! |
61 |
||
62 |
fileDescription |
|
10417 | 63 |
"Return a description string which will appear in nt.def / bc.def and the rc-file" |
9847 | 64 |
|
17242 | 65 |
^ self description , ' (LIB)' |
9847 | 66 |
|
67 |
"Created: / 14-09-2006 / 10:55:23 / cg" |
|
13179 | 68 |
! |
69 |
||
70 |
productType |
|
71 |
"Returns the product type for autopackage" |
|
72 |
||
73 |
^ 'Library' |
|
74 |
||
75 |
"Created: / 21-12-2010 / 09:28:59 / cg" |
|
9576 | 76 |
! ! |
77 |
||
9568 | 78 |
!LibraryDefinition class methodsFor:'file generation'! |
9493 | 79 |
|
9853 | 80 |
basicFileNamesToGenerate |
17242 | 81 |
"answer a dictionary (filename -> generator method) with all the files, |
82 |
that have to be generated for this package" |
|
10865
59a7977261af
Use dictionary to hold filename->generatorMethpd mapping
Stefan Vogel <sv@exept.de>
parents:
10805
diff
changeset
|
83 |
|
59a7977261af
Use dictionary to hold filename->generatorMethpd mapping
Stefan Vogel <sv@exept.de>
parents:
10805
diff
changeset
|
84 |
|dict| |
9576 | 85 |
|
10865
59a7977261af
Use dictionary to hold filename->generatorMethpd mapping
Stefan Vogel <sv@exept.de>
parents:
10805
diff
changeset
|
86 |
dict := super basicFileNamesToGenerate. |
17242 | 87 |
dict at:'libInit.cc' put:#'generate_libInit_dot_cc'. |
10865
59a7977261af
Use dictionary to hold filename->generatorMethpd mapping
Stefan Vogel <sv@exept.de>
parents:
10805
diff
changeset
|
88 |
^ dict. |
9582 | 89 |
! |
90 |
||
9622 | 91 |
generateFile:filename |
92 |
filename = 'libInit.cc' ifTrue:[ |
|
12095 | 93 |
^ self generate_libInit_dot_cc |
9622 | 94 |
]. |
9832 | 95 |
((filename = 'lib.rc') or:[filename = self rcFilename]) ifTrue:[ |
12095 | 96 |
^ self generate_packageName_dot_rc |
9622 | 97 |
]. |
98 |
^ super generateFile:filename |
|
99 |
||
100 |
"Created: / 22-08-2006 / 18:36:24 / cg" |
|
9832 | 101 |
"Modified: / 07-09-2006 / 17:07:46 / cg" |
9622 | 102 |
! |
103 |
||
9582 | 104 |
generate_libInit_dot_cc |
12095 | 105 |
^ self replaceMappings: self libInit_dot_cc_mappings |
106 |
in: self libInit_dot_cc |
|
9582 | 107 |
|
9960
13b44d7b8f54
also generate modules.c (precompiled-in init list for app)
Claus Gittinger <cg@exept.de>
parents:
9957
diff
changeset
|
108 |
" |
13b44d7b8f54
also generate modules.c (precompiled-in init list for app)
Claus Gittinger <cg@exept.de>
parents:
9957
diff
changeset
|
109 |
bosch_dapasx_datenbasis generate_libInit_dot_cc |
13b44d7b8f54
also generate modules.c (precompiled-in init list for app)
Claus Gittinger <cg@exept.de>
parents:
9957
diff
changeset
|
110 |
bosch_dapasx_application generate_libInit_dot_cc |
13b44d7b8f54
also generate modules.c (precompiled-in init list for app)
Claus Gittinger <cg@exept.de>
parents:
9957
diff
changeset
|
111 |
" |
9582 | 112 |
|
113 |
"Created: / 08-08-2006 / 12:47:16 / fm" |
|
114 |
"Modified: / 09-08-2006 / 11:30:52 / fm" |
|
9960
13b44d7b8f54
also generate modules.c (precompiled-in init list for app)
Claus Gittinger <cg@exept.de>
parents:
9957
diff
changeset
|
115 |
"Modified: / 19-09-2006 / 22:41:40 / cg" |
9493 | 116 |
! ! |
117 |
||
12365 | 118 |
!LibraryDefinition class methodsFor:'file mappings'! |
119 |
||
120 |
bc_dot_mak_mappings |
|
121 |
|d resFileName| |
|
122 |
||
14858 | 123 |
resFileName := (self package copyFrom:(self package lastIndexOfAny:':/')+1),'.$(RES)'. |
12365 | 124 |
|
125 |
d := super bc_dot_mak_mappings. |
|
14946 | 126 |
^ d |
14858 | 127 |
at: 'LIBRARY_NAME' put: ( self libraryName ); |
128 |
at: 'COMMONSYMFLAG' put: (self commonSymbolsFlag); |
|
129 |
at: 'HEADEROUTPUTARG' put: (self headerFileOutputArg); |
|
130 |
at: 'RESFILENAME' put: resFileName; |
|
131 |
at: 'DEPENDENCIES' put: (self generateDependencies_win32); |
|
14946 | 132 |
at: 'MAKE_PREREQUISITES' put: (self generateRequiredMakePrerequisites_bc_dot_mak ? ''); |
14858 | 133 |
yourself. |
12365 | 134 |
|
135 |
"Created: / 09-08-2006 / 11:44:36 / fm" |
|
136 |
"Modified: / 09-08-2006 / 20:00:01 / fm" |
|
137 |
"Modified: / 14-09-2006 / 18:58:15 / cg" |
|
138 |
! |
|
139 |
||
140 |
extensionLine_libInit_dot_cc_mappings |
|
141 |
||
17242 | 142 |
^ Dictionary new |
18502 | 143 |
at: 'LIBRARY_NAME' put: ( self st2c:(ProjectDefinition projectDefinitionClassNameForDefinitionOf:self package) ); |
17242 | 144 |
yourself |
12365 | 145 |
|
146 |
"Created: / 09-08-2006 / 11:19:59 / fm" |
|
147 |
"Modified: / 14-09-2006 / 18:56:26 / cg" |
|
148 |
! |
|
149 |
||
150 |
libInit_dot_cc_mappings |
|
151 |
||
17242 | 152 |
^ Dictionary new |
153 |
at: 'LIBRARY_NAME' put: (self libraryName); |
|
154 |
at: 'PACKAGE' put: (self package); |
|
155 |
at: 'DEFINITION_CLASSES' put: (self generate_definitionClassLine_libInit_dot_cc); |
|
156 |
at: 'CLASSES' put: (self generateClassLines_libInit_dot_cc); |
|
157 |
at: 'EXTENSION' put: (self generateExtensionLine_libInit_dot_cc); |
|
158 |
yourself |
|
12365 | 159 |
|
160 |
"Created: / 09-08-2006 / 11:20:24 / fm" |
|
161 |
"Modified: / 16-08-2006 / 18:19:03 / User" |
|
162 |
"Modified: / 14-09-2006 / 18:56:42 / cg" |
|
163 |
! |
|
164 |
||
14946 | 165 |
make_dot_proto_mappings |
166 |
|d| |
|
167 |
||
168 |
d := super make_dot_proto_mappings. |
|
169 |
^ d |
|
170 |
at: 'MAKE_PREREQUISITES' put: (self generateRequiredMakePrerequisites_make_dot_proto); |
|
171 |
yourself. |
|
172 |
! |
|
173 |
||
12365 | 174 |
vc_dot_def_mappings |
175 |
||
176 |
^Dictionary new |
|
177 |
at: 'LIBRARY_NAME' put: (self libraryName); |
|
178 |
at: 'DESCRIPTION' put: (self description asString storeString); |
|
179 |
at: 'VERSION_NUMBER' put: (self versionNumber); |
|
180 |
yourself |
|
181 |
||
182 |
"Created: / 09-08-2006 / 11:21:21 / fm" |
|
183 |
"Modified: / 14-09-2006 / 18:58:07 / cg" |
|
184 |
! ! |
|
185 |
||
186 |
!LibraryDefinition class methodsFor:'file mappings support'! |
|
187 |
||
188 |
commonSymbolsFlag |
|
189 |
"some libraries are compiled with COMMONSYMBOLS - |
|
190 |
This saves a lot of space in the generated dll/so files; |
|
191 |
However, it also requires the librun to be rebuilt, whenever one of |
|
192 |
the commonSymbols-libs changes. |
|
193 |
Therefore, NEVER do this for end-user or application libraries; |
|
194 |
ONLY do it for a subset of the predefined, eXept-provided standard stx libraries" |
|
195 |
||
196 |
( |
|
197 |
#( |
|
198 |
'stx:libbasic' 'stx:libview' 'stx:libtool' |
|
199 |
'stx:libbasic2' 'stx:libview2' 'stx:libtool2' |
|
200 |
'stx:libbasic3' 'stx:libwidg' 'stx:libhtml' |
|
201 |
'stx:libcomp' 'stx:libwidg2' 'stx:libui' |
|
202 |
'stx:libboss' 'stx:libdb' |
|
203 |
) |
|
204 |
includes:self package) ifTrue:[ |
|
205 |
^ '$(COMMONSYMBOLS)' |
|
206 |
]. |
|
207 |
^ '' |
|
208 |
||
209 |
"Created: / 18-08-2006 / 13:01:52 / cg" |
|
210 |
"Modified: / 23-08-2006 / 09:48:11 / cg" |
|
211 |
! |
|
212 |
||
213 |
generateExtensionLine_libInit_dot_cc |
|
214 |
|mappings| |
|
215 |
||
17242 | 216 |
^ self hasExtensionMethods |
217 |
ifFalse:[''] |
|
218 |
ifTrue:[ |
|
219 |
mappings := self extensionLine_libInit_dot_cc_mappings. |
|
220 |
self replaceMappings: mappings in: self extensionLine_libInit_dot_cc.] |
|
12365 | 221 |
|
222 |
" |
|
223 |
DapasXProject generateExtensionLine_libInit_dot_cc |
|
224 |
DapasX_Datenbasis generateExtensionLine_libInit_dot_cc |
|
225 |
" |
|
226 |
||
227 |
"Created: / 09-08-2006 / 11:23:34 / fm" |
|
228 |
"Modified: / 14-09-2006 / 14:19:59 / cg" |
|
229 |
! ! |
|
230 |
||
9568 | 231 |
!LibraryDefinition class methodsFor:'file templates'! |
9493 | 232 |
|
233 |
bc_dot_def |
|
9576 | 234 |
"the template code for the bc.def file" |
9493 | 235 |
|
12772 | 236 |
"/^ |
237 |
"/'LIBRARY %(LIBRARY_NAME) |
|
238 |
"/DESCRIPTION %(DESCRIPTION) |
|
239 |
"/CODE PRELOAD MOVEABLE DISCARDABLE |
|
240 |
"/SEGMENTS |
|
241 |
"/ INITCODE PRELOAD DISCARDABLE |
|
242 |
"/EXPORTS |
|
243 |
"/ __%(LIBRARY_NAME)_Init @1 |
|
244 |
"/ __%(LIBRARY_NAME)_InitDefinition @2 |
|
245 |
"/' |
|
246 |
||
12095 | 247 |
^ |
9608 | 248 |
'LIBRARY %(LIBRARY_NAME) |
9493 | 249 |
DESCRIPTION %(DESCRIPTION) |
250 |
CODE PRELOAD MOVEABLE DISCARDABLE |
|
251 |
SEGMENTS |
|
252 |
INITCODE PRELOAD DISCARDABLE |
|
253 |
EXPORTS |
|
12770
520a17d353eb
add an extra entry to the libInit.cc code:
Claus Gittinger <cg@exept.de>
parents:
12365
diff
changeset
|
254 |
__%(LIBRARY_NAME)_Init @1 |
9504 | 255 |
' |
9493 | 256 |
|
257 |
"Created: / 08-08-2006 / 12:26:58 / fm" |
|
258 |
"Modified: / 08-08-2006 / 19:32:27 / fm" |
|
9590 | 259 |
"Modified: / 18-08-2006 / 17:13:45 / cg" |
9493 | 260 |
! |
261 |
||
10305 | 262 |
bc_dot_mak |
10318
bef855ddbb59
bc.def - no longer generated it is now in rules\bc_dll.def or
Stefan Vogel <sv@exept.de>
parents:
10305
diff
changeset
|
263 |
"answer a template for the bc.mak makefile. |
bef855ddbb59
bc.def - no longer generated it is now in rules\bc_dll.def or
Stefan Vogel <sv@exept.de>
parents:
10305
diff
changeset
|
264 |
Any variable definition %(Variable) will be later replaced by the mapping. |
bef855ddbb59
bc.def - no longer generated it is now in rules\bc_dll.def or
Stefan Vogel <sv@exept.de>
parents:
10305
diff
changeset
|
265 |
$% characters have to be duplicated" |
10305 | 266 |
|
267 |
^ |
|
268 |
'# $','Header','$ |
|
269 |
# |
|
12095 | 270 |
# DO NOT EDIT |
14246 | 271 |
# automagically generated from the projectDefinition: ',self name",' at ',Timestamp now printString",'. |
10305 | 272 |
# |
273 |
# Warning: once you modify this file, do not rerun |
|
274 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
275 |
# |
|
13951
f4528d257651
use objdir in librun (objbc or objvc), so both compiler outputs can coexist
Claus Gittinger <cg@exept.de>
parents:
13788
diff
changeset
|
276 |
# Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
f4528d257651
use objdir in librun (objbc or objvc), so both compiler outputs can coexist
Claus Gittinger <cg@exept.de>
parents:
13788
diff
changeset
|
277 |
# This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
10305 | 278 |
# It shares common definitions with the unix-make in Make.spec. |
13951
f4528d257651
use objdir in librun (objbc or objvc), so both compiler outputs can coexist
Claus Gittinger <cg@exept.de>
parents:
13788
diff
changeset
|
279 |
# The bc.mak supports the following targets: |
10305 | 280 |
# bmake - compile all st-files to a classLib (dll) |
281 |
# bmake clean - clean all temp files |
|
282 |
# bmake clobber - clean all |
|
283 |
# |
|
13729 | 284 |
# Historic Note: |
14433 | 285 |
# this used to contain only rules to make with borland |
13729 | 286 |
# (called via bmake, by "make.exe -f bc.mak") |
13784 | 287 |
# this has changed; it is now also possible to build using microsoft visual c |
13729 | 288 |
# (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
10305 | 289 |
# |
290 |
TOP=%(TOP) |
|
291 |
INCLUDE_TOP=$(TOP)\.. |
|
292 |
||
11941
56b21fa6c358
base address definition moved into a separate spec
Claus Gittinger <cg@exept.de>
parents:
11687
diff
changeset
|
293 |
%(ADDITIONAL_BASE_ADDRESS_DEFINITION) |
56b21fa6c358
base address definition moved into a separate spec
Claus Gittinger <cg@exept.de>
parents:
11687
diff
changeset
|
294 |
|
10305 | 295 |
!!INCLUDE $(TOP)\rules\stdHeader_bc |
296 |
||
297 |
!!INCLUDE Make.spec |
|
298 |
||
299 |
LIBNAME=%(LIBRARY_NAME) |
|
17039 | 300 |
MODULE_PATH=%(MODULE_PATH) |
10305 | 301 |
RESFILES=%(RESFILENAME) |
10536
d1da7d71bcf5
Put additionalDefinitions before localIncludes
Stefan Vogel <sv@exept.de>
parents:
10417
diff
changeset
|
302 |
|
d1da7d71bcf5
Put additionalDefinitions before localIncludes
Stefan Vogel <sv@exept.de>
parents:
10417
diff
changeset
|
303 |
%(ADDITIONAL_DEFINITIONS) |
d1da7d71bcf5
Put additionalDefinitions before localIncludes
Stefan Vogel <sv@exept.de>
parents:
10417
diff
changeset
|
304 |
|
10305 | 305 |
LOCALINCLUDES=%(LOCAL_INCLUDES) |
10980 | 306 |
LOCALDEFINES=%(LOCAL_DEFINES) |
10305 | 307 |
|
308 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) %(HEADEROUTPUTARG) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) %(COMMONSYMFLAG) -varPrefix=$(LIBNAME) |
|
309 |
LOCALLIBS=%(ADDITIONAL_LINK_LIBRARIES) |
|
310 |
||
311 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
312 |
||
11577
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
313 |
ALL:: %(ADDITIONAL_TARGETS) %(PRIMARY_TARGET) |
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
314 |
|
12152
9d03dd3552a0
changed: classLibRule to include OUTDIR.
Claus Gittinger <cg@exept.de>
parents:
12095
diff
changeset
|
315 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
10305 | 316 |
|
317 |
!!INCLUDE $(TOP)\rules\stdRules_bc |
|
318 |
||
14879 | 319 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
11155
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
320 |
prereq: |
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
321 |
%(MAKE_PREREQUISITES) |
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
322 |
|
14879 | 323 |
|
10305 | 324 |
%(ADDITIONAL_RULES) |
15949 | 325 |
|
13685
069f722252d9
generate rules for header files of extended classes
Claus Gittinger <cg@exept.de>
parents:
13287
diff
changeset
|
326 |
%(ADDITIONAL_HEADERRULES) |
10305 | 327 |
|
15949 | 328 |
test: $(TOP)\goodies\builder\reports\NUL |
329 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
330 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
331 |
||
14807 | 332 |
clean:: |
333 |
del *.$(CSUFFIX) |
|
334 |
||
15949 | 335 |
|
10305 | 336 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
337 |
%(DEPENDENCIES) |
|
338 |
# ENDMAKEDEPEND --- do not remove this line |
|
15949 | 339 |
%(ADDITIONAL_RULES_HG)' |
10305 | 340 |
|
341 |
"Created: / 09-08-2006 / 11:44:20 / fm" |
|
342 |
"Modified: / 09-08-2006 / 19:59:32 / fm" |
|
14246 | 343 |
"Modified: / 26-07-2012 / 00:57:20 / cg" |
15949 | 344 |
"Modified: / 28-11-2012 / 10:18:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10305 | 345 |
! |
346 |
||
9493 | 347 |
extensionLine_libInit_dot_cc |
348 |
||
17242 | 349 |
^ '_%(LIBRARY_NAME)_extensions_Init(pass,__pRT__,snd);' |
9493 | 350 |
|
351 |
"Created: / 08-08-2006 / 15:48:56 / fm" |
|
352 |
"Modified: / 08-08-2006 / 19:32:33 / fm" |
|
353 |
! |
|
354 |
||
355 |
libInit_dot_cc |
|
9576 | 356 |
"the template code for the libInit.cc file" |
9493 | 357 |
|
12095 | 358 |
^ |
9493 | 359 |
'/* |
9576 | 360 |
* $','Header','$ |
361 |
* |
|
12095 | 362 |
* DO NOT EDIT |
9576 | 363 |
* automagically generated from the projectDefinition: ',self name,'. |
9493 | 364 |
*/ |
365 |
#define __INDIRECTVMINITCALLS__ |
|
10377 | 366 |
#include <stc.h> |
10332
5fe4d84d78fe
Add DLL_EXPORT to libInit_dot_cc
Stefan Vogel <sv@exept.de>
parents:
10318
diff
changeset
|
367 |
|
9493 | 368 |
#ifdef WIN32 |
369 |
# pragma codeseg INITCODE "INITCODE" |
|
12095 | 370 |
#endif |
10332
5fe4d84d78fe
Add DLL_EXPORT to libInit_dot_cc
Stefan Vogel <sv@exept.de>
parents:
10318
diff
changeset
|
371 |
|
5fe4d84d78fe
Add DLL_EXPORT to libInit_dot_cc
Stefan Vogel <sv@exept.de>
parents:
10318
diff
changeset
|
372 |
#if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT) |
5fe4d84d78fe
Add DLL_EXPORT to libInit_dot_cc
Stefan Vogel <sv@exept.de>
parents:
10318
diff
changeset
|
373 |
DLL_EXPORT void _%(LIBRARY_NAME)_Init() INIT_TEXT_SECTION; |
14785 | 374 |
DLL_EXPORT void _%(LIBRARY_NAME)_InitDefinition() INIT_TEXT_SECTION; |
9493 | 375 |
#endif |
10332
5fe4d84d78fe
Add DLL_EXPORT to libInit_dot_cc
Stefan Vogel <sv@exept.de>
parents:
10318
diff
changeset
|
376 |
|
14785 | 377 |
void _%(LIBRARY_NAME)_InitDefinition(pass, __pRT__, snd) |
378 |
OBJ snd; struct __vmData__ *__pRT__; { |
|
379 |
__BEGIN_PACKAGE2__("%(LIBRARY_NAME)__DFN", _%(LIBRARY_NAME)_InitDefinition, "%(PACKAGE)"); |
|
380 |
%(DEFINITION_CLASSES) |
|
381 |
__END_PACKAGE__(); |
|
382 |
} |
|
12770
520a17d353eb
add an extra entry to the libInit.cc code:
Claus Gittinger <cg@exept.de>
parents:
12365
diff
changeset
|
383 |
|
9493 | 384 |
void _%(LIBRARY_NAME)_Init(pass, __pRT__, snd) |
385 |
OBJ snd; struct __vmData__ *__pRT__; { |
|
386 |
__BEGIN_PACKAGE2__("%(LIBRARY_NAME)", _%(LIBRARY_NAME)_Init, "%(PACKAGE)"); |
|
387 |
%(CLASSES) |
|
388 |
%(EXTENSION) |
|
389 |
__END_PACKAGE__(); |
|
9902
74fab44fab6e
Add newline at end of libInit.cc
Stefan Vogel <sv@exept.de>
parents:
9899
diff
changeset
|
390 |
} |
74fab44fab6e
Add newline at end of libInit.cc
Stefan Vogel <sv@exept.de>
parents:
9899
diff
changeset
|
391 |
' |
9493 | 392 |
|
393 |
"Created: / 08-08-2006 / 12:40:45 / fm" |
|
394 |
"Modified: / 08-08-2006 / 19:33:01 / fm" |
|
9576 | 395 |
"Modified: / 18-08-2006 / 12:57:02 / cg" |
396 |
! |
|
397 |
||
9493 | 398 |
make_dot_proto |
399 |
||
12024 | 400 |
^ |
9576 | 401 |
'# $','Header','$ |
402 |
# |
|
12024 | 403 |
# DO NOT EDIT |
14246 | 404 |
# automagically generated from the projectDefinition: ',self name",' at ',Timestamp now printString",'. |
9576 | 405 |
# |
9493 | 406 |
# Warning: once you modify this file, do not rerun |
9576 | 407 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
9493 | 408 |
# |
409 |
# The Makefile as generated by this Make.proto supports the following targets: |
|
410 |
# make - compile all st-files to a classLib |
|
411 |
# make clean - clean all temp files |
|
412 |
# make clobber - clean all |
|
9576 | 413 |
# |
414 |
# This file contains definitions for Unix based platforms. |
|
9851 | 415 |
# It shares common definitions with the win32-make in Make.spec. |
9493 | 416 |
|
417 |
# |
|
418 |
# position (of this package) in directory hierarchy: |
|
419 |
# (must point to ST/X top directory, for tools and includes) |
|
420 |
TOP=%(TOP) |
|
9879 | 421 |
INCLUDE_TOP=$(TOP)/.. |
9493 | 422 |
|
423 |
# subdirectories where targets are to be made: |
|
424 |
SUBDIRS=%(SUBDIRECTORIES) |
|
425 |
||
426 |
||
427 |
# subdirectories where Makefiles are to be made: |
|
428 |
# (only define if different from SUBDIRS) |
|
429 |
# ALLSUBDIRS= |
|
430 |
||
11155
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
431 |
REQUIRED_SUPPORT_DIRS=%(REQUIRED_SUPPORT_DIRS) |
9493 | 432 |
|
12024 | 433 |
# if your embedded C code requires any system includes, |
434 |
# add the path(es) here:, |
|
9493 | 435 |
# ********** OPTIONAL: MODIFY the next lines *** |
436 |
# LOCALINCLUDES=-Ifoo -Ibar |
|
437 |
LOCALINCLUDES=%(LOCAL_INCLUDES) |
|
438 |
||
439 |
||
12024 | 440 |
# if you need any additional defines for embedded C code, |
441 |
# add them here:, |
|
9493 | 442 |
# ********** OPTIONAL: MODIFY the next lines *** |
443 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
|
444 |
LOCALDEFINES=%(LOCAL_DEFINES) |
|
445 |
||
9818 | 446 |
LIBNAME=%(LIBRARY_NAME) |
9613 | 447 |
STCLOCALOPT=''-package=$(PACKAGE)'' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) %(HEADEROUTPUTARG) %(COMMONSYMFLAG) -varPrefix=$(LIBNAME) |
9493 | 448 |
|
449 |
||
450 |
# ********** OPTIONAL: MODIFY the next line *** |
|
451 |
# additional C-libraries that should be pre-linked with the class-objects |
|
9734 | 452 |
LD_OBJ_LIBS=%(ADDITIONAL_LINK_LIBRARIES) |
9971
57890631d67a
Allow shared libraries to be defined for a class lib (needed for liboracle)
Stefan Vogel <sv@exept.de>
parents:
9960
diff
changeset
|
453 |
LOCAL_SHARED_LIBS=%(ADDITIONAL_SHARED_LINK_LIBRARIES) |
9493 | 454 |
|
455 |
||
456 |
# ********** OPTIONAL: MODIFY the next line *** |
|
457 |
# additional C targets or libraries should be added below |
|
458 |
LOCAL_EXTRA_TARGETS= |
|
459 |
||
9606 | 460 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
461 |
||
9626 | 462 |
%(ADDITIONAL_DEFINITIONS) |
463 |
||
11577
d9ad27e7ca5e
Allow to define primary make target (needed, if sub.makes have to be performed -
Stefan Vogel <sv@exept.de>
parents:
11550
diff
changeset
|
464 |
all:: preMake %(PRIMARY_TARGET) postMake |
9493 | 465 |
|
12024 | 466 |
pre_objs:: %(ADDITIONAL_TARGETS) %(ADDITIONAL_TARGETS_SVN) |
9626 | 467 |
|
468 |
%(ADDITIONAL_RULES) |
|
9493 | 469 |
|
12024 | 470 |
%(ADDITIONAL_RULES_SVN) |
471 |
||
15949 | 472 |
%(ADDITIONAL_RULES_HG) |
473 |
||
13685
069f722252d9
generate rules for header files of extended classes
Claus Gittinger <cg@exept.de>
parents:
13287
diff
changeset
|
474 |
%(ADDITIONAL_HEADERRULES) |
069f722252d9
generate rules for header files of extended classes
Claus Gittinger <cg@exept.de>
parents:
13287
diff
changeset
|
475 |
|
15949 | 476 |
# run default testsuite for this package |
477 |
test: $(TOP)/goodies/builder/reports |
|
16194
92e1f555fb2a
Fixed target test after changing Makefile to Makefile.init
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
15949
diff
changeset
|
478 |
$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init |
15949 | 479 |
$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE) |
480 |
||
481 |
||
482 |
||
9493 | 483 |
# add more install actions here |
484 |
install:: |
|
485 |
||
486 |
# add more install actions for aux-files (resources) here |
|
487 |
installAux:: |
|
488 |
||
489 |
# add more preMake actions here |
|
490 |
preMake:: |
|
491 |
||
492 |
# add more postMake actions here |
|
493 |
postMake:: cleanjunk |
|
494 |
||
14879 | 495 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
496 |
prereq: |
|
11155
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
497 |
%(MAKE_PREREQUISITES) |
c816b5f0f90b
prereq rule also for libraries
Claus Gittinger <cg@exept.de>
parents:
10980
diff
changeset
|
498 |
|
14879 | 499 |
# build all packages containing referenced classes for this package |
17231 | 500 |
# they are not needed to compile the package (but later, to load it) |
14879 | 501 |
references: |
502 |
%(MAKE_REFERENCES) |
|
503 |
||
9493 | 504 |
cleanjunk:: |
13788 | 505 |
%(TAB)-rm -f *.s *.s2 |
9493 | 506 |
|
507 |
clean:: |
|
9576 | 508 |
%(TAB)-rm -f *.o *.H |
9493 | 509 |
|
10805
92df6c9281f9
Fix prereq: definition in Make.proto
Stefan Vogel <sv@exept.de>
parents:
10536
diff
changeset
|
510 |
clobber:: clean |
9576 | 511 |
%(TAB)-rm -f *.so *.dll |
9493 | 512 |
|
513 |
', |
|
514 |
" |
|
515 |
$(INSTALLBASE):: |
|
9576 | 516 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 517 |
|
518 |
$(INSTALLBASE)/packages:: $(INSTALLBASE) |
|
9576 | 519 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 520 |
|
521 |
$(INSTALLBASE)/packages/$(MODULE):: $(INSTALLBASE)/packages |
|
9576 | 522 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 523 |
|
524 |
$(INSTALLBASE)/packages/$(MODULE)/dapasx:: $(INSTALLBASE)/packages/$(MODULE) |
|
9576 | 525 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 526 |
|
527 |
$(INSTALLBASE)/packages/$(MODULE)/dapasx/interactiver_editor:: $(INSTALLBASE)/packages/$(MODULE)/dapasx |
|
9576 | 528 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 529 |
|
530 |
$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR):: $(INSTALLBASE)/packages/$(MODULE) |
|
9576 | 531 |
%(TAB)@test -d $@ || mkdir $@ |
9493 | 532 |
" |
533 |
' |
|
534 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
9851 | 535 |
%(DEPENDENCIES) |
9493 | 536 |
# ENDMAKEDEPEND --- do not remove this line |
537 |
||
538 |
' |
|
539 |
||
540 |
"Created: / 08-08-2006 / 20:45:36 / fm" |
|
541 |
"Modified: / 09-08-2006 / 16:50:23 / fm" |
|
12024 | 542 |
"Modified: / 24-06-2009 / 21:39:29 / Jan Vrany <vranyj1@fel.cvut.cz>" |
14246 | 543 |
"Modified: / 26-07-2012 / 00:57:29 / cg" |
16194
92e1f555fb2a
Fixed target test after changing Makefile to Makefile.init
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
15949
diff
changeset
|
544 |
"Modified: / 03-03-2014 / 12:17:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9493 | 545 |
! |
546 |
||
10305 | 547 |
vc_dot_def |
9493 | 548 |
|
12772 | 549 |
"/^ |
550 |
"/'LIBRARY %(LIBRARY_NAME) |
|
551 |
"/DESCRIPTION %(DESCRIPTION) |
|
552 |
"/VERSION %(VERSION_NUMBER) |
|
553 |
"/CODE EXECUTE READ |
|
554 |
"/DATA READ WRITE |
|
555 |
"/SECTIONS |
|
556 |
"/ INITCODE READ EXECUTE |
|
557 |
"/ INITDATA READ WRITE |
|
558 |
"/EXPORTS |
|
559 |
"/ _%(LIBRARY_NAME)_Init @1 |
|
560 |
"/ _%(LIBRARY_NAME)_InitDefinition @2 |
|
561 |
"/IMPORTS' |
|
562 |
||
9493 | 563 |
^ |
564 |
'LIBRARY %(LIBRARY_NAME) |
|
565 |
DESCRIPTION %(DESCRIPTION) |
|
566 |
VERSION %(VERSION_NUMBER) |
|
12095 | 567 |
CODE EXECUTE READ |
9493 | 568 |
DATA READ WRITE |
569 |
SECTIONS |
|
12095 | 570 |
INITCODE READ EXECUTE |
9493 | 571 |
INITDATA READ WRITE |
12095 | 572 |
EXPORTS |
12770
520a17d353eb
add an extra entry to the libInit.cc code:
Claus Gittinger <cg@exept.de>
parents:
12365
diff
changeset
|
573 |
_%(LIBRARY_NAME)_Init @1 |
9493 | 574 |
IMPORTS' |
575 |
||
576 |
"Modified: / 08-08-2006 / 19:33:14 / fm" |
|
577 |
! ! |
|
578 |
||
12087 | 579 |
|
11550 | 580 |
!LibraryDefinition class methodsFor:'obsolete'! |
581 |
||
582 |
lib_dot_rc |
|
583 |
<resource: #obsolete> |
|
584 |
||
12095 | 585 |
^ |
11550 | 586 |
'/*------------------------------------------------------------------------ |
12095 | 587 |
* $','Header','$ |
11550 | 588 |
* |
12095 | 589 |
* DO NOT EDIT |
11550 | 590 |
* automagically generated from the projectDefinition: ',self name,'. |
591 |
*------------------------------------------------------------------------*/ |
|
592 |
||
593 |
// #if (__BORLANDC__ < 0x0550) |
|
594 |
// #include <ver.h> |
|
595 |
// #endif |
|
596 |
||
597 |
VS_VERSION_INFO VERSIONINFO |
|
598 |
FILEVERSION %(FILEVERSION) |
|
599 |
PRODUCTVERSION %(PRODUCTVERSION) |
|
13984 | 600 |
#if (__BORLANDC__) |
11550 | 601 |
FILEFLAGSMASK VS_FF_DEBUG | VS_FF_PRERELEASE |
602 |
FILEFLAGS VS_FF_PRERELEASE | VS_FF_SPECIALBUILD |
|
603 |
FILEOS VOS_NT_WINDOWS32 |
|
604 |
FILETYPE %(FILETYPE) |
|
605 |
FILESUBTYPE VS_USER_DEFINED |
|
13984 | 606 |
#endif |
11550 | 607 |
|
608 |
BEGIN |
|
609 |
BLOCK "StringFileInfo" |
|
610 |
BEGIN |
|
611 |
BLOCK "040904E4" |
|
612 |
BEGIN |
|
613 |
VALUE "CompanyName", %(COMPANYNAME) |
|
614 |
VALUE "FileDescription", "Smalltalk/X Additional Developer Basic Classes Library\0" |
|
615 |
VALUE "FileVersion", "5.2.8.1\0" |
|
616 |
VALUE "InternalName", "libbasic3\0" |
|
617 |
VALUE "LegalCopyright", "Copyright eXept Software AG 1998-2006\0" |
|
618 |
VALUE "ProductName", "Smalltalk/X\0" |
|
619 |
VALUE "ProductVersion", "5.2.8.1\0" |
|
620 |
END |
|
621 |
||
622 |
END |
|
623 |
||
624 |
BLOCK "VarFileInfo" |
|
625 |
BEGIN // Language | Translation |
|
626 |
VALUE "Translation", 0x409, 0x4E4 // U.S. English, Windows Multilingual |
|
627 |
END |
|
628 |
END |
|
629 |
' |
|
630 |
||
631 |
"Created: / 17-08-2006 / 19:37:50 / cg" |
|
13984 | 632 |
"Modified: / 24-01-2012 / 18:35:45 / cg" |
11550 | 633 |
! ! |
634 |
||
9812 | 635 |
!LibraryDefinition class methodsFor:'queries'! |
636 |
||
17242 | 637 |
definitionClassOfApplicationBundle |
638 |
"Return the applicationDefinition of the applicationBundle or nil. |
|
639 |
This is the applicationDefinition of the package which gets actually deployed. |
|
640 |
For example, for all stx libraries, this will be stx_projects_smalltalk. |
|
641 |
For expecco, this would be exept_expecco_application. |
|
642 |
The algorithm here follows the parent hierarchy (not the class hierarchy) of the package name. |
|
643 |
Some classes may explicitly redefine this (if the folder structure is not hierarchical). |
|
644 |
This information is currently used for automatic check of language translations. |
|
645 |
||
646 |
Notice: libraries which are used by more than one project, should only return the one |
|
647 |
which is their 'natural' bundle - usually defined by the position in the package hierarchy. |
|
648 |
This is a little experimental - may change." |
|
649 |
||
650 |
|libPackageID parentPackageID parentDefinitionClass| |
|
651 |
||
652 |
libPackageID := self package asPackageId. |
|
653 |
[ |
|
654 |
parentPackageID := libPackageID parentPackage. |
|
655 |
parentPackageID isNil ifTrue:[^ nil]. |
|
656 |
||
657 |
parentDefinitionClass := parentPackageID projectDefinitionClass. |
|
658 |
parentDefinitionClass notNil ifTrue:[ |
|
659 |
^ parentDefinitionClass definitionClassOfApplicationBundle |
|
660 |
]. |
|
661 |
libPackageID := parentPackageID |
|
662 |
] loop. |
|
663 |
||
664 |
" |
|
665 |
exept_expecco definitionClassOfApplicationBundle |
|
666 |
" |
|
667 |
! |
|
668 |
||
12333 | 669 |
projectType |
670 |
^ LibraryType |
|
17242 | 671 |
! |
672 |
||
673 |
supportedLanguages |
|
674 |
"Returns a list of languages that (should be / are) supported by this application or library. |
|
675 |
Currently this is only used by lint, to verify that the corresponding languages are |
|
676 |
present in the resource files." |
|
677 |
||
678 |
|app| |
|
679 |
||
680 |
(app := self definitionClassOfApplicationBundle) notNil ifTrue:[ |
|
681 |
^ app supportedLanguages |
|
682 |
]. |
|
683 |
^ super supportedLanguages. |
|
684 |
||
685 |
" |
|
686 |
exept_expecco definitionClassOfApplicationBundle |
|
687 |
" |
|
9812 | 688 |
! ! |
689 |
||
9568 | 690 |
!LibraryDefinition class methodsFor:'sanity checks'! |
9493 | 691 |
|
692 |
searchForInconsistencies |
|
693 |
self searchForNeverCompiledSuperclasses. |
|
694 |
||
695 |
" |
|
696 |
self searchForInconsistencies |
|
12095 | 697 |
DapasX_Datenbasis searchForInconsistencies |
9493 | 698 |
" |
699 |
||
700 |
"Created: / 09-08-2006 / 16:30:46 / fm" |
|
701 |
! |
|
702 |
||
703 |
searchForNeverCompiledSuperclasses |
|
12095 | 704 |
self compiled_classesDo:[:includedClass | |
12214
96d417c20fb8
Project noProjectID -> PackageId noProjectID
Claus Gittinger <cg@exept.de>
parents:
12152
diff
changeset
|
705 |
includedClass allSuperclassesDo:[:eachSuperClass | |
96d417c20fb8
Project noProjectID -> PackageId noProjectID
Claus Gittinger <cg@exept.de>
parents:
12152
diff
changeset
|
706 |
eachSuperClass package == PackageId noProjectID ifTrue:[ |
96d417c20fb8
Project noProjectID -> PackageId noProjectID
Claus Gittinger <cg@exept.de>
parents:
12152
diff
changeset
|
707 |
self inconsistency:'uncompiled superclass: ' , eachSuperClass name |
96d417c20fb8
Project noProjectID -> PackageId noProjectID
Claus Gittinger <cg@exept.de>
parents:
12152
diff
changeset
|
708 |
]. |
96d417c20fb8
Project noProjectID -> PackageId noProjectID
Claus Gittinger <cg@exept.de>
parents:
12152
diff
changeset
|
709 |
] |
9493 | 710 |
]. |
711 |
||
712 |
" |
|
713 |
self searchForNeverCompiledSuperclasses |
|
12095 | 714 |
DapasX_Datenbasis searchForNeverCompiledSuperclasses |
9493 | 715 |
" |
716 |
||
717 |
"Created: / 09-08-2006 / 16:31:54 / fm" |
|
718 |
! ! |
|
719 |
||
9568 | 720 |
!LibraryDefinition class methodsFor:'testing'! |
9558 | 721 |
|
12310
3a8e985b4625
added: #isConsoleApplication
Claus Gittinger <cg@exept.de>
parents:
12214
diff
changeset
|
722 |
isAbstract |
3a8e985b4625
added: #isConsoleApplication
Claus Gittinger <cg@exept.de>
parents:
12214
diff
changeset
|
723 |
^ self == LibraryDefinition |
3a8e985b4625
added: #isConsoleApplication
Claus Gittinger <cg@exept.de>
parents:
12214
diff
changeset
|
724 |
! |
3a8e985b4625
added: #isConsoleApplication
Claus Gittinger <cg@exept.de>
parents:
12214
diff
changeset
|
725 |
|
9666 | 726 |
isLibraryDefinition |
14980 | 727 |
^ self isAbstract not |
9666 | 728 |
|
729 |
" |
|
730 |
stx_libboss isLibraryDefinition |
|
731 |
ProjectDefinition isLibraryDefinition |
|
732 |
LibraryDefinition isLibraryDefinition |
|
733 |
" |
|
734 |
||
735 |
"Created: / 23-08-2006 / 15:17:50 / cg" |
|
9558 | 736 |
! ! |
737 |
||
9568 | 738 |
!LibraryDefinition class methodsFor:'documentation'! |
9493 | 739 |
|
740 |
version |
|
18502 | 741 |
^ '$Header$' |
12087 | 742 |
! |
743 |
||
744 |
version_CVS |
|
18502 | 745 |
^ '$Header$' |
9493 | 746 |
! ! |
14785 | 747 |