1 #!#############################################################################
3 #! Purpose: tmake template file from which makefile.vc is generated by running
4 #! tmake -t vc wxwin.pro -o makefile.vc
5 #! Author: Vadim Zeitlin
8 #!#############################################################################
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric and %wxMSW hashes.
12 IncludeTemplate("filelist.t");
14 #! now transform these hashes into $project tags
15 foreach $file (sort keys %wxGeneric) {
16 next if $wxGeneric{$file} =~ /\bU\b/;
19 if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
20 $tag = "WXNONESSENTIALOBJS";
23 $tag = "WXGENERICOBJS";
26 $file =~ s/cp?p?$/obj/;
27 $project{$tag} .= "..\\generic\\\$D\\" . $file . " "
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\b16\b/;
33 $file =~ s/cp?p?$/obj/;
34 $project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
37 foreach $file (sort keys %wxMSW) {
38 next if $wxMSW{$file} =~ /\b16\b/;
40 #! OLE files live in a subdir
41 $project{"WXMSWOBJS"} .= '..\\msw\\';
42 $project{"WXMSWOBJS"} .= 'ole\\' if $wxMSW{$file} =~ /\bO\b/;
43 $file =~ s/cp?p?$/obj/;
44 $project{"WXMSWOBJS"} .= '$D\\' . $file . " ";
47 foreach $file (sort keys %wxHTML) {
48 next if $wxHTML{$file} =~ /\b16\b/;
50 $file =~ s/cp?p?$/obj/;
51 $project{"WXHTMLOBJS"} .= "..\\html\\\$D\\" . $file . " "
55 # This file was automatically generated by tmake at #$ Now()
56 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
59 # Author: Julian Smart
62 # Copyright: (c) 1997, Julian Smart
66 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
69 # FINAL=1 argument to nmake to build version with no debugging info.
70 # dll builds a library (wxdll.lib) suitable for creating DLLs
72 !include <..\makevc.env>
74 THISDIR=$(WXWIN)\src\msw
76 !if "$(WXMAKINGDLL)" == "1"
77 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
78 DUMMYOBJ=$D\dummydll.obj
84 # This one overrides the others, to be consistent with the settings in setup.h
85 MINIMAL_WXWINDOWS_SETUP=0
91 # Set to 0 if not using GLCanvas (only affects DLL build)
94 # These are absolute paths, so that the compiler
95 # generates correct __FILE__ symbols for debugging.
96 # Otherwise you don't be able to double-click on a memory
97 # error to load that file.
98 GENDIR=$(WXDIR)\src\generic
99 COMMDIR=$(WXDIR)\src\common
101 MSWDIR=$(WXDIR)\src\msw
102 DOCDIR = $(WXDIR)\docs
103 HTMLDIR = $(WXDIR)\src\html
104 JPEGDIR = $(WXDIR)\src\jpeg
105 TIFFDIR = $(WXDIR)\src\tiff
107 {..\generic}.cpp{..\generic\$D}.obj:
109 $(CPPFLAGS) /Fo$@ /c /Tp $<
112 {..\common}.cpp{..\common\$D}.obj:
114 $(CPPFLAGS) /Fo$@ /c /Tp $<
117 {..\common}.c{..\common\$D}.obj:
119 $(CPPFLAGS2) /Fo$@ /c /Tc $<
122 {..\msw}.cpp{..\msw\$D}.obj:
124 $(CPPFLAGS) /Fo$@ /c /Tp $<
127 {..\msw}.c{..\msw\$D}.obj:
129 $(CPPFLAGS2) /Fo$@ /c /Tc $<
132 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
134 $(CPPFLAGS) /Fo$@ /c /Tp $<
137 {..\html}.cpp{..\html\$D}.obj:
139 $(CPPFLAGS) /Fo$@ /c /Tp $<
142 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
144 # These are generic things that don't need to be compiled on MSW,
145 # but sometimes it's useful to do so for testing purposes.
146 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
149 ..\common\$D\y_tab.obj \
150 #$ ExpandList("WXCOMMONOBJS");
152 MSWOBJS = #$ ExpandList("WXMSWOBJS");
154 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
157 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
158 # Add $(HTMLOBJS) if wanting wxHTML classes
159 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
161 # Normal, static library
162 all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff $(LIBTARGET)
165 cd $(WXDIR)\include\wx\msw
166 if not exist setup.h copy setup0.h setup.h
169 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
195 # wxWindows library as DLL
197 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
200 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
202 # wxWindows + app as DLL. Only affects main.cpp.
204 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
206 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
208 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
210 # Use this to make dummy.obj and generate a PCH.
211 # You might use the dll target, then the pch target, in order to
212 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
214 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
215 # are associated with wx.lib. When using a DLL version of wxWindows, however,
216 # the DLL is compiled without a PCH, so you only need it for compiling the app.
217 # In fact headers are compiled differently depending on whether a DLL is being made
218 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
219 # in each case) so you couldn't use the same PCH.
221 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
223 pch1: dirs $(DUMMYOBJ)
226 !if "$(WXMAKINGDLL)" != "1"
230 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
235 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
240 ### Update the import library
242 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
246 $(DUMMYOBJ) $(OBJECTS)
247 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
250 !if "$(USE_GLCANVAS)" == "1"
251 GL_LIBS=opengl32.lib glu32.lib
252 # GL_LIBS_DELAY=/delayload:opengl32.dll
255 # Update the dynamic link library
256 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
259 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
260 $(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
262 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
263 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
264 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
269 # /delayload:winmm.dll # Removed because it can cause a crash for some people
271 ########################################################
272 # Windows-specific objects
274 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
275 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
277 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
279 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
282 # Compile certain files with no optimization (some files cause a
283 # compiler crash for buggy versions of VC++, e.g. 4.0).
284 # Don't forget to put FINAL=1 on the command line.
287 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
290 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
293 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
296 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
299 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
302 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
305 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
308 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
311 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
314 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
317 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
320 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
323 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
326 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
329 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
332 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
335 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
338 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
341 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
344 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
347 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
349 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
352 ..\common\y_tab.c: ..\common\dosyacc.c
353 copy "..\common"\dosyacc.c "..\common"\y_tab.c
355 ..\common\lex_yy.c: ..\common\doslex.c
356 copy "..\common"\doslex.c "..\common"\lex_yy.c
358 $(OBJECTS): $(WXDIR)/include/wx/setup.h
360 ..\common\$D\unzip.obj: ..\common\unzip.c
362 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
365 # Peripheral components
369 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
374 nmake -f makefile.vc clean
379 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
384 nmake -f makefile.vc clean
389 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
394 nmake -f makefile.vc clean
399 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
404 nmake -f makefile.vc clean
408 cd $(WXDIR)\utils\rcparser\src
409 nmake -f makefile.vc FINAL=$(FINAL)
412 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff
413 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
414 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
415 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
416 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
417 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
420 clean: $(PERIPH_CLEAN_TARGET)
422 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
425 -erase $(WXLIBNAME).pch
426 -erase $(GENDIR)\$D\*.obj
427 -erase $(GENDIR)\$D\*.pdb
428 -erase $(GENDIR)\$D\*.sbr
429 -erase $(COMMDIR)\$D\*.obj
430 -erase $(COMMDIR)\$D\*.pdb
431 -erase $(COMMDIR)\$D\*.sbr
432 -erase $(COMMDIR)\y_tab.c
433 -erase $(COMMDIR)\lex_yy.c
434 -erase $(MSWDIR)\$D\*.obj
435 -erase $(MSWDIR)\$D\*.sbr
436 -erase $(MSWDIR)\$D\*.pdb
437 -erase $(MSWDIR)\$D\*.pch
438 -erase $(OLEDIR)\$D\*.obj
439 -erase $(OLEDIR)\$D\*.sbr
440 -erase $(OLEDIR)\$D\*.pdb
441 -erase $(HTMLDIR)\$D\*.obj
442 -erase $(HTMLDIR)\$D\*.sbr
443 -erase $(HTMLDIR)\$D\*.pdb
444 -erase $(JPEGDIR)\$D\*.obj
445 -erase $(JPEGDIR)\$D\*.sbr
446 -erase $(JPEGDIR)\$D\*.idb
447 -erase $(JPEGDIR)\$D\*.pdb
448 -erase $(TIFFDIR)\$D\*.obj
449 -erase $(TIFFDIR)\$D\*.sbr
450 -erase $(TIFFDIR)\$D\*.pdb
451 -erase $(TIFFDIR)\$D\*.idb
453 -rmdir $(GENDIR)\$(D)
454 -rmdir $(COMMDIR)\$(D)
455 -rmdir $(MSWDIR)\$(D)
456 -rmdir $(OLEDIR)\$(D)
457 -rmdir $(HTMLDIR)\$(D)
458 -rmdir $(JPEGDIR)\$(D)
459 -rmdir $(TIFFDIR)\$(D)
462 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
465 wxhlp: $(DOCDIR)/winhelp/wx.hlp
466 refhlp: $(DOCDIR)/winhelp/techref.hlp
467 rtf: $(DOCDIR)/winhelp/wx.rtf
468 pdfrtf: $(DOCDIR)/pdf/wx.rtf
469 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
471 htb: $(DOCDIR)\htb\wx.htb
472 wxhtml: $(DOCDIR)\html\wx\wx.htm
473 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
475 wxps: $(WXDIR)\docs\ps\wx.ps
476 referencps: $(WXDIR)\docs\ps\referenc.ps
479 cd $(WXDIR)\utils\dialoged\src
480 nmake -f makefile.vc hlp
481 cd $(WXDIR)\utils\tex2rtf\src
482 nmake -f makefile.vc hlp
486 cd $(WXDIR)\utils\dialoged\src
487 nmake -f makefile.vc html
488 cd $(WXDIR)\utils\tex2rtf\src
489 nmake -f makefile.vc html
492 allhtmlhelp: htmlhelp
493 cd $(WXDIR)\utils\dialoged\src
494 nmake -f makefile.vc htmlhelp
495 cd $(WXDIR)\utils\tex2rtf\src
496 nmake -f makefile.vc htmlhelp
500 cd $(WXDIR)\utils\dialoged\src
501 nmake -f makefile.vc htb
502 cd $(WXDIR)\utils\tex2rtf\src
503 nmake -f makefile.vc htb
506 allps: wxps referencps
507 cd $(WXDIR)\utils\dialoged\src
508 nmake -f makefile.vc ps
509 cd $(WXDIR)\utils\tex2rtf\src
510 nmake -f makefile.vc ps
514 cd $(WXDIR)\utils\dialoged\src
515 nmake -f makefile.vc pdfrtf
516 cd $(WXDIR)\utils\tex2rtf\src
517 nmake -f makefile.vc pdfrtf
520 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
521 cd $(DOCDIR)/latex/wx
524 -erase $(DOCDIR)\winhelp\wx.hlp
525 -erase $(DOCDIR)\winhelp\wx.cnt
526 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
527 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
530 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
531 cd $(DOCDIR)/latex/techref
534 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
535 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
538 $(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
539 cd $(DOCDIR)\latex\wx
540 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
543 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
544 cd $(DOCDIR)\latex\techref
545 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
548 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
549 cd $(DOCDIR)\latex\wx
550 -copy *.wmf $(DOCDIR)\pdf
551 -copy *.bmp $(DOCDIR)\pdf
552 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
555 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
556 cd $(DOCDIR)\latex\techref
557 -copy *.wmf $(DOCDIR)\pdf
558 -copy *.bmp $(DOCDIR)\pdf
559 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
562 $(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
563 cd $(DOCDIR)\latex\wx
564 -mkdir $(DOCDIR)\html\wx
565 copy *.gif $(DOCDIR)\html\wx
566 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
567 -erase $(DOCDIR)\html\wx\*.con
568 -erase $(DOCDIR)\html\wx\*.ref
569 -erase $(DOCDIR)\latex\wx\*.con
570 -erase $(DOCDIR)\latex\wx\*.ref
573 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
576 -mkdir ..\..\htmlhelp
577 -erase $(DOCDIR)\htmlhelp\wx.chm
578 move wx.chm ..\..\htmlhelp
581 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
582 cd $(WXDIR)\docs\latex\wx
591 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
592 cd $(WXDIR)\docs\latex\wx
593 -dvips32 -o wx.ps manual
594 move wx.ps $(WXDIR)\docs\ps\wx.ps
597 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
598 cd $(WXDIR)\docs\latex\wx
607 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
608 cd $(WXDIR)\docs\latex\wx
609 -dvips32 -o referenc.ps referenc
610 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
613 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
614 # files, renamed to htb.
615 # This can then be used with e.g. helpview.
616 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
617 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
618 cd $(WXDIR)\docs\html\wx
620 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
622 move wx.zip $(DOCDIR)\htb\wx.htb
625 # In order to force document reprocessing
627 -touch $(WXDIR)\docs\latex\wx\manual.tex
629 updatedocs: touchmanual alldocs
632 -erase $(DOCDIR)\winhelp\wx.hlp
633 -erase $(DOCDIR)\winhelp\wx.cnt
634 -erase $(DOCDIR)\html\wx\*.htm
635 -erase $(DOCDIR)\pdf\wx.rtf
636 -erase $(DOCDIR)\latex\wx\wx.rtf
637 -erase $(DOCDIR)\latex\wx\WX.PH
638 -erase $(DOCDIR)\htmlhelp\wx.chm
639 -erase $(DOCDIR)\htb\wx.htb
641 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
642 # Office StartUp folder, and PDFMaker should be installed.
643 updatepdf: # touchmanual pdfrtf
644 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
648 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
649 cd $(WXWIN)\distrib\msw\tmake
650 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
651 copy makefile.$(MFTYPE) $(WXWIN)\src\msw