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