]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.vc
corrected use of Print Manager Session APIs for Carbon targets
[wxWidgets.git] / src / msw / makefile.vc
CommitLineData
5da2c444 1# This file was automatically generated by tmake at 01:54, 2001/06/22
a1b82138
VZ
2# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
3
4# File: makefile.vc
5# Author: Julian Smart
6# Created: 1997
3848ffef 7# Updated:
a1b82138 8# Copyright: (c) 1997, Julian Smart
2bda0e17
KB
9#
10# "%W% %G%"
11#
12# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
13# Arguments:
14#
15# FINAL=1 argument to nmake to build version with no debugging info.
16# dll builds a library (wxdll.lib) suitable for creating DLLs
2bda0e17 17#
48d1144b 18!include <..\makevc.env>
2bda0e17
KB
19
20THISDIR=$(WXWIN)\src\msw
21
22!if "$(WXMAKINGDLL)" == "1"
ca5c8b2d
JS
23LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
24DUMMYOBJ=$D\dummydll.obj
2bda0e17
KB
25!else
26LIBTARGET=$(WXLIB)
ca5c8b2d 27DUMMYOBJ=$D\dummy.obj
2bda0e17
KB
28!endif
29
fb6261e9
JS
30# This one overrides the others, to be consistent with the settings in setup.h
31MINIMAL_WXWINDOWS_SETUP=0
32
2bda0e17
KB
33PERIPH_LIBS=
34PERIPH_TARGET=
35PERIPH_CLEAN_TARGET=
36
3ca6a5f0
BP
37# Set to 0 if not using GLCanvas (only affects DLL build)
38USE_GLCANVAS=1
39
f97c9854
JS
40# These are absolute paths, so that the compiler
41# generates correct __FILE__ symbols for debugging.
42# Otherwise you don't be able to double-click on a memory
43# error to load that file.
44GENDIR=$(WXDIR)\src\generic
45COMMDIR=$(WXDIR)\src\common
2bda0e17 46OLEDIR=ole
f97c9854 47MSWDIR=$(WXDIR)\src\msw
ca5c8b2d 48DOCDIR = $(WXDIR)\docs
4705ee2d 49HTMLDIR = $(WXDIR)\src\html
8773bc76
VZ
50JPEGDIR = $(WXDIR)\src\jpeg
51TIFFDIR = $(WXDIR)\src\tiff
2bda0e17 52
ca5c8b2d 53{..\generic}.cpp{..\generic\$D}.obj:
8e97b17b 54 cl @<<
ca5c8b2d 55$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
56<<
57
ca5c8b2d 58{..\common}.cpp{..\common\$D}.obj:
8e97b17b 59 cl @<<
ca5c8b2d 60$(CPPFLAGS) /Fo$@ /c /Tp $<
89c684ef
JS
61<<
62
530e7fa3 63{..\common}.c{..\common\$D}.obj:
8e97b17b 64 cl @<<
cc9efb9b 65$(CPPFLAGS2) /Fo$@ /c /Tc $<
530e7fa3
VZ
66<<
67
ca5c8b2d 68{..\msw}.cpp{..\msw\$D}.obj:
8e97b17b 69 cl @<<
ca5c8b2d 70$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
71<<
72
2bbf4618 73{..\msw}.c{..\msw\$D}.obj:
8e97b17b 74 cl @<<
2bbf4618
RD
75$(CPPFLAGS2) /Fo$@ /c /Tc $<
76<<
77
ca5c8b2d 78{..\msw\ole}.cpp{..\msw\ole\$D}.obj:
8e97b17b 79 cl @<<
ca5c8b2d 80$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
81<<
82
4705ee2d 83{..\html}.cpp{..\html\$D}.obj:
8e97b17b 84 cl @<<
4705ee2d
RS
85$(CPPFLAGS) /Fo$@ /c /Tp $<
86<<
87
a1b82138 88GENERICOBJS= ..\generic\$D\busyinfo.obj \
8e97b17b
VZ
89 ..\generic\$D\calctrl.obj \
90 ..\generic\$D\choicdgg.obj \
51a58d8b 91 ..\generic\$D\dirctrlg.obj \
8e97b17b
VZ
92 ..\generic\$D\dragimgg.obj \
93 ..\generic\$D\grid.obj \
0537351f 94 ..\generic\$D\gridctrl.obj \
8e97b17b
VZ
95 ..\generic\$D\gridsel.obj \
96 ..\generic\$D\laywin.obj \
97 ..\generic\$D\logg.obj \
98 ..\generic\$D\numdlgg.obj \
99 ..\generic\$D\panelg.obj \
8e97b17b
VZ
100 ..\generic\$D\progdlgg.obj \
101 ..\generic\$D\prop.obj \
102 ..\generic\$D\propform.obj \
103 ..\generic\$D\proplist.obj \
104 ..\generic\$D\sashwin.obj \
105 ..\generic\$D\scrolwin.obj \
484523cf 106 ..\generic\$D\splash.obj \
8e97b17b
VZ
107 ..\generic\$D\splitter.obj \
108 ..\generic\$D\statusbr.obj \
109 ..\generic\$D\tbarsmpl.obj \
110 ..\generic\$D\textdlgg.obj \
111 ..\generic\$D\tipdlg.obj \
01fa3fe7 112 ..\generic\$D\tipwin.obj \
fb6261e9 113 ..\generic\$D\treectlg.obj \
8e97b17b
VZ
114 ..\generic\$D\treelay.obj \
115 ..\generic\$D\wizard.obj
2bda0e17 116
ca5c8b2d
JS
117# These are generic things that don't need to be compiled on MSW,
118# but sometimes it's useful to do so for testing purposes.
ccf0b1d7 119NONESSENTIALOBJS= ..\generic\$D\caret.obj \
8e97b17b
VZ
120 ..\generic\$D\colrdlgg.obj \
121 ..\generic\$D\dcpsg.obj \
122 ..\generic\$D\dirdlgg.obj \
123 ..\generic\$D\filedlgg.obj \
124 ..\generic\$D\fontdlgg.obj \
125 ..\generic\$D\helpext.obj \
126 ..\generic\$D\helphtml.obj \
127 ..\generic\$D\helpwxht.obj \
128 ..\generic\$D\helpxlp.obj \
129 ..\generic\$D\imaglist.obj \
130 ..\generic\$D\listctrl.obj \
131 ..\generic\$D\msgdlgg.obj \
132 ..\generic\$D\notebook.obj \
31929f80 133 ..\generic\$D\paletteg.obj \
8e97b17b
VZ
134 ..\generic\$D\printps.obj \
135 ..\generic\$D\prntdlgg.obj \
136 ..\generic\$D\statline.obj \
fb6261e9 137 ..\generic\$D\tabg.obj
2bda0e17 138
ca5c8b2d 139COMMONOBJS = \
8e97b17b
VZ
140 ..\common\$D\y_tab.obj \
141 ..\common\$D\appcmn.obj \
142 ..\common\$D\choiccmn.obj \
143 ..\common\$D\clipcmn.obj \
144 ..\common\$D\cmdline.obj \
145 ..\common\$D\cmndata.obj \
146 ..\common\$D\config.obj \
fb6261e9 147 ..\common\$D\cshelp.obj \
8e97b17b
VZ
148 ..\common\$D\ctrlcmn.obj \
149 ..\common\$D\ctrlsub.obj \
150 ..\common\$D\datetime.obj \
151 ..\common\$D\datstrm.obj \
152 ..\common\$D\db.obj \
cb35465e 153 ..\common\$D\dbgrid.obj \
8e97b17b
VZ
154 ..\common\$D\dbtable.obj \
155 ..\common\$D\dcbase.obj \
0537351f 156 ..\common\$D\dircmn.obj \
8e97b17b
VZ
157 ..\common\$D\dlgcmn.obj \
158 ..\common\$D\dndcmn.obj \
159 ..\common\$D\dobjcmn.obj \
160 ..\common\$D\docmdi.obj \
161 ..\common\$D\docview.obj \
162 ..\common\$D\dynarray.obj \
163 ..\common\$D\dynlib.obj \
484523cf 164 ..\common\$D\effects.obj \
8e97b17b
VZ
165 ..\common\$D\encconv.obj \
166 ..\common\$D\event.obj \
167 ..\common\$D\extended.obj \
168 ..\common\$D\ffile.obj \
169 ..\common\$D\file.obj \
170 ..\common\$D\fileconf.obj \
171 ..\common\$D\filefn.obj \
96edf638 172 ..\common\$D\filename.obj \
8e97b17b
VZ
173 ..\common\$D\filesys.obj \
174 ..\common\$D\fontcmn.obj \
175 ..\common\$D\fontmap.obj \
176 ..\common\$D\framecmn.obj \
177 ..\common\$D\fs_inet.obj \
178 ..\common\$D\fs_mem.obj \
179 ..\common\$D\fs_zip.obj \
180 ..\common\$D\ftp.obj \
181 ..\common\$D\gdicmn.obj \
182 ..\common\$D\geometry.obj \
183 ..\common\$D\gifdecod.obj \
184 ..\common\$D\hash.obj \
185 ..\common\$D\helpbase.obj \
186 ..\common\$D\http.obj \
187 ..\common\$D\imagall.obj \
188 ..\common\$D\imagbmp.obj \
189 ..\common\$D\image.obj \
190 ..\common\$D\imaggif.obj \
191 ..\common\$D\imagjpeg.obj \
192 ..\common\$D\imagpcx.obj \
193 ..\common\$D\imagpng.obj \
194 ..\common\$D\imagpnm.obj \
195 ..\common\$D\imagtiff.obj \
31929f80 196 ..\common\$D\imagxpm.obj \
8e97b17b
VZ
197 ..\common\$D\intl.obj \
198 ..\common\$D\ipcbase.obj \
199 ..\common\$D\layout.obj \
200 ..\common\$D\lboxcmn.obj \
201 ..\common\$D\list.obj \
202 ..\common\$D\log.obj \
203 ..\common\$D\longlong.obj \
3b94ab18 204 ..\common\$D\matrix.obj \
8e97b17b
VZ
205 ..\common\$D\memory.obj \
206 ..\common\$D\menucmn.obj \
207 ..\common\$D\mimecmn.obj \
208 ..\common\$D\module.obj \
209 ..\common\$D\mstream.obj \
210 ..\common\$D\object.obj \
211 ..\common\$D\objstrm.obj \
212 ..\common\$D\odbc.obj \
213 ..\common\$D\paper.obj \
214 ..\common\$D\prntbase.obj \
215 ..\common\$D\process.obj \
216 ..\common\$D\protocol.obj \
484523cf 217 ..\common\$D\quantize.obj \
8e97b17b
VZ
218 ..\common\$D\resource.obj \
219 ..\common\$D\sckaddr.obj \
220 ..\common\$D\sckfile.obj \
221 ..\common\$D\sckipc.obj \
222 ..\common\$D\sckstrm.obj \
223 ..\common\$D\serbase.obj \
224 ..\common\$D\sizer.obj \
225 ..\common\$D\socket.obj \
226 ..\common\$D\strconv.obj \
227 ..\common\$D\stream.obj \
228 ..\common\$D\string.obj \
229 ..\common\$D\tbarbase.obj \
230 ..\common\$D\textcmn.obj \
231 ..\common\$D\textfile.obj \
232 ..\common\$D\timercmn.obj \
233 ..\common\$D\tokenzr.obj \
484523cf 234 ..\common\$D\treebase.obj \
8e97b17b
VZ
235 ..\common\$D\txtstrm.obj \
236 ..\common\$D\unzip.obj \
237 ..\common\$D\url.obj \
238 ..\common\$D\utilscmn.obj \
239 ..\common\$D\valgen.obj \
240 ..\common\$D\validate.obj \
241 ..\common\$D\valtext.obj \
242 ..\common\$D\variant.obj \
243 ..\common\$D\wfstream.obj \
244 ..\common\$D\wincmn.obj \
245 ..\common\$D\wxchar.obj \
246 ..\common\$D\wxexpr.obj \
c97e7fa8 247 ..\common\$D\xpmdecod.obj \
8e97b17b
VZ
248 ..\common\$D\zipstrm.obj \
249 ..\common\$D\zstream.obj
a1b82138
VZ
250
251MSWOBJS = ..\msw\$D\accel.obj \
8e97b17b
VZ
252 ..\msw\$D\app.obj \
253 ..\msw\ole\$D\automtn.obj \
254 ..\msw\$D\bitmap.obj \
255 ..\msw\$D\bmpbuttn.obj \
256 ..\msw\$D\brush.obj \
257 ..\msw\$D\button.obj \
258 ..\msw\$D\caret.obj \
259 ..\msw\$D\checkbox.obj \
260 ..\msw\$D\checklst.obj \
261 ..\msw\$D\choice.obj \
262 ..\msw\$D\clipbrd.obj \
263 ..\msw\$D\colordlg.obj \
264 ..\msw\$D\colour.obj \
265 ..\msw\$D\combobox.obj \
266 ..\msw\$D\control.obj \
267 ..\msw\$D\curico.obj \
268 ..\msw\$D\cursor.obj \
269 ..\msw\$D\data.obj \
270 ..\msw\ole\$D\dataobj.obj \
271 ..\msw\$D\dc.obj \
272 ..\msw\$D\dcclient.obj \
273 ..\msw\$D\dcmemory.obj \
274 ..\msw\$D\dcprint.obj \
275 ..\msw\$D\dcscreen.obj \
276 ..\msw\$D\dde.obj \
277 ..\msw\$D\dialog.obj \
278 ..\msw\$D\dialup.obj \
279 ..\msw\$D\dib.obj \
280 ..\msw\$D\dibutils.obj \
281 ..\msw\$D\dir.obj \
282 ..\msw\$D\dirdlg.obj \
283 ..\msw\$D\dragimag.obj \
284 ..\msw\ole\$D\dropsrc.obj \
285 ..\msw\ole\$D\droptgt.obj \
286 ..\msw\$D\enhmeta.obj \
287 ..\msw\$D\filedlg.obj \
288 ..\msw\$D\font.obj \
289 ..\msw\$D\fontdlg.obj \
290 ..\msw\$D\fontenum.obj \
291 ..\msw\$D\fontutil.obj \
292 ..\msw\$D\frame.obj \
293 ..\msw\$D\gauge95.obj \
294 ..\msw\$D\gdiimage.obj \
295 ..\msw\$D\gdiobj.obj \
296 ..\msw\$D\glcanvas.obj \
297 ..\msw\$D\gsocket.obj \
298 ..\msw\$D\gsockmsw.obj \
f6bcfd97 299 ..\msw\$D\helpchm.obj \
8e97b17b
VZ
300 ..\msw\$D\helpwin.obj \
301 ..\msw\$D\icon.obj \
302 ..\msw\$D\imaglist.obj \
303 ..\msw\$D\joystick.obj \
304 ..\msw\$D\listbox.obj \
305 ..\msw\$D\listctrl.obj \
306 ..\msw\$D\main.obj \
307 ..\msw\$D\mdi.obj \
308 ..\msw\$D\menu.obj \
309 ..\msw\$D\menuitem.obj \
310 ..\msw\$D\metafile.obj \
311 ..\msw\$D\mimetype.obj \
312 ..\msw\$D\minifram.obj \
313 ..\msw\$D\msgdlg.obj \
314 ..\msw\$D\nativdlg.obj \
315 ..\msw\$D\notebook.obj \
316 ..\msw\ole\$D\oleutils.obj \
317 ..\msw\$D\ownerdrw.obj \
318 ..\msw\$D\palette.obj \
319 ..\msw\$D\pen.obj \
320 ..\msw\$D\penwin.obj \
321 ..\msw\$D\printdlg.obj \
322 ..\msw\$D\printwin.obj \
323 ..\msw\$D\radiobox.obj \
324 ..\msw\$D\radiobut.obj \
325 ..\msw\$D\regconf.obj \
326 ..\msw\$D\region.obj \
327 ..\msw\$D\registry.obj \
328 ..\msw\$D\scrolbar.obj \
329 ..\msw\$D\settings.obj \
330 ..\msw\$D\slider95.obj \
8773bc76 331 ..\msw\$D\snglinst.obj \
8e97b17b
VZ
332 ..\msw\$D\spinbutt.obj \
333 ..\msw\$D\spinctrl.obj \
334 ..\msw\$D\statbmp.obj \
335 ..\msw\$D\statbox.obj \
336 ..\msw\$D\statbr95.obj \
337 ..\msw\$D\statline.obj \
338 ..\msw\$D\stattext.obj \
339 ..\msw\$D\tabctrl.obj \
340 ..\msw\$D\taskbar.obj \
341 ..\msw\$D\tbar95.obj \
342 ..\msw\$D\textctrl.obj \
1db8dc4a 343 ..\msw\$D\tglbtn.obj \
8e97b17b
VZ
344 ..\msw\$D\thread.obj \
345 ..\msw\$D\timer.obj \
346 ..\msw\$D\tooltip.obj \
347 ..\msw\$D\treectrl.obj \
348 ..\msw\$D\utils.obj \
349 ..\msw\$D\utilsexc.obj \
350 ..\msw\ole\$D\uuid.obj \
351 ..\msw\$D\wave.obj \
f50fd919 352 ..\msw\$D\window.obj
2bda0e17 353
2131a664 354HTMLOBJS = ..\html\$D\helpctrl.obj \
8e97b17b
VZ
355 ..\html\$D\helpdata.obj \
356 ..\html\$D\helpfrm.obj \
357 ..\html\$D\htmlcell.obj \
358 ..\html\$D\htmlfilt.obj \
359 ..\html\$D\htmlpars.obj \
360 ..\html\$D\htmltag.obj \
361 ..\html\$D\htmlwin.obj \
362 ..\html\$D\htmprint.obj \
363 ..\html\$D\m_dflist.obj \
364 ..\html\$D\m_fonts.obj \
365 ..\html\$D\m_hline.obj \
366 ..\html\$D\m_image.obj \
367 ..\html\$D\m_layout.obj \
368 ..\html\$D\m_links.obj \
369 ..\html\$D\m_list.obj \
370 ..\html\$D\m_meta.obj \
371 ..\html\$D\m_pre.obj \
372 ..\html\$D\m_tables.obj \
373 ..\html\$D\winpars.obj
2131a664 374
4705ee2d 375
ca5c8b2d 376# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
4705ee2d 377# Add $(HTMLOBJS) if wanting wxHTML classes
2bbf4618 378OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
fcc6dddd 379
ca5c8b2d 380# Normal, static library
ab85e6cd 381all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff $(LIBTARGET)
8816486e
GT
382
383setuph:
384 cd $(WXDIR)\include\wx\msw
385 if not exist setup.h copy setup0.h setup.h
386 cd $(WXDIR)\src\msw
fcc6dddd 387
8773bc76 388dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
4705ee2d 389
ca5c8b2d 390$D:
162999bf 391 mkdir $D
fcc6dddd 392
ca5c8b2d 393$(COMMDIR)\$D:
162999bf 394 mkdir $(COMMDIR)\$D
fcc6dddd 395
ca5c8b2d 396$(MSWDIR)\$D:
162999bf 397 mkdir $(MSWDIR)\$D
fcc6dddd 398
ca5c8b2d 399$(GENDIR)\$D:
162999bf 400 mkdir $(GENDIR)\$D
fcc6dddd 401
ca5c8b2d 402$(OLEDIR)\$D:
162999bf 403 mkdir $(OLEDIR)\$D
fcc6dddd 404
4705ee2d 405$(HTMLDIR)\$D:
162999bf 406 mkdir $(HTMLDIR)\$D
4705ee2d 407
8773bc76
VZ
408$(JPEGDIR)\$D:
409 mkdir $(JPEGDIR)\$D
410
411$(TIFFDIR)\$D:
412 mkdir $(TIFFDIR)\$D
413
ca5c8b2d
JS
414# wxWindows library as DLL
415dll:
a4fe6524 416 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
2bda0e17 417
ca5c8b2d 418cleandll:
a4fe6524 419 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
2bda0e17 420
ca5c8b2d
JS
421# wxWindows + app as DLL. Only affects main.cpp.
422dllapp:
423 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
79c3e0e1 424
ca5c8b2d
JS
425# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
426dllnp:
427 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
79c3e0e1 428
ca5c8b2d
JS
429# Use this to make dummy.obj and generate a PCH.
430# You might use the dll target, then the pch target, in order to
431# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
432#
433# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
434# are associated with wx.lib. When using a DLL version of wxWindows, however,
435# the DLL is compiled without a PCH, so you only need it for compiling the app.
436# In fact headers are compiled differently depending on whether a DLL is being made
437# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
438# in each case) so you couldn't use the same PCH.
e12f91dc 439pch:
a4fe6524 440 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
79c3e0e1 441
ca5c8b2d
JS
442pch1: dirs $(DUMMYOBJ)
443 echo $(DUMMYOBJ)
79c3e0e1 444
ca5c8b2d 445!if "$(WXMAKINGDLL)" != "1"
cf447356 446
ca5c8b2d 447### Static library
fcc6dddd 448
ca5c8b2d 449$(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
918a745c 450 -erase $(LIBTARGET)
8e97b17b 451 $(implib) @<<
ca5c8b2d
JS
452-out:$@
453-machine:$(CPU)
7fee680b 454$(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
cf447356
GL
455<<
456
ca5c8b2d 457!else
341287bf 458
ca5c8b2d 459### Update the import library
3d8bd7d6 460
ca5c8b2d
JS
461$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
462 $(implib) @<<
463 -machine:$(CPU)
464 -def:wx.def
465 $(DUMMYOBJ) $(OBJECTS)
466 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
ca7731b7
GL
467<<
468
ee284519
RD
469!if "$(USE_GLCANVAS)" == "1"
470GL_LIBS=opengl32.lib glu32.lib
20a2bdc9 471# GL_LIBS_DELAY=/delayload:opengl32.dll
ee284519
RD
472!endif
473
ca5c8b2d 474# Update the dynamic link library
a9221a95 475$(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
ca5c8b2d
JS
476 $(link) @<<
477 $(LINKFLAGS)
478 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
0537351f 479 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(GL_LIBS) $(WXDIR)\lib\png$(LIBEXT).lib $(WXDIR)\lib\zlib$(LIBEXT).lib $(WXDIR)\lib\jpeg$(LIBEXT).lib $(WXDIR)\lib\tiff$(LIBEXT).lib
f6bcfd97
BP
480 delayimp.lib
481 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
482 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
9e85f5ec 483 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
2bda0e17
KB
484<<
485
ca5c8b2d 486!endif
2bda0e17 487
9e85f5ec 488# /delayload:winmm.dll # Removed because it can cause a crash for some people
2bda0e17
KB
489
490########################################################
ca5c8b2d 491# Windows-specific objects
2bda0e17 492
ca5c8b2d
JS
493$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
494 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
2bda0e17 495
ca5c8b2d 496$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
2bda0e17 497 cl @<<
ca5c8b2d 498$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
2bda0e17
KB
499<<
500
a2327a9f 501# Compile certain files with no optimization (some files cause a
f6bcfd97 502# compiler crash for buggy versions of VC++, e.g. 4.0).
7fee680b 503# Don't forget to put FINAL=1 on the command line.
a2327a9f 504noopt:
8e97b17b 505 cl @<<
a2327a9f
JS
506$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
507<<
8e97b17b 508 cl @<<
a2327a9f
JS
509$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
510<<
8e97b17b 511 cl @<<
a2327a9f 512$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
669f7a11
JS
513<<
514 cl @<<
515$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
a2327a9f 516<<
8e97b17b 517 cl @<<
a2327a9f
JS
518$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
519<<
8e97b17b 520 cl @<<
a2327a9f
JS
521$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
522<<
8e97b17b 523 cl @<<
a2327a9f
JS
524$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
525<<
8e97b17b 526 cl @<<
a2327a9f 527$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
669f7a11
JS
528<<
529 cl @<<
530$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
a2327a9f 531<<
8e97b17b 532 cl @<<
a2327a9f
JS
533$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
534<<
8e97b17b 535 cl @<<
a2327a9f
JS
536$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
537<<
8e97b17b 538 cl @<<
a2327a9f
JS
539$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
540<<
8e97b17b 541 cl @<<
a2327a9f
JS
542$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
543<<
8e97b17b 544 cl @<<
a2327a9f
JS
545$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
546<<
8e97b17b 547 cl @<<
a2327a9f
JS
548$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
549<<
8e97b17b 550 cl @<<
a2327a9f
JS
551$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
552<<
8e97b17b 553 cl @<<
a2327a9f
JS
554$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
555<<
8e97b17b 556 cl @<<
a2327a9f
JS
557$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
558<<
8e97b17b 559 cl @<<
a2327a9f
JS
560$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
561<<
8e97b17b 562 cl @<<
a2327a9f
JS
563$(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
564<<
565
ca5c8b2d 566..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
f60d0f94 567 cl @<<
ca5c8b2d 568$(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
f60d0f94
JS
569<<
570
ca5c8b2d
JS
571..\common\y_tab.c: ..\common\dosyacc.c
572 copy "..\common"\dosyacc.c "..\common"\y_tab.c
f60d0f94 573
ca5c8b2d
JS
574..\common\lex_yy.c: ..\common\doslex.c
575 copy "..\common"\doslex.c "..\common"\lex_yy.c
f60d0f94 576
8e97b17b 577$(OBJECTS): $(WXDIR)/include/wx/setup.h
2bda0e17 578
4705ee2d
RS
579..\common\$D\unzip.obj: ..\common\unzip.c
580 cl @<<
581$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
582<<
583
2bda0e17
KB
584# Peripheral components
585
fbcb4166
JS
586png:
587 cd $(WXDIR)\src\png
3156ba6e 588 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
fbcb4166
JS
589 cd $(WXDIR)\src\msw
590
591clean_png:
592 cd $(WXDIR)\src\png
48d1144b 593 nmake -f makefile.vc clean
fbcb4166
JS
594 cd $(WXDIR)\src\msw
595
596zlib:
597 cd $(WXDIR)\src\zlib
3156ba6e 598 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
fbcb4166
JS
599 cd $(WXDIR)\src\msw
600
601clean_zlib:
602 cd $(WXDIR)\src\zlib
48d1144b 603 nmake -f makefile.vc clean
fbcb4166
JS
604 cd $(WXDIR)\src\msw
605
0f3e3e0c
JS
606jpeg:
607 cd $(WXDIR)\src\jpeg
3156ba6e 608 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
0f3e3e0c
JS
609 cd $(WXDIR)\src\msw
610
611clean_jpeg:
612 cd $(WXDIR)\src\jpeg
613 nmake -f makefile.vc clean
614 cd $(WXDIR)\src\msw
615
112d35a2
VZ
616tiff:
617 cd $(WXDIR)\src\tiff
618 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
619 cd $(WXDIR)\src\msw
620
621clean_tiff:
622 cd $(WXDIR)\src\tiff
623 nmake -f makefile.vc clean
624 cd $(WXDIR)\src\msw
625
2bda0e17
KB
626rcparser:
627 cd $(WXDIR)\utils\rcparser\src
48d1144b 628 nmake -f makefile.vc FINAL=$(FINAL)
2bda0e17
KB
629 cd $(WXDIR)\src\msw
630
ab85e6cd 631cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff
918a745c
VZ
632 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
633 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
634 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
635 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
636 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
8e97b17b
VZ
637
638
639clean: $(PERIPH_CLEAN_TARGET)
918a745c
VZ
640 -erase $(LIBTARGET)
641 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
642 -erase *.pdb
643 -erase *.sbr
644 -erase $(WXLIBNAME).pch
645 -erase $(GENDIR)\$D\*.obj
646 -erase $(GENDIR)\$D\*.pdb
647 -erase $(GENDIR)\$D\*.sbr
648 -erase $(COMMDIR)\$D\*.obj
649 -erase $(COMMDIR)\$D\*.pdb
650 -erase $(COMMDIR)\$D\*.sbr
651 -erase $(COMMDIR)\y_tab.c
652 -erase $(COMMDIR)\lex_yy.c
653 -erase $(MSWDIR)\$D\*.obj
654 -erase $(MSWDIR)\$D\*.sbr
655 -erase $(MSWDIR)\$D\*.pdb
8773bc76 656 -erase $(MSWDIR)\$D\*.pch
918a745c
VZ
657 -erase $(OLEDIR)\$D\*.obj
658 -erase $(OLEDIR)\$D\*.sbr
659 -erase $(OLEDIR)\$D\*.pdb
660 -erase $(HTMLDIR)\$D\*.obj
661 -erase $(HTMLDIR)\$D\*.sbr
662 -erase $(HTMLDIR)\$D\*.pdb
8773bc76
VZ
663 -erase $(JPEGDIR)\$D\*.obj
664 -erase $(JPEGDIR)\$D\*.sbr
665 -erase $(JPEGDIR)\$D\*.idb
666 -erase $(JPEGDIR)\$D\*.pdb
667 -erase $(TIFFDIR)\$D\*.obj
668 -erase $(TIFFDIR)\$D\*.sbr
669 -erase $(TIFFDIR)\$D\*.pdb
670 -erase $(TIFFDIR)\$D\*.idb
ca5c8b2d 671 -rmdir $(D)
8773bc76
VZ
672 -rmdir $(GENDIR)\$(D)
673 -rmdir $(COMMDIR)\$(D)
674 -rmdir $(MSWDIR)\$(D)
675 -rmdir $(OLEDIR)\$(D)
676 -rmdir $(HTMLDIR)\$(D)
677 -rmdir $(JPEGDIR)\$(D)
678 -rmdir $(TIFFDIR)\$(D)
2bda0e17 679
2bda0e17 680# Making documents
ab85e6cd 681docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
62448488 682alldocs: docs
9d9b7755 683hlp: wxhlp
2bda0e17 684wxhlp: $(DOCDIR)/winhelp/wx.hlp
2bda0e17
KB
685refhlp: $(DOCDIR)/winhelp/techref.hlp
686rtf: $(DOCDIR)/winhelp/wx.rtf
2bda0e17 687pdfrtf: $(DOCDIR)/pdf/wx.rtf
2bda0e17 688refpdfrtf: $(DOCDIR)/pdf/techref.rtf
8e97b17b 689html: wxhtml
f6bcfd97 690htb: $(DOCDIR)\htb\wx.htb
8e97b17b 691wxhtml: $(DOCDIR)\html\wx\wx.htm
f6bcfd97 692htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
20e85460 693ps: wxps referencps
8e97b17b
VZ
694wxps: $(WXDIR)\docs\ps\wx.ps
695referencps: $(WXDIR)\docs\ps\referenc.ps
2bda0e17 696
9d9b7755 697allhlp: wxhlp
2bda0e17 698 cd $(WXDIR)\utils\dialoged\src
48d1144b 699 nmake -f makefile.vc hlp
ab85e6cd
JS
700 cd $(WXDIR)\utils\tex2rtf\src
701 nmake -f makefile.vc hlp
2bda0e17
KB
702 cd $(THISDIR)
703
9d9b7755 704allhtml: wxhtml
2bda0e17 705 cd $(WXDIR)\utils\dialoged\src
48d1144b 706 nmake -f makefile.vc html
ab85e6cd
JS
707 cd $(WXDIR)\utils\tex2rtf\src
708 nmake -f makefile.vc html
709 cd $(THISDIR)
710
711allhtmlhelp: htmlhelp
712 cd $(WXDIR)\utils\dialoged\src
713 nmake -f makefile.vc htmlhelp
714 cd $(WXDIR)\utils\tex2rtf\src
715 nmake -f makefile.vc htmlhelp
716 cd $(THISDIR)
717
718allhtb: htb
719 cd $(WXDIR)\utils\dialoged\src
720 nmake -f makefile.vc htb
721 cd $(WXDIR)\utils\tex2rtf\src
722 nmake -f makefile.vc htb
2bda0e17
KB
723 cd $(THISDIR)
724
9d9b7755 725allps: wxps referencps
2bda0e17 726 cd $(WXDIR)\utils\dialoged\src
48d1144b 727 nmake -f makefile.vc ps
ab85e6cd
JS
728 cd $(WXDIR)\utils\tex2rtf\src
729 nmake -f makefile.vc ps
2bda0e17
KB
730 cd $(THISDIR)
731
9d9b7755 732allpdfrtf: pdfrtf
2bda0e17 733 cd $(WXDIR)\utils\dialoged\src
48d1144b 734 nmake -f makefile.vc pdfrtf
ab85e6cd
JS
735 cd $(WXDIR)\utils\tex2rtf\src
736 nmake -f makefile.vc pdfrtf
2bda0e17
KB
737 cd $(THISDIR)
738
2bda0e17
KB
739$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
740 cd $(DOCDIR)/latex/wx
918a745c 741 -erase wx.ph
2bda0e17 742 hc wx
918a745c
VZ
743 -erase $(DOCDIR)\winhelp\wx.hlp
744 -erase $(DOCDIR)\winhelp\wx.cnt
2bda0e17
KB
745 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
746 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
747 cd $(THISDIR)
748
2bda0e17
KB
749$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
750 cd $(DOCDIR)/latex/techref
918a745c 751 -erase techref.ph
2bda0e17
KB
752 hc techref
753 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
754 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
755 cd $(THISDIR)
756
757$(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
758 cd $(DOCDIR)\latex\wx
e12f91dc 759 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
2bda0e17
KB
760 cd $(THISDIR)
761
2bda0e17
KB
762$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
763 cd $(DOCDIR)\latex\techref
e12f91dc 764 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
2bda0e17
KB
765 cd $(THISDIR)
766
767$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
768 cd $(DOCDIR)\latex\wx
48c12cb1
PA
769 -copy *.wmf $(DOCDIR)\pdf
770 -copy *.bmp $(DOCDIR)\pdf
e12f91dc 771 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
2bda0e17
KB
772 cd $(THISDIR)
773
2bda0e17
KB
774$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
775 cd $(DOCDIR)\latex\techref
48c12cb1
PA
776 -copy *.wmf $(DOCDIR)\pdf
777 -copy *.bmp $(DOCDIR)\pdf
e12f91dc 778 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
2bda0e17
KB
779 cd $(THISDIR)
780
781$(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
782 cd $(DOCDIR)\latex\wx
162999bf 783 -mkdir $(DOCDIR)\html\wx
f6bcfd97 784 copy *.gif $(DOCDIR)\html\wx
e12f91dc 785 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
918a745c
VZ
786 -erase $(DOCDIR)\html\wx\*.con
787 -erase $(DOCDIR)\html\wx\*.ref
788 -erase $(DOCDIR)\latex\wx\*.con
789 -erase $(DOCDIR)\latex\wx\*.ref
06e43511 790 cd $(THISDIR)
2bda0e17 791
f6bcfd97 792$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
8e97b17b
VZ
793 cd $(DOCDIR)\html\wx
794 -hhc wx.hhp
f6bcfd97 795 -mkdir ..\..\htmlhelp
918a745c 796 -erase $(DOCDIR)\htmlhelp\wx.chm
f6bcfd97 797 move wx.chm ..\..\htmlhelp
8e97b17b 798 cd $(THISDIR)
a8db5b6a 799
8e97b17b
VZ
800$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
801 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
802 -latex manual
803 -latex manual
804 -makeindx manual
805 -bibtex manual
806 -latex manual
807 -latex manual
808 cd $(THISDIR)
809
8e97b17b
VZ
810$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
811 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
812 -dvips32 -o wx.ps manual
813 move wx.ps $(WXDIR)\docs\ps\wx.ps
814 cd $(THISDIR)
815
8e97b17b
VZ
816$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
817 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
818 -latex referenc
819 -latex referenc
820 -makeindx referenc
821 -bibtex referenc
822 -latex referenc
823 -latex referenc
824 cd $(THISDIR)
825
8e97b17b
VZ
826$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
827 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
828 -dvips32 -o referenc.ps referenc
829 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
830 cd $(THISDIR)
831
fac26663
JS
832# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
833# files, renamed to htb.
834# This can then be used with e.g. helpview.
835# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
f6bcfd97 836$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
fac26663 837 cd $(WXDIR)\docs\html\wx
918a745c 838 -erase wx.zip wx.htb
f1d93f0b 839 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
f6bcfd97
BP
840 -mkdir $(DOCDIR)\htb
841 move wx.zip $(DOCDIR)\htb\wx.htb
fac26663
JS
842 cd $(THISDIR)
843
da36f544
JS
844# In order to force document reprocessing
845touchmanual:
846 -touch $(WXDIR)\docs\latex\wx\manual.tex
62448488
JS
847
848updatedocs: touchmanual alldocs
849
f6bcfd97 850cleandocs:
918a745c
VZ
851 -erase $(DOCDIR)\winhelp\wx.hlp
852 -erase $(DOCDIR)\winhelp\wx.cnt
853 -erase $(DOCDIR)\html\wx\*.htm
854 -erase $(DOCDIR)\pdf\wx.rtf
855 -erase $(DOCDIR)\latex\wx\wx.rtf
856 -erase $(DOCDIR)\latex\wx\WX.PH
857 -erase $(DOCDIR)\htmlhelp\wx.chm
858 -erase $(DOCDIR)\htb\wx.htb
f6bcfd97 859
62448488
JS
860# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
861# Office StartUp folder, and PDFMaker should be installed.
862updatepdf: # touchmanual pdfrtf
e12f91dc 863 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
2845ddc2 864
9be9b974
RD
865
866MFTYPE=vc
867makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
8e97b17b
VZ
868 cd $(WXWIN)\distrib\msw\tmake
869 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
870 copy makefile.$(MFTYPE) $(WXWIN)\src\msw
9be9b974 871