1 # This file was automatically generated by tmake at 15:57, 2000/08/04
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
34 # Set to 0 if not using GLCanvas (only affects DLL build)
37 # These are absolute paths, so that the compiler
38 # generates correct __FILE__ symbols for debugging.
39 # Otherwise you don't be able to double-click on a memory
40 # error to load that file.
41 GENDIR=$(WXDIR)\src\generic
42 COMMDIR=$(WXDIR)\src\common
44 MSWDIR=$(WXDIR)\src\msw
45 DOCDIR = $(WXDIR)\docs
46 HTMLDIR = $(WXDIR)\src\html
48 {..\generic}.cpp{..\generic\$D}.obj:
50 $(CPPFLAGS) /Fo$@ /c /Tp $<
53 {..\common}.cpp{..\common\$D}.obj:
55 $(CPPFLAGS) /Fo$@ /c /Tp $<
58 {..\common}.c{..\common\$D}.obj:
60 $(CPPFLAGS2) /Fo$@ /c /Tc $<
63 {..\msw}.cpp{..\msw\$D}.obj:
65 $(CPPFLAGS) /Fo$@ /c /Tp $<
68 {..\msw}.c{..\msw\$D}.obj:
70 $(CPPFLAGS2) /Fo$@ /c /Tc $<
73 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
75 $(CPPFLAGS) /Fo$@ /c /Tp $<
78 {..\html}.cpp{..\html\$D}.obj:
80 $(CPPFLAGS) /Fo$@ /c /Tp $<
83 GENERICOBJS= ..\generic\$D\busyinfo.obj \
84 ..\generic\$D\calctrl.obj \
85 ..\generic\$D\choicdgg.obj \
86 ..\generic\$D\dirctrlg.obj \
87 ..\generic\$D\dragimgg.obj \
88 ..\generic\$D\grid.obj \
89 ..\generic\$D\gridsel.obj \
90 ..\generic\$D\laywin.obj \
91 ..\generic\$D\logg.obj \
92 ..\generic\$D\numdlgg.obj \
93 ..\generic\$D\panelg.obj \
94 ..\generic\$D\plot.obj \
95 ..\generic\$D\progdlgg.obj \
96 ..\generic\$D\prop.obj \
97 ..\generic\$D\propform.obj \
98 ..\generic\$D\proplist.obj \
99 ..\generic\$D\sashwin.obj \
100 ..\generic\$D\scrolwin.obj \
101 ..\generic\$D\splash.obj \
102 ..\generic\$D\splitter.obj \
103 ..\generic\$D\statusbr.obj \
104 ..\generic\$D\tabg.obj \
105 ..\generic\$D\tbarsmpl.obj \
106 ..\generic\$D\textdlgg.obj \
107 ..\generic\$D\tipdlg.obj \
108 ..\generic\$D\treelay.obj \
109 ..\generic\$D\wizard.obj
111 # These are generic things that don't need to be compiled on MSW,
112 # but sometimes it's useful to do so for testing purposes.
113 NONESSENTIALOBJS= ..\generic\$D\caret.obj \
114 ..\generic\$D\colrdlgg.obj \
115 ..\generic\$D\dcpsg.obj \
116 ..\generic\$D\dirdlgg.obj \
117 ..\generic\$D\filedlgg.obj \
118 ..\generic\$D\fontdlgg.obj \
119 ..\generic\$D\helpext.obj \
120 ..\generic\$D\helphtml.obj \
121 ..\generic\$D\helpwxht.obj \
122 ..\generic\$D\helpxlp.obj \
123 ..\generic\$D\imaglist.obj \
124 ..\generic\$D\listctrl.obj \
125 ..\generic\$D\msgdlgg.obj \
126 ..\generic\$D\notebook.obj \
127 ..\generic\$D\printps.obj \
128 ..\generic\$D\prntdlgg.obj \
129 ..\generic\$D\statline.obj \
130 ..\generic\$D\treectlg.obj
133 ..\common\$D\y_tab.obj \
134 ..\common\$D\appcmn.obj \
135 ..\common\$D\choiccmn.obj \
136 ..\common\$D\clipcmn.obj \
137 ..\common\$D\cmdline.obj \
138 ..\common\$D\cmndata.obj \
139 ..\common\$D\config.obj \
140 ..\common\$D\ctrlcmn.obj \
141 ..\common\$D\ctrlsub.obj \
142 ..\common\$D\datetime.obj \
143 ..\common\$D\datstrm.obj \
144 ..\common\$D\db.obj \
145 ..\common\$D\dbtable.obj \
146 ..\common\$D\dcbase.obj \
147 ..\common\$D\dlgcmn.obj \
148 ..\common\$D\dndcmn.obj \
149 ..\common\$D\dobjcmn.obj \
150 ..\common\$D\docmdi.obj \
151 ..\common\$D\docview.obj \
152 ..\common\$D\dynarray.obj \
153 ..\common\$D\dynlib.obj \
154 ..\common\$D\effects.obj \
155 ..\common\$D\encconv.obj \
156 ..\common\$D\event.obj \
157 ..\common\$D\extended.obj \
158 ..\common\$D\ffile.obj \
159 ..\common\$D\file.obj \
160 ..\common\$D\fileconf.obj \
161 ..\common\$D\filefn.obj \
162 ..\common\$D\filesys.obj \
163 ..\common\$D\fontcmn.obj \
164 ..\common\$D\fontmap.obj \
165 ..\common\$D\framecmn.obj \
166 ..\common\$D\fs_inet.obj \
167 ..\common\$D\fs_mem.obj \
168 ..\common\$D\fs_zip.obj \
169 ..\common\$D\ftp.obj \
170 ..\common\$D\gdicmn.obj \
171 ..\common\$D\geometry.obj \
172 ..\common\$D\gifdecod.obj \
173 ..\common\$D\hash.obj \
174 ..\common\$D\helpbase.obj \
175 ..\common\$D\http.obj \
176 ..\common\$D\imagall.obj \
177 ..\common\$D\imagbmp.obj \
178 ..\common\$D\image.obj \
179 ..\common\$D\imaggif.obj \
180 ..\common\$D\imagjpeg.obj \
181 ..\common\$D\imagpcx.obj \
182 ..\common\$D\imagpng.obj \
183 ..\common\$D\imagpnm.obj \
184 ..\common\$D\imagtiff.obj \
185 ..\common\$D\intl.obj \
186 ..\common\$D\ipcbase.obj \
187 ..\common\$D\layout.obj \
188 ..\common\$D\lboxcmn.obj \
189 ..\common\$D\list.obj \
190 ..\common\$D\log.obj \
191 ..\common\$D\longlong.obj \
192 ..\common\$D\memory.obj \
193 ..\common\$D\menucmn.obj \
194 ..\common\$D\mimecmn.obj \
195 ..\common\$D\module.obj \
196 ..\common\$D\mstream.obj \
197 ..\common\$D\object.obj \
198 ..\common\$D\objstrm.obj \
199 ..\common\$D\odbc.obj \
200 ..\common\$D\paper.obj \
201 ..\common\$D\prntbase.obj \
202 ..\common\$D\process.obj \
203 ..\common\$D\protocol.obj \
204 ..\common\$D\quantize.obj \
205 ..\common\$D\resource.obj \
206 ..\common\$D\sckaddr.obj \
207 ..\common\$D\sckfile.obj \
208 ..\common\$D\sckipc.obj \
209 ..\common\$D\sckstrm.obj \
210 ..\common\$D\serbase.obj \
211 ..\common\$D\sizer.obj \
212 ..\common\$D\socket.obj \
213 ..\common\$D\strconv.obj \
214 ..\common\$D\stream.obj \
215 ..\common\$D\string.obj \
216 ..\common\$D\tbarbase.obj \
217 ..\common\$D\textcmn.obj \
218 ..\common\$D\textfile.obj \
219 ..\common\$D\timercmn.obj \
220 ..\common\$D\tokenzr.obj \
221 ..\common\$D\treebase.obj \
222 ..\common\$D\txtstrm.obj \
223 ..\common\$D\unzip.obj \
224 ..\common\$D\url.obj \
225 ..\common\$D\utilscmn.obj \
226 ..\common\$D\valgen.obj \
227 ..\common\$D\validate.obj \
228 ..\common\$D\valtext.obj \
229 ..\common\$D\variant.obj \
230 ..\common\$D\wfstream.obj \
231 ..\common\$D\wincmn.obj \
232 ..\common\$D\wxchar.obj \
233 ..\common\$D\wxexpr.obj \
234 ..\common\$D\zipstrm.obj \
235 ..\common\$D\zstream.obj
237 MSWOBJS = ..\msw\$D\accel.obj \
239 ..\msw\ole\$D\automtn.obj \
240 ..\msw\$D\bitmap.obj \
241 ..\msw\$D\bmpbuttn.obj \
242 ..\msw\$D\brush.obj \
243 ..\msw\$D\button.obj \
244 ..\msw\$D\caret.obj \
245 ..\msw\$D\checkbox.obj \
246 ..\msw\$D\checklst.obj \
247 ..\msw\$D\choice.obj \
248 ..\msw\$D\clipbrd.obj \
249 ..\msw\$D\colordlg.obj \
250 ..\msw\$D\colour.obj \
251 ..\msw\$D\combobox.obj \
252 ..\msw\$D\control.obj \
253 ..\msw\$D\curico.obj \
254 ..\msw\$D\cursor.obj \
256 ..\msw\ole\$D\dataobj.obj \
258 ..\msw\$D\dcclient.obj \
259 ..\msw\$D\dcmemory.obj \
260 ..\msw\$D\dcprint.obj \
261 ..\msw\$D\dcscreen.obj \
263 ..\msw\$D\dialog.obj \
264 ..\msw\$D\dialup.obj \
266 ..\msw\$D\dibutils.obj \
268 ..\msw\$D\dirdlg.obj \
269 ..\msw\$D\dragimag.obj \
270 ..\msw\ole\$D\dropsrc.obj \
271 ..\msw\ole\$D\droptgt.obj \
272 ..\msw\$D\enhmeta.obj \
273 ..\msw\$D\filedlg.obj \
275 ..\msw\$D\fontdlg.obj \
276 ..\msw\$D\fontenum.obj \
277 ..\msw\$D\fontutil.obj \
278 ..\msw\$D\frame.obj \
279 ..\msw\$D\gauge95.obj \
280 ..\msw\$D\gdiimage.obj \
281 ..\msw\$D\gdiobj.obj \
282 ..\msw\$D\glcanvas.obj \
283 ..\msw\$D\gsocket.obj \
284 ..\msw\$D\gsockmsw.obj \
285 ..\msw\$D\helpchm.obj \
286 ..\msw\$D\helpwin.obj \
288 ..\msw\$D\imaglist.obj \
289 ..\msw\$D\joystick.obj \
290 ..\msw\$D\listbox.obj \
291 ..\msw\$D\listctrl.obj \
295 ..\msw\$D\menuitem.obj \
296 ..\msw\$D\metafile.obj \
297 ..\msw\$D\mimetype.obj \
298 ..\msw\$D\minifram.obj \
299 ..\msw\$D\msgdlg.obj \
300 ..\msw\$D\nativdlg.obj \
301 ..\msw\$D\notebook.obj \
302 ..\msw\ole\$D\oleutils.obj \
303 ..\msw\$D\ownerdrw.obj \
304 ..\msw\$D\palette.obj \
306 ..\msw\$D\penwin.obj \
307 ..\msw\$D\printdlg.obj \
308 ..\msw\$D\printwin.obj \
309 ..\msw\$D\radiobox.obj \
310 ..\msw\$D\radiobut.obj \
311 ..\msw\$D\regconf.obj \
312 ..\msw\$D\region.obj \
313 ..\msw\$D\registry.obj \
314 ..\msw\$D\scrolbar.obj \
315 ..\msw\$D\settings.obj \
316 ..\msw\$D\slider95.obj \
317 ..\msw\$D\spinbutt.obj \
318 ..\msw\$D\spinctrl.obj \
319 ..\msw\$D\statbmp.obj \
320 ..\msw\$D\statbox.obj \
321 ..\msw\$D\statbr95.obj \
322 ..\msw\$D\statline.obj \
323 ..\msw\$D\stattext.obj \
324 ..\msw\$D\tabctrl.obj \
325 ..\msw\$D\taskbar.obj \
326 ..\msw\$D\tbar95.obj \
327 ..\msw\$D\textctrl.obj \
328 ..\msw\$D\thread.obj \
329 ..\msw\$D\timer.obj \
330 ..\msw\$D\tooltip.obj \
331 ..\msw\$D\treectrl.obj \
332 ..\msw\$D\utils.obj \
333 ..\msw\$D\utilsexc.obj \
334 ..\msw\ole\$D\uuid.obj \
336 ..\msw\$D\window.obj \
337 ..\msw\$D\xpmhand.obj
339 HTMLOBJS = ..\html\$D\helpctrl.obj \
340 ..\html\$D\helpdata.obj \
341 ..\html\$D\helpfrm.obj \
342 ..\html\$D\htmlcell.obj \
343 ..\html\$D\htmlfilt.obj \
344 ..\html\$D\htmlpars.obj \
345 ..\html\$D\htmltag.obj \
346 ..\html\$D\htmlwin.obj \
347 ..\html\$D\htmprint.obj \
348 ..\html\$D\m_dflist.obj \
349 ..\html\$D\m_fonts.obj \
350 ..\html\$D\m_hline.obj \
351 ..\html\$D\m_image.obj \
352 ..\html\$D\m_layout.obj \
353 ..\html\$D\m_links.obj \
354 ..\html\$D\m_list.obj \
355 ..\html\$D\m_meta.obj \
356 ..\html\$D\m_pre.obj \
357 ..\html\$D\m_tables.obj \
358 ..\html\$D\winpars.obj
361 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
362 # Add $(HTMLOBJS) if wanting wxHTML classes
363 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
365 # Normal, static library
366 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg tiff $(LIBTARGET)
368 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
389 # wxWindows library as DLL
391 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
394 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
396 # wxWindows + app as DLL. Only affects main.cpp.
398 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
400 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
402 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
404 # Use this to make dummy.obj and generate a PCH.
405 # You might use the dll target, then the pch target, in order to
406 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
408 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
409 # are associated with wx.lib. When using a DLL version of wxWindows, however,
410 # the DLL is compiled without a PCH, so you only need it for compiling the app.
411 # In fact headers are compiled differently depending on whether a DLL is being made
412 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
413 # in each case) so you couldn't use the same PCH.
415 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
417 pch1: dirs $(DUMMYOBJ)
420 !if "$(WXMAKINGDLL)" != "1"
424 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
429 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
434 ### Update the import library
436 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
440 $(DUMMYOBJ) $(OBJECTS)
441 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
444 !if "$(USE_GLCANVAS)" == "1"
445 GL_LIBS=opengl32.lib glu32.lib
446 GL_LIBS_DELAY=/delayload:opengl32.dll
449 # Update the dynamic link library
450 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
453 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
454 $(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\xpm$(LIBEXT).lib $(WXDIR)\lib\jpeg$(LIBEXT).lib $(WXDIR)\lib\tiff$(LIBEXT).lib
456 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
457 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
458 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
463 # /delayload:winmm.dll # Removed because it can cause a crash for some people
465 ########################################################
466 # Windows-specific objects
468 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
469 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
471 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
473 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
476 # Compile certain files with no optimization (some files cause a
477 # compiler crash for buggy versions of VC++, e.g. 4.0).
478 # Don't forget to put FINAL=1 on the command line.
481 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
484 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
487 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
490 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
493 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
496 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
499 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
502 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
505 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
508 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
511 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
514 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
517 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
520 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
523 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
526 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
529 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
532 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
535 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
538 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
541 # If taking wxWindows from CVS, setup.h doesn't exist yet.
542 # Actually the 'if not exist setup.h' test doesn't work
543 # (copies the file anyway)
544 # we'll have to comment this rule out.
546 # $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
547 # cd "$(WXDIR)"\include\wx\msw
548 # if not exist setup.h copy setup0.h setup.h
549 # cd "$(WXDIR)"\src\msw
551 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
553 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
556 ..\common\y_tab.c: ..\common\dosyacc.c
557 copy "..\common"\dosyacc.c "..\common"\y_tab.c
559 ..\common\lex_yy.c: ..\common\doslex.c
560 copy "..\common"\doslex.c "..\common"\lex_yy.c
562 $(OBJECTS): $(WXDIR)/include/wx/setup.h
564 ..\common\$D\unzip.obj: ..\common\unzip.c
566 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
569 # Peripheral components
573 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
578 nmake -f makefile.vc clean
583 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
588 nmake -f makefile.vc clean
593 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
598 nmake -f makefile.vc clean
603 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
608 nmake -f makefile.vc clean
613 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
618 nmake -f makefile.vc clean
622 cd $(WXDIR)\utils\rcparser\src
623 nmake -f makefile.vc FINAL=$(FINAL)
626 cleanall: clean clean_png clean_zlib clean_xpm clean_jpeg clean_tiff
627 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
628 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
629 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
630 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
631 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
634 clean: $(PERIPH_CLEAN_TARGET)
636 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
639 -erase $(WXLIBNAME).pch
640 -erase $(GENDIR)\$D\*.obj
641 -erase $(GENDIR)\$D\*.pdb
642 -erase $(GENDIR)\$D\*.sbr
643 -erase $(COMMDIR)\$D\*.obj
644 -erase $(COMMDIR)\$D\*.pdb
645 -erase $(COMMDIR)\$D\*.sbr
646 -erase $(COMMDIR)\y_tab.c
647 -erase $(COMMDIR)\lex_yy.c
648 -erase $(MSWDIR)\$D\*.obj
649 -erase $(MSWDIR)\$D\*.sbr
650 -erase $(MSWDIR)\$D\*.pdb
651 -erase $(OLEDIR)\$D\*.obj
652 -erase $(OLEDIR)\$D\*.sbr
653 -erase $(OLEDIR)\$D\*.pdb
654 -erase $(HTMLDIR)\$D\*.obj
655 -erase $(HTMLDIR)\$D\*.sbr
656 -erase $(HTMLDIR)\$D\*.pdb
659 -rmdir ..\generic\$(D)
660 -rmdir ..\common\$(D)
665 docs: allhlp allhtml allpdfrtf htb htmlhelp
668 wxhlp: $(DOCDIR)/winhelp/wx.hlp
669 refhlp: $(DOCDIR)/winhelp/techref.hlp
670 rtf: $(DOCDIR)/winhelp/wx.rtf
671 pdfrtf: $(DOCDIR)/pdf/wx.rtf
672 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
674 htb: $(DOCDIR)\htb\wx.htb
675 wxhtml: $(DOCDIR)\html\wx\wx.htm
676 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
678 wxps: $(WXDIR)\docs\ps\wx.ps
679 referencps: $(WXDIR)\docs\ps\referenc.ps
682 cd $(WXDIR)\utils\dialoged\src
683 nmake -f makefile.vc hlp
686 # cd $(WXDIR)\utils\wxhelp\src
687 # nmake -f makefile.vc hlp
688 # cd $(WXDIR)\utils\tex2rtf\src
689 # nmake -f makefile.vc hlp
690 # cd $(WXDIR)\utils\wxgraph\src
691 # nmake -f makefile.vc hlp
692 # cd $(WXDIR)\utils\wxchart\src
693 # nmake -f makefile.vc hlp
694 # cd $(WXDIR)\utils\wxtree\src
695 # nmake -f makefile.vc hlp
696 # cd $(WXDIR)\utils\wxbuild\src
697 # nmake -f makefile.vc hlp
698 # cd $(WXDIR)\utils\wxgrid\src
699 # nmake -f makefile.vc hlp
702 cd $(WXDIR)\utils\dialoged\src
703 nmake -f makefile.vc html
706 # nmake -f makefile.vc html
707 # cd $(WXDIR)\utils\dialoged\src
708 # nmake -f makefile.vc html
709 # cd $(WXDIR)\utils\hytext\src
710 # nmake -f makefile.vc html
711 # cd $(WXDIR)\utils\wxhelp\src
712 # nmake -f makefile.vc html
713 # cd $(WXDIR)\utils\tex2rtf\src
714 # nmake -f makefile.vc html
715 # cd $(WXDIR)\utils\wxgraph\src
716 # nmake -f makefile.vc html
717 # cd $(WXDIR)\utils\wxchart\src
718 # nmake -f makefile.vc html
719 # cd $(WXDIR)\utils\wxtree\src
720 # nmake -f makefile.vc html
722 allps: wxps referencps
723 cd $(WXDIR)\utils\dialoged\src
724 nmake -f makefile.vc ps
728 cd $(WXDIR)\utils\dialoged\src
729 nmake -f makefile.vc pdfrtf
732 # cd $(WXDIR)\utils\wxhelp\src
733 # nmake -f makefile.vc ps
734 # cd $(WXDIR)\utils\tex2rtf\src
735 # nmake -f makefile.vc ps
736 # cd $(WXDIR)\utils\wxgraph\src
737 # nmake -f makefile.vc ps
738 # cd $(WXDIR)\utils\wxchart\src
739 # nmake -f makefile.vc ps
740 # cd $(WXDIR)\utils\wxtree\src
741 # nmake -f makefile.vc ps
744 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
745 cd $(DOCDIR)/latex/wx
748 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
749 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
752 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
753 cd $(DOCDIR)/latex/techref
756 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
757 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
760 $(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
761 cd $(DOCDIR)\latex\wx
762 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
765 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
766 cd $(DOCDIR)\latex\techref
767 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
770 $(DOCDIR)/pdf/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 -copy *.wmf $(DOCDIR)\pdf
773 -copy *.bmp $(DOCDIR)\pdf
774 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
777 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
778 cd $(DOCDIR)\latex\techref
779 -copy *.wmf $(DOCDIR)\pdf
780 -copy *.bmp $(DOCDIR)\pdf
781 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
784 $(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
785 cd $(DOCDIR)\latex\wx
786 -mkdir $(DOCDIR)\html\wx
787 copy *.gif $(DOCDIR)\html\wx
788 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
789 -erase $(DOCDIR)\html\wx\*.con
790 -erase $(DOCDIR)\html\wx\*.ref
791 -erase $(DOCDIR)\latex\wx\*.con
792 -erase $(DOCDIR)\latex\wx\*.ref
795 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
798 -mkdir ..\..\htmlhelp
799 move wx.chm ..\..\htmlhelp
802 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
803 cd $(WXDIR)\docs\latex\wx
812 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
813 cd $(WXDIR)\docs\latex\wx
814 -dvips32 -o wx.ps manual
815 move wx.ps $(WXDIR)\docs\ps\wx.ps
818 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
819 cd $(WXDIR)\docs\latex\wx
828 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
829 cd $(WXDIR)\docs\latex\wx
830 -dvips32 -o referenc.ps referenc
831 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
834 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
835 # files, renamed to htb.
836 # This can then be used with e.g. helpview.
837 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
838 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
839 cd $(WXDIR)\docs\html\wx
840 -erase /Y wx.zip wx.htb
841 zip32 wx.zip *.htm *.gif *.hhp *.hhc *.hhk
843 move wx.zip $(DOCDIR)\htb\wx.htb
846 # In order to force document reprocessing
848 -touch $(WXDIR)\docs\latex\wx\manual.tex
850 updatedocs: touchmanual alldocs
853 -erase /Y $(DOCDIR)\html\wx\wx.htm
854 -erase /Y $(DOCDIR)\pdf\wx.rtf
855 -erase /Y $(DOCDIR)\latex\wx\wx.rtf
856 -erase /Y $(DOCDIR)\htmlhelp\wx.chm
857 -erase /Y $(DOCDIR)\htb\wx.htb
859 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
860 # Office StartUp folder, and PDFMaker should be installed.
861 updatepdf: # touchmanual pdfrtf
862 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
866 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
867 cd $(WXWIN)\distrib\msw\tmake
868 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
869 copy makefile.$(MFTYPE) $(WXWIN)\src\msw