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 # These are absolute paths, so that the compiler
98 # generates correct __FILE__ symbols for debugging.
99 # Otherwise you don't be able to double-click on a memory
100 # error to load that file.
101 GENDIR=$(WXDIR)\src\generic
102 COMMDIR=$(WXDIR)\src\common
104 MSWDIR=$(WXDIR)\src\msw
105 DOCDIR = $(WXDIR)\docs
106 HTMLDIR = $(WXDIR)\src\html
107 JPEGDIR = $(WXDIR)\src\jpeg
108 TIFFDIR = $(WXDIR)\src\tiff
110 {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
112 $(CPPFLAGS) /Fo$@ /c /Tp $<
115 {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
117 $(CPPFLAGS) /Fo$@ /c /Tp $<
120 {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
122 $(CPPFLAGS2) /Fo$@ /c /Tc $<
125 {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
127 $(CPPFLAGS) /Fo$@ /c /Tp $<
130 {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
132 $(CPPFLAGS2) /Fo$@ /c /Tc $<
135 {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
137 $(CPPFLAGS) /Fo$@ /c /Tp $<
140 {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
142 $(CPPFLAGS) /Fo$@ /c /Tp $<
145 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
147 # These are generic things that don't need to be compiled on MSW,
148 # but sometimes it's useful to do so for testing purposes.
149 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
152 $(COMMDIR)\$D\y_tab.obj \
153 #$ ExpandList("WXCOMMONOBJS");
155 MSWOBJS = #$ ExpandList("WXMSWOBJS");
157 HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
160 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
161 # Add $(HTMLOBJS) if wanting wxHTML classes
162 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
164 # Normal, static library
165 all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
168 cd $(WXDIR)\include\wx\msw
169 if not exist setup.h copy setup0.h setup.h
172 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
198 # wxWindows library as DLL
200 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
203 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
205 # wxWindows + app as DLL. Only affects main.cpp.
207 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
209 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
211 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
213 # Use this to make dummy.obj and generate a PCH.
214 # You might use the dll target, then the pch target, in order to
215 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
217 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
218 # are associated with wx.lib. When using a DLL version of wxWindows, however,
219 # the DLL is compiled without a PCH, so you only need it for compiling the app.
220 # In fact headers are compiled differently depending on whether a DLL is being made
221 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
222 # in each case) so you couldn't use the same PCH.
224 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
226 pch1: dirs $(DUMMYOBJ)
229 !if "$(WXMAKINGDLL)" != "1"
233 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
238 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
243 ### Update the import library
245 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
249 $(DUMMYOBJ) $(OBJECTS)
250 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
253 !if "$(USE_GLCANVAS)" == "1"
254 GL_LIBS=opengl32.lib glu32.lib
255 # GL_LIBS_DELAY=/delayload:opengl32.dll
258 # Update the dynamic link library
259 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
262 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
263 $(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
265 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
266 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
267 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
272 # /delayload:winmm.dll # Removed because it can cause a crash for some people
274 ########################################################
275 # Windows-specific objects
277 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
278 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
280 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
282 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
285 # Compile certain files with no optimization (some files cause a
286 # compiler crash for buggy versions of VC++, e.g. 4.0).
287 # Don't forget to put FINAL=1 on the command line.
290 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
293 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
296 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
299 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
302 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
305 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
308 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
311 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
314 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
317 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
320 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
323 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
326 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
329 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
332 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
335 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
338 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
341 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
344 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
347 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
350 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
352 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
355 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
356 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
358 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
359 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
361 $(OBJECTS): $(WXDIR)/include/wx/setup.h
363 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
365 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
368 # Peripheral components
372 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
377 nmake -f makefile.vc clean
382 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
387 nmake -f makefile.vc clean
392 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
397 nmake -f makefile.vc clean
402 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
407 nmake -f makefile.vc clean
411 cd $(WXDIR)\src\regex
412 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
416 cd $(WXDIR)\src\regex
417 nmake -f makefile.vc clean
421 cd $(WXDIR)\utils\rcparser\src
422 nmake -f makefile.vc FINAL=$(FINAL)
425 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
426 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
427 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
428 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
429 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
430 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
433 clean: $(PERIPH_CLEAN_TARGET)
435 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
438 -erase $(WXLIBNAME).pch
439 -erase $(GENDIR)\$D\*.obj
440 -erase $(GENDIR)\$D\*.pdb
441 -erase $(GENDIR)\$D\*.sbr
442 -erase $(COMMDIR)\$D\*.obj
443 -erase $(COMMDIR)\$D\*.pdb
444 -erase $(COMMDIR)\$D\*.sbr
445 -erase $(COMMDIR)\y_tab.c
446 -erase $(COMMDIR)\lex_yy.c
447 -erase $(MSWDIR)\$D\*.obj
448 -erase $(MSWDIR)\$D\*.sbr
449 -erase $(MSWDIR)\$D\*.pdb
450 -erase $(MSWDIR)\$D\*.pch
451 -erase $(OLEDIR)\$D\*.obj
452 -erase $(OLEDIR)\$D\*.sbr
453 -erase $(OLEDIR)\$D\*.pdb
454 -erase $(HTMLDIR)\$D\*.obj
455 -erase $(HTMLDIR)\$D\*.sbr
456 -erase $(HTMLDIR)\$D\*.pdb
457 -erase $(JPEGDIR)\$D\*.obj
458 -erase $(JPEGDIR)\$D\*.sbr
459 -erase $(JPEGDIR)\$D\*.idb
460 -erase $(JPEGDIR)\$D\*.pdb
461 -erase $(TIFFDIR)\$D\*.obj
462 -erase $(TIFFDIR)\$D\*.sbr
463 -erase $(TIFFDIR)\$D\*.pdb
464 -erase $(TIFFDIR)\$D\*.idb
466 -rmdir $(GENDIR)\$(D)
467 -rmdir $(COMMDIR)\$(D)
468 -rmdir $(MSWDIR)\$(D)
469 -rmdir $(OLEDIR)\$(D)
470 -rmdir $(HTMLDIR)\$(D)
471 -rmdir $(JPEGDIR)\$(D)
472 -rmdir $(TIFFDIR)\$(D)
475 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
478 wxhlp: $(DOCDIR)/winhelp/wx.hlp
479 refhlp: $(DOCDIR)/winhelp/techref.hlp
480 rtf: $(DOCDIR)/winhelp/wx.rtf
481 pdfrtf: $(DOCDIR)/pdf/wx.rtf
482 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
484 htb: $(DOCDIR)\htb\wx.htb
485 wxhtml: $(DOCDIR)\html\wx\wx.htm
486 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
488 wxps: $(WXDIR)\docs\ps\wx.ps
489 referencps: $(WXDIR)\docs\ps\referenc.ps
492 cd $(WXDIR)\utils\dialoged\src
493 nmake -f makefile.vc hlp
494 cd $(WXDIR)\utils\tex2rtf\src
495 nmake -f makefile.vc hlp
499 cd $(WXDIR)\utils\dialoged\src
500 nmake -f makefile.vc html
501 cd $(WXDIR)\utils\tex2rtf\src
502 nmake -f makefile.vc html
505 allhtmlhelp: htmlhelp
506 cd $(WXDIR)\utils\dialoged\src
507 nmake -f makefile.vc htmlhelp
508 cd $(WXDIR)\utils\tex2rtf\src
509 nmake -f makefile.vc htmlhelp
513 cd $(WXDIR)\utils\dialoged\src
514 nmake -f makefile.vc htb
515 cd $(WXDIR)\utils\tex2rtf\src
516 nmake -f makefile.vc htb
519 allps: wxps referencps
520 cd $(WXDIR)\utils\dialoged\src
521 nmake -f makefile.vc ps
522 cd $(WXDIR)\utils\tex2rtf\src
523 nmake -f makefile.vc ps
527 cd $(WXDIR)\utils\dialoged\src
528 nmake -f makefile.vc pdfrtf
529 cd $(WXDIR)\utils\tex2rtf\src
530 nmake -f makefile.vc pdfrtf
533 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
534 cd $(DOCDIR)/latex/wx
537 -erase $(DOCDIR)\winhelp\wx.hlp
538 -erase $(DOCDIR)\winhelp\wx.cnt
539 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
540 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
543 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
544 cd $(DOCDIR)/latex/techref
547 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
548 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
551 $(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
552 cd $(DOCDIR)\latex\wx
553 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
556 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
557 cd $(DOCDIR)\latex\techref
558 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
561 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
562 cd $(DOCDIR)\latex\wx
563 -copy *.wmf $(DOCDIR)\pdf
564 -copy *.bmp $(DOCDIR)\pdf
565 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
568 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
569 cd $(DOCDIR)\latex\techref
570 -copy *.wmf $(DOCDIR)\pdf
571 -copy *.bmp $(DOCDIR)\pdf
572 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
575 $(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
576 cd $(DOCDIR)\latex\wx
577 -mkdir $(DOCDIR)\html\wx
578 copy *.gif $(DOCDIR)\html\wx
579 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
580 -erase $(DOCDIR)\html\wx\*.con
581 -erase $(DOCDIR)\html\wx\*.ref
582 -erase $(DOCDIR)\latex\wx\*.con
583 -erase $(DOCDIR)\latex\wx\*.ref
586 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
589 -mkdir ..\..\htmlhelp
590 -erase $(DOCDIR)\htmlhelp\wx.chm
591 move wx.chm ..\..\htmlhelp
594 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
595 cd $(WXDIR)\docs\latex\wx
604 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
605 cd $(WXDIR)\docs\latex\wx
606 -dvips32 -o wx.ps manual
607 move wx.ps $(WXDIR)\docs\ps\wx.ps
610 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
611 cd $(WXDIR)\docs\latex\wx
620 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
621 cd $(WXDIR)\docs\latex\wx
622 -dvips32 -o referenc.ps referenc
623 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
626 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
627 # files, renamed to htb.
628 # This can then be used with e.g. helpview.
629 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
630 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
631 cd $(WXDIR)\docs\html\wx
633 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
635 move wx.zip $(DOCDIR)\htb\wx.htb
638 # In order to force document reprocessing
640 -touch $(WXDIR)\docs\latex\wx\manual.tex
642 updatedocs: touchmanual alldocs
645 -erase $(DOCDIR)\winhelp\wx.hlp
646 -erase $(DOCDIR)\winhelp\wx.cnt
647 -erase $(DOCDIR)\html\wx\*.htm
648 -erase $(DOCDIR)\pdf\wx.rtf
649 -erase $(DOCDIR)\latex\wx\wx.rtf
650 -erase $(DOCDIR)\latex\wx\WX.PH
651 -erase $(DOCDIR)\htmlhelp\wx.chm
652 -erase $(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