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
103 {..\generic}.cpp{..\generic\$D}.obj:
105 $(CPPFLAGS) /Fo$@ /c /Tp $<
108 {..\common}.cpp{..\common\$D}.obj:
110 $(CPPFLAGS) /Fo$@ /c /Tp $<
113 {..\common}.c{..\common\$D}.obj:
115 $(CPPFLAGS2) /Fo$@ /c /Tc $<
118 {..\msw}.cpp{..\msw\$D}.obj:
120 $(CPPFLAGS) /Fo$@ /c /Tp $<
123 {..\msw}.c{..\msw\$D}.obj:
125 $(CPPFLAGS2) /Fo$@ /c /Tc $<
128 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
130 $(CPPFLAGS) /Fo$@ /c /Tp $<
133 {..\html}.cpp{..\html\$D}.obj:
135 $(CPPFLAGS) /Fo$@ /c /Tp $<
138 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
140 # These are generic things that don't need to be compiled on MSW,
141 # but sometimes it's useful to do so for testing purposes.
142 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
145 ..\common\$D\y_tab.obj \
146 #$ ExpandList("WXCOMMONOBJS");
148 MSWOBJS = #$ ExpandList("WXMSWOBJS");
150 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
153 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
154 # Add $(HTMLOBJS) if wanting wxHTML classes
155 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
157 # Normal, static library
158 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg tiff $(LIBTARGET)
160 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
181 # wxWindows library as DLL
183 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
186 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
188 # wxWindows + app as DLL. Only affects main.cpp.
190 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
192 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
194 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
196 # Use this to make dummy.obj and generate a PCH.
197 # You might use the dll target, then the pch target, in order to
198 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
200 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
201 # are associated with wx.lib. When using a DLL version of wxWindows, however,
202 # the DLL is compiled without a PCH, so you only need it for compiling the app.
203 # In fact headers are compiled differently depending on whether a DLL is being made
204 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
205 # in each case) so you couldn't use the same PCH.
207 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
209 pch1: dirs $(DUMMYOBJ)
212 !if "$(WXMAKINGDLL)" != "1"
216 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
221 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
226 ### Update the import library
228 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
232 $(DUMMYOBJ) $(OBJECTS)
233 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
236 !if "$(USE_GLCANVAS)" == "1"
237 GL_LIBS=opengl32.lib glu32.lib
238 GL_LIBS_DELAY=/delayload:opengl32.dll
241 # Update the dynamic link library
242 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
245 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
246 $(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
248 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
249 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
250 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
255 # /delayload:winmm.dll # Removed because it can cause a crash for some people
257 ########################################################
258 # Windows-specific objects
260 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
261 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
263 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
265 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
268 # Compile certain files with no optimization (some files cause a
269 # compiler crash for buggy versions of VC++, e.g. 4.0).
270 # Don't forget to put FINAL=1 on the command line.
273 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
276 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
279 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
282 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
285 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
288 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
291 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
294 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
297 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
300 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
303 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
306 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
309 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
312 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
315 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
318 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
321 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
324 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
327 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
330 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
333 # If taking wxWindows from CVS, setup.h doesn't exist yet.
334 # Actually the 'if not exist setup.h' test doesn't work
335 # (copies the file anyway)
336 # we'll have to comment this rule out.
338 # $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
339 # cd "$(WXDIR)"\include\wx\msw
340 # if not exist setup.h copy setup0.h setup.h
341 # cd "$(WXDIR)"\src\msw
343 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
345 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
348 ..\common\y_tab.c: ..\common\dosyacc.c
349 copy "..\common"\dosyacc.c "..\common"\y_tab.c
351 ..\common\lex_yy.c: ..\common\doslex.c
352 copy "..\common"\doslex.c "..\common"\lex_yy.c
354 $(OBJECTS): $(WXDIR)/include/wx/setup.h
356 ..\common\$D\unzip.obj: ..\common\unzip.c
358 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
361 # Peripheral components
365 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
370 nmake -f makefile.vc clean
375 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
380 nmake -f makefile.vc clean
385 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
390 nmake -f makefile.vc clean
395 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
400 nmake -f makefile.vc clean
405 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
410 nmake -f makefile.vc clean
414 cd $(WXDIR)\utils\rcparser\src
415 nmake -f makefile.vc FINAL=$(FINAL)
418 cleanall: clean clean_png clean_zlib clean_xpm clean_jpeg clean_tiff
419 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
420 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
421 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
422 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
423 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
426 clean: $(PERIPH_CLEAN_TARGET)
428 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
431 -erase $(WXLIBNAME).pch
432 -erase $(GENDIR)\$D\*.obj
433 -erase $(GENDIR)\$D\*.pdb
434 -erase $(GENDIR)\$D\*.sbr
435 -erase $(COMMDIR)\$D\*.obj
436 -erase $(COMMDIR)\$D\*.pdb
437 -erase $(COMMDIR)\$D\*.sbr
438 -erase $(COMMDIR)\y_tab.c
439 -erase $(COMMDIR)\lex_yy.c
440 -erase $(MSWDIR)\$D\*.obj
441 -erase $(MSWDIR)\$D\*.sbr
442 -erase $(MSWDIR)\$D\*.pdb
443 -erase $(OLEDIR)\$D\*.obj
444 -erase $(OLEDIR)\$D\*.sbr
445 -erase $(OLEDIR)\$D\*.pdb
446 -erase $(HTMLDIR)\$D\*.obj
447 -erase $(HTMLDIR)\$D\*.sbr
448 -erase $(HTMLDIR)\$D\*.pdb
451 -rmdir ..\generic\$(D)
452 -rmdir ..\common\$(D)
457 docs: allhlp allhtml allpdfrtf htb htmlhelp
460 wxhlp: $(DOCDIR)/winhelp/wx.hlp
461 refhlp: $(DOCDIR)/winhelp/techref.hlp
462 rtf: $(DOCDIR)/winhelp/wx.rtf
463 pdfrtf: $(DOCDIR)/pdf/wx.rtf
464 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
466 htb: $(DOCDIR)\htb\wx.htb
467 wxhtml: $(DOCDIR)\html\wx\wx.htm
468 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
470 wxps: $(WXDIR)\docs\ps\wx.ps
471 referencps: $(WXDIR)\docs\ps\referenc.ps
474 cd $(WXDIR)\utils\dialoged\src
475 nmake -f makefile.vc hlp
478 # cd $(WXDIR)\utils\wxhelp\src
479 # nmake -f makefile.vc hlp
480 # cd $(WXDIR)\utils\tex2rtf\src
481 # nmake -f makefile.vc hlp
482 # cd $(WXDIR)\utils\wxgraph\src
483 # nmake -f makefile.vc hlp
484 # cd $(WXDIR)\utils\wxchart\src
485 # nmake -f makefile.vc hlp
486 # cd $(WXDIR)\utils\wxtree\src
487 # nmake -f makefile.vc hlp
488 # cd $(WXDIR)\utils\wxbuild\src
489 # nmake -f makefile.vc hlp
490 # cd $(WXDIR)\utils\wxgrid\src
491 # nmake -f makefile.vc hlp
494 cd $(WXDIR)\utils\dialoged\src
495 nmake -f makefile.vc html
498 # nmake -f makefile.vc html
499 # cd $(WXDIR)\utils\dialoged\src
500 # nmake -f makefile.vc html
501 # cd $(WXDIR)\utils\hytext\src
502 # nmake -f makefile.vc html
503 # cd $(WXDIR)\utils\wxhelp\src
504 # nmake -f makefile.vc html
505 # cd $(WXDIR)\utils\tex2rtf\src
506 # nmake -f makefile.vc html
507 # cd $(WXDIR)\utils\wxgraph\src
508 # nmake -f makefile.vc html
509 # cd $(WXDIR)\utils\wxchart\src
510 # nmake -f makefile.vc html
511 # cd $(WXDIR)\utils\wxtree\src
512 # nmake -f makefile.vc html
514 allps: wxps referencps
515 cd $(WXDIR)\utils\dialoged\src
516 nmake -f makefile.vc ps
520 cd $(WXDIR)\utils\dialoged\src
521 nmake -f makefile.vc pdfrtf
524 # cd $(WXDIR)\utils\wxhelp\src
525 # nmake -f makefile.vc ps
526 # cd $(WXDIR)\utils\tex2rtf\src
527 # nmake -f makefile.vc ps
528 # cd $(WXDIR)\utils\wxgraph\src
529 # nmake -f makefile.vc ps
530 # cd $(WXDIR)\utils\wxchart\src
531 # nmake -f makefile.vc ps
532 # cd $(WXDIR)\utils\wxtree\src
533 # nmake -f makefile.vc ps
536 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
537 cd $(DOCDIR)/latex/wx
540 -erase $(DOCDIR)\winhelp\wx.hlp
541 -erase $(DOCDIR)\winhelp\wx.cnt
542 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
543 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
546 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
547 cd $(DOCDIR)/latex/techref
550 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
551 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
554 $(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
555 cd $(DOCDIR)\latex\wx
556 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
559 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
560 cd $(DOCDIR)\latex\techref
561 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
564 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
565 cd $(DOCDIR)\latex\wx
566 -copy *.wmf $(DOCDIR)\pdf
567 -copy *.bmp $(DOCDIR)\pdf
568 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
571 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
572 cd $(DOCDIR)\latex\techref
573 -copy *.wmf $(DOCDIR)\pdf
574 -copy *.bmp $(DOCDIR)\pdf
575 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
578 $(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
579 cd $(DOCDIR)\latex\wx
580 -mkdir $(DOCDIR)\html\wx
581 copy *.gif $(DOCDIR)\html\wx
582 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
583 -erase $(DOCDIR)\html\wx\*.con
584 -erase $(DOCDIR)\html\wx\*.ref
585 -erase $(DOCDIR)\latex\wx\*.con
586 -erase $(DOCDIR)\latex\wx\*.ref
589 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
592 -mkdir ..\..\htmlhelp
593 -erase $(DOCDIR)\htmlhelp\wx.chm
594 move wx.chm ..\..\htmlhelp
597 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
598 cd $(WXDIR)\docs\latex\wx
607 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
608 cd $(WXDIR)\docs\latex\wx
609 -dvips32 -o wx.ps manual
610 move wx.ps $(WXDIR)\docs\ps\wx.ps
613 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
614 cd $(WXDIR)\docs\latex\wx
623 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
624 cd $(WXDIR)\docs\latex\wx
625 -dvips32 -o referenc.ps referenc
626 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
629 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
630 # files, renamed to htb.
631 # This can then be used with e.g. helpview.
632 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
633 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
634 cd $(WXDIR)\docs\html\wx
635 -erase /Y wx.zip wx.htb
636 zip32 wx.zip *.htm *.gif *.hhp *.hhc *.hhk
638 move wx.zip $(DOCDIR)\htb\wx.htb
641 # In order to force document reprocessing
643 -touch $(WXDIR)\docs\latex\wx\manual.tex
645 updatedocs: touchmanual alldocs
648 -erase /Y $(DOCDIR)\html\wx\wx.htm
649 -erase /Y $(DOCDIR)\pdf\wx.rtf
650 -erase /Y $(DOCDIR)\latex\wx\wx.rtf
651 -erase /Y $(DOCDIR)\htmlhelp\wx.chm
652 -erase /Y $(DOCDIR)\htb\wx.htb
654 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
655 # Office StartUp folder, and PDFMaker should be installed.
656 updatepdf: # touchmanual pdfrtf
657 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
661 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
662 cd $(WXWIN)\distrib\msw\tmake
663 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
664 copy makefile.$(MFTYPE) $(WXWIN)\src\msw