author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 19 Jun 2018 19:06:44 +0100 | |
branch | stx-8.0.0 |
changeset 242 | 88110510dfc9 |
parent 214 | e56a0b6037d1 |
child 274 | d9d5871b987c |
permissions | -rw-r--r-- |
136
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
include $(MAKELIB)/../build/stx-config.make |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
3 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
# MIMEType: application/x-make |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
# this Makefile was generated by CONFIG / make Makefile |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
# do not change here |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
# - change in Make.proto, stdRules or stdHeader |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
# otherwise your changes are lost when Makefiles are recreated |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
# if your system is not the one described below (CONF=), |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
# you have to rerun config in stc's TOP directory ! |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
default:: redefinableAll |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
#------------------ start of rules/stdHeader --------------------- |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
# $Header: /cvs/stx/stx/rules/stdHeader,v 1.33 2014-11-20 16:24:40 cg Exp $ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
25 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
# the default target; |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
# this is redefined for HP and AIX, to compile some individual files |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
# using different options |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
# (due to exponential grows of their cc, they cannot compile certain files with -O/-O2) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
ALL_TARGET=all |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
# where things get collected when building |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
35 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
BUILD_DIR=$(TOP)/build |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
BUILD_BIN_DIR=$(BUILD_DIR)/bin |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
BUILD_PACKAGE_DIR=$(BUILD_DIR)/packages |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
# ------------------------------------------- |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
# installation directories (for make install) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
# ------------------------------------------- |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
INSTALLBASE=/opt/smalltalk/$(RELEASE) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
INSTALLTOP_DIR=$(INSTALLBASE)/packages/$(MODULE)/$(MODULE_DIR) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
INSTALLLIB_DIR=$(INSTALLTOP_DIR) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
INSTALLBIN_DIR=$(INSTALLBASE)/bin |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
INSTALLBITMAPSLIB_DIR=$(INSTALLLIB_DIR) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
INSTALLDOCLIB_DIR=$(INSTALLLIB_DIR) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
DOC_DIR=doc |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
53 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
54 |
INSTALL_SUBDIRS=$(ALLSUBDIRS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
55 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
56 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
57 |
# if found in a directory, |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
58 |
# those are also installed |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
59 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
60 |
INSTALLED_LOAD_SCRIPTS=loadAll |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
61 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
62 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
63 |
# LIB is used for recursive make-invocations; |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
64 |
# it needs a non-empty default for make to accept the Makefile |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
LIB=none |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
H=H |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
OUTDIR= |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
70 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
INCL=$(INCLUDE)/ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
STCHDR=$(INCLUDE)/stc.h $(INCLUDE)/stcIntern.h |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
# STC_MSGFORMAT= -messageFormat: gcc |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
STC_MSGFORMAT= -messageFormat: gcc-jenkins |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
SYSDEP_OBJS=$(UNIX_OBJS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
AR_OBJS=$(OBJS) $(AUXOBJS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
UNCRITICALOBJS='xxx.o' |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
UNCRITICALOPT=+optspace3 |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
AUTOLOADEDOBJS='yyy.o' |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
# SUBDIRS is used to make targets; |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
# ALLSUBDIRS are those in which makefiles are created |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
# (i.e. this allows passive directories, like all in |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
# clients to be added) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
SUBDIRS= |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
ALLSUBDIRS=$(SUBDIRS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
RULEDIR=$(TOP)/rules |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
STBC=$(RULEDIR)/stbc |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
STDHEADER=stdHeader |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
STDRULES=stdRules |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |
STDHEADER_NT=stdHeader_nt |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
STDRULES_NT=stdRules_nt |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
# files to be rcs managed |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
# this is ok for classlib directories; |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
# c directories (librun, stc) must redefine it |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
RCSSOURCES=*.st Make.proto |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
# files to be symlinked to a common source tree |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
# this is ok for classlib directories; |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
111 |
# c directories (librun, stc) must redefine it |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
113 |
LINKSOURCES=*.st Make.proto |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
116 |
# files to be delivered by default. |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |
# to be redefined in sub-Make.protos |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
118 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
DELIVERSOURCES=$(RCSSOURCES) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
DELIVERMISC=Makefile *.stc .dir.info README* |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
121 |
DELIVERBINARIES=lib*.o lib*.so lib*.a |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
# rule for object file creation. |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
125 |
# If redefined, there must be a corresponding rule in |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
126 |
# the architecture specific config file |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
# This is extra tricky and not recommended |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
128 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
O_RULE=__STANDARD_O_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
130 |
C_RULE=__STANDARD_C_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
131 |
S_RULE=__STANDARD_S_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
132 |
H_RULE=__STANDARD_H_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
133 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
134 |
SPACEOPT_O_RULE=__STANDARD_O_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
135 |
SPEEDOPT_O_RULE=__STANDARD_O_RULE__ |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
136 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
137 |
CC_SPEEDOPT= |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
138 |
CC_SPACEOPT= |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
139 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
140 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
141 |
# rules to link .o files into a classLibrary |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
142 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
143 |
LINKOBJRULE=newobj_link |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
144 |
SEPINITLINKOBJRULE=newobj_link |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
145 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
146 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
147 |
# rule to create a classList & to edit it into a .c file |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
148 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
149 |
CLASSLISTRULE=genClassList |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
150 |
CLASSLISTEDITRULE=classListEdit |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
151 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
152 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
153 |
# special kludge for HP's stupid cpp limitations |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
154 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
155 |
# allows definition of another rule for big-st files, |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
156 |
# and setting of BIG_ST_RULE=some_other_rule |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
157 |
# see libview/Make.proto for an example |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
158 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
159 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
160 |
BIG_STFILE_RULE=BIG_STFILE_NORMAL |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
161 |
BIG_STFILE_NORMAL: |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
162 |
$(STC) -CC="$(CC)" $(STCFLAGS) $(CFLAGS) -c $(BIG_FILE).st |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
163 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
164 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
165 |
# special kludge for a bug in NeXT's (2.1) assembler, |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
166 |
# which dumps core for some long identifiers |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
167 |
# (funny, only happens with SeqColl) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
168 |
# |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
169 |
LONGNAME_RULE=LONGNAME_NORMAL |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
170 |
LONGNAME_NORMAL: |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
171 |
$(STC) -CC="$(CC)" $(STCFLAGS) $(CFLAGS) -c $(LONGNAME_FILE).st |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
172 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
173 |
SHAREDCLASSLIBRARIES="" |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
174 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
175 |
UPDATETARGET=all |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
176 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
177 |
#------------------ end of rules/stdHeader --------------------- |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
178 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
179 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
180 |
# Include config |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
181 |
ifndef BUILD_TARGET |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
182 |
$(error "BUILD_TARGET not defined!") |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
183 |
endif |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
184 |
include $(MAKELIB)/config-$(BUILD_TARGET).make |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
185 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
186 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
187 |
#------------------ start of rules/stdHeader2 --------------------- |
214
e56a0b6037d1
Makefiles: properly #define value `BUILD_TARGET` as string constant
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
202
diff
changeset
|
188 |
COMMONDEFS += -DBUILD_TARGET=\"$(BUILD_TARGET)\" |
194
0695650e9b20
Makefiles: generalize various platform and/or arch specific config values
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
169
diff
changeset
|
189 |
COMMONSYMBOLS=+commonSymbols |
169
f9f519bb10b6
Use GNU target triplets to specify build targets.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
136
diff
changeset
|
190 |
|
136
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
191 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
192 |
# collected compiler flags |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
193 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
194 |
CC_OPTS=$(CCCOMMONOPT) $(CCARCHCOMMONOPT) $(CCARCHOPT) $(OPT) $(CCCONFOPT) $(CC_CMD_OPT) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
195 |
|
194
0695650e9b20
Makefiles: generalize various platform and/or arch specific config values
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
169
diff
changeset
|
196 |
STC_OPTS=$(STCCOMMONOPT) $(STCARCHCOMMONOPT) $(STCARCHOPT) $(STCOPT) $(COMMONSTCCONFOPT) $(STCCONFOPT) $(STCLOCALOPT) $(STC_CMD_OPT) |
136
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
197 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
198 |
CC_DEFS=$(DEFS) $(COMMONDEFS) $(ARCHCOMMONDEFS) $(ARCHDEFS) $(OTHERDEFS) $(LOCALDEFS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
199 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
200 |
CFLAGS = -I$(INCLUDE) $(LOCALINCLUDES) $(OS) $(CC_OPTS) $(DBG) $(CC_DEFS) $(CCLOCALOPT) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
201 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
202 |
MAIN_CFLAGS= -I$(INCLUDE) $(OS) $(ARCHOPT) $(CCCONFOPT) $(MAIN_OPT) $(DBG) $(CC_DEFS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
203 |
|
202
6da54a7c4484
Makefiles: compile Smalltalk code with `+stLineInfo +lineInfo`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
194
diff
changeset
|
204 |
STCFLAGS = -CC="$(CC)" -Y$(INCLUDE) -I$(INCLUDE_IN) $(STCOPT) $(STC_OPTS) $(LIMITSUPERINCLUDE) $(FORCEAUTOLOAD) +lineInfo +stLineInfo -scmType: auto -sha1 |
136
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
205 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
206 |
SNMP_CC_OPT=$(ARCHOPT) $(OPT) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
207 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
208 |
DLD_CFLAGS=$(CC_OPTS) $(DBG) $(CC_DEFS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
209 |
|
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
210 |
LINKOBJS = $(OBJS) |
29bd0a3c4a31
Makefiles: configure Smalltalk/X by defining TARGET rather then symlinking a file
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
211 |
|
194
0695650e9b20
Makefiles: generalize various platform and/or arch specific config values
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
169
diff
changeset
|
212 |
#------------------ end of rules/stdHeader2 --------------------- |