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