FolderForProjectsDefinition.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 13 Jun 2018 14:39:23 +0000
branchjv
changeset 23108 77cd6e1625e1
parent 20568 96aab3164d89
child 21926 8ca9d6dc516d
child 23324 1f8c02c6a747
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2014 by eXept Software AG
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
19979
23da22784b77 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17230
diff changeset
    14
"{ NameSpace: Smalltalk }"
23da22784b77 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17230
diff changeset
    15
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ProjectDefinition subclass:#FolderForProjectsDefinition
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Support-Projects'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!FolderForProjectsDefinition class methodsFor:'documentation'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
copyright
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
 COPYRIGHT (c) 2014 by eXept Software AG
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
              All Rights Reserved
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 hereby transferred.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!FolderForProjectsDefinition class methodsFor:'code generation'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
forEachContentsMethodsCodeToCompileDo:aTwoArgBlock ignoreOldDefinition:ignoreOldDefinition
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    "generate code for each contents-specifying method
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
     (classesAndAttributes, extensionMethodNames, etc.),
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
     and evaluate aTwoArgBlock on it, passing in the code and the method's category.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
     If ignoreOldDefinition is true, new code is generated (class/method scan);
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
     otherwise, new items are added to the existing lists"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    "/ JV:  No, subProjects **should not** be automatically generated.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    "/      Remember, they are not required to be loaded!! So, generate
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    "/      subProjects only if there's no such method yet.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
    (self class methodDictionary includesKey: #subProjects) ifFalse:[
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
        aTwoArgBlock
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
            value: self subProjects_code
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
            value: 'description'.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    ].
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
forEachDescriptionMethodsCodeToCompileDo:aTwoArgBlock ignoreOldDefinition:ignoreOldDefinition
20568
96aab3164d89 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 19979
diff changeset
    59
    "generate code for each description-specifying method"
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    "/ intentionally left blank
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
!FolderForProjectsDefinition class methodsFor:'description - project information'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
productType
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
    "Returns the product type for autopackage"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    ^ 'Folder'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
!FolderForProjectsDefinition class methodsFor:'file templates'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
bc_dot_mak
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
    "answer a template for the bc.mak makefile.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
     Any variable definition %(Variable) will be later replaced by the mapping.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
     $% characters have to be duplicated"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
^
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
'# $','Header','$
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
# DO NOT EDIT
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
# automagically generated from the projectDefinition: ',self name",' at ',Timestamp now printString",'.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
# Warning: once you modify this file, do not rerun
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
# Notice, that the name bc.mak is historical (from times, when only borland c was supported).
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
# This file contains make rules for the win32 platform using either borland-bcc or visual-c.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
# It shares common definitions with the unix-make in Make.spec.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
# The bc.mak supports the following targets:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
#    bmake         - compile all st-files to a classLib (dll)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
#    bmake clean   - clean all temp files
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
#    bmake clobber - clean all
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
# Historic Note:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
#  this used to contain only rules to make with borland
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
#    (called via bmake, by "make.exe -f bc.mak")
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
#  this has changed; it is now also possible to build using microsoft visual c
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
#    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
TOP=%(TOP)
17040
6d4341530f00 class: FolderForProjectsDefinition
Claus Gittinger <cg@exept.de>
parents: 16681
diff changeset
   103
MODULE_PATH=%(MODULE_PATH)
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
INCLUDE_TOP=$(TOP)\..
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
!!INCLUDE $(TOP)\rules\stdHeader_bc
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
!!INCLUDE Make.spec
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
%(ADDITIONAL_DEFINITIONS)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
OBJS=
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
ALL:: %(ADDITIONAL_TARGETS) 
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
!!INCLUDE $(TOP)\rules\stdRules_bc
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
# build all mandatory prerequisite packages (containing superclasses) for this package
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
prereq:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
%(MAKE_PREREQUISITES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
%(ADDITIONAL_RULES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
%(ADDITIONAL_HEADERRULES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
test: $(TOP)\goodies\builder\reports\NUL
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
        pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
        $(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
clean::
19979
23da22784b77 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17230
diff changeset
   132
        -del *.$(CSUFFIX)
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
%(ADDITIONAL_RULES_HG)'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
make_dot_proto
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
^
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
'# $','Header','$
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
# DO NOT EDIT
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
# automagically generated from the projectDefinition: ',self name",' at ',Timestamp now printString",'.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
# Warning: once you modify this file, do not rerun
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
# The Makefile as generated by this Make.proto supports the following targets:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
#    make         - compile all st-files to a classLib
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
#    make clean   - clean all temp files
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
#    make clobber - clean all
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
# This file contains definitions for Unix based platforms.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
# It shares common definitions with the win32-make in Make.spec.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
# position (of this package) in directory hierarchy:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
# (must point to ST/X top directory, for tools and includes)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
TOP=%(TOP)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
INCLUDE_TOP=$(TOP)/..
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
# subdirectories where targets are to be made:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
SUBDIRS=%(SUBDIRECTORIES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
# subdirectories where Makefiles are to be made:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
# (only define if different from SUBDIRS)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
# ALLSUBDIRS=
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
REQUIRED_SUPPORT_DIRS=%(REQUIRED_SUPPORT_DIRS)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
# ********** OPTIONAL: MODIFY the next line ***
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
# additional C targets or libraries should be added below
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
LOCAL_EXTRA_TARGETS=
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
OBJS=
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
%(ADDITIONAL_DEFINITIONS)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
all:: preMake %(PRIMARY_TARGET) postMake
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
pre_objs:: %(ADDITIONAL_TARGETS) %(ADDITIONAL_TARGETS_SVN)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
%(ADDITIONAL_RULES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
%(ADDITIONAL_RULES_SVN)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
%(ADDITIONAL_RULES_HG)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
%(ADDITIONAL_HEADERRULES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
# run default testsuite for this package
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
test: $(TOP)/goodies/builder/reports
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
        $(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
        $(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
# add more install actions here
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
install::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
# add more install actions for aux-files (resources) here
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
installAux::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
# add more preMake actions here
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
preMake::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
# add more postMake actions here
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
postMake:: cleanjunk
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
# build all mandatory prerequisite packages (containing superclasses) for this package
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
prereq:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
%(MAKE_PREREQUISITES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
# build all packages containing referenced classes for this package
17230
Claus Gittinger <cg@exept.de>
parents: 17040
diff changeset
   216
# they are not needed to compile the package (but later, to load it)
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
references:
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
%(MAKE_REFERENCES)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
cleanjunk::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
%(TAB)-rm -f *.s *.s2
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
clean::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
%(TAB)-rm -f *.o *.H
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
clobber:: clean
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
%(TAB)-rm -f *.so *.dll
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
',
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
$(INSTALLBASE)::
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
%(TAB)@test -d $@ || mkdir $@
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
$(INSTALLBASE)/packages:: $(INSTALLBASE)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
%(TAB)@test -d $@ || mkdir $@
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
$(INSTALLBASE)/packages/$(MODULE):: $(INSTALLBASE)/packages
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
%(TAB)@test -d $@ || mkdir $@
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR):: $(INSTALLBASE)/packages/$(MODULE)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
%(TAB)@test -d $@ || mkdir $@
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
"
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
make_dot_spec
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
^
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
'# $','Header','$
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
# DO NOT EDIT
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
# automagically generated from the projectDefinition: ',self name,"' at ',Timestamp now printString,"'.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
# Warning: once you modify this file, do not rerun
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
# This file contains specifications which are common to all platforms.
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
#
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
# Do NOT CHANGE THESE DEFINITIONS
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
# (otherwise, ST/X will have a hard time to find out the packages location from its packageID,
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
#  to find the source code of a class and to find the library for a package)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
MODULE=%(MODULE)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   265
MODULE_DIR=%(MODULE_DIRECTORY)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
PACKAGE=$(MODULE):$(MODULE_DIR)
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
'
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
!FolderForProjectsDefinition class methodsFor:'queries'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
isAbstract
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
    ^ self == FolderForProjectsDefinition
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   274
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   275
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   276
isFolderForProjectsDefinition
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   277
    ^ self isAbstract not
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   279
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
projectType
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
    ^ FolderForSubApplicationsType
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   282
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   283
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
!FolderForProjectsDefinition class methodsFor:'documentation'!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   286
version
19979
23da22784b77 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17230
diff changeset
   287
    ^ '$Header$'
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
!
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
version_CVS
19979
23da22784b77 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17230
diff changeset
   291
    ^ '$Header$'
16681
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
! !
1cdbdec88e4c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293