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) {
17 if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
18 $tag = "WXNONESSENTIALOBJS";
21 $tag = "WXGENERICOBJS";
24 $file =~ s/cp?p?$/obj/;
25 $project{$tag} .= "..\\generic\\\$D\\" . $file . " "
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\b16\b/;
31 $file =~ s/cp?p?$/obj/;
32 $project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
35 foreach $file (sort keys %wxMSW) {
36 next if $wxMSW{$file} =~ /\b16\b/;
38 #! OLE files live in a subdir
39 $project{"WXMSWOBJS"} .= '..\msw\\';
40 $project{"WXMSWOBJS"} .= 'ole\\' if $wxMSW{$file} =~ /\bO\b/;
41 $file =~ s/cp?p?$/obj/;
42 $project{"WXMSWOBJS"} .= '$D\\' . $file . " ";
45 foreach $file (sort keys %wxHTML) {
46 next if $wxHTML{$file} =~ /\b16\b/;
48 $file =~ s/cp?p?$/obj/;
49 $project{"WXHTMLOBJS"} .= "..\\html\\\$D\\" . $file . " "
53 # This file was automatically generated by tmake at #$ Now()
54 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
57 # Author: Julian Smart
60 # Copyright: (c) 1997, Julian Smart
64 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
67 # FINAL=1 argument to nmake to build version with no debugging info.
68 # dll builds a library (wxdll.lib) suitable for creating DLLs
70 !include <..\makevc.env>
72 THISDIR=$(WXWIN)\src\msw
74 !if "$(WXMAKINGDLL)" == "1"
75 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
76 DUMMYOBJ=$D\dummydll.obj
82 # This one overrides the others, to be consistent with the settings in setup.h
83 MINIMAL_WXWINDOWS_SETUP=0
89 # Set to 0 if not using GLCanvas (only affects DLL build)
92 # These are absolute paths, so that the compiler
93 # generates correct __FILE__ symbols for debugging.
94 # Otherwise you don't be able to double-click on a memory
95 # error to load that file.
96 GENDIR=$(WXDIR)\src\generic
97 COMMDIR=$(WXDIR)\src\common
99 MSWDIR=$(WXDIR)\src\msw
100 DOCDIR = $(WXDIR)\docs
101 HTMLDIR = $(WXDIR)\src\html
102 JPEGDIR = $(WXDIR)\src\jpeg
103 TIFFDIR = $(WXDIR)\src\tiff
105 {..\generic}.cpp{..\generic\$D}.obj:
107 $(CPPFLAGS) /Fo$@ /c /Tp $<
110 {..\common}.cpp{..\common\$D}.obj:
112 $(CPPFLAGS) /Fo$@ /c /Tp $<
115 {..\common}.c{..\common\$D}.obj:
117 $(CPPFLAGS2) /Fo$@ /c /Tc $<
120 {..\msw}.cpp{..\msw\$D}.obj:
122 $(CPPFLAGS) /Fo$@ /c /Tp $<
125 {..\msw}.c{..\msw\$D}.obj:
127 $(CPPFLAGS2) /Fo$@ /c /Tc $<
130 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
132 $(CPPFLAGS) /Fo$@ /c /Tp $<
135 {..\html}.cpp{..\html\$D}.obj:
137 $(CPPFLAGS) /Fo$@ /c /Tp $<
140 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
142 # These are generic things that don't need to be compiled on MSW,
143 # but sometimes it's useful to do so for testing purposes.
144 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
147 ..\common\$D\y_tab.obj \
148 #$ ExpandList("WXCOMMONOBJS");
150 MSWOBJS = #$ ExpandList("WXMSWOBJS");
152 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
155 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
156 # Add $(HTMLOBJS) if wanting wxHTML classes
157 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
159 # Normal, static library
160 all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff $(LIBTARGET)
163 cd $(WXDIR)\include\wx\msw
164 if not exist setup.h copy setup0.h setup.h
167 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
193 # wxWindows library as DLL
195 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
198 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
200 # wxWindows + app as DLL. Only affects main.cpp.
202 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
204 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
206 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
208 # Use this to make dummy.obj and generate a PCH.
209 # You might use the dll target, then the pch target, in order to
210 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
212 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
213 # are associated with wx.lib. When using a DLL version of wxWindows, however,
214 # the DLL is compiled without a PCH, so you only need it for compiling the app.
215 # In fact headers are compiled differently depending on whether a DLL is being made
216 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
217 # in each case) so you couldn't use the same PCH.
219 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
221 pch1: dirs $(DUMMYOBJ)
224 !if "$(WXMAKINGDLL)" != "1"
228 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
233 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
238 ### Update the import library
240 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
244 $(DUMMYOBJ) $(OBJECTS)
245 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
248 !if "$(USE_GLCANVAS)" == "1"
249 GL_LIBS=opengl32.lib glu32.lib
250 # GL_LIBS_DELAY=/delayload:opengl32.dll
253 # Update the dynamic link library
254 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
257 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
258 $(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
260 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
261 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
262 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
267 # /delayload:winmm.dll # Removed because it can cause a crash for some people
269 ########################################################
270 # Windows-specific objects
272 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
273 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
275 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
277 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
280 # Compile certain files with no optimization (some files cause a
281 # compiler crash for buggy versions of VC++, e.g. 4.0).
282 # Don't forget to put FINAL=1 on the command line.
285 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
288 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
291 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
294 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
297 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
300 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
303 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
306 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
309 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
312 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
315 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
318 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
321 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
324 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
327 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
330 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
333 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
336 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
339 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
342 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
345 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
347 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
350 ..\common\y_tab.c: ..\common\dosyacc.c
351 copy "..\common"\dosyacc.c "..\common"\y_tab.c
353 ..\common\lex_yy.c: ..\common\doslex.c
354 copy "..\common"\doslex.c "..\common"\lex_yy.c
356 $(OBJECTS): $(WXDIR)/include/wx/setup.h
358 ..\common\$D\unzip.obj: ..\common\unzip.c
360 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
363 # Peripheral components
367 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
372 nmake -f makefile.vc clean
377 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
382 nmake -f makefile.vc clean
387 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
392 nmake -f makefile.vc clean
397 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
402 nmake -f makefile.vc clean
406 cd $(WXDIR)\utils\rcparser\src
407 nmake -f makefile.vc FINAL=$(FINAL)
410 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff
411 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
412 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
413 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
414 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
415 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
418 clean: $(PERIPH_CLEAN_TARGET)
420 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
423 -erase $(WXLIBNAME).pch
424 -erase $(GENDIR)\$D\*.obj
425 -erase $(GENDIR)\$D\*.pdb
426 -erase $(GENDIR)\$D\*.sbr
427 -erase $(COMMDIR)\$D\*.obj
428 -erase $(COMMDIR)\$D\*.pdb
429 -erase $(COMMDIR)\$D\*.sbr
430 -erase $(COMMDIR)\y_tab.c
431 -erase $(COMMDIR)\lex_yy.c
432 -erase $(MSWDIR)\$D\*.obj
433 -erase $(MSWDIR)\$D\*.sbr
434 -erase $(MSWDIR)\$D\*.pdb
435 -erase $(MSWDIR)\$D\*.pch
436 -erase $(OLEDIR)\$D\*.obj
437 -erase $(OLEDIR)\$D\*.sbr
438 -erase $(OLEDIR)\$D\*.pdb
439 -erase $(HTMLDIR)\$D\*.obj
440 -erase $(HTMLDIR)\$D\*.sbr
441 -erase $(HTMLDIR)\$D\*.pdb
442 -erase $(JPEGDIR)\$D\*.obj
443 -erase $(JPEGDIR)\$D\*.sbr
444 -erase $(JPEGDIR)\$D\*.idb
445 -erase $(JPEGDIR)\$D\*.pdb
446 -erase $(TIFFDIR)\$D\*.obj
447 -erase $(TIFFDIR)\$D\*.sbr
448 -erase $(TIFFDIR)\$D\*.pdb
449 -erase $(TIFFDIR)\$D\*.idb
451 -rmdir $(GENDIR)\$(D)
452 -rmdir $(COMMDIR)\$(D)
453 -rmdir $(MSWDIR)\$(D)
454 -rmdir $(OLEDIR)\$(D)
455 -rmdir $(HTMLDIR)\$(D)
456 -rmdir $(JPEGDIR)\$(D)
457 -rmdir $(TIFFDIR)\$(D)
460 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
463 wxhlp: $(DOCDIR)/winhelp/wx.hlp
464 refhlp: $(DOCDIR)/winhelp/techref.hlp
465 rtf: $(DOCDIR)/winhelp/wx.rtf
466 pdfrtf: $(DOCDIR)/pdf/wx.rtf
467 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
469 htb: $(DOCDIR)\htb\wx.htb
470 wxhtml: $(DOCDIR)\html\wx\wx.htm
471 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
473 wxps: $(WXDIR)\docs\ps\wx.ps
474 referencps: $(WXDIR)\docs\ps\referenc.ps
477 cd $(WXDIR)\utils\dialoged\src
478 nmake -f makefile.vc hlp
479 cd $(WXDIR)\utils\tex2rtf\src
480 nmake -f makefile.vc hlp
484 cd $(WXDIR)\utils\dialoged\src
485 nmake -f makefile.vc html
486 cd $(WXDIR)\utils\tex2rtf\src
487 nmake -f makefile.vc html
490 allhtmlhelp: htmlhelp
491 cd $(WXDIR)\utils\dialoged\src
492 nmake -f makefile.vc htmlhelp
493 cd $(WXDIR)\utils\tex2rtf\src
494 nmake -f makefile.vc htmlhelp
498 cd $(WXDIR)\utils\dialoged\src
499 nmake -f makefile.vc htb
500 cd $(WXDIR)\utils\tex2rtf\src
501 nmake -f makefile.vc htb
504 allps: wxps referencps
505 cd $(WXDIR)\utils\dialoged\src
506 nmake -f makefile.vc ps
507 cd $(WXDIR)\utils\tex2rtf\src
508 nmake -f makefile.vc ps
512 cd $(WXDIR)\utils\dialoged\src
513 nmake -f makefile.vc pdfrtf
514 cd $(WXDIR)\utils\tex2rtf\src
515 nmake -f makefile.vc pdfrtf
518 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
519 cd $(DOCDIR)/latex/wx
522 -erase $(DOCDIR)\winhelp\wx.hlp
523 -erase $(DOCDIR)\winhelp\wx.cnt
524 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
525 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
528 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
529 cd $(DOCDIR)/latex/techref
532 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
533 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
536 $(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
537 cd $(DOCDIR)\latex\wx
538 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
541 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
542 cd $(DOCDIR)\latex\techref
543 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
546 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
547 cd $(DOCDIR)\latex\wx
548 -copy *.wmf $(DOCDIR)\pdf
549 -copy *.bmp $(DOCDIR)\pdf
550 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
553 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
554 cd $(DOCDIR)\latex\techref
555 -copy *.wmf $(DOCDIR)\pdf
556 -copy *.bmp $(DOCDIR)\pdf
557 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
560 $(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
561 cd $(DOCDIR)\latex\wx
562 -mkdir $(DOCDIR)\html\wx
563 copy *.gif $(DOCDIR)\html\wx
564 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
565 -erase $(DOCDIR)\html\wx\*.con
566 -erase $(DOCDIR)\html\wx\*.ref
567 -erase $(DOCDIR)\latex\wx\*.con
568 -erase $(DOCDIR)\latex\wx\*.ref
571 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
574 -mkdir ..\..\htmlhelp
575 -erase $(DOCDIR)\htmlhelp\wx.chm
576 move wx.chm ..\..\htmlhelp
579 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
580 cd $(WXDIR)\docs\latex\wx
589 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
590 cd $(WXDIR)\docs\latex\wx
591 -dvips32 -o wx.ps manual
592 move wx.ps $(WXDIR)\docs\ps\wx.ps
595 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
596 cd $(WXDIR)\docs\latex\wx
605 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
606 cd $(WXDIR)\docs\latex\wx
607 -dvips32 -o referenc.ps referenc
608 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
611 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
612 # files, renamed to htb.
613 # This can then be used with e.g. helpview.
614 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
615 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
616 cd $(WXDIR)\docs\html\wx
618 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
620 move wx.zip $(DOCDIR)\htb\wx.htb
623 # In order to force document reprocessing
625 -touch $(WXDIR)\docs\latex\wx\manual.tex
627 updatedocs: touchmanual alldocs
630 -erase $(DOCDIR)\winhelp\wx.hlp
631 -erase $(DOCDIR)\winhelp\wx.cnt
632 -erase $(DOCDIR)\html\wx\*.htm
633 -erase $(DOCDIR)\pdf\wx.rtf
634 -erase $(DOCDIR)\latex\wx\wx.rtf
635 -erase $(DOCDIR)\latex\wx\WX.PH
636 -erase $(DOCDIR)\htmlhelp\wx.chm
637 -erase $(DOCDIR)\htb\wx.htb
639 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
640 # Office StartUp folder, and PDFMaker should be installed.
641 updatepdf: # touchmanual pdfrtf
642 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
646 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
647 cd $(WXWIN)\distrib\msw\tmake
648 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
649 copy makefile.$(MFTYPE) $(WXWIN)\src\msw