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 0 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 $(COMMDIR)\$D\y_tab.obj \
156 #$ ExpandList("WXCOMMONOBJS");
158 MSWOBJS = #$ ExpandList("WXMSWOBJS");
160 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
163 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
164 # Add $(HTMLOBJS) if wanting wxHTML classes
165 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
167 ARCHINCDIR=$(WXDIR)\lib\msw$(INCEXT)
168 SETUP_H=$(ARCHINCDIR)\wx\setup.h
170 # Normal, static library
171 all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
175 mkdir $(ARCHINCDIR)\wx
177 $(WXDIR)\include\wx\msw\setup.h:
178 cd $(WXDIR)\include\wx\msw
179 if not exist setup.h copy setup0.h setup.h
182 $(SETUP_H): $(WXDIR)\include\wx\msw\setup.h
183 copy $(WXDIR)\include\wx\msw\setup.h $@
185 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D $(REGEXDIR)\$D $(ARCHINCDIR)\wx $(WXDIR)\$D
218 # wxWindows library as DLL
220 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
223 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) UNICODE=$(UNICODE) MSLU=$(MSLU)
225 # wxWindows + app as DLL. Only affects main.cpp.
227 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
229 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
231 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 UNICODE=$(UNICODE) MSLU=$(MSLU)
233 # Use this to make dummy.obj and generate a PCH.
234 # You might use the dll target, then the pch target, in order to
235 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
237 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
238 # are associated with wx.lib. When using a DLL version of wxWindows, however,
239 # the DLL is compiled without a PCH, so you only need it for compiling the app.
240 # In fact headers are compiled differently depending on whether a DLL is being made
241 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
242 # in each case) so you couldn't use the same PCH.
244 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
246 pch1: dirs $(DUMMYOBJ)
249 !if "$(WXMAKINGDLL)" != "1"
253 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_LIBS)
258 $(OBJECTS) $(DUMMYOBJ) $(PERIPH_LIBS)
263 ### Update the import library
265 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
269 $(DUMMYOBJ) $(OBJECTS)
270 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
273 !if "$(USE_GLCANVAS)" == "1"
274 GL_LIBS=opengl32.lib glu32.lib
275 # GL_LIBS_DELAY=/delayload:opengl32.dll
278 !if "$(USE_MSVC_5)" == "1"
280 INCREMENTAL=/INCREMENTAL:NO
284 DELAY_LOAD=delayimp.lib \
285 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \
286 /delayload:gdi32.dll \
287 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \
288 /delayload:ole32.dll \
289 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
292 # Update the dynamic link library
293 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
295 $(LINKFLAGS) $(INCREMENTAL)
296 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
297 $(DUMMYOBJ) $(OBJECTS) $(MSLU_LIBS) $(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)
302 # /delayload:winmm.dll # Removed because it can cause a crash for some people
304 ########################################################
305 # Windows-specific objects
307 $(DUMMYOBJ): $(DUMMY).$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H)
308 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp
310 # Compile certain files with no optimization (some files cause a
311 # compiler crash for buggy versions of VC++, e.g. 4.0).
312 # Don't forget to put FINAL=1 on the command line.
315 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
318 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
321 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
324 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
327 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
330 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
333 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
336 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
339 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
342 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
345 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
348 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
351 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
354 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
357 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
360 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
363 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
366 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
369 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
372 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
375 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
377 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
380 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
381 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
383 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
384 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
386 $(OBJECTS): $(SETUP_H)
388 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
390 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
393 # Peripheral components
397 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
402 nmake -f makefile.vc clean
407 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
412 nmake -f makefile.vc clean
417 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
422 nmake -f makefile.vc clean
427 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
432 nmake -f makefile.vc clean
436 cd $(WXDIR)\src\regex
437 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
441 cd $(WXDIR)\src\regex
442 nmake -f makefile.vc clean
446 cd $(WXDIR)\utils\rcparser\src
447 nmake -f makefile.vc FINAL=$(FINAL)
450 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
451 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
452 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
453 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
454 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
455 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
458 clean: $(PERIPH_CLEAN_TARGET)
460 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
463 -erase $(WXLIBNAME).pch
464 -erase $(WXDIR)\$D\$(PCH)
465 -erase $(WXDIR)\$D\*.pdb
466 -erase $(WXDIR)\$D\*.obj
467 -erase $(GENDIR)\$D\*.obj
468 -erase $(GENDIR)\$D\*.pdb
469 -erase $(GENDIR)\$D\*.sbr
470 -erase $(COMMDIR)\$D\*.obj
471 -erase $(COMMDIR)\$D\*.pdb
472 -erase $(COMMDIR)\$D\*.sbr
473 -erase $(COMMDIR)\y_tab.c
474 -erase $(COMMDIR)\lex_yy.c
475 -erase $(MSWDIR)\$D\*.obj
476 -erase $(MSWDIR)\$D\*.sbr
477 -erase $(MSWDIR)\$D\*.pdb
478 -erase $(MSWDIR)\$D\*.pch
479 -erase $(OLEDIR)\$D\*.obj
480 -erase $(OLEDIR)\$D\*.sbr
481 -erase $(OLEDIR)\$D\*.pdb
482 -erase $(HTMLDIR)\$D\*.obj
483 -erase $(HTMLDIR)\$D\*.sbr
484 -erase $(HTMLDIR)\$D\*.pdb
485 -erase $(JPEGDIR)\$D\*.obj
486 -erase $(JPEGDIR)\$D\*.sbr
487 -erase $(JPEGDIR)\$D\*.idb
488 -erase $(JPEGDIR)\$D\*.pdb
489 -erase $(TIFFDIR)\$D\*.obj
490 -erase $(TIFFDIR)\$D\*.sbr
491 -erase $(TIFFDIR)\$D\*.pdb
492 -erase $(TIFFDIR)\$D\*.idb
494 -rmdir $(GENDIR)\$(D)
495 -rmdir $(COMMDIR)\$(D)
496 -rmdir $(MSWDIR)\$(D)
497 -rmdir $(OLEDIR)\$(D)
498 -rmdir $(HTMLDIR)\$(D)
499 -rmdir $(JPEGDIR)\$(D)
500 -rmdir $(TIFFDIR)\$(D)
504 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
507 wxhlp: $(DOCDIR)/winhelp/wx.hlp
508 rtf: $(DOCDIR)/winhelp/wx.rtf
509 pdfrtf: $(DOCDIR)/pdf/wx.rtf
511 htb: $(DOCDIR)\htb\wx.htb
512 wxhtml: $(DOCDIR)\html\wx\wx.htm
513 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
515 wxps: $(WXDIR)\docs\ps\wx.ps
518 cd $(WXDIR)\utils\dialoged\src
519 nmake -f makefile.vc hlp
520 cd $(WXDIR)\utils\tex2rtf\src
521 nmake -f makefile.vc hlp
522 cd $(WXDIR)\contrib\src\fl
523 nmake -f makefile.vc hlp
527 cd $(WXDIR)\utils\dialoged\src
528 nmake -f makefile.vc html
529 cd $(WXDIR)\utils\tex2rtf\src
530 nmake -f makefile.vc html
531 cd $(WXDIR)\contrib\src\fl
534 allhtmlhelp: htmlhelp
535 cd $(WXDIR)\utils\dialoged\src
536 nmake -f makefile.vc htmlhelp
537 cd $(WXDIR)\utils\tex2rtf\src
538 nmake -f makefile.vc htmlhelp
539 cd $(WXDIR)\contrib\src\fl
540 nmake -f makefile.vc htmlhelp
544 cd $(WXDIR)\utils\dialoged\src
545 nmake -f makefile.vc htb
546 cd $(WXDIR)\utils\tex2rtf\src
547 nmake -f makefile.vc htb
548 cd $(WXDIR)\contrib\src\fl
549 nmake -f makefile.vc htb
552 allps: wxps referencps
553 cd $(WXDIR)\utils\dialoged\src
554 nmake -f makefile.vc ps
555 cd $(WXDIR)\utils\tex2rtf\src
556 nmake -f makefile.vc ps
557 cd $(WXDIR)\contrib\src\fl
558 nmake -f makefile.vc ps
562 cd $(WXDIR)\utils\dialoged\src
563 nmake -f makefile.vc pdfrtf
564 cd $(WXDIR)\utils\tex2rtf\src
565 nmake -f makefile.vc pdfrtf
566 cd $(WXDIR)\contrib\src\fl
567 nmake -f makefile.vc pdfrtf
570 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
571 cd $(DOCDIR)/latex/wx
574 -erase $(DOCDIR)\winhelp\wx.hlp
575 -erase $(DOCDIR)\winhelp\wx.cnt
576 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
577 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
580 $(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
581 cd $(DOCDIR)\latex\wx
582 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
585 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
586 cd $(DOCDIR)\latex\wx
587 -copy *.wmf $(DOCDIR)\pdf
588 -copy *.bmp $(DOCDIR)\pdf
589 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
592 $(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
593 cd $(DOCDIR)\latex\wx
594 -mkdir $(DOCDIR)\html\wx
595 copy *.gif $(DOCDIR)\html\wx
596 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
597 -erase $(DOCDIR)\html\wx\*.con
598 -erase $(DOCDIR)\html\wx\*.ref
599 -erase $(DOCDIR)\latex\wx\*.con
600 -erase $(DOCDIR)\latex\wx\*.ref
603 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
606 -mkdir ..\..\htmlhelp
607 -erase $(DOCDIR)\htmlhelp\wx.chm
608 move wx.chm ..\..\htmlhelp
611 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
612 cd $(WXDIR)\docs\latex\wx
621 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
622 cd $(WXDIR)\docs\latex\wx
623 -dvips32 -o wx.ps manual
624 move wx.ps $(WXDIR)\docs\ps\wx.ps
627 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
628 cd $(WXDIR)\docs\latex\wx
637 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
638 cd $(WXDIR)\docs\latex\wx
639 -dvips32 -o referenc.ps referenc
640 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
643 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
644 # files, renamed to htb.
645 # This can then be used with e.g. helpview.
646 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
647 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
648 cd $(WXDIR)\docs\html\wx
650 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
652 move wx.zip $(DOCDIR)\htb\wx.htb
655 # In order to force document reprocessing
657 -touch $(WXDIR)\docs\latex\wx\manual.tex
659 updatedocs: touchmanual alldocs
662 -erase $(DOCDIR)\winhelp\wx.hlp
663 -erase $(DOCDIR)\winhelp\wx.cnt
664 -erase $(DOCDIR)\html\wx\*.htm
665 -erase $(DOCDIR)\pdf\wx.rtf
666 -erase $(DOCDIR)\latex\wx\wx.rtf
667 -erase $(DOCDIR)\latex\wx\WX.PH
668 -erase $(DOCDIR)\htmlhelp\wx.chm
669 -erase $(DOCDIR)\htb\wx.htb
671 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
672 # Office StartUp folder, and PDFMaker should be installed.
673 updatepdf: # touchmanual pdfrtf
674 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
678 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
679 cd $(WXWIN)\distrib\msw\tmake
680 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
681 copy makefile.$(MFTYPE) $(WXWIN)\src\msw