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} =~ /\b(16|U)\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
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
85 # This one overrides the others, to be consistent with the settings in setup.h
86 MINIMAL_WXWINDOWS_SETUP=0
92 # Set to 0 if not using GLCanvas (only affects DLL build)
95 # Set to 1 if you are using MSVC 5
98 # These are absolute paths, so that the compiler
99 # generates correct __FILE__ symbols for debugging.
100 # Otherwise you don't be able to double-click on a memory
101 # error to load that file.
102 GENDIR=$(WXDIR)\src\generic
103 COMMDIR=$(WXDIR)\src\common
105 MSWDIR=$(WXDIR)\src\msw
106 DOCDIR = $(WXDIR)\docs
107 HTMLDIR = $(WXDIR)\src\html
108 JPEGDIR = $(WXDIR)\src\jpeg
109 TIFFDIR = $(WXDIR)\src\tiff
110 REGEXDIR = $(WXDIR)\src\regex
113 {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
115 $(CPPFLAGS) /Fo$@ /c /Tp $<
118 {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
120 $(CPPFLAGS) /Fo$@ /c /Tp $<
123 {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
125 $(CPPFLAGS2) /Fo$@ /c /Tc $<
128 {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
130 $(CPPFLAGS) /Fo$@ /c /Tp $<
133 {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
135 $(CPPFLAGS2) /Fo$@ /c /Tc $<
138 {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
140 $(CPPFLAGS) /Fo$@ /c /Tp $<
143 {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
145 $(CPPFLAGS) /Fo$@ /c /Tp $<
148 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
150 # These are generic things that don't need to be compiled on MSW,
151 # but sometimes it's useful to do so for testing purposes.
152 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
155 #$ ExpandList("WXCOMMONOBJS");
157 MSWOBJS = #$ ExpandList("WXMSWOBJS");
159 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
162 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
163 # Add $(HTMLOBJS) if wanting wxHTML classes
164 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
166 ARCHINCDIR=$(WXDIR)\lib\$(_WXINC_BUILD)$(_WXINC_DLLSUFFIX)$(_WXINC_SUFFIX)$(LIBEXT)
167 SETUP_H=$(ARCHINCDIR)\wx\setup.h
169 # Normal, static library
170 all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
174 mkdir $(ARCHINCDIR)\wx
176 $(WXDIR)\include\wx\msw\setup.h:
177 cd $(WXDIR)\include\wx\msw
178 if not exist setup.h copy setup0.h setup.h
181 $(SETUP_H): $(WXDIR)\include\wx\msw\setup.h
182 copy $(WXDIR)\include\wx\msw\setup.h $@
184 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D $(REGEXDIR)\$D $(ARCHINCDIR)\wx $(WXDIR)\$D
217 # wxWindows library as DLL
219 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
222 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
224 # wxWindows + app as DLL. Only affects main.cpp.
226 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
228 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
230 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
232 # Use this to make dummy.obj and generate a PCH.
233 # You might use the dll target, then the pch target, in order to
234 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
236 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
237 # are associated with wx.lib. When using a DLL version of wxWindows, however,
238 # the DLL is compiled without a PCH, so you only need it for compiling the app.
239 # In fact headers are compiled differently depending on whether a DLL is being made
240 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
241 # in each case) so you couldn't use the same PCH.
243 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
245 pch1: dirs $(DUMMYOBJ)
248 !if "$(WXMAKINGDLL)" != "1"
252 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_LIBS)
257 $(OBJECTS) $(DUMMYOBJ) $(PERIPH_LIBS)
262 ### Update the import library
264 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
268 $(DUMMYOBJ) $(OBJECTS)
269 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
272 !if "$(USE_GLCANVAS)" == "1"
273 GL_LIBS=opengl32.lib glu32.lib
274 # GL_LIBS_DELAY=/delayload:opengl32.dll
277 !if "$(USE_MSVC_5)" == "1"
279 INCREMENTAL=/INCREMENTAL:NO
283 DELAY_LOAD=delayimp.lib \
284 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \
285 /delayload:gdi32.dll \
286 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \
287 /delayload:ole32.dll \
288 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
291 # Update the dynamic link library
292 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
294 $(LINKFLAGS) $(INCREMENTAL)
295 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
296 $(DUMMYOBJ) $(OBJECTS) $(MSLU_LIBS) $(guilibsdll) shell32.lib comctl32.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)
301 # /delayload:winmm.dll # Removed because it can cause a crash for some people
303 ########################################################
304 # Windows-specific objects
306 $(DUMMYOBJ): $(DUMMY).$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
307 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp
309 # Compile certain files with no optimization (some files cause a
310 # compiler crash for buggy versions of VC++, e.g. 4.0).
311 # Don't forget to put FINAL=1 on the command line.
314 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
317 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
320 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
323 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
326 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
329 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
332 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
335 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
338 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
341 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
344 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
347 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
350 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
353 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
356 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
359 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
362 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
365 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
368 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
370 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
373 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
374 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
376 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
377 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
379 $(OBJECTS): $(SETUP_H)
381 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
383 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
386 # Peripheral components
390 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0
395 nmake -f makefile.vc clean
400 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0
405 nmake -f makefile.vc clean
410 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
415 nmake -f makefile.vc clean
420 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
425 nmake -f makefile.vc clean
429 cd $(WXDIR)\src\regex
430 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) UNICODE=0 all
434 cd $(WXDIR)\src\regex
435 nmake -f makefile.vc clean
439 cd $(WXDIR)\utils\rcparser\src
440 nmake -f makefile.vc FINAL=$(FINAL)
443 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
444 -erase ..\..\lib\$(WXLIBNAME).dll
445 -erase ..\..\lib\$(WXLIBNAME).lib
446 -erase ..\..\lib\$(WXLIBNAME).exp
447 -erase ..\..\lib\$(WXLIBNAME).pdb
448 -erase ..\..\lib\$(WXLIBNAME).ilk
451 clean: $(PERIPH_CLEAN_TARGET)
453 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
456 -erase $(WXLIBNAME).pch
457 -erase $(WXDIR)\$D\$(PCH)
458 -erase $(WXDIR)\$D\*.pdb
459 -erase $(WXDIR)\$D\*.obj
460 -erase $(GENDIR)\$D\*.obj
461 -erase $(GENDIR)\$D\*.pdb
462 -erase $(GENDIR)\$D\*.sbr
463 -erase $(COMMDIR)\$D\*.obj
464 -erase $(COMMDIR)\$D\*.pdb
465 -erase $(COMMDIR)\$D\*.sbr
466 -erase $(COMMDIR)\y_tab.c
467 -erase $(COMMDIR)\lex_yy.c
468 -erase $(MSWDIR)\$D\*.obj
469 -erase $(MSWDIR)\$D\*.sbr
470 -erase $(MSWDIR)\$D\*.pdb
471 -erase $(MSWDIR)\$D\*.pch
472 -erase $(OLEDIR)\$D\*.obj
473 -erase $(OLEDIR)\$D\*.sbr
474 -erase $(OLEDIR)\$D\*.pdb
475 -erase $(HTMLDIR)\$D\*.obj
476 -erase $(HTMLDIR)\$D\*.sbr
477 -erase $(HTMLDIR)\$D\*.pdb
478 -erase $(JPEGDIR)\$D\*.obj
479 -erase $(JPEGDIR)\$D\*.sbr
480 -erase $(JPEGDIR)\$D\*.idb
481 -erase $(JPEGDIR)\$D\*.pdb
482 -erase $(TIFFDIR)\$D\*.obj
483 -erase $(TIFFDIR)\$D\*.sbr
484 -erase $(TIFFDIR)\$D\*.pdb
485 -erase $(TIFFDIR)\$D\*.idb
487 -rmdir $(GENDIR)\$(D)
488 -rmdir $(COMMDIR)\$(D)
489 -rmdir $(MSWDIR)\$(D)
490 -rmdir $(OLEDIR)\$(D)
491 -rmdir $(HTMLDIR)\$(D)
492 -rmdir $(JPEGDIR)\$(D)
493 -rmdir $(TIFFDIR)\$(D)
497 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
500 wxhlp: $(DOCDIR)/winhelp/wx.hlp
501 rtf: $(DOCDIR)/winhelp/wx.rtf
502 pdfrtf: $(DOCDIR)/pdf/wx.rtf
504 htb: $(DOCDIR)\htb\wx.htb
505 wxhtml: $(DOCDIR)\html\wx\wx.htm
506 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
508 wxps: $(WXDIR)\docs\ps\wx.ps
512 # cd $(WXDIR)\utils\dialoged\src
513 # nmake -f makefile.vc hlp
514 # cd $(WXDIR)\utils\tex2rtf\src
515 # nmake -f makefile.vc hlp
516 # cd $(WXDIR)\contrib\src\fl
517 # 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
526 # cd $(WXDIR)\contrib\src\fl
529 allhtmlhelp: htmlhelp
531 # cd $(WXDIR)\utils\dialoged\src
532 # nmake -f makefile.vc htmlhelp
533 # cd $(WXDIR)\utils\tex2rtf\src
534 # nmake -f makefile.vc htmlhelp
535 # cd $(WXDIR)\contrib\src\fl
536 # nmake -f makefile.vc htmlhelp
541 # cd $(WXDIR)\utils\dialoged\src
542 # nmake -f makefile.vc htb
543 # cd $(WXDIR)\utils\tex2rtf\src
544 # nmake -f makefile.vc htb
545 # cd $(WXDIR)\contrib\src\fl
546 # nmake -f makefile.vc htb
549 allps: wxps referencps
550 cd $(WXDIR)\utils\dialoged\src
551 nmake -f makefile.vc ps
552 cd $(WXDIR)\utils\tex2rtf\src
553 nmake -f makefile.vc ps
554 cd $(WXDIR)\contrib\src\fl
555 nmake -f makefile.vc ps
559 # cd $(WXDIR)\utils\dialoged\src
560 # nmake -f makefile.vc pdfrtf
561 # cd $(WXDIR)\utils\tex2rtf\src
562 # nmake -f makefile.vc pdfrtf
563 # cd $(WXDIR)\contrib\src\fl
564 # nmake -f makefile.vc pdfrtf
567 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
568 cd $(DOCDIR)/latex/wx
571 -erase $(DOCDIR)\winhelp\wx.hlp
572 -erase $(DOCDIR)\winhelp\wx.cnt
573 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
574 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
577 $(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
578 cd $(DOCDIR)\latex\wx
579 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
582 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
583 cd $(DOCDIR)\latex\wx
584 -copy *.wmf $(DOCDIR)\pdf
585 -copy *.bmp $(DOCDIR)\pdf
586 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
589 # This target does two sets of HTML: one using a style sheet, for
590 # the purposes of the CHM file, and one without.
591 $(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
592 cd $(DOCDIR)\latex\wx
593 -mkdir $(DOCDIR)\html\wx
594 copy *.gif $(DOCDIR)\html\wx
595 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
596 -mkdir $(DOCDIR)\mshtml
597 -mkdir $(DOCDIR)\mshtml\wx
598 copy *.gif $(DOCDIR)\mshtml\wx
599 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\mshtml\wx\wx.htm -twice -html -macros $(DOCDIR)\latex\wx\tex2rtf_css.ini
600 -erase $(DOCDIR)\html\wx\*.con
601 -erase $(DOCDIR)\html\wx\*.ref
602 -erase $(DOCDIR)\latex\wx\*.con
603 -erase $(DOCDIR)\latex\wx\*.ref
606 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.htm $(DOCDIR)\mshtml\wx\wx.hhp
607 cd $(DOCDIR)\mshtml\wx
608 copy $(DOCDIR)\latex\wx\wx.css .
610 -mkdir ..\..\htmlhelp
611 -erase $(DOCDIR)\htmlhelp\wx.chm
612 move wx.chm ..\..\htmlhelp
615 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
616 cd $(WXDIR)\docs\latex\wx
625 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
626 cd $(WXDIR)\docs\latex\wx
627 -dvips32 -o wx.ps manual
628 move wx.ps $(WXDIR)\docs\ps\wx.ps
631 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
632 cd $(WXDIR)\docs\latex\wx
641 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
642 cd $(WXDIR)\docs\latex\wx
643 -dvips32 -o referenc.ps referenc
644 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
647 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
648 # files, renamed to htb.
649 # This can then be used with e.g. helpview.
650 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
651 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
652 cd $(WXDIR)\docs\html\wx
654 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
656 move wx.zip $(DOCDIR)\htb\wx.htb
659 # In order to force document reprocessing
661 -touch $(WXDIR)\docs\latex\wx\manual.tex
663 updatedocs: touchmanual alldocs
666 -erase $(DOCDIR)\winhelp\wx.hlp
667 -erase $(DOCDIR)\winhelp\wx.cnt
668 -erase $(DOCDIR)\html\wx\*.htm
669 -erase $(DOCDIR)\pdf\wx.rtf
670 -erase $(DOCDIR)\latex\wx\wx.rtf
671 -erase $(DOCDIR)\latex\wx\WX.PH
672 -erase $(DOCDIR)\htmlhelp\wx.chm
673 -erase $(DOCDIR)\htb\wx.htb
675 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
676 # Office StartUp folder, and PDFMaker should be installed.
677 updatepdf: # touchmanual pdfrtf
678 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
682 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
683 cd $(WXWIN)\distrib\msw\tmake
684 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
685 copy makefile.$(MFTYPE) $(WXWIN)\src\msw