author | Claus Gittinger <cg@exept.de> |
Fri, 24 Jul 2015 13:13:25 +0200 | |
changeset 3224 | 98a659b6bd10 |
parent 3220 | 761b69274dc3 |
child 3231 | 1ac976f4c08d |
permissions | -rw-r--r-- |
3220 | 1 |
"{ Encoding: utf8 }" |
2 |
||
2071 | 3 |
" |
4 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2621 | 5 |
All Rights Reserved |
2071 | 6 |
|
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
2068 | 14 |
"{ Package: 'stx:libtool2' }" |
15 |
||
3177 | 16 |
"{ NameSpace: Smalltalk }" |
17 |
||
2068 | 18 |
LibraryDefinition subclass:#stx_libtool2 |
2381 | 19 |
instanceVariableNames:'' |
20 |
classVariableNames:'' |
|
21 |
poolDictionaries:'' |
|
22 |
category:'* Projects & Packages *' |
|
2068 | 23 |
! |
24 |
||
2071 | 25 |
!stx_libtool2 class methodsFor:'documentation'! |
26 |
||
27 |
copyright |
|
28 |
" |
|
29 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
2621 | 30 |
All Rights Reserved |
2071 | 31 |
|
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! |
|
40 |
||
41 |
documentation |
|
42 |
" |
|
3177 | 43 |
Package documentation: |
44 |
||
3190 | 45 |
This library contains additional advanced ST/X development tools. |
46 |
This includes, additional analysis, monitoring and profiling tools, UI builders etc. |
|
47 |
||
48 |
Typically, these tools are not needed in end-user (standAlone) applications. |
|
2071 | 49 |
" |
50 |
! ! |
|
2068 | 51 |
|
2145 | 52 |
!stx_libtool2 class methodsFor:'description'! |
53 |
||
2172 | 54 |
excludedFromPreRequisites |
2786 | 55 |
"list all packages which should be ignored in the automatic |
56 |
preRequisites scan. See #preRequisites for more." |
|
57 |
||
2172 | 58 |
^ #( |
2786 | 59 |
#'stx:clients/Demos' "WindowTreeView - referenced by FlyByWindowInformation>>keyPress:x:y:view: " |
60 |
#'stx:goodies/webServer' "HTTPServer - referenced by UIPainter>>doInstallAsWebPage " |
|
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
61 |
#'exept:httpPortal' "WebApplicationModel - referenced by UIPainter>>canInstallAsWebPage " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
62 |
#'stx:goodies/communication' "HTTPInterface - referenced by ImageEditor>>doLoadFromURL " |
3154
71cffa1e022e
Do not add stx:libview3 as preRequisite
Stefan Vogel <sv@exept.de>
parents:
2976
diff
changeset
|
63 |
#'stx:libview3' "LineSegmentMorph - referenced by UIObjectView class>>isHorizontalResizable: " |
2172 | 64 |
) |
65 |
! |
|
66 |
||
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
67 |
mandatoryPreRequisites |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
68 |
"list all required mandatory packages. |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
69 |
Packages are mandatory, if they contain superclasses of the package's classes |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
70 |
or classes which are extended by this package. |
2786 | 71 |
This list can be maintained manually or (better) generated and |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
72 |
updated by scanning the superclass hierarchies |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
73 |
(the browser has a menu function for that) |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
74 |
However, often too much is found, and you may want to explicitely |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
75 |
exclude individual packages in the #excludedFromPreRequisites method." |
2786 | 76 |
|
2145 | 77 |
^ #( |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
78 |
#'stx:libbasic' "Array - superclass of DataSetBuilder::Row " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
79 |
#'stx:libview' "GraphicsContext - superclass of UIGalleryView::Palette " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
80 |
#'stx:libview2' "ResourceSpecEditor - superclass of TabListEditor " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
81 |
#'stx:libwidg' "ListView - superclass of UIPainter::TreeView " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
82 |
#'stx:libwidg2' "HierarchicalItem - superclass of MenuEditor::RegularMenuItem " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
83 |
) |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
84 |
! |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
85 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
86 |
referencedPreRequisites |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
87 |
"list all packages containing classes referenced by the packages's members. |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
88 |
This list can be maintained manually or (better) generated and |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
89 |
updated by looking for global variable accesses |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
90 |
(the browser has a menu function for that) |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
91 |
However, often too much is found, and you may want to explicitely |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
92 |
exclude individual packages in the #excludedFromPreRequisites method." |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
93 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
94 |
^ #( |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
95 |
#'stx:libbasic2' "TextStream - referenced by Tools::ProjectBuilder>>build " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
96 |
#'stx:libbasic3' "CVSSourceCodeManager - referenced by Tools::ObjectModuleInformation>>showInfoForClassLib: " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
97 |
#'stx:libcomp' "ObjectFileLoader - referenced by Tools::ObjectModuleInformation>>postBuildWith: " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
98 |
#'stx:libhtml' "HTMLDocumentView - referenced by MethodFinderWindow>>openHTMLDocumentation " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
99 |
#'stx:libtool' "SmalltalkCodeGeneratorTool - referenced by MenuEditor>>doGenerateAspectMethods " |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
100 |
#'stx:libui' "HorizontalPanelViewSpec - referenced by UIPainterView>>groupSelectionWithLayout: " |
2145 | 101 |
) |
102 |
! ! |
|
103 |
||
2068 | 104 |
!stx_libtool2 class methodsFor:'description - compilation'! |
105 |
||
2577 | 106 |
additionalBaseAddressDefinition_bc_dot_mak |
107 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
108 |
on win32 systems." |
|
109 |
||
2068 | 110 |
^ ' |
2149 | 111 |
# see stdHeader_bc for LIBTOOL2_BASE |
2577 | 112 |
LIB_BASE=$(LIBTOOL2_BASE) |
2068 | 113 |
' |
3163 | 114 |
! |
115 |
||
116 |
stcWarningOptions |
|
117 |
^ '-warnNonStandard -warnUnused' |
|
2068 | 118 |
! ! |
119 |
||
120 |
!stx_libtool2 class methodsFor:'description - contents'! |
|
121 |
||
122 |
classNamesAndAttributes |
|
2755 | 123 |
"lists the classes which are to be included in the project. |
124 |
Each entry in the list may be: a single class-name (symbol), |
|
125 |
or an array-literal consisting of class name and attributes. |
|
126 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
127 |
||
2068 | 128 |
^ #( |
2643 | 129 |
"<className> or (<className> attributes...) in load order" |
130 |
ColorEditDialog |
|
131 |
DataSetBuilder |
|
2806 | 132 |
DirectoryView |
2786 | 133 |
FlyByWindowInformation |
2643 | 134 |
(HierarchicalListEditor autoload) |
135 |
ImageEditor |
|
136 |
MenuEditor |
|
2738 | 137 |
MethodFinderWindow |
2643 | 138 |
(MethodSelectionBrowser autoload) |
139 |
(ProjectBrowser autoload) |
|
140 |
(STXInstaller autoload) |
|
141 |
SelectionBrowser |
|
142 |
(ShellView autoload) |
|
143 |
(SnapShotImage autoload) |
|
144 |
(SnapShotImageMemory autoload) |
|
145 |
TabListEditor |
|
146 |
(#'Tools::InternationalLanguageTranslationEditor' autoload) |
|
2786 | 147 |
(#'Tools::NewInspectorList' autoload) |
148 |
(#'Tools::NewInspectorListView' autoload) |
|
149 |
(#'Tools::NewInspectorPanelView' autoload) |
|
150 |
(#'Tools::NewInspectorView' autoload) |
|
151 |
#'Tools::ObjectModuleInformation' |
|
152 |
#'Tools::ProjectBuilder' |
|
153 |
#'Tools::ProjectBuilderAssistantApplication' |
|
2643 | 154 |
(#'Tools::ProjectDefinitionEditor' autoload) |
2786 | 155 |
(#'Tools::ViewTreeInspectorApplication' autoload) |
2643 | 156 |
UIGalleryView |
157 |
UIHelpTool |
|
158 |
UILayoutTool |
|
2786 | 159 |
UIListEditor |
2643 | 160 |
UIObjectView |
161 |
UIPainter |
|
162 |
UISelectionPanel |
|
163 |
UISpecificationTool |
|
164 |
#'stx_libtool2' |
|
165 |
FileSelectionBrowser |
|
166 |
ResourceSelectionBrowser |
|
167 |
UIPainterView |
|
2068 | 168 |
) |
169 |
! |
|
170 |
||
171 |
extensionMethodNames |
|
2786 | 172 |
"lists the extension methods which are to be included in the project. |
3208 | 173 |
Entries are pairwise elements, consisting of class-name and selector." |
2786 | 174 |
|
2068 | 175 |
^ #( |
3208 | 176 |
Image edit |
2068 | 177 |
) |
178 |
! ! |
|
179 |
||
180 |
!stx_libtool2 class methodsFor:'description - project information'! |
|
181 |
||
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
182 |
applicationIconFileName |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
183 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
184 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
185 |
^ nil |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
186 |
"/ ^ self applicationName |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
187 |
! |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
188 |
|
2068 | 189 |
companyName |
190 |
"Return a companyname which will appear in <lib>.rc" |
|
191 |
||
192 |
^ 'eXept Software AG' |
|
193 |
! |
|
194 |
||
195 |
description |
|
196 |
"Return a description string which will appear in nt.def / bc.def" |
|
197 |
||
2474 | 198 |
^ 'Smalltalk/X Additional Tools' |
2068 | 199 |
! |
200 |
||
201 |
legalCopyright |
|
202 |
"Return a copyright string which will appear in <lib>.rc" |
|
203 |
||
3220 | 204 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 2012' |
2194 | 205 |
|
2894 | 206 |
"Modified: / 18-07-2012 / 19:11:56 / cg" |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
207 |
! |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
208 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
209 |
productName |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
210 |
"Return a product name which will appear in <lib>.rc" |
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
211 |
|
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
212 |
^ 'Smalltalk/X' |
2068 | 213 |
! ! |
214 |
||
215 |
!stx_libtool2 class methodsFor:'documentation'! |
|
216 |
||
217 |
version |
|
218 |
^ '$Header$' |
|
2610 | 219 |
! |
220 |
||
221 |
version_CVS |
|
222 |
^ '$Header$' |
|
2068 | 223 |
! ! |
2966
c365ecae6727
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
2935
diff
changeset
|
224 |