Make.proto
author HG Automerge
Thu, 24 Nov 2016 22:00:02 +0000
branchjv
changeset 1481 4a4686007f8f
parent 1440 b822d6dc20e7
parent 1476 9b0d52aa3e11
child 1625 2425cb5d073e
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
     1
#
6
e62874de13a6 *** empty log message ***
claus
parents: 3
diff changeset
     2
# $Header$
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
     3
#
1283
4aeeb109eefa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1282
diff changeset
     4
# ATTENTION: this Make.proto is still maintained manually.
4aeeb109eefa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1282
diff changeset
     5
# i.e. not generated from the ApplicationDefinition
4aeeb109eefa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1282
diff changeset
     6
#
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
     7
# -------------- no need to change anything below ----------
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
     8
#
1288
8c1a158d74d1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1285
diff changeset
     9
# This makefile generatfes the smalltalk executable itself;
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    10
# it can be invoked as:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    11
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    12
#    make
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    13
#       generates a standard smalltalk, and sets up symbolic links
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    14
#       for local execution.
398
bbb3ba0bb33d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 393
diff changeset
    15
#
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    16
#    make smalltalk
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    17
#       generates a standard smalltalk executable only
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    18
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    19
#    make smalltalk ADDITIONAL_OBJS=<list of object files> \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    20
#                   ADDITIONAL_CLASSES=<list of class names>
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    21
#       generates a customized executable, containing additional
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    22
#       class (list of classes) which are to be found in the object
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    23
#       files (list of object files).
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    24
#       Example:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    25
#           make smalltalk ADDITIONAL_OBJS=Foo.o ADDITIONAL_CLASSES=Foo
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    26
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    27
# No longer maintained (make could fail):
556
c2f0be91462a all library definitions are now here - no need for a PACK file
Claus Gittinger <cg@exept.de>
parents: 555
diff changeset
    28
#
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    29
#    make stx_static (ELF based systems only):
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    30
#       generates a smalltalk with statically linked
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    31
#       class libs. (still uses dynamic unix libraries)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    32
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    33
#    make stx_fullstatic (ELF based systems only):
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    34
#       generates a fully statically linked smalltalk
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    35
#       (even system libs are linked in)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    36
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    37
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    38
TOP=../..
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    39
SUBDIRS=
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    40
SUPPRESS_LOCAL_ABBREVS="yes"
6
e62874de13a6 *** empty log message ***
claus
parents: 3
diff changeset
    41
#
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    42
# these are installed when installing their
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    43
# package dir ...
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    44
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    45
SUPPRESS_INSTALL_BITMAPS="yes"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    46
SUPPRESS_INSTALL_RESOURCES="yes"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    47
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    48
INSTALLBIN_DIR=$(INSTALLBASE)/bin
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    49
INSTALLLIB_DIR=$(INSTALLBASE)/lib
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    50
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    51
RCSSOURCES=*.rc patches Make.proto
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    52
LINKSOURCES=*.rc patches Make.proto
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    53
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    54
DELIVERBINARIES=stx
207
94ef15d42899 example mySmalltalk added
Claus Gittinger <cg@exept.de>
parents: 206
diff changeset
    55
94ef15d42899 example mySmalltalk added
Claus Gittinger <cg@exept.de>
parents: 206
diff changeset
    56
#
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    57
# other definitions to use for things compiled here
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    58
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    59
LOCALDEFS=-DDEBUG
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    60
#ST_LDFLAG=
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    61
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    62
# st files found here wont go into the global abbrev list
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    63
SUPPRESS_LOCAL_ABBREVS=1
569
69e97c7b184d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 568
diff changeset
    64
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    65
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    66
# this defines where the show starts
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    67
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    68
STARTUP_CLASS="Smalltalk"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    69
STARTUP_SELECTOR="start"
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
    70
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    71
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    72
# including your own private lib in the make process and executable:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    73
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    74
# for example, if you have a libprivate directory,
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    75
# where libprivate.obj is built, and that one should be included,
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    76
# add lines as below to your configuration/.../defines file:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    77
#    PRIVATEOBJ=$(TOP)/libprivate/libprivate.obj
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    78
#    PRIVATE_SO=$(TOP)/libprivate/libprivate.so
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    79
#    PRIVATELIBS=libprivate
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
    80
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    81
# This defines which library packages are linked in.
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    82
# See COMMON/defines for what those XXX_LIB etc. are
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    83
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    84
# MINI_LIB        = libbasic, libcomp $(PRIVATELIBS)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    85
# FUNDAMENTAL_LIB = above PLUS libview, libwidg
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    86
# DEVELOP_LIB     = above PLUS libtool refactoring
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    87
# STANDARD_LIB    = above PLUS libwidg2, libdbase
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    88
# EXTENDED_LIB    = above PLUS libwidg3
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
    89
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    90
CLASSLIBDIRS    =   $(STANDARD_DIR) $(PRIVATE_CLASSLIBDIRS) $(ARCH_CLASSLIBDIRS)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    91
LIBOBJS         =   $(STANDARD_LIB) $(PRIVATE_OBJS)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
    92
LINK_LIBOBJS    =   $(LINK_STANDARD_LIB) $(PRIVATE_OBJS)
1285
09024870e513 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1284
diff changeset
    93
STATIC_LIBOBJS  =   $(STATIC_STANDARD_LIB) $(PRIVATE_OBJS)
1284
78f7a1cdfeb1 oops - checked in mac version by accident
Claus Gittinger <cg@exept.de>
parents: 1283
diff changeset
    94
LIBLIST         =   $(STANDARD_LIST) $(PRIVATE_LIBS)
8
d82829c0d867 *** empty log message ***
claus
parents: 7
diff changeset
    95
1078
e55c0b1c7670 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 979
diff changeset
    96
# WORKSTAT1       =   XWorkstation
e55c0b1c7670 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 979
diff changeset
    97
# WORKSTAT2       =   GLXWorkstation
979
a0be1710134d Bck to Revision 1.100: XWOrkstation and GLXWorkstation went out of libview again.
Stefan Vogel <sv@exept.de>
parents: 796
diff changeset
    98
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
    99
# now in libview
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   100
# EXTRA_UI_CLASSES=   $(WORKSTAT1) $(WORKSTAT2)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   101
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   102
#EXTRA_UI_OBJ=\
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   103
#        $(OPTIONAL_XWORKSTATION_OBJ)   \
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   104
#        $(OPTIONAL_GLXWORKSTATION_OBJ)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   105
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   106
#STATIC_EXTRA_UI_OBJ=\
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   107
#        $(STATIC_OPTIONAL_XWORKSTATION_OBJ) \
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   108
#        $(STATIC_OPTIONAL_GLXWORKSTATION_OBJ)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   109
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   110
#EXTRA_LINK_UI_OBJ=\
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   111
#        $(OPTIONAL_LINK_XWORKSTATION_OBJ)   \
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   112
#        $(OPTIONAL_LINK_GLXWORKSTATION_OBJ)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   113
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   114
OPTIONAL_LIBGL_TARGET   =   $(LIB_GL_TARGET)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   115
OPTIONAL_GL_LIB         =   $(LIB_GL)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   116
OPTIONAL_LINK_GL_LIB    =   $(LINK_LIB_GL)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   117
1282
8c748cc60b6b static link fixes
Claus Gittinger <cg@exept.de>
parents: 1108
diff changeset
   118
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   119
# ---------------------- end additional stuff --------------------
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   120
INCLUDE_TOP=$(TOP)/..
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   121
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/helpers -I$(INCLUDE_TOP)/stx/libwidg3 -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libjavascript -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/refactoring -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libhtml -I$(INCLUDE_TOP)/stx/libtool -I$(INCLUDE_TOP)/stx/libtool2 -I$(INCLUDE_TOP)/stx/libcomp -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/changes -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/browser -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/lint -I$(INCLUDE_TOP)/stx/libboss -I$(INCLUDE_TOP)/stx/libwidg2 -I$(INCLUDE_TOP)/stx/libbasic3 -I$(INCLUDE_TOP)/stx/libui
8
d82829c0d867 *** empty log message ***
claus
parents: 7
diff changeset
   122
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   123
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   124
# default target: create the TARGET (usually smalltalk)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   125
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   126
all::   $(TARGET)$(TARGET_RULE_EXTENSION) symlinks
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   127
	@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   128
	    mv stx stx_dynamic; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   129
	    $(MAKE) stx_fullstatic; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   130
	fi
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   131
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   132
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   133
# same, force recreation of link-directories
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   134
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   135
allNew: $(TARGET)$(TARGET_RULE_EXTENSION) misc
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   136
	@-if [ "$(ALSO_MAKE_STATIC_TARGET)" = "1" ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   137
	    mv stx stx_dynamic; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   138
	    $(MAKE) stx_fullstatic; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   139
	fi
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   140
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   141
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   142
# create symbolic links to sources, resources etc.
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   143
# normally (on an end-user system) these should go into usr/local/lib/smalltalk
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   144
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   145
symlinks:   includeLink misc
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   146
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   147
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   148
# the standard smalltalk executable:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   149
# basic classes + view & widgets + tools + persistency
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   150
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   151
smalltalk:: $(TARGET)$(TARGET_RULE_EXTENSION)
130
ad3285492ec5 aix-now supports shared libs
Claus Gittinger <cg@exept.de>
parents: 124
diff changeset
   152
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   153
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   154
# a specialized mySmalltalk with additional class(es) and additional
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   155
# C-library builtIn
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   156
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   157
MY_ADDITIONAL_OBJECTS=Foo.$(O)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   158
MY_ADDITIONAL_CLASSES=Foo
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   159
MY_ADDITIONAL_LIBS=$(TOP)/../myClasses/libFoo.a
130
ad3285492ec5 aix-now supports shared libs
Claus Gittinger <cg@exept.de>
parents: 124
diff changeset
   160
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   161
mySmalltalk: $(COMMON_OBJS) $(MY_ADDITIONAL_OBJECTS)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   162
	@echo "making special smalltalk ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   163
	@$(MAKE) linkTarget \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   164
		LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   165
		LINK_OBJS="$(LINK_OBJS)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   166
		LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   167
		LINK_LIBRUN="$(LINK_LIBRUN)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   168
		LIBRUN="$(LIBRUN)" \
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   169
		ADDITIONAL_OBJS="$(COMMON_OBJS) $(MY_ADDITIONAL_OBJECTS)" \
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   170
		ADDITIONAL_CLASSES="$(COMMON_CLASSES) $(MY_ADDITIONAL_CLASSES)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   171
		ADDITIONAL_LIBS=$(MY_ADDITIONAL_LIBS) \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   172
		LIBLIST="$(LIBLIST)"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   173
	@$(MAKE) removeLinkLibs
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   174
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   175
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   176
# by default, the TARGET rule calls for one of the
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   177
# rules below. Which one is controlled by the
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   178
# architecture-specific definition file.
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   179
#
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   180
$(TARGET)_shared: $(COMMON_OBJS)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   181
	@echo "making shared library linked smalltalk ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   182
	echo EXTRA_LINK_UI_OBJ = $(EXTRA_LINK_UI_OBJ)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   183
	$(MAKE) linkTarget \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   184
		LIBOBJS="$(LIBOBJS) $(EXTRA_UI_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   185
		LINK_LIBOBJS="$(LINK_LIBOBJS) $(EXTRA_LINK_UI_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   186
		LINK_LIBRUN=$(LINK_LIBRUN) \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   187
		LIBRUN=$(LIBRUN) \
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   188
		ADDITIONAL_OBJS="$(COMMON_OBJS) $(ADDITIONAL_OBJS)" \
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   189
		ADDITIONAL_CLASSES="$(COMMON_CLASSES) $(ADDITIONAL_CLASSES)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   190
		LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)"
132
ec7eba4010f1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 130
diff changeset
   191
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   192
$(TARGET)_static: $(COMMON_OBJS) $(STATIC_LIBRUN)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   193
	@echo "making statically linked smalltalk ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   194
	@$(MAKE) linkTarget \
1476
9b0d52aa3e11 fix for stx_static rule
Claus Gittinger <cg@exept.de>
parents: 1475
diff changeset
   195
		rebaseLibsRule=$(rebaseLibsRule_static) \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   196
		LIBOBJS="" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   197
		LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \
1282
8c748cc60b6b static link fixes
Claus Gittinger <cg@exept.de>
parents: 1108
diff changeset
   198
		LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   199
		LINK_LIBRUN="$(STATIC_LIBRUN)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   200
		LIBRUN="$(STATIC_LIBRUN)" \
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   201
		ADDITIONAL_OBJS="$(COMMON_OBJS) $(STATIC_ADDITIONAL_OBJS)" \
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   202
		ADDITIONAL_CLASSES="$(COMMON_CLASSES) $(STATIC_ADDITIONAL_CLASSES)" \
1282
8c748cc60b6b static link fixes
Claus Gittinger <cg@exept.de>
parents: 1108
diff changeset
   203
		EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   204
		LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   205
	@$(MAKE) removeLinkLibs
25
claus
parents: 24
diff changeset
   206
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   207
$(TARGET)_fullstatic: $(COMMON_OBJS) $(STATIC_LIBRUN)
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   208
	if [ -f $(LIBRUNDIR)/librun.a ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   209
	    echo "librun.a already made."; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   210
	else \
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   211
	    cd $(LIBRUNDIR) && $(MAKE) librun.a; \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   212
	fi
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   213
	@echo "making full statically linked smalltalk ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   214
	@$(MAKE) linkTarget \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   215
		LIBOBJS="" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   216
		LINK_OBJS="$(STATIC_OBJS) $(STATIC_EXTRA_UI_OBJ)" \
1282
8c748cc60b6b static link fixes
Claus Gittinger <cg@exept.de>
parents: 1108
diff changeset
   217
		LINK_LIBOBJS="$(STATIC_LIBOBJS) $(STATIC_EXTRA_UI_OBJ)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   218
		LINK_LIBRUN="$(STATIC_LIBRUN)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   219
		LIBRUN="$(STATIC_LIBRUN)" \
1437
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   220
		ADDITIONAL_OBJS="$(COMMON_OBJS) $(STATIC_ADDITIONAL_OBJS)" \
a208060f13b0 Fixed UNIX makefiles to include classes in stx:projects/smalltalk package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1397
diff changeset
   221
		ADDITIONAL_CLASSES="$(COMMON_CLASSES) $(STATIC_ADDITIONAL_CLASSES)" \
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   222
		LIBLIST="$(LIBLIST) $(EXTRA_UI_CLASSES)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   223
		MATHLIB="$(STATIC_MATHLIB)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   224
		EXTRA_LIBS="$(STATIC_EXTRA_LIBS)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   225
		SYSLIBS="$(STATIC_SYSLIBS)"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   226
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   227
	@$(MAKE) removeLinkLibs
178
7ab96c8246bd added stx_static & stx_fullstatic support on shared lib systems (Linux-ELF)
Claus Gittinger <cg@exept.de>
parents: 176
diff changeset
   228
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   229
AIX_SHARED_LIBOBJS= \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   230
	$(LIBBASICDIR)/libstx_libbasic.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   231
	$(LIBCOMPDIR)/libstx_libcomp.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   232
	$(LIBVIEWDIR)/libstx_libview.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   233
	$(LIBVIEW2DIR)/libstx_libview2.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   234
	$(LIBWIDGDIR)/libstx_libwidg.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   235
	$(LIBTOOLDIR)/libstx_libtool.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   236
	$(LIBBASIC2DIR)/libstx_libbasic2.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   237
	$(LIBBASIC3DIR)/libstx_libbasic3.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   238
	$(LIBHTMLDIR)/libstx_libhtml.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   239
	$(LIBWIDG2DIR)/libstx_libwidg2.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   240
	$(PERSDIR)/libstx_libdbase.so
16
db5d473df9f0 *** empty log message ***
claus
parents: 15
diff changeset
   241
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   242
aix:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   243
	    @echo "making shared library linked smalltalk for aix ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   244
	    @$(MAKE) linkTarget \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   245
		LIBOBJS="$(AIX_SHARED_LIBOBJS)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   246
		EXTRA_OBJ="$(EXTRA_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   247
		EXTRA_LINK_OBJ="$(EXTRA_LINK_OBJ)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   248
		LIBLIST="$(LIBLIST)" \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   249
		LINK_LIBRUN=$(LINK_LIBDIR)librun.so \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   250
		LIBRUN=$(LIBRUNDIR)/librun.so
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   251
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   252
aix_librun_only:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   253
	    @echo "making partial shared library linked smalltalk ..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   254
	    @$(MAKE) linkTarget LIBRUN=$(LIBRUNDIR)/librun.so
362
87f7b4670ae8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   255
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   256
forceStatic:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   257
	    (cd $(LIBBASICDIR) ; $(MAKE) libbasicInit.o)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   258
	    -rm -f $(LIBBASICDIR)/libbasic.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   259
	    $(MAKE) linkTarget LIBRUN="$(LIBRUNDIR)/*.o" LIBBASIC="$(LIBBASICDIR)/*.o"
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   260
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   261
$(LIBVIEWDIR)/XWorkstation.o:
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   262
	cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.o
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   263
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   264
$(LIBVIEWDIR)/XWorkstation.so:
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   265
	cd $(LIBVIEWDIR) && $(MAKE) XWorkstation.so
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   266
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   267
$(LIBVIEWDIR)/GLXWorkstation.o:
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   268
	cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.o
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   269
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   270
$(LIBVIEWDIR)/GLXWorkstation.so:
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   271
	cd $(LIBVIEWDIR) && $(MAKE) GLXWorkstation.so
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   272
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   273
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   274
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   275
# dont want these ttt-tempfile abbrevs to be included ...
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   276
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   277
abbrev.stc::
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   278
	    @-rm -f ttt*.*
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   279
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   280
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   281
# currently, abbrev,stc must be made cross
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   282
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   283
ntAbbrev.stc: include/abbrev.stc
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   284
	cp include/abbrev.stc ntAbbrev.stc
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   285
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   286
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   287
# dont want local abbrevs to be included ...
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   288
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   289
collectAbbrev::
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   290
	    @-rm -f abbrev.stc
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   291
	    @-if [ "$(SUPPRESS_ABBREVS)" = "" ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   292
	      if [ -d include ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   293
		if [ ! -f include/abbrev.stc ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   294
		    (cd include; $(LNS) ../$(INCLUDE)/abbrev.stc . );   \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   295
		fi; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   296
	      fi;   \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   297
	    fi
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   298
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   299
collectAutoload::
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   300
	    @-rm -f autoloadList.stc
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   301
	    @-if [ -d include ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   302
		if [ ! -f include/autoloadList.stc ]; then \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   303
		    (cd include; $(LNS) ../$(INCLUDE)/autoloadList.stc . ); \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   304
		fi;                                                             \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   305
	    fi
15
6cb30063ea41 *** empty log message ***
claus
parents: 13
diff changeset
   306
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   307
classes::
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   308
	    test -d classes || mkdir classes
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   309
	    -for i in source/*.st; do \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   310
		stcomp -i stcomp.img $$i; \
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   311
	    done
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   312
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   313
include:    includeLink
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   314
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   315
misc:       examples
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   316
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   317
examples:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   318
	    test -d examples || mkdir examples examples/3D
1108
57820a0912e3 Use && to chain commands
Stefan Vogel <sv@exept.de>
parents: 1078
diff changeset
   319
	    -cd examples/3D && $(LNS) ../../$(TOP)/clients/GLdemos/*.data . 2>/dev/null
8
d82829c0d867 *** empty log message ***
claus
parents: 7
diff changeset
   320
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   321
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   322
# clean out intermediate chunk
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   323
#
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
   324
cleanjunk::
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   325
	    @-rm -f a.out SymbolTable ttt main.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   326
	    @-rm -f classList.c fclassList.c nxclassList.c basicclassList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   327
	    @-rm -f betaclassList.c miniList.c tinyList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   328
	    @-rm -f modulList.stc modulList.c modulList.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   329
	    @-rm -f pers* pers2 data data2 data.boss tetris.scores
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
   330
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   331
cleanlinks:
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   332
	    @-rm -rf source bitmaps binaries resources examples include
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   333
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   334
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   335
# clean out all that is not needed to run smalltalk
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   336
#
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
   337
clean::
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   338
	    @-rm -f a.out SymbolTable ttt main.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   339
	    @-rm -f modulList.stc modulList.c modulList.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   340
	    @-rm -f classList.stc classList.c classList.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   341
	    @-rm -f fclassList.stc fclassList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   342
	    @-rm -f nxclassList.stc nxclassList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   343
	    @-rm -f basicclassList.stc basicclassList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   344
	    @-rm -f betaclassList.stc betaclassList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   345
	    @-rm -f miniList.stc miniList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   346
	    @-rm -f tinyList.stc tinyList.c
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   347
	    @-rm -f pers pers2 data data2 data.boss tetris.scores
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   348
	    @-rm -f st.img st2.img st.img.sav errorOutput
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   349
	    @-rm -f .stx*.mem
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   350
	    @-rm -rf modules stxtmp*
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   351
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   352
#
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   353
# clean out all that can be regenerated
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   354
#
788
51c7d65adf36 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 717
diff changeset
   355
clobber::
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   356
	    @$(MAKE) removeLinkLibs
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   357
	    @-rm -f modulList.stc modulList.c modulList.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   358
	    @-rm -rf resources source bitmaps include examples lib
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   359
	    @-rm -f stx st.img st.img.sav st.sav
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   360
	    @-rm -f main.o
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   361
	    @-rm -rf modules
1368
d2cade96cabd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1360
diff changeset
   362
	    @-rm -rf package
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   363
	    @-rm -rf stxtmp_*
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
   364
1312
6b35651ab77e Change dependency for main.o from makefile to Make.proto
Stefan Vogel <sv@exept.de>
parents: 1288
diff changeset
   365
main.o::    $(INCLUDE)/stc.h $(INCLUDE)/stcIntern.h Make.proto
0
0cb137a77319 Initial revision
claus
parents:
diff changeset
   366
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   367
installProgsIf:: $(INSTALLBIN_DIR)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   368
	@-echo "installing smalltalk..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   369
	$(INSTALL_SCRIPT_CMD) smalltalk $(INSTALLBIN_DIR)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   370
	@-echo "installing stx..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   371
	$(INSTALL_BIN_CMD) stx $(INSTALLBIN_DIR)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   372
	-strip $(INSTALLBIN_DIR)/stx
383
3dfae183631c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 362
diff changeset
   373
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   374
installAux:: installRCScripts
383
3dfae183631c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 362
diff changeset
   375
796
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   376
installRCScripts::
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   377
	@-echo "installing rc scripts..."
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   378
	$(INSTALL_AUX_CMD) *.rc $(INSTALLLIB_DIR)
001a6508676a Back to V1.101
Stefan Vogel <sv@exept.de>
parents: 788
diff changeset
   379
	$(INSTALL_AUX_CMD) *.xpm $(INSTALLLIB_DIR)
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   380
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   381
###################################################################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   382
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   383
# packaging for deployment
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   384
# DEPLOY_PACKAGE is (currently) one of "dmg", "tgz"
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   385
# and coming from the arch-specific configuration file
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   386
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   387
deploy:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   388
	$(MAKE) deploy_$(DEPLOY_PACKAGE)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   389
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   390
################### begin mac specific #################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   391
# creates /tmp/stx.dmg
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   392
#
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   393
DMG_TMP=/tmp/stx_dmg
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   394
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   395
deploy_dmg:
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   396
	$(MAKE) newDMG
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   397
	$(MAKE) hdUtil
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   398
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   399
newDMG:
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   400
	rm -rf $(DMG_TMP)
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   401
	$(MAKE) $(DMG_TMP)
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   402
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   403
hdUtil:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   404
	-rm -f stx.dmg /tmp/stx.dmg
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   405
	(cd /tmp ; hdiutil create -fs HFSX -layout SPUD "stx.dmg" -srcfolder "$(DMG_TMP)" -format UDRW -volname "stx" -quiet)
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   406
	@-sync
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   407
	@-sleep 2
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   408
	$(MAKE) dmg_mount_script
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   409
	hdiutil convert "/tmp/stx.dmg" -format UDZO -imagekey zlib-level=9 -o "/tmp/stx_cmpr.dmg"
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   410
	@-rm /tmp/stx.dmg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   411
	@-mv /tmp/stx_cmpr.dmg /tmp/stx.dmg
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   412
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   413
dmg:    $(DMG_TMP)
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   414
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   415
$(DMG_TMP):
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   416
	-mkdir "$(DMG_TMP)"
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   417
	(pushd "$(DMG_TMP)"; ln -s /Applications ./Applications; popd)
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   418
	cp "../../README" "$(DMG_TMP)"/README.txt
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   419
	cp "../../README.macosx" "$(DMG_TMP)"/README_macosx.txt
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   420
	sed "s/..\/icons/.background/" < "../../doc/online/english/LICENCE_FREE_STX.html" > "$(DMG_TMP)"/LICENCE_STX.html
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   421
	-mkdir "$(DMG_TMP)"/.background
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   422
	cp "../../doc/online/icons/exeptLogo.gif" "$(DMG_TMP)"/.background/exeptLogo.gif
1395
a6cff0a38441 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1394
diff changeset
   423
	cp "banner8_lightMsg.png" "$(DMG_TMP)"/.background/banner.png
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   424
	cp "../../COPYRIGHT" "$(DMG_TMP)"/COPYRIGHT.txt
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   425
	-mkdir "$(DMG_TMP)"/stx.app
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   426
	-mkdir "$(DMG_TMP)"/stx.app/Contents
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   427
	cp deploySupport/osx_Info.plist "$(DMG_TMP)"/stx.app/Contents/Info.plist
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   428
	-mkdir "$(DMG_TMP)"/stx.app/Contents/MacOS
1360
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   429
	$(MAKE) dmgSTXPackages
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   430
	$(MAKE) dmgBINContents
1397
84f4931efb5d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1396
diff changeset
   431
	$(MAKE) patchLicenceInResources
84f4931efb5d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1396
diff changeset
   432
84f4931efb5d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1396
diff changeset
   433
patchLicenceInResources:
84f4931efb5d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1396
diff changeset
   434
	LC_ALL=C sed "s/LICENCE_STX/LICENCE_FREE_STX/" < "../../libview/resources/resources.rs" > "$(DMG_TMP)"/stx.app/Packages/stx/libview/resources/resources.rs
84f4931efb5d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1396
diff changeset
   435
	LC_ALL=C sed "s/LICENCE_STX/LICENCE_FREE_STX/" < "../../libview/resources/de.rs" > "$(DMG_TMP)"/stx.app/Packages/stx/libview/resources/de.rs
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   436
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   437
# tell the Finder to resize the window, set the background,
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   438
#  change the icon size, place the icons in the right position, etc.
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   439
dmg_mount_script:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   440
	@-hdiutil detach /Volumes/stx
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   441
	@-hdiutil detach /Volumes/stx
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   442
	@-sync
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   443
	hdiutil attach -readwrite -noverify /tmp/stx.dmg
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   444
	@-sync
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   445
	@-sleep 3
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   446
	@-(cat ../../rules/macosx_osascript.script | osascript)
1396
a575efc2972a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1395
diff changeset
   447
	hdiutil detach /Volumes/stx
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   448
	@-sync
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   449
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   450
#
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   451
# the actual executable and its binaries
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   452
#
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   453
dmgBINContents:
1357
2fad3a905583 deploy rule
Claus Gittinger <cg@exept.de>
parents: 1356
diff changeset
   454
	(cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stx .)
1360
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   455
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.so .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   456
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stc .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   457
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.stx .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   458
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/*.rc .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   459
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/patches .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   460
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/stxPatches .)
a0fa8b75d11f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1357
diff changeset
   461
#        (cd "$(DMG_TMP)"/stx.app/Contents/MacOS ; ln -s ../../Packages/stx/projects/smalltalk/rc.d .)
1357
2fad3a905583 deploy rule
Claus Gittinger <cg@exept.de>
parents: 1356
diff changeset
   462
#        -cp -r resources "$(DMG_TMP)"/stx.app/Contents/MacOS/.
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   463
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   464
#
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   465
# sources and all other package stuff
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   466
#
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   467
dmgSTXPackages: "$(DMG_TMP)/stx.app/Packages"
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   468
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   469
"$(DMG_TMP)/stx.app/Packages":
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   470
	@-mkdir "$(DMG_TMP)"
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   471
	@-mkdir "$(DMG_TMP)/stx.app"
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   472
	@-mkdir "$(DMG_TMP)/stx.app/Packages"
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   473
	@-rm -f stx.dmg
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   474
	-cp -r $(TOP)/../stx "$(DMG_TMP)/stx.app/Packages/."
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   475
	$(MAKE) clean_dmg
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   476
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   477
clean_dmg:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   478
	$(MAKE) cleanTemporaryDeploymentHierarchy TMP_TOP="$(DMG_TMP)/stx.app/Packages"
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   479
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   480
# (ongoing work)
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   481
# install the binaries and required headers into a user-private framework
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   482
#
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   483
VSN=`cat $(TOP)/RELEASE`
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   484
FRAMEWORK_DST=~/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   485
OSX_LIBS=$(STANDARD_RELDIR)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   486
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   487
# see http://bomutils.dyndns.org/tutorial.html
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   488
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   489
PKG_TMP=/tmp/stx_pkg
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   490
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   491
tmp_pkg: linkLibs
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   492
	@-rm -rf $(PKG_TMP)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   493
	@-mkdir $(PKG_TMP)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   494
	# @-mkdir $(PKG_TMP)/flat
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   495
	# @-mkdir $(PKG_TMP)/flat/base.pkg
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   496
	# @-mkdir $(PKG_TMP)/flat/Resources
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   497
	# @-mkdir $(PKG_TMP)/flat/Resources/en.lproj
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   498
	# @-cp banner8.png $(PKG_TMP)/flat/Resources/en.lproj/background.png
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   499
	# @-cp $(TOP)/README $(PKG_TMP)/flat/Resources/en.lproj/
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   500
	# @-cp $(TOP)/README.macosx $(PKG_TMP)/flat/Resources/en.lproj/
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   501
	# @-cp $(TOP)/COPYRIGHT $(PKG_TMP)/flat/Resources/en.lproj/
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   502
	@-mkdir $(PKG_TMP)/root
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   503
	@-mkdir $(PKG_TMP)/root/Library
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   504
	@-mkdir $(PKG_TMP)/root/Library/Frameworks
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   505
	@-mkdir $(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   506
	$(MAKE) osx_install FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   507
	pkgbuild --identifier stx.base --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Runtime_$(VSN).pkg
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   508
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   509
	$(MAKE) osx_installHeaders FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   510
	pkgbuild --identifier stx.base.headers --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Headers_$(VSN).pkg
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   511
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   512
	$(MAKE) osx_installSource FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   513
	pkgbuild --identifier stx.base.source --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Source_$(VSN).pkg
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   514
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   515
	$(MAKE) osx_installDocumentation FRAMEWORK_DST=$(PKG_TMP)/root/Library/Frameworks/SmalltalkX.framework
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   516
	pkgbuild --identifier stx.base.documentation --version $(VSN) --root $(PKG_TMP)/root SmalltalkX_Documentation_$(VSN).pkg
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   517
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   518
	productbuild --package SmalltalkX_Runtime_$(VSN).pkg \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   519
		     --package SmalltalkX_Headers_$(VSN).pkg \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   520
		     --package SmalltalkX_Source_$(VSN).pkg \
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   521
		     --package SmalltalkX_Documentation_$(VSN).pkg \
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   522
		     SmalltalkX$(VSN).pkg
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   523
	# see https://developer.apple.com/library/content/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   524
	rm -rf SmalltalkX$(VSN)_pkg
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   525
	pkgutil --expand SmalltalkX$(VSN).pkg SmalltalkX$(VSN)_pkg
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   526
	cp SmalltalkX$(VSN)_pkg/Distribution Distribution.extracted
1464
5c753b247f19 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1460
diff changeset
   527
	cp deploySupport/osx_Distribution SmalltalkX$(VSN)_pkg/Distribution
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   528
	mkdir SmalltalkX$(VSN)_pkg/Resources
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   529
	mkdir SmalltalkX$(VSN)_pkg/Resources/en.lproj
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   530
	mkdir SmalltalkX$(VSN)_pkg/Resources/de.lproj
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   531
	# mkdir SmalltalkX$(VSN)_pkg/Resources/icons
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   532
	# (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s en.lproj english)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   533
	# (cd SmalltalkX$(VSN)_pkg/Resources ; ln -s de.lproj german)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   534
	cp banner8_light.png SmalltalkX$(VSN)_pkg/Resources/en.lproj/background.png
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   535
	cp banner8_light.png SmalltalkX$(VSN)_pkg/Resources/de.lproj/background.png
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   536
	# cp $(TOP)/doc/online/icons/exeptLogo.gif SmalltalkX$(VSN)_pkg/Resources/icons/
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   537
	cp $(TOP)/doc/online/english/LICENCE_FREE_STX.html SmalltalkX$(VSN)_pkg/Resources/en.lproj/LICENCE_FREE_STX.html
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   538
	cp $(TOP)/doc/online/english/LICENCE_STX.html SmalltalkX$(VSN)_pkg/Resources/en.lproj/LICENCE_STX.html
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   539
	cp $(TOP)/doc/online/german/LICENCE_FREE_STX.html SmalltalkX$(VSN)_pkg/Resources/de.lproj/LICENCE_FREE_STX.html
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   540
	cp $(TOP)/doc/online/german/LICENCE_STX.html SmalltalkX$(VSN)_pkg/Resources/de.lproj/LICENCE_STX.html
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   541
	rm SmalltalkX$(VSN).pkg
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   542
	pkgutil --flatten SmalltalkX$(VSN)_pkg SmalltalkX$(VSN).pkg
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   543
	@echo "package generated as SmalltalkX$(VSN).pkg"
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   544
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   545
#        echo "  <?xml version=\"1.0\" encoding=\"utf-8\"?>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   546
#        echo "  <installer-gui-script minSpecVersion=\"1\">" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   547
#        echo "      <title>Smalltalk/X 7.1.0</title>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   548
#        echo "      <options customize=\"never\" allow-external-scripts=\"no\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   549
#        echo "      <domains enable_anywhere=\"true\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   550
#        echo "      <installation-check script=\"install_check();\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   551
#        echo "      <script><![CDATA[" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   552
#        echo "  function install_check() {" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   553
#        echo "    if(!(system.compareVersions(system.version.ProductVersion,'10.5') >= 0)) {" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   554
#        echo "      my.result.title = 'Failure';" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   555
#        echo "      my.result.message = 'You need at least Mac OS X 10.5 to install stx.';" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   556
#        echo "      my.result.type = 'Fatal';" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   557
#        echo "      return false;" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   558
#        echo "    }" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   559
#        echo "    return true;" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   560
#        echo "  }" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   561
#        echo "      ]]></script>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   562
#        echo "      <background file=\"background.png\" mime-type=\"image/png\" alignment=\"bottomleft\" scaling=\"none\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   563
#        echo "      <license file=\"COPYRIGHT\" mime-type=\"text/plain\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   564
#        echo "      <welcome file=\"README\" mime-type=\"text/plain\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   565
#        echo "      <choices-outline>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   566
#        echo "          <line choice=\"choice1\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   567
#        echo "      </choices-outline>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   568
#        echo "      <choice id=\"choice1\" title=\"base\">" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   569
#        echo "          <pkg-ref id=\"com.exept.stx.base.pkg\"/>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   570
#        echo "      </choice>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   571
#        echo "      <pkg-ref id=\"com.exept.stx.base.pkg\" installKBytes=\""`cat $(PKG_TMP)/diskUsage`"\" version=\"7.1.0\" auth=\"Root\">#base.pkg</pkg-ref>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   572
#        echo "  </installer-script>" >> $(PKG_TMP)/flat/Distribution
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   573
#        rm $(PKG_TMP)/diskUsage $(PKG_TMP)/numFiles
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   574
#        ( cd $(PKG_TMP)/flat && xar --compression none -cf "/tmp/stx7.1.0Installer.pkg" * )
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   575
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   576
#
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   577
# installs stx base system in user's local Library folder
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   578
#
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   579
osx_localInstall:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   580
	$(MAKE) osx_install FRAMEWORK_DST=~/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   581
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   582
#
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   583
# installs stx base system in the system's Library folder
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   584
#
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   585
osx_systemInstall:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   586
	$(MAKE) osx_install FRAMEWORK_DST=/Library/Frameworks/SmalltalkX.framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   587
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   588
#
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   589
# installs stx base system in $(FRAMEWORK_DST) folder
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   590
#
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   591
osx_install:
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   592
	$(MAKE) osx_installFramework
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   593
	@echo "Installing Version "$(VSN)" in "$(FRAMEWORK_DST)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   594
	@-if [ ! -d $(FRAMEWORK_DST) ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   595
	    mkdir $(FRAMEWORK_DST); \
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   596
	fi
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   597
	@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   598
	    mkdir $(FRAMEWORK_DST)/Versions; \
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   599
	fi
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   600
	cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   601
	@-rm $(FRAMEWORK_DST)/Versions/Current
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   602
	@-echo $(VSN) > /tmp/stx_vsn
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   603
	@(cd $(FRAMEWORK_DST)/Versions; ln -s `cat /tmp/stx_vsn` Current)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   604
	@-rm /tmp/stx_vsn
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   605
	@-rm -f $(FRAMEWORK_DST)/Headers
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   606
	@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Headers Headers)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   607
	@-rm -f $(FRAMEWORK_DST)/Sources
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   608
	@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Sources Sources)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   609
	@-rm -f $(FRAMEWORK_DST)/Documentation
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   610
	@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Documentation Documentation)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   611
	@-rm -f $(FRAMEWORK_DST)/Libraries
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   612
	@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Libraries Libraries)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   613
	@-rm -f $(FRAMEWORK_DST)/Resources
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   614
	@(cd $(FRAMEWORK_DST); ln -s Versions/Current/Resources Resources)
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   615
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   616
osx_installFramework:
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   617
	@-rm -rf tmp_framework
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   618
	@-mkdir tmp_framework
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   619
	@-mkdir tmp_framework/Versions
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   620
	@-mkdir tmp_framework/Versions/$(VSN)
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   621
	@-mkdir tmp_framework/Versions/$(VSN)/Resources
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   622
	@-mkdir tmp_framework/Versions/$(VSN)/Libraries
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   623
	-cp *.so tmp_framework/Versions/$(VSN)/Libraries
1458
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   624
	-for i in $(OSX_LIBS); do \
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   625
	    if [ -d ../../$$i/resources ]; then \
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   626
		mkdir tmp_framework/Versions/$(VSN)/Resources/$$i; \
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   627
		cp ../../$$i/resources/*.rs tmp_framework/Versions/$(VSN)/Resources/$$i/; \
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   628
	    fi;                                                             \
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   629
	done
c80419abdbe8 osx install
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
   630
1459
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   631
osx_installHeaders:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   632
	$(MAKE) osx_installFrameworkHeaders
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   633
	@echo "Installing Headers for Version "$(VSN)" in "$(FRAMEWORK_DST)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   634
	@-if [ ! -d $(FRAMEWORK_DST) ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   635
	    mkdir $(FRAMEWORK_DST); \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   636
	fi
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   637
	@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   638
	    mkdir $(FRAMEWORK_DST)/Versions; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   639
	fi
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   640
	cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   641
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   642
osx_installFrameworkHeaders:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   643
	@-rm -rf tmp_framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   644
	@-mkdir tmp_framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   645
	@-mkdir tmp_framework/Versions
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   646
	@-mkdir tmp_framework/Versions/$(VSN)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   647
	@-mkdir tmp_framework/Versions/$(VSN)/Headers
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   648
	-for i in $(OSX_LIBS); do \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   649
	    mkdir tmp_framework/Versions/$(VSN)/Headers/$$i; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   650
	    cp ../../$$i/*.H tmp_framework/Versions/$(VSN)/Headers/$$i/; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   651
	done
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   652
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   653
osx_installSource:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   654
	$(MAKE) osx_installFrameworkSource
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   655
	@echo "Installing Sources for Version "$(VSN)" in "$(FRAMEWORK_DST)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   656
	@-if [ ! -d $(FRAMEWORK_DST) ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   657
	    mkdir $(FRAMEWORK_DST); \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   658
	fi
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   659
	@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   660
	    mkdir $(FRAMEWORK_DST)/Versions; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   661
	fi
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   662
	cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   663
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   664
osx_installFrameworkSource:
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   665
	@-rm -rf tmp_framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   666
	@-mkdir tmp_framework
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   667
	@-mkdir tmp_framework/Versions
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   668
	@-mkdir tmp_framework/Versions/$(VSN)
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   669
	@-mkdir tmp_framework/Versions/$(VSN)/Sources
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   670
	-for i in $(OSX_LIBS); do \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   671
	    mkdir tmp_framework/Versions/$(VSN)/Sources/$$i; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   672
	    cp ../../$$i/*.st tmp_framework/Versions/$(VSN)/Sources/$$i/; \
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   673
	done
4c37a0666e94 osx packaging
Claus Gittinger <cg@exept.de>
parents: 1458
diff changeset
   674
1460
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   675
osx_installDocumentation:
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   676
	$(MAKE) osx_installFrameworkDocumentation
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   677
	@echo "Installing Documentation for Version "$(VSN)" in "$(FRAMEWORK_DST)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   678
	@-if [ ! -d $(FRAMEWORK_DST) ]; then \
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   679
	    mkdir $(FRAMEWORK_DST); \
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   680
	fi
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   681
	@-if [ ! -d $(FRAMEWORK_DST)/Versions ]; then \
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   682
	    mkdir $(FRAMEWORK_DST)/Versions; \
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   683
	fi
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   684
	cp -R tmp_framework/Versions/$(VSN) $(FRAMEWORK_DST)/Versions/
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   685
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   686
osx_installFrameworkDocumentation:
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   687
	@-rm -rf tmp_framework
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   688
	@-mkdir tmp_framework
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   689
	@-mkdir tmp_framework/Versions
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   690
	@-mkdir tmp_framework/Versions/$(VSN)
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   691
	@-mkdir tmp_framework/Versions/$(VSN)/Documentation
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   692
	cp -R ../../doc/online "tmp_framework/Versions/$(VSN)/Documentation/"
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   693
	@-find "tmp_framework/Versions/$(VSN)/Documentation/"  -name ".cvsignore" -exec rm -f {} \;
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   694
	@-find "tmp_framework/Versions/$(VSN)/Documentation/"  -name "CVS" -exec rm -rf {} \;
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   695
	@-find "tmp_framework/Versions/$(VSN)/Documentation/"  -name "NO*AUTO*" -exec rm -f {} \;
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   696
	@-find "tmp_framework/Versions/$(VSN)/Documentation/"  -name "makefile" -exec rm -f {} \;
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   697
	@-find "tmp_framework/Versions/$(VSN)/Documentation/"  -name "Make.*" -exec rm -f {} \;
99fa254e85f7 osx installer
Claus Gittinger <cg@exept.de>
parents: 1459
diff changeset
   698
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   699
################### end of mac specific #################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   700
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   701
################### begin of tgz specific #################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   702
# creates /tmp/stx.tgz
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   703
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   704
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   705
# should work on all systems
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   706
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   707
TGZ_TMP=/tmp/stx_tgz
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   708
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   709
deploy_tgz:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   710
	$(MAKE) newTGZ
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   711
	$(MAKE) tarIt
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   712
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   713
tarIt:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   714
	rm -f stx.tgz
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   715
	(cd $(TGZ_TMP); tar cvfz /tmp/stx.tgz stx)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   716
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   717
newTGZ:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   718
	rm -rf $(TGZ_TMP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   719
	$(MAKE) $(TGZ_TMP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   720
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   721
$(TGZ_TMP):
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   722
	@-mkdir "$(TGZ_TMP)"
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   723
	-cp -r $(TOP)/../stx "$(TGZ_TMP)/."
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   724
	$(MAKE) clean_tgz
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   725
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   726
clean_tgz:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   727
	$(MAKE) cleanTemporaryDeploymentHierarchy TMP_TOP="$(TGZ_TMP)"
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   728
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   729
################### end of tgz specific #################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   730
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   731
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   732
################### common #################
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   733
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   734
# all of the following depend on TMP_TOP to be set to "stx"
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   735
# in a temporary copy of the whole work tree.
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   736
# The tree below that will be cleaned from any leftover build files.
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   737
# No hardcoding of any architecture specifics below, please.
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   738
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   739
FIND_PRINT=-print
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   740
#FIND_PRINT=
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   741
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   742
cleanTemporaryDeploymentHierarchy:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   743
	@-if [ "$TMP_TOP" = "" ]; then \
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   744
	    exit 1; \
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   745
	fi
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   746
	$(MAKE) cleanMiscJunk             TMP_TOP=$(TMP_TOP)
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   747
	$(MAKE) cleanNeverDeliveredStuff  TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   748
	$(MAKE) cleanPackages             TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   749
	$(MAKE) cleanUnfinished           TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   750
	$(MAKE) cleanObsoleteStuff        TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   751
#        $(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   752
	$(MAKE) cleanArchitectureSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   753
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   754
cleanArchitectureSpecific:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   755
	$(MAKE) cleanStuffNotForArch_$(ARCH)  TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   756
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   757
cleanStuffNotForArch_macosx:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   758
	$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP)
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   759
	$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   760
	$(MAKE) cleanLinuxSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   761
	$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP)
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   762
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   763
cleanStuffNotForArch_linux:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   764
	$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   765
	$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP)
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   766
	$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   767
	$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP)
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   768
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   769
cleanStuffNotForArch_raspian:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   770
	$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   771
	$(MAKE) cleanWindowsSpecific TMP_TOP=$(TMP_TOP)
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   772
	$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   773
	$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   774
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   775
cleanStuffNotForArch_win32:
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   776
	$(MAKE) cleanMacOSXSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   777
	$(MAKE) cleanFreeBSDSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   778
	$(MAKE) cleanLinuxSpecific TMP_TOP=$(TMP_TOP)
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   779
	$(MAKE) cleanObsoleteArchitectureSpecific TMP_TOP=$(TMP_TOP)
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   780
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   781
cleanWindowsSpecific:
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   782
	find "$(TMP_TOP)"/stx -name "*.mak" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   783
	find "$(TMP_TOP)"/stx -name "*.bat" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   784
	find "$(TMP_TOP)"/stx -name "nt.def" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   785
	rm -rf "$(TMP_TOP)"/stx/support/win32
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   786
	rm -rf "$(TMP_TOP)"/stx/configurations/NT
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   787
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   788
cleanMacOSXSpecific:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   789
	rm -rf "$(TMP_TOP)"/stx/libobjc
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   790
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   791
cleanObsoleteArchitectureSpecific:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   792
	$(MAKE) cleanSunSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   793
	$(MAKE) cleanSgiSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   794
	$(MAKE) cleanNeXTSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   795
	$(MAKE) cleanAixSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   796
	$(MAKE) cleanDecSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   797
	$(MAKE) cleanHpSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   798
	$(MAKE) cleanMotorolaSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   799
	$(MAKE) cleanQnxSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   800
	$(MAKE) cleanUnixwareSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   801
	$(MAKE) cleanLinuxAoutOnElfSpecific TMP_TOP=$(TMP_TOP)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   802
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   803
cleanLinuxAoutOnElfSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   804
	-rm -rf "$(TMP_TOP)"/stx/configurations/linux_a.out_onELF
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   805
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   806
cleanLinuxSpecific:
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   807
	-rm -rf "$(TMP_TOP)"/stx/configurations/linux
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   808
	-rm -rf "$(TMP_TOP)"/stx/configurations/linux-*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   809
	-rm -rf "$(TMP_TOP)"/stx/support/autopackage.*
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   810
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   811
cleanFreeBSDSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   812
	-rm -rf "$(TMP_TOP)"/stx/configurations/freeBSD
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   813
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   814
cleanSunSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   815
	-rm -rf "$(TMP_TOP)"/stx/configurations/sun
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   816
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   817
cleanSgiSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   818
	-rm -rf "$(TMP_TOP)"/stx/configurations/sgi
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   819
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   820
cleanNeXTSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   821
	-rm -rf "$(TMP_TOP)"/stx/configurations/NeXT
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   822
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   823
cleanAixSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   824
	-rm -rf "$(TMP_TOP)"/stx/configurations/aix
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   825
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   826
cleanDecSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   827
	-rm -rf "$(TMP_TOP)"/stx/configurations/dec
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   828
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   829
cleanHpSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   830
	-rm -rf "$(TMP_TOP)"/stx/configurations/hp
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   831
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   832
cleanMotorolaSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   833
	-rm -rf "$(TMP_TOP)"/stx/configurations/motorola
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   834
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   835
cleanQnxSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   836
	-rm -rf "$(TMP_TOP)"/stx/configurations/qnx
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   837
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   838
cleanUnixwareSpecific:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   839
	-rm -rf "$(TMP_TOP)"/stx/configurations/unixware
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   840
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   841
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   842
# work in progress or not-yet-fully ported stuff
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   843
#
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   844
cleanUnfinished:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   845
	-rm -rf "$(TMP_TOP)"/stx/libobjc
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   846
	-rm -rf "$(TMP_TOP)"/stx/libdb/nosql/ken
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   847
	-rm -rf "$(TMP_TOP)"/stx/libdb/nosql/sedna
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   848
	-rm -rf "$(TMP_TOP)"/stx/libdb/libopenDBX
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   849
	-rm -rf "$(TMP_TOP)"/stx/goodies/roelTyper
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   850
	-rm -rf "$(TMP_TOP)"/stx/goodies/raytracing
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   851
	-rm -rf "$(TMP_TOP)"/stx/goodies/imageSegments
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   852
	-rm -rf "$(TMP_TOP)"/stx/goodies/hotdraw
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   853
	-rm -rf "$(TMP_TOP)"/stx/goodies/goods
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   854
	-rm -rf "$(TMP_TOP)"/stx/goodies/gitocello
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   855
	-rm -rf "$(TMP_TOP)"/stx/goodies/glorp0_4
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   856
	-rm -rf "$(TMP_TOP)"/stx/goodies/constraints
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   857
	-rm -rf "$(TMP_TOP)"/stx/goodies/cassovary
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   858
	-find "$(TMP_TOP)"/stx -name "not_ported" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   859
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   860
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   861
# baby baby baby you're out of tiiiime...
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   862
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   863
cleanObsoleteStuff:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   864
	-rm -rf "$(TMP_TOP)"/stx/librt
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   865
	-rm -rf "$(TMP_TOP)"/stx/libsnmp
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   866
	-rm -rf "$(TMP_TOP)"/stx/goodies/stx
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   867
	-rm -rf "$(TMP_TOP)"/stx/clients/AddrBook
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   868
	-rm -rf "$(TMP_TOP)"/stx/clients/DirView
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   869
	-rm -rf "$(TMP_TOP)"/stx/clients/DocTool
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   870
	-rm -rf "$(TMP_TOP)"/stx/clients/MailTool
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   871
	-rm -rf "$(TMP_TOP)"/stx/clients/NewsTool
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   872
	-rm -rf "$(TMP_TOP)"/stx/liboracle8
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   873
	-rm -rf "$(TMP_TOP)"/stx/support/DLD
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   874
	-rm -rf "$(TMP_TOP)"/stx/support/unixware
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   875
	-rm -rf "$(TMP_TOP)"/stx/support/db
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   876
	-rm -rf "$(TMP_TOP)"/stx/projects/drawtool
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   877
	-find "$(TMP_TOP)"/stx -name "obsolete" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   878
	-find "$(TMP_TOP)"/stx -name "obsolete_*" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   879
	-find "$(TMP_TOP)"/stx -name "*_old" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   880
	-find "$(TMP_TOP)"/stx -name "*_old2" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   881
	-find "$(TMP_TOP)"/stx -name "*.old" $(FIND_PRINT) -exec rm -rf {} \;
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   882
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   883
#
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   884
# stuff noone needs outside expet
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   885
#
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   886
cleanMiscJunk:
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   887
	-rm -f "$(TMP_TOP)"/stx/Dockerfile
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   888
	-rm -f "$(TMP_TOP)"/stx/Install.files
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   889
	-rm -f "$(TMP_TOP)"/stx/update.sh
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   890
	-rm -f "$(TMP_TOP)"/stx/TAGS
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   891
	-rm -f "$(TMP_TOP)"/stx/goodies/*.zip
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   892
	-rm -f "$(TMP_TOP)"/stx/mkisofs.exclude
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   893
	-rm -rf "$(TMP_TOP)"/stx/support/des
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   894
	-rm -rf "$(TMP_TOP)"/stx/support/ctags-3*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   895
	-rm -rf "$(TMP_TOP)"/stx/support/libjpeg-6*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   896
	-rm -f "$(TMP_TOP)"/stx/support/mk-selfinstall
1391
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   897
8fafa49d0bf1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1368
diff changeset
   898
#
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   899
# stuff we keep secret - that's live
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   900
#
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   901
cleanNeverDeliveredStuff:
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   902
	mv "$(TMP_TOP)"/stx/librun/main.c "$(TMP_TOP)"/stx/librun/main_c
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   903
	-mv "$(TMP_TOP)"/stx/librun/buildDate.h "$(TMP_TOP)"/stx/librun/buildDate_h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   904
	-mv "$(TMP_TOP)"/stx/librun/symbolAddress.h "$(TMP_TOP)"/stx/librun/symbolAddress_h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   905
	-mv "$(TMP_TOP)"/stx/librun/symbols.h "$(TMP_TOP)"/stx/librun/symbols_h
1433
d6e0d8fc7b5b symlist.c is needed
Claus Gittinger <cg@exept.de>
parents: 1397
diff changeset
   906
	-mv "$(TMP_TOP)"/stx/librun/symlist.c "$(TMP_TOP)"/stx/librun/symlist_h
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   907
	rm -f "$(TMP_TOP)"/stx/librun/*.c
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   908
	rm -f "$(TMP_TOP)"/stx/librun/*.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   909
	mv "$(TMP_TOP)"/stx/librun/main_c "$(TMP_TOP)"/stx/librun/main.c
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   910
	-mv "$(TMP_TOP)"/stx/librun/buildDate_h "$(TMP_TOP)"/stx/librun/buildDate.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   911
	-mv "$(TMP_TOP)"/stx/librun/symbolAddress_h "$(TMP_TOP)"/stx/librun/symbolAddress.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   912
	-mv "$(TMP_TOP)"/stx/librun/symbols_h "$(TMP_TOP)"/stx/librun/symbols.h
1433
d6e0d8fc7b5b symlist.c is needed
Claus Gittinger <cg@exept.de>
parents: 1397
diff changeset
   913
	-mv "$(TMP_TOP)"/stx/librun/symlist_c "$(TMP_TOP)"/stx/librun/symlist.c
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   914
	rm -rf "$(TMP_TOP)"/stx/librun/doc
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   915
	rm -rf "$(TMP_TOP)"/stx/librun/ieee754_support
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   916
	rm -rf "$(TMP_TOP)"/stx/librun/libffi*
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   917
	rm -rf "$(TMP_TOP)"/stx/librun/genDate*
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   918
	-rm -rf "$(TMP_TOP)"/stx/librun/*.bpr
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   919
	-rm -rf "$(TMP_TOP)"/stx/librun/*.BPR
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   920
	-rm -rf "$(TMP_TOP)"/stx/librun/*.cpp
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   921
	-rm -rf "$(TMP_TOP)"/stx/librun/*.dbg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   922
	-rm -rf "$(TMP_TOP)"/stx/librun/*.gdb
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   923
	-rm -rf "$(TMP_TOP)"/stx/librun/*.s
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   924
	-rm -rf "$(TMP_TOP)"/stx/librun/*.asm
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   925
	-rm -rf "$(TMP_TOP)"/stx/librun/*.sln
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   926
	-rm -rf "$(TMP_TOP)"/stx/librun/*.def
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   927
	-rm -rf "$(TMP_TOP)"/stx/librun/*.exp
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   928
	-rm -rf "$(TMP_TOP)"/stx/librun/*.rc
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   929
	-rm -rf "$(TMP_TOP)"/stx/librun/*.vcproj
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   930
	-rm -rf "$(TMP_TOP)"/stx/librun/*.vcExpress
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   931
	rm -f "$(TMP_TOP)"/stx/stc/*.c
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   932
	rm -f "$(TMP_TOP)"/stx/stc/*.y
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   933
	rm -f "$(TMP_TOP)"/stx/stc/*.l
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   934
	-rm -f "$(TMP_TOP)"/stx/stc/*.bpr
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   935
	-rm -f "$(TMP_TOP)"/stx/stc/*.BPR
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   936
	rm -f "$(TMP_TOP)"/stx/stc/global.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   937
	rm -f "$(TMP_TOP)"/stx/stc/nttokens.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   938
	rm -f "$(TMP_TOP)"/stx/stc/tokens.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   939
	rm -f "$(TMP_TOP)"/stx/stc/sha1.h
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   940
	-rm -f "$(TMP_TOP)"/stx/stc/*.cpp
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   941
	-rm -f "$(TMP_TOP)"/stx/stc/*.sln
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   942
	-rm -f "$(TMP_TOP)"/stx/stc/*.vcproj
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   943
	-rm -f "$(TMP_TOP)"/stx/stc/*.depend
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   944
	rm -f "$(TMP_TOP)"/stx/stc/defs.h
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   945
	rm -rf "$(TMP_TOP)"/stx/stc/bin
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   946
	rm -rf "$(TMP_TOP)"/stx/stc/obj
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   947
	rm -f "$(TMP_TOP)"/stx/stc/tests/*.xc
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   948
	rm -f "$(TMP_TOP)"/stx/stc/tests/*.c
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   949
	-find "$(TMP_TOP)"/stx -name "not_delivered" $(FIND_PRINT) -exec rm -rf {} \;
1351
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   950
3ef333479676 added rules to generate a dmg (MAC)
Claus Gittinger <cg@exept.de>
parents: 1312
diff changeset
   951
cleanPackages:
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   952
#        (cd "$(TMP_TOP)"/stx ; make cleanjunk)
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
   953
	(cd "$(TMP_TOP)"/stx/stc/tests ; make clobber)
1475
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   954
	-rm -rf "$(TMP_TOP)"/stx/libjava.both
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   955
	-rm -rf "$(TMP_TOP)"/stx/libjava.cvs
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   956
	-rm -rf "$(TMP_TOP)"/stx/libjava.old
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   957
	-rm -rf "$(TMP_TOP)"/stx/librun-*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   958
	-rm -rf "$(TMP_TOP)"/stx/librun_*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   959
	-rm -rf "$(TMP_TOP)"/stx/librun.*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   960
	-rm -rf "$(TMP_TOP)"/stx/stc/*.dSYM
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   961
	-rm -rf "$(TMP_TOP)"/stx/stc/*/*.dSYM
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   962
	-rm -rf "$(TMP_TOP)"/stx/stc/libfl
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   963
	-rm -rf "$(TMP_TOP)"/stx/stc/tests/test[0-9]*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   964
	-rm -rf "$(TMP_TOP)"/stx/stc/tests/hw
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   965
	-rm -rf "$(TMP_TOP)"/stx/stc/tests
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   966
	-rm -rf "$(TMP_TOP)"/stx/libscm.cvs
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   967
	-rm -rf "$(TMP_TOP)"/stx/libscm.hg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   968
	-rm -f "$(TMP_TOP)"/stx/libbasic*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   969
	-rm -f "$(TMP_TOP)"/stx/libboss/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   970
	-rm -f "$(TMP_TOP)"/stx/libcomp/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   971
	-rm -f "$(TMP_TOP)"/stx/libview*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   972
	-rm -f "$(TMP_TOP)"/stx/libwidg*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   973
	-rm -f "$(TMP_TOP)"/stx/libtool*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   974
	-rm -f "$(TMP_TOP)"/stx/libui/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   975
	-rm -f "$(TMP_TOP)"/stx/libdb/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   976
	-rm -f "$(TMP_TOP)"/stx/libdb/*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   977
	-rm -f "$(TMP_TOP)"/stx/libopengl/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   978
	-rm -f "$(TMP_TOP)"/stx/goodies/chronos/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   979
	-rm -f "$(TMP_TOP)"/stx/goodies/chronos/*/[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   980
	-rm -f "$(TMP_TOP)"/stx/goodies/*/i_[A-Z]*.c
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   981
	-rm -rf "$(TMP_TOP)"/stx/monticello_packages
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   982
	-rm -rf "$(TMP_TOP)"/stx/support/tools/splint-*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   983
	-rm -rf "$(TMP_TOP)"/stx/support/tools/cscope-*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   984
	-rm -rf "$(TMP_TOP)"/stx/support/xft
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   985
	-rm -rf "$(TMP_TOP)"/stx/support/libjpeg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   986
	-rm -rf "$(TMP_TOP)"/stx/support/libjpeg-7
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   987
	-rm -rf "$(TMP_TOP)"/stx/projects/tinytalk
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   988
	-rm -rf "$(TMP_TOP)"/stx/projects/minitalk
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   989
	-rm -rf "$(TMP_TOP)"/stx/projects/demoServer
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   990
	-rm -rf "$(TMP_TOP)"/stx/projects/fileBrowser
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   991
	-rm -rf "$(TMP_TOP)"/stx/projects/simpleFileBrowser
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   992
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/package-cache
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   993
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/modules
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   994
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/stcTests
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   995
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/crashdumps
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   996
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/examples
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   997
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/expeccoPatches
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   998
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/.SandstoneDb
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
   999
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/changes_*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1000
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/[A-Z]*.st
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1001
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/old_settings.stx
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1002
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.txt
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1003
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.uprj
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1004
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.js
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1005
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/evo*.wsp
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1006
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.html
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1007
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.log
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1008
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.png
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1009
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/data
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1010
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/out
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1011
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/err
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1012
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/outfile
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1013
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/ss
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1014
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/stbc.rc
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1015
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.bos
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1016
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.swf
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1017
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.sln
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1018
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.vcproj
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1019
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.vcxproj
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1020
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.tgz
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1021
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.dmg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1022
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*_dmg
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1023
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*_tgz
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1024
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/X
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1025
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/ZZ
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1026
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/test*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1027
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.extracted*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1028
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.pkg*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1029
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/*_pkg*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1030
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/*_dmg*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1031
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.jnk*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1032
	-rm -rf "$(TMP_TOP)"/stx/projects/smalltalk/tmp*
7ffbb8c714d2 osx stuff
Claus Gittinger <cg@exept.de>
parents: 1464
diff changeset
  1033
	-rm -f "$(TMP_TOP)"/stx/projects/smalltalk/*.manifest
1356
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1034
	find "$(TMP_TOP)"/stx/projects -name "*.mcz" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1035
	find "$(TMP_TOP)"/stx/projects -name "*.sav" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1036
	find "$(TMP_TOP)"/stx/projects -name "*.img" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1037
	find "$(TMP_TOP)"/stx/projects -name "*.dmg" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1038
	find "$(TMP_TOP)"/stx/projects -name "*.chg" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1039
	find "$(TMP_TOP)"/stx/projects -name "*.dat" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1040
	find "$(TMP_TOP)"/stx -name "cscope.out" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1041
	find "$(TMP_TOP)"/stx -name "a.out" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1042
	find "$(TMP_TOP)"/stx -name ".stxgdb" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1043
	find "$(TMP_TOP)"/stx -name "*.o" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1044
	find "$(TMP_TOP)"/stx -name "*.st-e" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1045
	find "$(TMP_TOP)"/stx -name "*.bad" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1046
	find "$(TMP_TOP)"/stx -name "*.bak" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1047
	find "$(TMP_TOP)"/stx -name "*.sav" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1048
	find "$(TMP_TOP)"/stx -name "*.swp" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1049
	-find "$(TMP_TOP)"/stx -name "stxtmp_*" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1050
	-find "$(TMP_TOP)"/stx -name ".DS_Store" $(FIND_PRINT) -exec rm -f {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1051
	-find "$(TMP_TOP)"/stx -name "CVS" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1052
	-find "$(TMP_TOP)"/stx -name ".CVS" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1053
	-find "$(TMP_TOP)"/stx -name ".hg" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1054
	-find "$(TMP_TOP)"/stx -name "..hg" $(FIND_PRINT) -exec rm -rf {} \;
1b5c8313260e XWorkstation and GLXWorkstation are no longer built as separate dlls.
Claus Gittinger <cg@exept.de>
parents: 1351
diff changeset
  1055
	-find "$(TMP_TOP)"/stx -name ".#*" $(FIND_PRINT) -exec rm -rf {} \;