1 # This file was automatically generated by tmake at 16:03, 2001/08/01
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
8 # Copyright: (c) 1997, Julian Smart
12 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
15 # FINAL=1 argument to nmake to build version with no debugging info.
16 # dll builds a library (wxdll.lib) suitable for creating DLLs
18 !include <..\makevc.env>
20 THISDIR=$(WXWIN)\src\msw
22 !if "$(WXMAKINGDLL)" == "1"
23 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
24 DUMMYOBJ=$D\dummydll.obj
30 # This one overrides the others, to be consistent with the settings in setup.h
31 MINIMAL_WXWINDOWS_SETUP=0
37 # Set to 0 if not using GLCanvas (only affects DLL build)
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.
44 GENDIR=$(WXDIR)\src\generic
45 COMMDIR=$(WXDIR)\src\common
47 MSWDIR=$(WXDIR)\src\msw
48 DOCDIR = $(WXDIR)\docs
49 HTMLDIR = $(WXDIR)\src\html
50 JPEGDIR = $(WXDIR)\src\jpeg
51 TIFFDIR = $(WXDIR)\src\tiff
53 {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
55 $(CPPFLAGS) /Fo$@ /c /Tp $<
58 {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
60 $(CPPFLAGS) /Fo$@ /c /Tp $<
63 {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
65 $(CPPFLAGS2) /Fo$@ /c /Tc $<
68 {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /c /Tp $<
73 {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
75 $(CPPFLAGS2) /Fo$@ /c /Tc $<
78 {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
80 $(CPPFLAGS) /Fo$@ /c /Tp $<
83 {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
85 $(CPPFLAGS) /Fo$@ /c /Tp $<
88 GENERICOBJS= $(GENDIR)\$D\busyinfo.obj \
89 $(GENDIR)\$D\calctrl.obj \
90 $(GENDIR)\$D\choicdgg.obj \
91 $(GENDIR)\$D\dirctrlg.obj \
92 $(GENDIR)\$D\dragimgg.obj \
93 $(GENDIR)\$D\grid.obj \
94 $(GENDIR)\$D\gridctrl.obj \
95 $(GENDIR)\$D\gridsel.obj \
96 $(GENDIR)\$D\laywin.obj \
97 $(GENDIR)\$D\logg.obj \
98 $(GENDIR)\$D\numdlgg.obj \
99 $(GENDIR)\$D\panelg.obj \
100 $(GENDIR)\$D\progdlgg.obj \
101 $(GENDIR)\$D\prop.obj \
102 $(GENDIR)\$D\propform.obj \
103 $(GENDIR)\$D\proplist.obj \
104 $(GENDIR)\$D\sashwin.obj \
105 $(GENDIR)\$D\scrlwing.obj \
106 $(GENDIR)\$D\spinctlg.obj \
107 $(GENDIR)\$D\splash.obj \
108 $(GENDIR)\$D\splitter.obj \
109 $(GENDIR)\$D\statusbr.obj \
110 $(GENDIR)\$D\tbarsmpl.obj \
111 $(GENDIR)\$D\textdlgg.obj \
112 $(GENDIR)\$D\tipdlg.obj \
113 $(GENDIR)\$D\tipwin.obj \
114 $(GENDIR)\$D\treectlg.obj \
115 $(GENDIR)\$D\treelay.obj \
116 $(GENDIR)\$D\wizard.obj
118 # These are generic things that don't need to be compiled on MSW,
119 # but sometimes it's useful to do so for testing purposes.
120 NONESSENTIALOBJS= $(GENDIR)\$D\colrdlgg.obj \
121 $(GENDIR)\$D\dirdlgg.obj \
122 $(GENDIR)\$D\fontdlgg.obj \
123 $(GENDIR)\$D\helpext.obj \
124 $(GENDIR)\$D\helphtml.obj \
125 $(GENDIR)\$D\helpwxht.obj \
126 $(GENDIR)\$D\imaglist.obj \
127 $(GENDIR)\$D\listctrl.obj \
128 $(GENDIR)\$D\msgdlgg.obj \
129 $(GENDIR)\$D\notebook.obj \
130 $(GENDIR)\$D\tabg.obj
133 $(COMMDIR)\$D\y_tab.obj \
134 $(COMMDIR)\$D\appcmn.obj \
135 $(COMMDIR)\$D\choiccmn.obj \
136 $(COMMDIR)\$D\clipcmn.obj \
137 $(COMMDIR)\$D\cmdline.obj \
138 $(COMMDIR)\$D\cmdproc.obj \
139 $(COMMDIR)\$D\cmndata.obj \
140 $(COMMDIR)\$D\config.obj \
141 $(COMMDIR)\$D\cshelp.obj \
142 $(COMMDIR)\$D\ctrlcmn.obj \
143 $(COMMDIR)\$D\ctrlsub.obj \
144 $(COMMDIR)\$D\datetime.obj \
145 $(COMMDIR)\$D\datstrm.obj \
146 $(COMMDIR)\$D\db.obj \
147 $(COMMDIR)\$D\dbgrid.obj \
148 $(COMMDIR)\$D\dbtable.obj \
149 $(COMMDIR)\$D\dcbase.obj \
150 $(COMMDIR)\$D\dircmn.obj \
151 $(COMMDIR)\$D\dlgcmn.obj \
152 $(COMMDIR)\$D\dndcmn.obj \
153 $(COMMDIR)\$D\dobjcmn.obj \
154 $(COMMDIR)\$D\docmdi.obj \
155 $(COMMDIR)\$D\docview.obj \
156 $(COMMDIR)\$D\dynarray.obj \
157 $(COMMDIR)\$D\dynlib.obj \
158 $(COMMDIR)\$D\effects.obj \
159 $(COMMDIR)\$D\encconv.obj \
160 $(COMMDIR)\$D\event.obj \
161 $(COMMDIR)\$D\extended.obj \
162 $(COMMDIR)\$D\fddlgcmn.obj \
163 $(COMMDIR)\$D\ffile.obj \
164 $(COMMDIR)\$D\file.obj \
165 $(COMMDIR)\$D\fileconf.obj \
166 $(COMMDIR)\$D\filefn.obj \
167 $(COMMDIR)\$D\filename.obj \
168 $(COMMDIR)\$D\filesys.obj \
169 $(COMMDIR)\$D\fontcmn.obj \
170 $(COMMDIR)\$D\fontmap.obj \
171 $(COMMDIR)\$D\framecmn.obj \
172 $(COMMDIR)\$D\fs_inet.obj \
173 $(COMMDIR)\$D\fs_mem.obj \
174 $(COMMDIR)\$D\fs_zip.obj \
175 $(COMMDIR)\$D\ftp.obj \
176 $(COMMDIR)\$D\gaugecmn.obj \
177 $(COMMDIR)\$D\gdicmn.obj \
178 $(COMMDIR)\$D\geometry.obj \
179 $(COMMDIR)\$D\gifdecod.obj \
180 $(COMMDIR)\$D\hash.obj \
181 $(COMMDIR)\$D\helpbase.obj \
182 $(COMMDIR)\$D\http.obj \
183 $(COMMDIR)\$D\imagall.obj \
184 $(COMMDIR)\$D\imagbmp.obj \
185 $(COMMDIR)\$D\image.obj \
186 $(COMMDIR)\$D\imaggif.obj \
187 $(COMMDIR)\$D\imagjpeg.obj \
188 $(COMMDIR)\$D\imagpcx.obj \
189 $(COMMDIR)\$D\imagpng.obj \
190 $(COMMDIR)\$D\imagpnm.obj \
191 $(COMMDIR)\$D\imagtiff.obj \
192 $(COMMDIR)\$D\imagxpm.obj \
193 $(COMMDIR)\$D\intl.obj \
194 $(COMMDIR)\$D\ipcbase.obj \
195 $(COMMDIR)\$D\layout.obj \
196 $(COMMDIR)\$D\lboxcmn.obj \
197 $(COMMDIR)\$D\list.obj \
198 $(COMMDIR)\$D\log.obj \
199 $(COMMDIR)\$D\longlong.obj \
200 $(COMMDIR)\$D\matrix.obj \
201 $(COMMDIR)\$D\memory.obj \
202 $(COMMDIR)\$D\menucmn.obj \
203 $(COMMDIR)\$D\mimecmn.obj \
204 $(COMMDIR)\$D\module.obj \
205 $(COMMDIR)\$D\mstream.obj \
206 $(COMMDIR)\$D\nbkbase.obj \
207 $(COMMDIR)\$D\object.obj \
208 $(COMMDIR)\$D\objstrm.obj \
209 $(COMMDIR)\$D\odbc.obj \
210 $(COMMDIR)\$D\paper.obj \
211 $(COMMDIR)\$D\popupcmn.obj \
212 $(COMMDIR)\$D\prntbase.obj \
213 $(COMMDIR)\$D\process.obj \
214 $(COMMDIR)\$D\protocol.obj \
215 $(COMMDIR)\$D\quantize.obj \
216 $(COMMDIR)\$D\radiocmn.obj \
217 $(COMMDIR)\$D\regex.obj \
218 $(COMMDIR)\$D\resource.obj \
219 $(COMMDIR)\$D\sckaddr.obj \
220 $(COMMDIR)\$D\sckfile.obj \
221 $(COMMDIR)\$D\sckipc.obj \
222 $(COMMDIR)\$D\sckstrm.obj \
223 $(COMMDIR)\$D\serbase.obj \
224 $(COMMDIR)\$D\sizer.obj \
225 $(COMMDIR)\$D\socket.obj \
226 $(COMMDIR)\$D\strconv.obj \
227 $(COMMDIR)\$D\stream.obj \
228 $(COMMDIR)\$D\string.obj \
229 $(COMMDIR)\$D\sysopt.obj \
230 $(COMMDIR)\$D\tbarbase.obj \
231 $(COMMDIR)\$D\textcmn.obj \
232 $(COMMDIR)\$D\textfile.obj \
233 $(COMMDIR)\$D\timercmn.obj \
234 $(COMMDIR)\$D\tokenzr.obj \
235 $(COMMDIR)\$D\treebase.obj \
236 $(COMMDIR)\$D\txtstrm.obj \
237 $(COMMDIR)\$D\unzip.obj \
238 $(COMMDIR)\$D\url.obj \
239 $(COMMDIR)\$D\utilscmn.obj \
240 $(COMMDIR)\$D\valgen.obj \
241 $(COMMDIR)\$D\validate.obj \
242 $(COMMDIR)\$D\valtext.obj \
243 $(COMMDIR)\$D\variant.obj \
244 $(COMMDIR)\$D\wfstream.obj \
245 $(COMMDIR)\$D\wincmn.obj \
246 $(COMMDIR)\$D\wxchar.obj \
247 $(COMMDIR)\$D\wxexpr.obj \
248 $(COMMDIR)\$D\xpmdecod.obj \
249 $(COMMDIR)\$D\zipstrm.obj \
250 $(COMMDIR)\$D\zstream.obj
252 MSWOBJS = $(MSWDIR)\$D\accel.obj \
253 $(MSWDIR)\$D\app.obj \
254 $(OLEDIR)\$D\automtn.obj \
255 $(MSWDIR)\$D\bitmap.obj \
256 $(MSWDIR)\$D\bmpbuttn.obj \
257 $(MSWDIR)\$D\brush.obj \
258 $(MSWDIR)\$D\button.obj \
259 $(MSWDIR)\$D\caret.obj \
260 $(MSWDIR)\$D\checkbox.obj \
261 $(MSWDIR)\$D\checklst.obj \
262 $(MSWDIR)\$D\choice.obj \
263 $(MSWDIR)\$D\clipbrd.obj \
264 $(MSWDIR)\$D\colordlg.obj \
265 $(MSWDIR)\$D\colour.obj \
266 $(MSWDIR)\$D\combobox.obj \
267 $(MSWDIR)\$D\control.obj \
268 $(MSWDIR)\$D\curico.obj \
269 $(MSWDIR)\$D\cursor.obj \
270 $(MSWDIR)\$D\data.obj \
271 $(OLEDIR)\$D\dataobj.obj \
272 $(MSWDIR)\$D\dc.obj \
273 $(MSWDIR)\$D\dcclient.obj \
274 $(MSWDIR)\$D\dcmemory.obj \
275 $(MSWDIR)\$D\dcprint.obj \
276 $(MSWDIR)\$D\dcscreen.obj \
277 $(MSWDIR)\$D\dde.obj \
278 $(MSWDIR)\$D\dialog.obj \
279 $(MSWDIR)\$D\dialup.obj \
280 $(MSWDIR)\$D\dib.obj \
281 $(MSWDIR)\$D\dibutils.obj \
282 $(MSWDIR)\$D\dir.obj \
283 $(MSWDIR)\$D\dirdlg.obj \
284 $(MSWDIR)\$D\dragimag.obj \
285 $(OLEDIR)\$D\dropsrc.obj \
286 $(OLEDIR)\$D\droptgt.obj \
287 $(MSWDIR)\$D\enhmeta.obj \
288 $(MSWDIR)\$D\evtloop.obj \
289 $(MSWDIR)\$D\fdrepdlg.obj \
290 $(MSWDIR)\$D\filedlg.obj \
291 $(MSWDIR)\$D\font.obj \
292 $(MSWDIR)\$D\fontdlg.obj \
293 $(MSWDIR)\$D\fontenum.obj \
294 $(MSWDIR)\$D\fontutil.obj \
295 $(MSWDIR)\$D\frame.obj \
296 $(MSWDIR)\$D\gauge95.obj \
297 $(MSWDIR)\$D\gdiimage.obj \
298 $(MSWDIR)\$D\gdiobj.obj \
299 $(MSWDIR)\$D\glcanvas.obj \
300 $(MSWDIR)\$D\gsocket.obj \
301 $(MSWDIR)\$D\gsockmsw.obj \
302 $(MSWDIR)\$D\helpchm.obj \
303 $(MSWDIR)\$D\helpwin.obj \
304 $(MSWDIR)\$D\icon.obj \
305 $(MSWDIR)\$D\imaglist.obj \
306 $(MSWDIR)\$D\joystick.obj \
307 $(MSWDIR)\$D\listbox.obj \
308 $(MSWDIR)\$D\listctrl.obj \
309 $(MSWDIR)\$D\main.obj \
310 $(MSWDIR)\$D\mdi.obj \
311 $(MSWDIR)\$D\menu.obj \
312 $(MSWDIR)\$D\menuitem.obj \
313 $(MSWDIR)\$D\metafile.obj \
314 $(MSWDIR)\$D\mimetype.obj \
315 $(MSWDIR)\$D\minifram.obj \
316 $(MSWDIR)\$D\msgdlg.obj \
317 $(MSWDIR)\$D\nativdlg.obj \
318 $(MSWDIR)\$D\notebook.obj \
319 $(OLEDIR)\$D\oleutils.obj \
320 $(MSWDIR)\$D\ownerdrw.obj \
321 $(MSWDIR)\$D\palette.obj \
322 $(MSWDIR)\$D\pen.obj \
323 $(MSWDIR)\$D\penwin.obj \
324 $(MSWDIR)\$D\printdlg.obj \
325 $(MSWDIR)\$D\printwin.obj \
326 $(MSWDIR)\$D\radiobox.obj \
327 $(MSWDIR)\$D\radiobut.obj \
328 $(MSWDIR)\$D\regconf.obj \
329 $(MSWDIR)\$D\region.obj \
330 $(MSWDIR)\$D\registry.obj \
331 $(MSWDIR)\$D\scrolbar.obj \
332 $(MSWDIR)\$D\settings.obj \
333 $(MSWDIR)\$D\slider95.obj \
334 $(MSWDIR)\$D\snglinst.obj \
335 $(MSWDIR)\$D\spinbutt.obj \
336 $(MSWDIR)\$D\spinctrl.obj \
337 $(MSWDIR)\$D\statbmp.obj \
338 $(MSWDIR)\$D\statbox.obj \
339 $(MSWDIR)\$D\statbr95.obj \
340 $(MSWDIR)\$D\statline.obj \
341 $(MSWDIR)\$D\stattext.obj \
342 $(MSWDIR)\$D\tabctrl.obj \
343 $(MSWDIR)\$D\taskbar.obj \
344 $(MSWDIR)\$D\tbar95.obj \
345 $(MSWDIR)\$D\textctrl.obj \
346 $(MSWDIR)\$D\tglbtn.obj \
347 $(MSWDIR)\$D\thread.obj \
348 $(MSWDIR)\$D\timer.obj \
349 $(MSWDIR)\$D\tooltip.obj \
350 $(MSWDIR)\$D\treectrl.obj \
351 $(MSWDIR)\$D\utils.obj \
352 $(MSWDIR)\$D\utilsexc.obj \
353 $(OLEDIR)\$D\uuid.obj \
354 $(MSWDIR)\$D\wave.obj \
355 $(MSWDIR)\$D\window.obj
357 HTMLOBJS = $(HTMLDIR)\$D\helpctrl.obj \
358 $(HTMLDIR)\$D\helpdata.obj \
359 $(HTMLDIR)\$D\helpfrm.obj \
360 $(HTMLDIR)\$D\htmlcell.obj \
361 $(HTMLDIR)\$D\htmlfilt.obj \
362 $(HTMLDIR)\$D\htmlpars.obj \
363 $(HTMLDIR)\$D\htmltag.obj \
364 $(HTMLDIR)\$D\htmlwin.obj \
365 $(HTMLDIR)\$D\htmprint.obj \
366 $(HTMLDIR)\$D\m_dflist.obj \
367 $(HTMLDIR)\$D\m_fonts.obj \
368 $(HTMLDIR)\$D\m_hline.obj \
369 $(HTMLDIR)\$D\m_image.obj \
370 $(HTMLDIR)\$D\m_layout.obj \
371 $(HTMLDIR)\$D\m_links.obj \
372 $(HTMLDIR)\$D\m_list.obj \
373 $(HTMLDIR)\$D\m_meta.obj \
374 $(HTMLDIR)\$D\m_pre.obj \
375 $(HTMLDIR)\$D\m_tables.obj \
376 $(HTMLDIR)\$D\winpars.obj
379 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
380 # Add $(HTMLOBJS) if wanting wxHTML classes
381 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
383 # Normal, static library
384 all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
387 cd $(WXDIR)\include\wx\msw
388 if not exist setup.h copy setup0.h setup.h
391 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
417 # wxWindows library as DLL
419 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
422 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
424 # wxWindows + app as DLL. Only affects main.cpp.
426 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
428 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
430 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
432 # Use this to make dummy.obj and generate a PCH.
433 # You might use the dll target, then the pch target, in order to
434 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
436 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
437 # are associated with wx.lib. When using a DLL version of wxWindows, however,
438 # the DLL is compiled without a PCH, so you only need it for compiling the app.
439 # In fact headers are compiled differently depending on whether a DLL is being made
440 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
441 # in each case) so you couldn't use the same PCH.
443 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
445 pch1: dirs $(DUMMYOBJ)
448 !if "$(WXMAKINGDLL)" != "1"
452 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
457 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
462 ### Update the import library
464 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
468 $(DUMMYOBJ) $(OBJECTS)
469 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
472 !if "$(USE_GLCANVAS)" == "1"
473 GL_LIBS=opengl32.lib glu32.lib
474 # GL_LIBS_DELAY=/delayload:opengl32.dll
477 # Update the dynamic link library
478 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
481 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
482 $(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
484 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
485 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
486 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
491 # /delayload:winmm.dll # Removed because it can cause a crash for some people
493 ########################################################
494 # Windows-specific objects
496 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
497 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
499 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
501 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
504 # Compile certain files with no optimization (some files cause a
505 # compiler crash for buggy versions of VC++, e.g. 4.0).
506 # Don't forget to put FINAL=1 on the command line.
509 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
512 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
515 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
518 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
521 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
524 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
527 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
530 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
533 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
536 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
539 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
542 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
545 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
548 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
551 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
554 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
557 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
560 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
563 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
566 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
569 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
571 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
574 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
575 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
577 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
578 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
580 $(OBJECTS): $(WXDIR)/include/wx/setup.h
582 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
584 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
587 # Peripheral components
591 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
596 nmake -f makefile.vc clean
601 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
606 nmake -f makefile.vc clean
611 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
616 nmake -f makefile.vc clean
621 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
626 nmake -f makefile.vc clean
630 cd $(WXDIR)\src\regex
631 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
635 cd $(WXDIR)\src\regex
636 nmake -f makefile.vc clean
640 cd $(WXDIR)\utils\rcparser\src
641 nmake -f makefile.vc FINAL=$(FINAL)
644 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
645 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
646 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
647 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
648 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
649 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
652 clean: $(PERIPH_CLEAN_TARGET)
654 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
657 -erase $(WXLIBNAME).pch
658 -erase $(GENDIR)\$D\*.obj
659 -erase $(GENDIR)\$D\*.pdb
660 -erase $(GENDIR)\$D\*.sbr
661 -erase $(COMMDIR)\$D\*.obj
662 -erase $(COMMDIR)\$D\*.pdb
663 -erase $(COMMDIR)\$D\*.sbr
664 -erase $(COMMDIR)\y_tab.c
665 -erase $(COMMDIR)\lex_yy.c
666 -erase $(MSWDIR)\$D\*.obj
667 -erase $(MSWDIR)\$D\*.sbr
668 -erase $(MSWDIR)\$D\*.pdb
669 -erase $(MSWDIR)\$D\*.pch
670 -erase $(OLEDIR)\$D\*.obj
671 -erase $(OLEDIR)\$D\*.sbr
672 -erase $(OLEDIR)\$D\*.pdb
673 -erase $(HTMLDIR)\$D\*.obj
674 -erase $(HTMLDIR)\$D\*.sbr
675 -erase $(HTMLDIR)\$D\*.pdb
676 -erase $(JPEGDIR)\$D\*.obj
677 -erase $(JPEGDIR)\$D\*.sbr
678 -erase $(JPEGDIR)\$D\*.idb
679 -erase $(JPEGDIR)\$D\*.pdb
680 -erase $(TIFFDIR)\$D\*.obj
681 -erase $(TIFFDIR)\$D\*.sbr
682 -erase $(TIFFDIR)\$D\*.pdb
683 -erase $(TIFFDIR)\$D\*.idb
685 -rmdir $(GENDIR)\$(D)
686 -rmdir $(COMMDIR)\$(D)
687 -rmdir $(MSWDIR)\$(D)
688 -rmdir $(OLEDIR)\$(D)
689 -rmdir $(HTMLDIR)\$(D)
690 -rmdir $(JPEGDIR)\$(D)
691 -rmdir $(TIFFDIR)\$(D)
694 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
697 wxhlp: $(DOCDIR)/winhelp/wx.hlp
698 refhlp: $(DOCDIR)/winhelp/techref.hlp
699 rtf: $(DOCDIR)/winhelp/wx.rtf
700 pdfrtf: $(DOCDIR)/pdf/wx.rtf
701 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
703 htb: $(DOCDIR)\htb\wx.htb
704 wxhtml: $(DOCDIR)\html\wx\wx.htm
705 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
707 wxps: $(WXDIR)\docs\ps\wx.ps
708 referencps: $(WXDIR)\docs\ps\referenc.ps
711 cd $(WXDIR)\utils\dialoged\src
712 nmake -f makefile.vc hlp
713 cd $(WXDIR)\utils\tex2rtf\src
714 nmake -f makefile.vc hlp
718 cd $(WXDIR)\utils\dialoged\src
719 nmake -f makefile.vc html
720 cd $(WXDIR)\utils\tex2rtf\src
721 nmake -f makefile.vc html
724 allhtmlhelp: htmlhelp
725 cd $(WXDIR)\utils\dialoged\src
726 nmake -f makefile.vc htmlhelp
727 cd $(WXDIR)\utils\tex2rtf\src
728 nmake -f makefile.vc htmlhelp
732 cd $(WXDIR)\utils\dialoged\src
733 nmake -f makefile.vc htb
734 cd $(WXDIR)\utils\tex2rtf\src
735 nmake -f makefile.vc htb
738 allps: wxps referencps
739 cd $(WXDIR)\utils\dialoged\src
740 nmake -f makefile.vc ps
741 cd $(WXDIR)\utils\tex2rtf\src
742 nmake -f makefile.vc ps
746 cd $(WXDIR)\utils\dialoged\src
747 nmake -f makefile.vc pdfrtf
748 cd $(WXDIR)\utils\tex2rtf\src
749 nmake -f makefile.vc pdfrtf
752 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
753 cd $(DOCDIR)/latex/wx
756 -erase $(DOCDIR)\winhelp\wx.hlp
757 -erase $(DOCDIR)\winhelp\wx.cnt
758 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
759 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
762 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
763 cd $(DOCDIR)/latex/techref
766 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
767 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
770 $(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
771 cd $(DOCDIR)\latex\wx
772 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
775 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
776 cd $(DOCDIR)\latex\techref
777 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
780 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
781 cd $(DOCDIR)\latex\wx
782 -copy *.wmf $(DOCDIR)\pdf
783 -copy *.bmp $(DOCDIR)\pdf
784 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
787 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
788 cd $(DOCDIR)\latex\techref
789 -copy *.wmf $(DOCDIR)\pdf
790 -copy *.bmp $(DOCDIR)\pdf
791 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
794 $(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
795 cd $(DOCDIR)\latex\wx
796 -mkdir $(DOCDIR)\html\wx
797 copy *.gif $(DOCDIR)\html\wx
798 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
799 -erase $(DOCDIR)\html\wx\*.con
800 -erase $(DOCDIR)\html\wx\*.ref
801 -erase $(DOCDIR)\latex\wx\*.con
802 -erase $(DOCDIR)\latex\wx\*.ref
805 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
808 -mkdir ..\..\htmlhelp
809 -erase $(DOCDIR)\htmlhelp\wx.chm
810 move wx.chm ..\..\htmlhelp
813 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
814 cd $(WXDIR)\docs\latex\wx
823 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
824 cd $(WXDIR)\docs\latex\wx
825 -dvips32 -o wx.ps manual
826 move wx.ps $(WXDIR)\docs\ps\wx.ps
829 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
830 cd $(WXDIR)\docs\latex\wx
839 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
840 cd $(WXDIR)\docs\latex\wx
841 -dvips32 -o referenc.ps referenc
842 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
845 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
846 # files, renamed to htb.
847 # This can then be used with e.g. helpview.
848 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
849 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
850 cd $(WXDIR)\docs\html\wx
852 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
854 move wx.zip $(DOCDIR)\htb\wx.htb
857 # In order to force document reprocessing
859 -touch $(WXDIR)\docs\latex\wx\manual.tex
861 updatedocs: touchmanual alldocs
864 -erase $(DOCDIR)\winhelp\wx.hlp
865 -erase $(DOCDIR)\winhelp\wx.cnt
866 -erase $(DOCDIR)\html\wx\*.htm
867 -erase $(DOCDIR)\pdf\wx.rtf
868 -erase $(DOCDIR)\latex\wx\wx.rtf
869 -erase $(DOCDIR)\latex\wx\WX.PH
870 -erase $(DOCDIR)\htmlhelp\wx.chm
871 -erase $(DOCDIR)\htb\wx.htb
873 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
874 # Office StartUp folder, and PDFMaker should be installed.
875 updatepdf: # touchmanual pdfrtf
876 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
880 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
881 cd $(WXWIN)\distrib\msw\tmake
882 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
883 copy makefile.$(MFTYPE) $(WXWIN)\src\msw