author | Stefan Vogel <sv@exept.de> |
Fri, 12 Jan 2007 19:38:38 +0100 | |
changeset 773 | a503a088e173 |
parent 771 | 12d5b71399b8 |
child 789 | e4a86ead0ae9 |
permissions | -rw-r--r-- |
751 | 1 |
# $Header$ |
2 |
# |
|
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
3 |
# DO NOT EDIT |
751 | 4 |
# automagically generated from the projectDefinition: stx_projects_smalltalk. |
5 |
# |
|
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
9 |
||
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
10 |
TOP=..\.. |
751 | 11 |
INCLUDE_TOP=$(TOP)\.. |
12 |
||
13 |
# CFLAGS1= -WD -w-pro -w-ccc -w-rch -w-aus -w-par -x- -r- -k -y -v -vi- -c -tWDR |
|
14 |
CFLAGS1= -w-pro -w-ccc -w-rch -w-aus -w-par -x- -r- -k -y -v -vi- -c |
|
15 |
||
773
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
16 |
CFLAGS_CONSOLE= -tWC -tWR -D_NO_VCL;WIN32 -DWIN_LOGFILE="\"stx_%d.log\"" |
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
17 |
CFLAGS_NOCONSOLE=-tWR -D_NO_VCL;WIN32GUI;WIN32 -DWIN_LOGFILE="\"stx_%d.log\"" |
751 | 18 |
LFLAGS_CONSOLE=-ap |
19 |
LFLAGS_NOCONSOLE=-aa |
|
20 |
CRT_STARTUP_CONSOLE=c0x32.obj |
|
21 |
CRT_STARTUP_NOCONSOLE=c0w32.obj |
|
22 |
||
773
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
23 |
CFLAGS_APPTYPE=$(CFLAGS_CONSOLE) |
751 | 24 |
LFLAGS_APPTYPE=$(LFLAGS_CONSOLE) |
25 |
CRT_STARTUP=$(CRT_STARTUP_CONSOLE) |
|
26 |
||
27 |
CFLAGS_LOCAL=$(CFLAGS_APPTYPE) \ |
|
28 |
-DSTARTUP_CLASS="\"Smalltalk\"" \ |
|
29 |
-DSTARTUP_SELECTOR="\"start\"" \ |
|
30 |
-DUSE_MODULE_TABLE |
|
31 |
||
32 |
# |
|
33 |
||
752
dd095e78aa44
Rename stdRules_nt and stdHeader_nt to ..._bc
Stefan Vogel <sv@exept.de>
parents:
751
diff
changeset
|
34 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
751 | 35 |
!INCLUDE Make.spec |
36 |
||
37 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
38 |
||
39 |
# |
|
40 |
LIBNAME=dummy |
|
41 |
STCOPT="+optinline" |
|
42 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic |
|
43 |
STCLOCALOPT='-package=$(PACKAGE)' $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME) |
|
44 |
||
45 |
LINKER = ilink32 |
|
46 |
||
47 |
# LFLAGS = -L$(TOP)\libbc;$(BCB)\lib;$(DEBUGLIBPATH) -H:0x400000 -Hc:0x100000 -S:0x40000 -Sc:0x10000 -ap -Tpe -x -Gn -v -Ao:0x10000 |
|
48 |
LFLAGS = -L$(TOP)\libbc;$(BCB)\lib -S:0x40000 -Sc:0x10000 $(LFLAGS_APPTYPE) -Tpe -x -Gn -v -Ao:0x10000 |
|
49 |
||
50 |
PROJECT = stx.exe |
|
773
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
51 |
ALLOBJFILES = main.obj |
751 | 52 |
RESFILES = smalltalkWinRC.res |
53 |
ALLOBJ = $(CRT_STARTUP) $(ALLOBJFILES) $(OBJS) |
|
773
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
54 |
DEFFILE=$(TOP)\rules\bc_exe.def |
751 | 55 |
|
56 |
LIBFILES=$(TOP)\libbc\librun.lib |
|
57 |
ALLLIB=$(LIBFILES) import32.lib $(RT_LIB) |
|
58 |
||
59 |
REQUIRED_LIBS=librun.dll \ |
|
60 |
libstx_libbasic.dll \ |
|
61 |
libstx_libbasic2.dll \ |
|
62 |
libstx_libbasic3.dll \ |
|
63 |
libstx_libcomp.dll \ |
|
64 |
libstx_libhtml.dll \ |
|
65 |
libstx_libtool.dll \ |
|
66 |
libstx_libtool2.dll \ |
|
67 |
libstx_libui.dll \ |
|
68 |
libstx_libview.dll \ |
|
69 |
libstx_libview2.dll \ |
|
70 |
libstx_libwidg.dll \ |
|
71 |
libstx_libwidg2.dll \ |
|
72 |
libstx_libwidg3.dll \ |
|
73 |
libstx_goodies_refactoryBrowser_helpers.dll \ |
|
74 |
libstx_goodies_refactoryBrowser_parser.dll \ |
|
75 |
libstx_goodies_refactoryBrowser_refactoring.dll \ |
|
76 |
libstx_goodies_refactoryBrowser_changes.dll \ |
|
77 |
libstx_libboss.dll \ |
|
78 |
||
79 |
||
80 |
REQUIRED_FILES=cs3245.dll symbols.stc $(REQUIRED_LIBS) |
|
81 |
||
82 |
REQUIRED_SUPPORT_DIRS= |
|
83 |
||
770 | 84 |
target: exe winstx |
751 | 85 |
|
86 |
# the executable, all required files and a self-installing-installer-exe |
|
87 |
ALL:: exe $(REQUIRED_SUPPORT_DIRS) setup |
|
88 |
||
89 |
# the executable only |
|
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
90 |
exe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) |
751 | 91 |
|
92 |
# a nullsoft installable delivery |
|
93 |
setup: install_stx.exe |
|
94 |
||
95 |
# This uses the Nullsoft Installer Package and works in Windows only |
|
96 |
||
97 |
install_stx.exe: $(PROJECT) stx.nsi |
|
98 |
$(MAKENSIS) stx.nsi |
|
99 |
||
100 |
new: |
|
101 |
bmake clean |
|
102 |
bmake |
|
103 |
||
104 |
RESOURCEFILES: stx_RESOURCES stx_BITMAPS \ |
|
105 |
stx_RESOURCES stx_STYLES stx_BITMAPS |
|
106 |
||
107 |
||
108 |
||
109 |
||
110 |
libstx_libbasic.dll: ..\..\libbasic\objbc\libstx_libbasic.dll |
|
111 |
copy ..\..\libbasic\objbc\libstx_libbasic.dll *.* |
|
112 |
||
113 |
libstx_libbasic2.dll: ..\..\libbasic2\objbc\libstx_libbasic2.dll |
|
114 |
copy ..\..\libbasic2\objbc\libstx_libbasic2.dll *.* |
|
115 |
||
116 |
libstx_libbasic3.dll: ..\..\libbasic3\objbc\libstx_libbasic3.dll |
|
117 |
copy ..\..\libbasic3\objbc\libstx_libbasic3.dll *.* |
|
118 |
||
119 |
libstx_libcomp.dll: ..\..\libcomp\objbc\libstx_libcomp.dll |
|
120 |
copy ..\..\libcomp\objbc\libstx_libcomp.dll *.* |
|
121 |
||
122 |
libstx_libhtml.dll: ..\..\libhtml\objbc\libstx_libhtml.dll |
|
123 |
copy ..\..\libhtml\objbc\libstx_libhtml.dll *.* |
|
124 |
||
125 |
libstx_libtool.dll: ..\..\libtool\objbc\libstx_libtool.dll |
|
126 |
copy ..\..\libtool\objbc\libstx_libtool.dll *.* |
|
127 |
||
128 |
libstx_libtool2.dll: ..\..\libtool2\objbc\libstx_libtool2.dll |
|
129 |
copy ..\..\libtool2\objbc\libstx_libtool2.dll *.* |
|
130 |
||
131 |
libstx_libui.dll: ..\..\libui\objbc\libstx_libui.dll |
|
132 |
copy ..\..\libui\objbc\libstx_libui.dll *.* |
|
133 |
||
134 |
libstx_libview.dll: ..\..\libview\objbc\libstx_libview.dll |
|
135 |
copy ..\..\libview\objbc\libstx_libview.dll *.* |
|
136 |
||
137 |
libstx_libview2.dll: ..\..\libview2\objbc\libstx_libview2.dll |
|
138 |
copy ..\..\libview2\objbc\libstx_libview2.dll *.* |
|
139 |
||
140 |
libstx_libwidg.dll: ..\..\libwidg\objbc\libstx_libwidg.dll |
|
141 |
copy ..\..\libwidg\objbc\libstx_libwidg.dll *.* |
|
142 |
||
143 |
libstx_libwidg2.dll: ..\..\libwidg2\objbc\libstx_libwidg2.dll |
|
144 |
copy ..\..\libwidg2\objbc\libstx_libwidg2.dll *.* |
|
145 |
||
146 |
libstx_libwidg3.dll: ..\..\libwidg3\objbc\libstx_libwidg3.dll |
|
147 |
copy ..\..\libwidg3\objbc\libstx_libwidg3.dll *.* |
|
148 |
||
149 |
libstx_goodies_refactoryBrowser_helpers.dll: ..\..\goodies\refactoryBrowser\helpers\objbc\libstx_goodies_refactoryBrowser_helpers.dll |
|
150 |
copy ..\..\goodies\refactoryBrowser\helpers\objbc\libstx_goodies_refactoryBrowser_helpers.dll *.* |
|
151 |
||
152 |
libstx_goodies_refactoryBrowser_parser.dll: ..\..\goodies\refactoryBrowser\parser\objbc\libstx_goodies_refactoryBrowser_parser.dll |
|
153 |
copy ..\..\goodies\refactoryBrowser\parser\objbc\libstx_goodies_refactoryBrowser_parser.dll *.* |
|
154 |
||
155 |
libstx_goodies_refactoryBrowser_refactoring.dll: ..\..\goodies\refactoryBrowser\refactoring\objbc\libstx_goodies_refactoryBrowser_refactoring.dll |
|
156 |
copy ..\..\goodies\refactoryBrowser\refactoring\objbc\libstx_goodies_refactoryBrowser_refactoring.dll *.* |
|
157 |
||
158 |
libstx_goodies_refactoryBrowser_changes.dll: ..\..\goodies\refactoryBrowser\changes\objbc\libstx_goodies_refactoryBrowser_changes.dll |
|
159 |
copy ..\..\goodies\refactoryBrowser\changes\objbc\libstx_goodies_refactoryBrowser_changes.dll *.* |
|
160 |
||
161 |
libstx_libboss.dll: ..\..\libboss\objbc\libstx_libboss.dll |
|
162 |
copy ..\..\libboss\objbc\libstx_libboss.dll *.* |
|
163 |
||
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
164 |
|
751 | 165 |
|
166 |
||
167 |
show: |
|
168 |
@echo LFLAGS= $(LFLAGS) |
|
169 |
@echo ALLOBJ= $(ALLOBJ) |
|
170 |
@echo PROJECT= $(PROJECT) |
|
171 |
@echo ALLLIB= $(ALLLIB) |
|
172 |
@echo DEFFILE= $(DEFFILE) |
|
173 |
@echo ALLRES= $(ALLRES) |
|
174 |
||
773
a503a088e173
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
771
diff
changeset
|
175 |
$(PROJECT): $(ALLOBJFILES) $(OBJS) $(RESFILES) $(DEFFILE) |
751 | 176 |
$(BCB)\BIN\$(LINKER) $(LFLAGS) $(ALLOBJ), $(PROJECT),, $(ALLLIB), $(DEFFILE), $(RESFILES) |
177 |
||
178 |
#$(PROJECT): $(ALLOBJFILES) $(RESFILES) $(DEFFILE) |
|
179 |
# $(BCB)\BIN\$(LINKER) @&&! |
|
180 |
# $(LFLAGS) + |
|
181 |
# $(ALLOBJ), + |
|
182 |
# $(PROJECT),, + |
|
183 |
# $(ALLLIB), + |
|
184 |
# $(DEFFILE), + |
|
185 |
# $(RESFILES) |
|
186 |
#! |
|
187 |
||
188 |
||
752
dd095e78aa44
Rename stdRules_nt and stdHeader_nt to ..._bc
Stefan Vogel <sv@exept.de>
parents:
751
diff
changeset
|
189 |
!INCLUDE $(TOP)\rules\stdRules_bc |
751 | 190 |
|
191 |
# |
|
192 |
# additional rules |
|
193 |
# |
|
194 |
stxWin.res: stxWin.rc stx.ico |
|
195 |
||
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
196 |
main.obj: buildDate.h main.c bc.mak |
751 | 197 |
|
198 |
main.c: $(TOP)\librun\main.c |
|
199 |
copy $(TOP)\librun\main.c main.c |
|
200 |
||
201 |
buildDate.h: $(TOP)\librun\genDate.exe |
|
202 |
$(TOP)\librun\genDate.exe |
|
203 |
||
204 |
librun.dll: $(TOP)\librun\librun.dll |
|
205 |
copy $(TOP)\librun\librun.dll librun.dll |
|
206 |
||
207 |
cs3245.dll: $(TOP)\support\win32\borland\cs3245.dll |
|
208 |
copy $(TOP)\support\win32\borland\cs3245.dll cs3245.dll |
|
209 |
||
210 |
symbols.stc: $(TOP)\include\symbols.stc |
|
211 |
copy $(TOP)\include\symbols.stc symbols.stc |
|
212 |
||
757
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
213 |
clobber:: |
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
214 |
-del librun.dll |
523fc7c6f4a5
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
754
diff
changeset
|
215 |
|
764
33e0580bf5b9
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
757
diff
changeset
|
216 |
|
770 | 217 |
winstx: |
771 | 218 |
$(MAKE) -N -f bc.mak -DNOCONSOLE PROJECT=winstx.exe winstx.exe |
770 | 219 |
|
764
33e0580bf5b9
automatically generated by browser
Stefan Vogel <sv@exept.de>
parents:
757
diff
changeset
|
220 |
|
751 | 221 |
clean:: |
222 |
-del genDate.exe |
|
223 |
-del c0x32.dll |
|
224 |
-del c0x32.lib |
|
225 |
-del buildDate.h |
|
226 |
-del $(PROJECT) |
|
227 |
-del install_stx.exe |
|
228 |
-del stx.lib |
|
229 |
-del stx.dll |
|
230 |
-del cs3245.dll |
|
231 |
-del $(REQUIRED_FILES) |
|
232 |
-del main.c |
|
233 |
-del *.log |
|
234 |
-del *.res |
|
235 |
-rmdir /S /Q resources |
|
236 |
-rmdir /S /Q objbc |
|
237 |
||
238 |
clobber:: |
|
239 |
-del *.dll |
|
240 |
-del *.exe |
|
241 |
||
242 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
243 |
$(OUTDIR)stx_projects_smalltalk.$(O) stx_projects_smalltalk.$(H): stx_projects_smalltalk.st $(INCLUDE_TOP)\stx\libbasic\ApplicationDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
244 |
||
245 |
# ENDMAKEDEPEND --- do not remove this line |