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 $(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)\utils\rcparser\src
412 nmake -f makefile.vc FINAL=$(FINAL)
415 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff
416 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
417 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
418 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
419 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
420 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
423 clean: $(PERIPH_CLEAN_TARGET)
425 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
428 -erase $(WXLIBNAME).pch
429 -erase $(GENDIR)\$D\*.obj
430 -erase $(GENDIR)\$D\*.pdb
431 -erase $(GENDIR)\$D\*.sbr
432 -erase $(COMMDIR)\$D\*.obj
433 -erase $(COMMDIR)\$D\*.pdb
434 -erase $(COMMDIR)\$D\*.sbr
435 -erase $(COMMDIR)\y_tab.c
436 -erase $(COMMDIR)\lex_yy.c
437 -erase $(MSWDIR)\$D\*.obj
438 -erase $(MSWDIR)\$D\*.sbr
439 -erase $(MSWDIR)\$D\*.pdb
440 -erase $(MSWDIR)\$D\*.pch
441 -erase $(OLEDIR)\$D\*.obj
442 -erase $(OLEDIR)\$D\*.sbr
443 -erase $(OLEDIR)\$D\*.pdb
444 -erase $(HTMLDIR)\$D\*.obj
445 -erase $(HTMLDIR)\$D\*.sbr
446 -erase $(HTMLDIR)\$D\*.pdb
447 -erase $(JPEGDIR)\$D\*.obj
448 -erase $(JPEGDIR)\$D\*.sbr
449 -erase $(JPEGDIR)\$D\*.idb
450 -erase $(JPEGDIR)\$D\*.pdb
451 -erase $(TIFFDIR)\$D\*.obj
452 -erase $(TIFFDIR)\$D\*.sbr
453 -erase $(TIFFDIR)\$D\*.pdb
454 -erase $(TIFFDIR)\$D\*.idb
456 -rmdir $(GENDIR)\$(D)
457 -rmdir $(COMMDIR)\$(D)
458 -rmdir $(MSWDIR)\$(D)
459 -rmdir $(OLEDIR)\$(D)
460 -rmdir $(HTMLDIR)\$(D)
461 -rmdir $(JPEGDIR)\$(D)
462 -rmdir $(TIFFDIR)\$(D)
465 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
468 wxhlp: $(DOCDIR)/winhelp/wx.hlp
469 refhlp: $(DOCDIR)/winhelp/techref.hlp
470 rtf: $(DOCDIR)/winhelp/wx.rtf
471 pdfrtf: $(DOCDIR)/pdf/wx.rtf
472 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
474 htb: $(DOCDIR)\htb\wx.htb
475 wxhtml: $(DOCDIR)\html\wx\wx.htm
476 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
478 wxps: $(WXDIR)\docs\ps\wx.ps
479 referencps: $(WXDIR)\docs\ps\referenc.ps
482 cd $(WXDIR)\utils\dialoged\src
483 nmake -f makefile.vc hlp
484 cd $(WXDIR)\utils\tex2rtf\src
485 nmake -f makefile.vc hlp
489 cd $(WXDIR)\utils\dialoged\src
490 nmake -f makefile.vc html
491 cd $(WXDIR)\utils\tex2rtf\src
492 nmake -f makefile.vc html
495 allhtmlhelp: htmlhelp
496 cd $(WXDIR)\utils\dialoged\src
497 nmake -f makefile.vc htmlhelp
498 cd $(WXDIR)\utils\tex2rtf\src
499 nmake -f makefile.vc htmlhelp
503 cd $(WXDIR)\utils\dialoged\src
504 nmake -f makefile.vc htb
505 cd $(WXDIR)\utils\tex2rtf\src
506 nmake -f makefile.vc htb
509 allps: wxps referencps
510 cd $(WXDIR)\utils\dialoged\src
511 nmake -f makefile.vc ps
512 cd $(WXDIR)\utils\tex2rtf\src
513 nmake -f makefile.vc ps
517 cd $(WXDIR)\utils\dialoged\src
518 nmake -f makefile.vc pdfrtf
519 cd $(WXDIR)\utils\tex2rtf\src
520 nmake -f makefile.vc pdfrtf
523 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
524 cd $(DOCDIR)/latex/wx
527 -erase $(DOCDIR)\winhelp\wx.hlp
528 -erase $(DOCDIR)\winhelp\wx.cnt
529 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
530 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
533 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
534 cd $(DOCDIR)/latex/techref
537 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
538 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
541 $(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
542 cd $(DOCDIR)\latex\wx
543 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
546 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
547 cd $(DOCDIR)\latex\techref
548 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
551 $(DOCDIR)/pdf/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 -copy *.wmf $(DOCDIR)\pdf
554 -copy *.bmp $(DOCDIR)\pdf
555 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
558 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
559 cd $(DOCDIR)\latex\techref
560 -copy *.wmf $(DOCDIR)\pdf
561 -copy *.bmp $(DOCDIR)\pdf
562 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
565 $(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
566 cd $(DOCDIR)\latex\wx
567 -mkdir $(DOCDIR)\html\wx
568 copy *.gif $(DOCDIR)\html\wx
569 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
570 -erase $(DOCDIR)\html\wx\*.con
571 -erase $(DOCDIR)\html\wx\*.ref
572 -erase $(DOCDIR)\latex\wx\*.con
573 -erase $(DOCDIR)\latex\wx\*.ref
576 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
579 -mkdir ..\..\htmlhelp
580 -erase $(DOCDIR)\htmlhelp\wx.chm
581 move wx.chm ..\..\htmlhelp
584 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
585 cd $(WXDIR)\docs\latex\wx
594 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
595 cd $(WXDIR)\docs\latex\wx
596 -dvips32 -o wx.ps manual
597 move wx.ps $(WXDIR)\docs\ps\wx.ps
600 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
601 cd $(WXDIR)\docs\latex\wx
610 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
611 cd $(WXDIR)\docs\latex\wx
612 -dvips32 -o referenc.ps referenc
613 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
616 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
617 # files, renamed to htb.
618 # This can then be used with e.g. helpview.
619 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
620 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
621 cd $(WXDIR)\docs\html\wx
623 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
625 move wx.zip $(DOCDIR)\htb\wx.htb
628 # In order to force document reprocessing
630 -touch $(WXDIR)\docs\latex\wx\manual.tex
632 updatedocs: touchmanual alldocs
635 -erase $(DOCDIR)\winhelp\wx.hlp
636 -erase $(DOCDIR)\winhelp\wx.cnt
637 -erase $(DOCDIR)\html\wx\*.htm
638 -erase $(DOCDIR)\pdf\wx.rtf
639 -erase $(DOCDIR)\latex\wx\wx.rtf
640 -erase $(DOCDIR)\latex\wx\WX.PH
641 -erase $(DOCDIR)\htmlhelp\wx.chm
642 -erase $(DOCDIR)\htb\wx.htb
644 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
645 # Office StartUp folder, and PDFMaker should be installed.
646 updatepdf: # touchmanual pdfrtf
647 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
651 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
652 cd $(WXWIN)\distrib\msw\tmake
653 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
654 copy makefile.$(MFTYPE) $(WXWIN)\src\msw