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) {
17 if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
18 $tag = "WXNONESSENTIALOBJS";
21 $tag = "WXGENERICOBJS";
24 $file =~ s/cp?p?$/obj/;
25 $project{$tag} .= "..\\generic\\\$D\\" . $file . " "
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\b16\b/;
31 $file =~ s/cp?p?$/obj/;
32 $project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
35 foreach $file (sort keys %wxMSW) {
36 next if $wxMSW{$file} =~ /\b16\b/;
38 #! OLE files live in a subdir
39 $project{"WXMSWOBJS"} .= '..\msw\\';
40 $project{"WXMSWOBJS"} .= 'ole\\' if $wxMSW{$file} =~ /\bO\b/;
41 $file =~ s/cp?p?$/obj/;
42 $project{"WXMSWOBJS"} .= '$D\\' . $file . " ";
45 # This file was automatically generated by tmake at #$ Now()
46 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
49 # Author: Julian Smart
52 # Copyright: (c) 1997, Julian Smart
56 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
59 # FINAL=1 argument to nmake to build version with no debugging info.
60 # dll builds a library (wxdll.lib) suitable for creating DLLs
62 !include <..\makevc.env>
64 THISDIR=$(WXWIN)\src\msw
66 !if "$(WXMAKINGDLL)" == "1"
67 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
68 DUMMYOBJ=$D\dummydll.obj
74 # Please set these according to the settings in setup.h, so we can include
75 # the appropriate libraries in wx.lib
77 # This one overrides the others, to be consistent with the settings in setup.h
78 MINIMAL_WXWINDOWS_SETUP=0
84 # These are absolute paths, so that the compiler
85 # generates correct __FILE__ symbols for debugging.
86 # Otherwise you don't be able to double-click on a memory
87 # error to load that file.
88 GENDIR=$(WXDIR)\src\generic
89 COMMDIR=$(WXDIR)\src\common
91 MSWDIR=$(WXDIR)\src\msw
92 DOCDIR = $(WXDIR)\docs
93 HTMLDIR = $(WXDIR)\src\html
95 {..\generic}.cpp{..\generic\$D}.obj:
97 $(CPPFLAGS) /Fo$@ /c /Tp $<
100 {..\common}.cpp{..\common\$D}.obj:
102 $(CPPFLAGS) /Fo$@ /c /Tp $<
105 {..\common}.c{..\common\$D}.obj:
107 $(CPPFLAGS) /Fo$@ /c /Tc $<
110 {..\msw}.cpp{..\msw\$D}.obj:
112 $(CPPFLAGS) /Fo$@ /c /Tp $<
115 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
117 $(CPPFLAGS) /Fo$@ /c /Tp $<
120 {..\html}.cpp{..\html\$D}.obj:
122 $(CPPFLAGS) /Fo$@ /c /Tp $<
125 GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
127 # These are generic things that don't need to be compiled on MSW,
128 # but sometimes it's useful to do so for testing purposes.
129 NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
132 ..\common\$D\y_tab.obj \
133 #$ ExpandList("WXCOMMONOBJS");
135 MSWOBJS = #$ ExpandList("WXMSWOBJS");
138 ..\html\$D\htmlcell.obj \
139 ..\html\$D\htmlfilter.obj \
140 ..\html\$D\htmlhelp.obj \
141 ..\html\$D\htmlhelp_io.obj \
142 ..\html\$D\htmlparser.obj \
143 ..\html\$D\htmltag.obj \
144 ..\html\$D\htmlwin.obj \
145 ..\html\$D\htmlwinparser.obj \
146 ..\html\$D\mod_fonts.obj \
147 ..\html\$D\mod_hline.obj \
148 ..\html\$D\mod_image.obj \
149 ..\html\$D\mod_layout.obj \
150 ..\html\$D\mod_links.obj \
151 ..\html\$D\mod_list.obj \
152 ..\html\$D\mod_pre.obj \
153 ..\html\$D\mod_tables.obj \
154 ..\html\$D\search.obj
156 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
157 # Add $(HTMLOBJS) if wanting wxHTML classes
158 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
160 # Normal, static library
161 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
163 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
166 test: $(MSWDIR)\$D\wave.obj
167 test2: ..\common\Debug\config.obj
187 # wxWindows library as DLL
189 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
192 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
194 # wxWindows + app as DLL. Only affects main.cpp.
196 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
198 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
200 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
202 # Use this to make dummy.obj and generate a PCH.
203 # You might use the dll target, then the pch target, in order to
204 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
206 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
207 # are associated with wx.lib. When using a DLL version of wxWindows, however,
208 # the DLL is compiled without a PCH, so you only need it for compiling the app.
209 # In fact headers are compiled differently depending on whether a DLL is being made
210 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
211 # in each case) so you couldn't use the same PCH.
213 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
215 pch1: dirs $(DUMMYOBJ)
218 !if "$(WXMAKINGDLL)" != "1"
222 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
227 $(OBJECTS) $(PERIPH_LIBS)
232 ### Update the import library
234 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
238 $(DUMMYOBJ) $(OBJECTS)
239 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
242 # Update the dynamic link library
243 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
246 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
247 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\xpm.lib $(WXDIR)\lib\jpeg.lib
253 ########################################################
254 # Windows-specific objects
256 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
257 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
259 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
261 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
264 # If taking wxWindows from CVS, setup.h doesn't exist yet.
265 # Actually the 'if not exist setup.h' test doesn't work
266 # (copies the file anyway)
267 # we'll have to comment this rule out.
269 # $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
270 # cd "$(WXDIR)"\include\wx\msw
271 # if not exist setup.h copy setup0.h setup.h
272 # cd "$(WXDIR)"\src\msw
274 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
276 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
279 ..\common\y_tab.c: ..\common\dosyacc.c
280 copy "..\common"\dosyacc.c "..\common"\y_tab.c
282 ..\common\lex_yy.c: ..\common\doslex.c
283 copy "..\common"\doslex.c "..\common"\lex_yy.c
285 $(OBJECTS): $(WXDIR)/include/wx/setup.h
287 ..\common\$D\unzip.obj: ..\common\unzip.c
289 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
292 # Peripheral components
296 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
301 nmake -f makefile.vc clean
306 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
311 nmake -f makefile.vc clean
316 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
321 nmake -f makefile.vc clean
326 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
331 nmake -f makefile.vc clean
335 cd $(WXDIR)\utils\rcparser\src
336 nmake -f makefile.vc FINAL=$(FINAL)
339 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
341 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
342 -erase ..\..\lib\wx200.dll
343 -erase ..\..\lib\wx200.lib
344 -erase ..\..\lib\wx200.exp
345 -erase ..\..\lib\wx200.pdb
346 -erase ..\..\lib\wx200.ilk
349 -erase $(WXLIBNAME).pch
350 -erase $(GENDIR)\$D\*.obj
351 -erase $(GENDIR)\$D\*.pdb
352 -erase $(GENDIR)\$D\*.sbr
353 -erase $(COMMDIR)\$D\*.obj
354 -erase $(COMMDIR)\$D\*.pdb
355 -erase $(COMMDIR)\$D\*.sbr
356 -erase $(COMMDIR)\\y_tab.c
357 -erase $(COMMDIR)\lex_yy.c
358 -erase $(MSWDIR)\$D\*.obj
359 -erase $(MSWDIR)\$D\*.sbr
360 -erase $(MSWDIR)\$D\*.pdb
361 -erase $(OLEDIR)\$D\*.obj
362 -erase $(OLEDIR)\$D\*.sbr
363 -erase $(OLEDIR)\$D\*.pdb
366 -rmdir ..\generic\$(D)
367 -rmdir ..\common\$(D)
372 docs: allhlp allhtml allpdfrtf
374 hlp: wxhlp portinghlp
375 wxhlp: $(DOCDIR)/winhelp/wx.hlp
376 prophlp: $(DOCDIR)/winhelp/prop.hlp
377 refhlp: $(DOCDIR)/winhelp/techref.hlp
378 rtf: $(DOCDIR)/winhelp/wx.rtf
379 proprtf: $(DOCDIR)/winhelp/prop.rtf
380 pdfrtf: $(DOCDIR)/pdf/wx.rtf
381 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
382 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
383 html: wxhtml portinghtml
384 wxhtml: $(DOCDIR)\html\wx\wx.htm
385 htmlhelp: $(DOCDIR)\html\wx\wx.chm
386 prophtml: $(DOCDIR)\html\proplist\prop.htm
388 wxps: $(WXDIR)\docs\ps\wx.ps
389 propps: $(WXDIR)\docs\ps\prop.ps
390 referencps: $(WXDIR)\docs\ps\referenc.ps
392 portinghtml: $(DOCDIR)\html\porting\port.htm
393 portingrtf: $(DOCDIR)/winhelp/porting.rtf
394 portinghlp: $(DOCDIR)/winhelp/porting.hlp
395 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
396 portingps: $(WXDIR)\docs\ps\porting.ps
398 allhlp: wxhlp portinghlp prophlp
399 cd $(WXDIR)\utils\dialoged\src
400 nmake -f makefile.vc hlp
403 # cd $(WXDIR)\utils\wxhelp\src
404 # nmake -f makefile.vc hlp
405 # cd $(WXDIR)\utils\tex2rtf\src
406 # nmake -f makefile.vc hlp
407 # cd $(WXDIR)\utils\wxgraph\src
408 # nmake -f makefile.vc hlp
409 # cd $(WXDIR)\utils\wxchart\src
410 # nmake -f makefile.vc hlp
411 # cd $(WXDIR)\utils\wxtree\src
412 # nmake -f makefile.vc hlp
413 # cd $(WXDIR)\utils\wxbuild\src
414 # nmake -f makefile.vc hlp
415 # cd $(WXDIR)\utils\wxgrid\src
416 # nmake -f makefile.vc hlp
418 allhtml: wxhtml portinghtml prophtml
419 cd $(WXDIR)\utils\dialoged\src
420 nmake -f makefile.vc html
423 # nmake -f makefile.vc html
424 # cd $(WXDIR)\utils\dialoged\src
425 # nmake -f makefile.vc html
426 # cd $(WXDIR)\utils\hytext\src
427 # nmake -f makefile.vc html
428 # cd $(WXDIR)\utils\wxhelp\src
429 # nmake -f makefile.vc html
430 # cd $(WXDIR)\utils\tex2rtf\src
431 # nmake -f makefile.vc html
432 # cd $(WXDIR)\utils\wxgraph\src
433 # nmake -f makefile.vc html
434 # cd $(WXDIR)\utils\wxchart\src
435 # nmake -f makefile.vc html
436 # cd $(WXDIR)\utils\wxtree\src
437 # nmake -f makefile.vc html
439 allps: wxps referencps portingps propps
440 cd $(WXDIR)\utils\dialoged\src
441 nmake -f makefile.vc ps
444 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
445 cd $(WXDIR)\utils\dialoged\src
446 nmake -f makefile.vc pdfrtf
449 # cd $(WXDIR)\utils\wxhelp\src
450 # nmake -f makefile.vc ps
451 # cd $(WXDIR)\utils\tex2rtf\src
452 # nmake -f makefile.vc ps
453 # cd $(WXDIR)\utils\wxgraph\src
454 # nmake -f makefile.vc ps
455 # cd $(WXDIR)\utils\wxchart\src
456 # nmake -f makefile.vc ps
457 # cd $(WXDIR)\utils\wxtree\src
458 # nmake -f makefile.vc ps
461 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
462 cd $(DOCDIR)/latex/wx
465 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
466 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
469 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
470 cd $(DOCDIR)/latex/porting
473 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
474 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
477 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
478 cd $(DOCDIR)/latex/proplist
481 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
482 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
485 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
486 cd $(DOCDIR)/latex/techref
489 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
490 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
493 $(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
494 cd $(DOCDIR)\latex\wx
495 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
498 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
499 cd $(DOCDIR)\latex\porting
500 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
503 $(DOCDIR)/latex/proplist/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
504 cd $(DOCDIR)\latex\proplist
505 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
508 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
509 cd $(DOCDIR)\latex\techref
510 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
513 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
514 cd $(DOCDIR)\latex\wx
515 -copy *.bmp *.wmf $(DOCDIR)\pdf
516 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
519 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
520 cd $(DOCDIR)\latex\porting
521 -copy *.bmp *.wmf $(DOCDIR)\pdf
522 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
525 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
526 cd $(DOCDIR)\latex\proplist
527 -copy *.bmp *.wmf $(DOCDIR)\pdf
528 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
531 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
532 cd $(DOCDIR)\latex\techref
533 -copy *.bmp *.wmf $(DOCDIR)\pdf
534 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
537 $(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
538 cd $(DOCDIR)\latex\wx
539 -mkdir $(DOCDIR)\html\wx
540 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
541 -erase $(DOCDIR)\html\wx\*.con
542 -erase $(DOCDIR)\html\wx\*.ref
543 -erase $(DOCDIR)\latex\wx\*.con
544 -erase $(DOCDIR)\latex\wx\*.ref
547 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
553 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
554 cd $(DOCDIR)\latex\porting
555 -mkdir $(DOCDIR)\html\porting
556 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
557 -erase $(DOCDIR)\html\porting\*.con
558 -erase $(DOCDIR)\html\porting\*.ref
559 -erase $(DOCDIR)\latex\porting\*.con
560 -erase $(DOCDIR)\latex\porting\*.ref
563 $(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex
564 cd $(DOCDIR)\latex\proplist
565 -mkdir $(DOCDIR)\html\proplist
566 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
567 -erase $(DOCDIR)\html\proplist\*.con
568 -erase $(DOCDIR)\html\proplist\*.ref
569 -erase $(DOCDIR)\latex\proplist\*.con
570 -erase $(DOCDIR)\latex\proplist\*.ref
573 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
574 cd $(WXDIR)\docs\latex\wx
583 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
584 cd $(WXDIR)\docs\latex\porting
593 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
594 cd $(WXDIR)\docs\latex\wx
595 -dvips32 -o wx.ps manual
596 move wx.ps $(WXDIR)\docs\ps\wx.ps
599 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
600 cd $(WXDIR)\docs\latex\porting
601 -dvips32 -o porting.ps porting
602 move porting.ps $(WXDIR)\docs\ps\porting.ps
605 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
606 cd $(WXDIR)\docs\latex\wx
615 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
616 cd $(WXDIR)\docs\latex\wx
617 -dvips32 -o referenc.ps referenc
618 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
621 # In order to force document reprocessing
623 -touch $(WXDIR)\docs\latex\wx\manual.tex
625 updatedocs: touchmanual alldocs
627 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
628 # Office StartUp folder, and PDFMaker should be installed.
629 updatepdf: # touchmanual pdfrtf
630 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"