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} .= "\$(GENDIR)\\\$D\\" . $file . " "
30 foreach $file (sort keys %wxCommon) {
31 next if $wxCommon{$file} =~ /\b16\b/;
33 $file =~ s/cp?p?$/obj/;
34 $project{"WXCOMMONOBJS"} .= "\$(COMMDIR)\\\$D\\" . $file . " "
37 foreach $file (sort keys %wxMSW) {
38 next if $wxMSW{$file} =~ /\b16\b/;
40 #! OLE files live in a subdir
41 if( $wxMSW{$file} =~ /\bO\b/ ) {
42 $project{"WXMSWOBJS"} .= '$(OLEDIR)';
44 $project{"WXMSWOBJS"} .= '$(MSWDIR)';
46 $file =~ s/cp?p?$/obj/;
47 $project{"WXMSWOBJS"} .= '\\$D\\' . $file . " ";
50 foreach $file (sort keys %wxHTML) {
51 next if $wxHTML{$file} =~ /\b16\b/;
53 $file =~ s/cp?p?$/obj/;
54 $project{"WXHTMLOBJS"} .= "\$(HTMLDIR)\\\$D\\" . $file . " "
58 # This file was automatically generated by tmake at #$ Now()
59 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
62 # Author: Julian Smart
65 # Copyright: (c) 1997, Julian Smart
69 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
72 # FINAL=1 argument to nmake to build version with no debugging info.
73 # dll builds a library (wxdll.lib) suitable for creating DLLs
75 !include <..\makevc.env>
77 THISDIR=$(WXWIN)\src\msw
79 !if "$(WXMAKINGDLL)" == "1"
80 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
81 DUMMYOBJ=$D\dummydll.obj
87 # This one overrides the others, to be consistent with the settings in setup.h
88 MINIMAL_WXWINDOWS_SETUP=0
94 # Set to 0 if not using GLCanvas (only affects DLL build)
97 # Set to 0 if you are using MSVC 5
100 # These are absolute paths, so that the compiler
101 # generates correct __FILE__ symbols for debugging.
102 # Otherwise you don't be able to double-click on a memory
103 # error to load that file.
104 GENDIR=$(WXDIR)\src\generic
105 COMMDIR=$(WXDIR)\src\common
107 MSWDIR=$(WXDIR)\src\msw
108 DOCDIR = $(WXDIR)\docs
109 HTMLDIR = $(WXDIR)\src\html
110 JPEGDIR = $(WXDIR)\src\jpeg
111 TIFFDIR = $(WXDIR)\src\tiff
112 REGEXDIR = $(WXDIR)\src\regex
115 {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
117 $(CPPFLAGS) /Fo$@ /c /Tp $<
120 {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
122 $(CPPFLAGS) /Fo$@ /c /Tp $<
125 {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
127 $(CPPFLAGS2) /Fo$@ /c /Tc $<
130 {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
132 $(CPPFLAGS) /Fo$@ /c /Tp $<
135 {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
137 $(CPPFLAGS2) /Fo$@ /c /Tc $<
140 {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
142 $(CPPFLAGS) /Fo$@ /c /Tp $<
145 {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
147 $(CPPFLAGS) /Fo$@ /c /Tp $<
150 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
152 # These are generic things that don't need to be compiled on MSW,
153 # but sometimes it's useful to do so for testing purposes.
154 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
157 $(COMMDIR)\$D\y_tab.obj \
158 #$ ExpandList("WXCOMMONOBJS");
160 MSWOBJS = #$ ExpandList("WXMSWOBJS");
162 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
165 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
166 # Add $(HTMLOBJS) if wanting wxHTML classes
167 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
169 ARCHINCDIR=$(WXDIR)\lib\msw$(INCEXT)
170 SETUP_H=$(ARCHINCDIR)\wx\setup.h
172 # Normal, static library
173 all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
177 mkdir $(ARCHINCDIR)\wx
180 copy $(WXDIR)\include\wx\msw\setup.h $@
182 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D $(REGEXDIR)\$D $(ARCHINCDIR)\wx
211 # wxWindows library as DLL
213 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE)
216 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE)
218 # wxWindows + app as DLL. Only affects main.cpp.
220 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE)
222 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
224 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE)
226 # Use this to make dummy.obj and generate a PCH.
227 # You might use the dll target, then the pch target, in order to
228 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
230 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
231 # are associated with wx.lib. When using a DLL version of wxWindows, however,
232 # the DLL is compiled without a PCH, so you only need it for compiling the app.
233 # In fact headers are compiled differently depending on whether a DLL is being made
234 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
235 # in each case) so you couldn't use the same PCH.
237 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
239 pch1: dirs $(DUMMYOBJ)
242 !if "$(WXMAKINGDLL)" != "1"
246 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
251 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
256 ### Update the import library
258 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
262 $(DUMMYOBJ) $(OBJECTS)
263 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
266 !if "$(USE_GLCANVAS)" == "1"
267 GL_LIBS=opengl32.lib glu32.lib
268 # GL_LIBS_DELAY=/delayload:opengl32.dll
271 !if "$(USE_MSVC_5)" == "1"
273 INCREMENTAL=/INCREMENTAL:NO
277 DELAY_LOAD=delayimp.lib \
278 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \
279 /delayload:gdi32.dll \
280 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \
281 /delayload:ole32.dll \
282 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
285 # Update the dynamic link library
286 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
288 $(LINKFLAGS) $(INCREMENTAL)
289 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
290 $(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 $(WXDIR)\lib\regex$(LIBEXT).lib $(DELAY_LOAD)
295 # /delayload:winmm.dll # Removed because it can cause a crash for some people
297 ########################################################
298 # Windows-specific objects
300 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
301 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
303 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
305 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
308 # Compile certain files with no optimization (some files cause a
309 # compiler crash for buggy versions of VC++, e.g. 4.0).
310 # Don't forget to put FINAL=1 on the command line.
313 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
316 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
319 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
322 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
325 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
328 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
331 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
334 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
337 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
340 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
343 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
346 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
349 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
352 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
355 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
358 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
361 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
364 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
367 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
370 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
373 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
375 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
378 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
379 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
381 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
382 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
384 $(OBJECTS): $(SETUP_H)
386 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
388 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
391 # Peripheral components
395 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
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
415 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
420 nmake -f makefile.vc clean
425 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
430 nmake -f makefile.vc clean
434 cd $(WXDIR)\src\regex
435 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
439 cd $(WXDIR)\src\regex
440 nmake -f makefile.vc clean
444 cd $(WXDIR)\utils\rcparser\src
445 nmake -f makefile.vc FINAL=$(FINAL)
448 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
449 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
450 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
451 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
452 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
453 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
456 clean: $(PERIPH_CLEAN_TARGET)
458 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
461 -erase $(WXLIBNAME).pch
462 -erase $(GENDIR)\$D\*.obj
463 -erase $(GENDIR)\$D\*.pdb
464 -erase $(GENDIR)\$D\*.sbr
465 -erase $(COMMDIR)\$D\*.obj
466 -erase $(COMMDIR)\$D\*.pdb
467 -erase $(COMMDIR)\$D\*.sbr
468 -erase $(COMMDIR)\y_tab.c
469 -erase $(COMMDIR)\lex_yy.c
470 -erase $(MSWDIR)\$D\*.obj
471 -erase $(MSWDIR)\$D\*.sbr
472 -erase $(MSWDIR)\$D\*.pdb
473 -erase $(MSWDIR)\$D\*.pch
474 -erase $(OLEDIR)\$D\*.obj
475 -erase $(OLEDIR)\$D\*.sbr
476 -erase $(OLEDIR)\$D\*.pdb
477 -erase $(HTMLDIR)\$D\*.obj
478 -erase $(HTMLDIR)\$D\*.sbr
479 -erase $(HTMLDIR)\$D\*.pdb
480 -erase $(JPEGDIR)\$D\*.obj
481 -erase $(JPEGDIR)\$D\*.sbr
482 -erase $(JPEGDIR)\$D\*.idb
483 -erase $(JPEGDIR)\$D\*.pdb
484 -erase $(TIFFDIR)\$D\*.obj
485 -erase $(TIFFDIR)\$D\*.sbr
486 -erase $(TIFFDIR)\$D\*.pdb
487 -erase $(TIFFDIR)\$D\*.idb
489 -rmdir $(GENDIR)\$(D)
490 -rmdir $(COMMDIR)\$(D)
491 -rmdir $(MSWDIR)\$(D)
492 -rmdir $(OLEDIR)\$(D)
493 -rmdir $(HTMLDIR)\$(D)
494 -rmdir $(JPEGDIR)\$(D)
495 -rmdir $(TIFFDIR)\$(D)
498 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
501 wxhlp: $(DOCDIR)/winhelp/wx.hlp
502 refhlp: $(DOCDIR)/winhelp/techref.hlp
503 rtf: $(DOCDIR)/winhelp/wx.rtf
504 pdfrtf: $(DOCDIR)/pdf/wx.rtf
505 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
507 htb: $(DOCDIR)\htb\wx.htb
508 wxhtml: $(DOCDIR)\html\wx\wx.htm
509 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
511 wxps: $(WXDIR)\docs\ps\wx.ps
512 referencps: $(WXDIR)\docs\ps\referenc.ps
515 cd $(WXDIR)\utils\dialoged\src
516 nmake -f makefile.vc hlp
517 cd $(WXDIR)\utils\tex2rtf\src
518 nmake -f makefile.vc hlp
522 cd $(WXDIR)\utils\dialoged\src
523 nmake -f makefile.vc html
524 cd $(WXDIR)\utils\tex2rtf\src
525 nmake -f makefile.vc html
528 allhtmlhelp: htmlhelp
529 cd $(WXDIR)\utils\dialoged\src
530 nmake -f makefile.vc htmlhelp
531 cd $(WXDIR)\utils\tex2rtf\src
532 nmake -f makefile.vc htmlhelp
536 cd $(WXDIR)\utils\dialoged\src
537 nmake -f makefile.vc htb
538 cd $(WXDIR)\utils\tex2rtf\src
539 nmake -f makefile.vc htb
542 allps: wxps referencps
543 cd $(WXDIR)\utils\dialoged\src
544 nmake -f makefile.vc ps
545 cd $(WXDIR)\utils\tex2rtf\src
546 nmake -f makefile.vc ps
550 cd $(WXDIR)\utils\dialoged\src
551 nmake -f makefile.vc pdfrtf
552 cd $(WXDIR)\utils\tex2rtf\src
553 nmake -f makefile.vc pdfrtf
556 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
557 cd $(DOCDIR)/latex/wx
560 -erase $(DOCDIR)\winhelp\wx.hlp
561 -erase $(DOCDIR)\winhelp\wx.cnt
562 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
563 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
566 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
567 cd $(DOCDIR)/latex/techref
570 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
571 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
574 $(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
575 cd $(DOCDIR)\latex\wx
576 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
579 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
580 cd $(DOCDIR)\latex\techref
581 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
584 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
585 cd $(DOCDIR)\latex\wx
586 -copy *.wmf $(DOCDIR)\pdf
587 -copy *.bmp $(DOCDIR)\pdf
588 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
591 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
592 cd $(DOCDIR)\latex\techref
593 -copy *.wmf $(DOCDIR)\pdf
594 -copy *.bmp $(DOCDIR)\pdf
595 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
598 $(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
599 cd $(DOCDIR)\latex\wx
600 -mkdir $(DOCDIR)\html\wx
601 copy *.gif $(DOCDIR)\html\wx
602 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
603 -erase $(DOCDIR)\html\wx\*.con
604 -erase $(DOCDIR)\html\wx\*.ref
605 -erase $(DOCDIR)\latex\wx\*.con
606 -erase $(DOCDIR)\latex\wx\*.ref
609 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
612 -mkdir ..\..\htmlhelp
613 -erase $(DOCDIR)\htmlhelp\wx.chm
614 move wx.chm ..\..\htmlhelp
617 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
618 cd $(WXDIR)\docs\latex\wx
627 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
628 cd $(WXDIR)\docs\latex\wx
629 -dvips32 -o wx.ps manual
630 move wx.ps $(WXDIR)\docs\ps\wx.ps
633 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
634 cd $(WXDIR)\docs\latex\wx
643 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
644 cd $(WXDIR)\docs\latex\wx
645 -dvips32 -o referenc.ps referenc
646 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
649 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
650 # files, renamed to htb.
651 # This can then be used with e.g. helpview.
652 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
653 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
654 cd $(WXDIR)\docs\html\wx
656 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
658 move wx.zip $(DOCDIR)\htb\wx.htb
661 # In order to force document reprocessing
663 -touch $(WXDIR)\docs\latex\wx\manual.tex
665 updatedocs: touchmanual alldocs
668 -erase $(DOCDIR)\winhelp\wx.hlp
669 -erase $(DOCDIR)\winhelp\wx.cnt
670 -erase $(DOCDIR)\html\wx\*.htm
671 -erase $(DOCDIR)\pdf\wx.rtf
672 -erase $(DOCDIR)\latex\wx\wx.rtf
673 -erase $(DOCDIR)\latex\wx\WX.PH
674 -erase $(DOCDIR)\htmlhelp\wx.chm
675 -erase $(DOCDIR)\htb\wx.htb
677 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
678 # Office StartUp folder, and PDFMaker should be installed.
679 updatepdf: # touchmanual pdfrtf
680 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
684 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
685 cd $(WXWIN)\distrib\msw\tmake
686 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
687 copy makefile.$(MFTYPE) $(WXWIN)\src\msw