Make.spec
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 08 Jun 2016 00:32:50 +0100
branchjv
changeset 1442 14aa87cd5d2d
parent 1292 fd409c573ac7
permissions -rw-r--r--
Added SmalltalkStartup class For historical reasons, IDE startup is not actually implemented as a StandaloneStartup class as for Smalltalk/X-based applications. Instead, the Smalltalk>>start reads smalltalk.rc and startup procedure is defined there. In order to reduce a number of .rc script hackery, functionality will be incrementally moved from those scripts to this class and scripts will be changed to call methods in this class. Eventually we will reach the point when scripts will be empty and all functionality will be here. Let's hope.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
# $Header$
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     2
#
1136
6caf80097864 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 1094
diff changeset
     3
# DO NOT EDIT
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1292
diff changeset
     4
# automagically generated from the projectDefinition: stx_projects_smalltalk.
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     5
#
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     6
# Warning: once you modify this file, do not rerun
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     7
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     8
#
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     9
# This file contains specifications which are common to all platforms.
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    10
#
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    11
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    12
# Do NOT CHANGE THESE DEFINITIONS
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
# (otherwise, ST/X will have a hard time to find out the packages location from its packageID,
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
#  to find the source code of a class and to find the library for a package)
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
MODULE=stx
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
MODULE_DIR=projects/smalltalk
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
PACKAGE=$(MODULE):$(MODULE_DIR)
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
# Argument(s) to the stc compiler (stc --usage).
1202
9c34bf0dbbff automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 1188
diff changeset
    21
#  -headerDir=. : create header files locally
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
#                (if removed, they will be created as common
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    23
#  -Pxxx       : defines the package
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    24
#  -Zxxx       : a prefix for variables within the classLib
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    25
#  -Dxxx       : defines passed to to CC for inline C-code
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    26
#  -Ixxx       : include path passed to CC for inline C-code
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    27
#  +optspace   : optimized for space
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    28
#  +optspace2  : optimized more for space
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    29
#  +optspace3  : optimized even more for space
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    30
#  +optinline  : generate inline code for some ST constructs
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    31
#  +inlineNew  : additionally inline new
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    32
#  +inlineMath : additionally inline some floatPnt math stuff
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    33
#
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    34
# ********** OPTIONAL: MODIFY the next line(s) ***
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    35
# STCLOCALOPTIMIZATIONS=+optinline +inlineNew
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
# STCLOCALOPTIMIZATIONS=+optspace3
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
STCLOCALOPTIMIZATIONS=+optspace3
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
# Argument(s) to the stc compiler (stc --usage).
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
#  -warn            : no warnings
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
#  -warnNonStandard : no warnings about ST/X extensions
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
#  -warnEOLComments : no warnings about EOL comment extension
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
#  -warnPrivacy     : no warnings about privateClass extension
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1292
diff changeset
    45
#  -warnUnused      : no warnings about unused variables
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
#
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
# ********** OPTIONAL: MODIFY the next line(s) ***
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
# STCWARNINGS=-warn
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
# STCWARNINGS=-warnNonStandard
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
# STCWARNINGS=-warnEOLComments
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
STCWARNINGS=-warnNonStandard
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
1094
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    53
COMMON_CLASSES= \
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1292
diff changeset
    54
	SmalltalkStartup \
1094
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    55
	stx_projects_smalltalk \
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    56
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    57
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    58
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    59
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
COMMON_OBJS= \
1442
14aa87cd5d2d Added SmalltalkStartup class
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1292
diff changeset
    61
    $(OUTDIR_SLASH)SmalltalkStartup.$(O) \
1292
fd409c573ac7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1234
diff changeset
    62
    $(OUTDIR_SLASH)stx_projects_smalltalk.$(O) \
731
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
bb2b9d624015 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
1094
6845eeac2e18 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 731
diff changeset
    65