LibraryDefinition.st
changeset 12095 b1e69cf67010
parent 12087 285d0beccee2
child 12152 9d03dd3552a0
--- a/LibraryDefinition.st	Fri Oct 02 09:54:44 2009 +0200
+++ b/LibraryDefinition.st	Fri Oct 02 09:54:56 2009 +0200
@@ -1,6 +1,6 @@
 "
  COPYRIGHT (c) 2006 by eXept Software AG
-              All Rights Reserved
+	      All Rights Reserved
 
  This software is furnished under a license and may be used
  only in accordance with the terms of that license and with the
@@ -23,7 +23,7 @@
 copyright
 "
  COPYRIGHT (c) 2006 by eXept Software AG
-              All Rights Reserved
+	      All Rights Reserved
 
  This software is furnished under a license and may be used
  only in accordance with the terms of that license and with the
@@ -57,7 +57,7 @@
     "Returns a description string which will appear in nt.def / bc.def"
 
     self module = 'stx' ifTrue:[
-        ^ 'Smalltalk/X Class library'
+	^ 'Smalltalk/X Class library'
     ].
 
     ^ 'Class Library'
@@ -84,18 +84,18 @@
 
     dict := super basicFileNamesToGenerate.
 
-    dict 
-        at:'libInit.cc'         put:#'generate_libInit_dot_cc'.
+    dict
+	at:'libInit.cc'         put:#'generate_libInit_dot_cc'.
 
     ^ dict.
 !
 
 generateFile:filename
     filename = 'libInit.cc' ifTrue:[
-        ^ self generate_libInit_dot_cc
+	^ self generate_libInit_dot_cc
     ].
     ((filename = 'lib.rc') or:[filename = self rcFilename]) ifTrue:[
-        ^ self generate_packageName_dot_rc
+	^ self generate_packageName_dot_rc
     ].
     ^ super generateFile:filename
 
@@ -104,8 +104,8 @@
 !
 
 generate_libInit_dot_cc
-    ^ self replaceMappings: self libInit_dot_cc_mappings 
-            in: self libInit_dot_cc
+    ^ self replaceMappings: self libInit_dot_cc_mappings
+	    in: self libInit_dot_cc
 
     "
      bosch_dapasx_datenbasis generate_libInit_dot_cc
@@ -122,7 +122,7 @@
 bc_dot_def
     "the template code for the bc.def file"
 
-^ 
+^
 'LIBRARY         %(LIBRARY_NAME)
 DESCRIPTION     %(DESCRIPTION)
 CODE            PRELOAD MOVEABLE DISCARDABLE
@@ -145,7 +145,7 @@
 ^
 '# $','Header','$
 #
-# DO NOT EDIT 
+# DO NOT EDIT
 # automagically generated from the projectDefinition: ',self name,'.
 #
 # Warning: once you modify this file, do not rerun
@@ -214,11 +214,11 @@
 libInit_dot_cc
     "the template code for the libInit.cc file"
 
-^ 
+^
 '/*
  * $','Header','$
  *
- * DO NOT EDIT 
+ * DO NOT EDIT
  * automagically generated from the projectDefinition: ',self name,'.
  */
 #define __INDIRECTVMINITCALLS__
@@ -226,7 +226,7 @@
 
 #ifdef WIN32
 # pragma codeseg INITCODE "INITCODE"
-#endif 
+#endif
 
 #if defined(INIT_TEXT_SECTION) || defined(DLL_EXPORT)
 DLL_EXPORT void _%(LIBRARY_NAME)_Init() INIT_TEXT_SECTION;
@@ -382,12 +382,12 @@
 'LIBRARY        %(LIBRARY_NAME)
 DESCRIPTION     %(DESCRIPTION)
 VERSION         %(VERSION_NUMBER)
-CODE            EXECUTE READ 
+CODE            EXECUTE READ
 DATA            READ WRITE
 SECTIONS
-    INITCODE    READ EXECUTE 
+    INITCODE    READ EXECUTE
     INITDATA    READ WRITE
-EXPORTS 
+EXPORTS
     _%(LIBRARY_NAME)_Init      @1
 IMPORTS'
 
@@ -403,12 +403,12 @@
 
     d := super bc_dot_mak_mappings.
     d
-        at: 'LIBRARY_NAME' put: ( self libraryName );
-        at: 'COMMONSYMFLAG' put: (self commonSymbolsFlag);
-        at: 'HEADEROUTPUTARG' put: (self headerFileOutputArg);
-        at: 'RESFILENAME' put: resFileName;
-        at: 'DEPENDENCIES' put: (self generateDependencies_win32);
-        yourself.
+	at: 'LIBRARY_NAME' put: ( self libraryName );
+	at: 'COMMONSYMFLAG' put: (self commonSymbolsFlag);
+	at: 'HEADEROUTPUTARG' put: (self headerFileOutputArg);
+	at: 'RESFILENAME' put: resFileName;
+	at: 'DEPENDENCIES' put: (self generateDependencies_win32);
+	yourself.
     ^ d.
 
     "Created: / 09-08-2006 / 11:44:36 / fm"
@@ -418,7 +418,7 @@
 
 extensionLine_libInit_dot_cc_mappings
 
-^Dictionary new                                               
+^Dictionary new
     at: 'LIBRARY_NAME' put: ( self st2c:(self package copy asString replaceAny:':/' with:$_) );
     yourself
 
@@ -464,15 +464,15 @@
      ONLY do it for a subset of the predefined, eXept-provided standard stx libraries"
 
     (
-        #(
-            'stx:libbasic'        'stx:libview'         'stx:libtool'   
-            'stx:libbasic2'       'stx:libview2'        'stx:libtool2'
-            'stx:libbasic3'       'stx:libwidg'         'stx:libhtml'
-            'stx:libcomp'         'stx:libwidg2'        'stx:libui'
-            'stx:libboss'         'stx:libdb'
-        )
+	#(
+	    'stx:libbasic'        'stx:libview'         'stx:libtool'
+	    'stx:libbasic2'       'stx:libview2'        'stx:libtool2'
+	    'stx:libbasic3'       'stx:libwidg'         'stx:libhtml'
+	    'stx:libcomp'         'stx:libwidg2'        'stx:libui'
+	    'stx:libboss'         'stx:libdb'
+	)
     includes:self package) ifTrue:[
-        ^ '$(COMMONSYMBOLS)'
+	^ '$(COMMONSYMBOLS)'
     ].
     ^ ''
 
@@ -483,11 +483,11 @@
 generateExtensionLine_libInit_dot_cc
     |mappings|
 
-    ^self hasExtensionMethods 
-        ifFalse:['']
-        ifTrue:[ 
-            mappings := self extensionLine_libInit_dot_cc_mappings.
-            self replaceMappings: mappings in: self extensionLine_libInit_dot_cc.]
+    ^self hasExtensionMethods
+	ifFalse:['']
+	ifTrue:[
+	    mappings := self extensionLine_libInit_dot_cc_mappings.
+	    self replaceMappings: mappings in: self extensionLine_libInit_dot_cc.]
 
     "
      DapasXProject generateExtensionLine_libInit_dot_cc
@@ -518,11 +518,11 @@
 lib_dot_rc
     <resource: #obsolete>
 
-^ 
+^
 '/*------------------------------------------------------------------------
- * $','Header','$                                                            
+ * $','Header','$
  *
- * DO NOT EDIT 
+ * DO NOT EDIT
  * automagically generated from the projectDefinition: ',self name,'.
  *------------------------------------------------------------------------*/
 
@@ -588,24 +588,24 @@
 
 "
     self searchForInconsistencies
-    DapasX_Datenbasis searchForInconsistencies  
+    DapasX_Datenbasis searchForInconsistencies
 "
 
     "Created: / 09-08-2006 / 16:30:46 / fm"
 !
 
 searchForNeverCompiledSuperclasses
-      self compiled_classesDo:[:includedClass | 
-            includedClass allSuperclassesDo:[:eachSuperClass |
-                eachSuperClass package == Project noProjectID ifTrue:[ 
-                    self inconsistency:'uncompiled superclass: ' , eachSuperClass name
-                ].
-            ]
+      self compiled_classesDo:[:includedClass |
+	    includedClass allSuperclassesDo:[:eachSuperClass |
+		eachSuperClass package == Project noProjectID ifTrue:[
+		    self inconsistency:'uncompiled superclass: ' , eachSuperClass name
+		].
+	    ]
       ].
 
 "
     self searchForNeverCompiledSuperclasses
-    DapasX_Datenbasis searchForNeverCompiledSuperclasses  
+    DapasX_Datenbasis searchForNeverCompiledSuperclasses
 "
 
     "Created: / 09-08-2006 / 16:31:54 / fm"
@@ -640,9 +640,9 @@
 !LibraryDefinition class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.90 2009-10-01 13:44:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.91 2009-10-02 07:54:56 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.90 2009-10-01 13:44:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/LibraryDefinition.st,v 1.91 2009-10-02 07:54:56 cg Exp $'
 ! !