6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
16 !include <..\makevc.env>
18 THISDIR=$(WXWIN)\src\msw
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
28 # Please set these according to the settings in wx_setup.h, so we can include
29 # the appropriate libraries in wx.lib
31 # This one overrides the others, to be consistent with the settings in wx_setup.h
32 MINIMAL_WXWINDOWS_SETUP=0
38 # These are absolute paths, so that the compiler
39 # generates correct __FILE__ symbols for debugging.
40 # Otherwise you don't be able to double-click on a memory
41 # error to load that file.
42 GENDIR=$(WXDIR)\src\generic
43 COMMDIR=$(WXDIR)\src\common
45 MSWDIR=$(WXDIR)\src\msw
46 DOCDIR = $(WXDIR)\docs
48 {..\generic}.cpp{..\generic\$D}.obj:
50 $(CPPFLAGS) /Fo$@ /c /Tp $<
53 {..\common}.cpp{..\common\$D}.obj:
55 $(CPPFLAGS) /Fo$@ /c /Tp $<
58 {..\msw}.cpp{..\msw\$D}.obj:
60 $(CPPFLAGS) /Fo$@ /c /Tp $<
63 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
65 $(CPPFLAGS) /Fo$@ /c /Tp $<
69 ..\generic\$D\choicdgg.obj \
70 ..\generic\$D\gridg.obj \
71 ..\generic\$D\laywin.obj \
72 ..\generic\$D\panelg.obj \
73 ..\generic\$D\prop.obj \
74 ..\generic\$D\propform.obj \
75 ..\generic\$D\proplist.obj \
76 ..\generic\$D\sashwin.obj \
77 ..\generic\$D\scrolwin.obj \
78 ..\generic\$D\splitter.obj \
79 ..\generic\$D\statusbr.obj \
80 ..\generic\$D\tabg.obj \
81 ..\generic\$D\textdlgg.obj
83 # ..\generic\$D\imaglist.obj \
84 # ..\generic\$D\treectrl.obj \
85 # ..\generic\$D\listctrl.obj \
86 # ..\generic\$D\notebook.obj \
88 # These are generic things that don't need to be compiled on MSW,
89 # but sometimes it's useful to do so for testing purposes.
91 ..\generic\$D\printps.obj \
92 ..\generic\$D\prntdlgg.obj \
93 ..\generic\$D\msgdlgg.obj \
94 ..\generic\$D\helpxlp.obj \
95 ..\generic\$D\colrdlgg.obj \
96 ..\generic\$D\fontdlgg.obj
99 ..\common\$D\cmndata.obj \
100 ..\common\$D\config.obj \
101 ..\common\$D\db.obj \
102 ..\common\$D\dbtable.obj \
103 ..\common\$D\docview.obj \
104 ..\common\$D\docmdi.obj \
105 ..\common\$D\dynarray.obj \
106 ..\common\$D\dynlib.obj \
107 ..\common\$D\event.obj \
108 ..\common\$D\file.obj \
109 ..\common\$D\filefn.obj \
110 ..\common\$D\fileconf.obj \
111 ..\common\$D\framecmn.obj \
112 ..\common\$D\ftp.obj \
113 ..\common\$D\gdicmn.obj \
114 ..\common\$D\image.obj \
115 ..\common\$D\intl.obj \
116 ..\common\$D\ipcbase.obj \
117 ..\common\$D\helpbase.obj \
118 ..\common\$D\layout.obj \
119 ..\common\$D\log.obj \
120 ..\common\$D\memory.obj \
121 ..\common\$D\mimetype.obj \
122 ..\common\$D\module.obj \
123 ..\common\$D\odbc.obj \
124 ..\common\$D\object.obj \
125 ..\common\$D\prntbase.obj \
126 ..\common\$D\resource.obj \
127 ..\common\$D\tbarbase.obj \
128 ..\common\$D\tbarsmpl.obj \
129 ..\common\$D\textfile.obj \
130 ..\common\$D\timercmn.obj \
131 ..\common\$D\utilscmn.obj \
132 ..\common\$D\validate.obj \
133 ..\common\$D\valgen.obj \
134 ..\common\$D\valtext.obj \
135 ..\common\$D\date.obj \
136 ..\common\$D\hash.obj \
137 ..\common\$D\list.obj \
138 ..\common\$D\string.obj \
139 ..\common\$D\socket.obj \
140 ..\common\$D\sckaddr.obj \
141 ..\common\$D\sckfile.obj \
142 ..\common\$D\sckipc.obj \
143 ..\common\$D\sckstrm.obj \
144 ..\common\$D\url.obj \
145 ..\common\$D\http.obj \
146 ..\common\$D\protocol.obj \
147 ..\common\$D\time.obj \
148 ..\common\$D\tokenzr.obj \
149 ..\common\$D\wxexpr.obj \
150 ..\common\$D\y_tab.obj \
151 ..\common\$D\extended.obj \
152 ..\common\$D\process.obj \
153 ..\common\$D\wfstream.obj \
154 ..\common\$D\mstream.obj \
155 ..\common\$D\zstream.obj \
156 ..\common\$D\stream.obj \
157 ..\common\$D\datstrm.obj \
158 ..\common\$D\objstrm.obj \
159 ..\common\$D\variant.obj \
160 ..\common\$D\wincmn.obj
163 ..\msw\$D\accel.obj \
165 ..\msw\$D\bitmap.obj \
166 ..\msw\$D\bmpbuttn.obj \
167 ..\msw\$D\brush.obj \
168 ..\msw\$D\button.obj \
169 ..\msw\$D\checkbox.obj \
170 ..\msw\$D\checklst.obj \
171 ..\msw\$D\choice.obj \
172 ..\msw\$D\clipbrd.obj \
173 ..\msw\$D\colordlg.obj \
174 ..\msw\$D\colour.obj \
175 ..\msw\$D\combobox.obj \
176 ..\msw\$D\control.obj \
177 ..\msw\$D\curico.obj \
178 ..\msw\$D\cursor.obj \
181 ..\msw\$D\dcmemory.obj \
182 ..\msw\$D\dcclient.obj \
183 ..\msw\$D\dcprint.obj \
184 ..\msw\$D\dcscreen.obj \
186 ..\msw\$D\dialog.obj \
188 ..\msw\$D\dibutils.obj \
189 ..\msw\$D\dirdlg.obj \
190 ..\msw\$D\filedlg.obj \
192 ..\msw\$D\fontdlg.obj \
193 ..\msw\$D\frame.obj \
194 ..\msw\$D\gauge95.obj \
195 ..\msw\$D\gaugemsw.obj \
196 ..\msw\$D\gdiobj.obj \
197 ..\msw\$D\helpwin.obj \
199 ..\msw\$D\iniconf.obj \
200 ..\msw\$D\joystick.obj \
201 ..\msw\$D\imaglist.obj \
202 ..\msw\$D\listbox.obj \
203 ..\msw\$D\listctrl.obj \
207 ..\msw\$D\menuitem.obj \
208 ..\msw\$D\metafile.obj \
209 ..\msw\$D\minifram.obj \
210 ..\msw\$D\msgdlg.obj \
211 ..\msw\$D\nativdlg.obj \
212 ..\msw\$D\notebook.obj \
213 ..\msw\$D\ownerdrw.obj \
214 ..\msw\$D\palette.obj \
216 ..\msw\$D\penwin.obj \
217 ..\msw\$D\pnghand.obj \
218 ..\msw\$D\printdlg.obj \
219 ..\msw\$D\printwin.obj \
220 ..\msw\$D\radiobox.obj \
221 ..\msw\$D\radiobut.obj \
222 ..\msw\$D\region.obj \
223 ..\msw\$D\registry.obj \
224 ..\msw\$D\regconf.obj \
225 ..\msw\$D\scrolbar.obj \
226 ..\msw\$D\settings.obj \
227 ..\msw\$D\slidrmsw.obj \
228 ..\msw\$D\slider95.obj \
229 ..\msw\$D\spinbutt.obj \
230 ..\msw\$D\statbmp.obj \
231 ..\msw\$D\statbox.obj \
232 ..\msw\$D\statbr95.obj \
233 ..\msw\$D\stattext.obj \
234 ..\msw\$D\tabctrl.obj \
235 ..\msw\$D\taskbar.obj \
236 ..\msw\$D\tbar95.obj \
237 ..\msw\$D\tbarmsw.obj \
238 ..\msw\$D\textctrl.obj \
239 ..\msw\$D\thread.obj \
240 ..\msw\$D\timer.obj \
241 ..\msw\$D\tooltip.obj \
242 ..\msw\$D\treectrl.obj \
243 ..\msw\$D\utils.obj \
244 ..\msw\$D\utilsexc.obj \
245 ..\msw\ole\$D\uuid.obj \
247 ..\msw\$D\window.obj \
248 ..\msw\$D\xpmhand.obj \
249 ..\msw\ole\$D\dataobj.obj \
250 ..\msw\ole\$D\automtn.obj \
251 ..\msw\ole\$D\droptgt.obj \
252 ..\msw\ole\$D\dropsrc.obj \
253 ..\msw\ole\$D\oleutils.obj
255 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
256 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
258 # Normal, static library
259 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm $(LIBTARGET)
261 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D
263 test: $(MSWDIR)\$D\wave.obj
264 test2: ..\common\Debug\config.obj
281 # wxWindows library as DLL
283 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
286 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
288 # wxWindows + app as DLL. Only affects main.cpp.
290 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
292 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
294 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
296 # Use this to make dummy.obj and generate a PCH.
297 # You might use the dll target, then the pch target, in order to
298 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
300 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
301 # are associated with wx.lib. When using a DLL version of wxWindows, however,
302 # the DLL is compiled without a PCH, so you only need it for compiling the app.
303 # In fact headers are compiled differently depending on whether a DLL is being made
304 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
305 # in each case) so you couldn't use the same PCH.
307 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL)
309 pch1: dirs $(DUMMYOBJ)
312 !if "$(WXMAKINGDLL)" != "1"
316 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
321 $(OBJECTS) $(PERIPH_LIBS)
326 ### Update the import library
328 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
332 $(DUMMYOBJ) $(OBJECTS)
333 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
336 # Update the dynamic link library
337 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
340 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
341 $(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
347 ########################################################
348 # Windows-specific objects
350 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
351 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
353 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
355 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
358 # If taking wxWindows from CVS, setup.h doesn't exist yet.
359 $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
360 cd "$(WXDIR)"\include\wx\msw
361 if not exist setup.h copy setup0.h setup.h
362 cd "$(WXDIR)"\src\msw
364 ..\common\$D\extended.obj: ..\common\extended.c
366 $(CPPFLAGS2) /c $(COMMDIR)\extended.c /Fo$@
369 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
371 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
374 ..\common\y_tab.c: ..\common\dosyacc.c
375 copy "..\common"\dosyacc.c "..\common"\y_tab.c
377 ..\common\lex_yy.c: ..\common\doslex.c
378 copy "..\common"\doslex.c "..\common"\lex_yy.c
380 $(OBJECTS): $(WXDIR)/include/wx/setup.h
382 # Peripheral components
386 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
391 nmake -f makefile.vc clean
396 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
401 nmake -f makefile.vc clean
406 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
411 nmake -f makefile.vc clean
415 cd $(WXDIR)\utils\rcparser\src
416 nmake -f makefile.vc FINAL=$(FINAL)
419 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_xpm
421 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
422 -erase ..\..\lib\wx200.dll
423 -erase ..\..\lib\wx200.lib
424 -erase ..\..\lib\wx200.exp
425 -erase ..\..\lib\wx200.pdb
426 -erase ..\..\lib\wx200.ilk
429 -erase $(WXLIBNAME).pch
430 -erase $(GENDIR)\$D\*.obj
431 -erase $(GENDIR)\$D\*.pdb
432 -erase $(GENDIR)\$D\*.sbr
433 -erase $(COMMDIR)\$D\*.obj
434 -erase $(COMMDIR)\$D\*.pdb
435 -erase $(COMMDIR)\$D\*.sbr
436 -erase $(COMMDIR)\\y_tab.c
437 -erase $(COMMDIR)\lex_yy.c
438 -erase $(MSWDIR)\$D\*.obj
439 -erase $(MSWDIR)\$D\*.sbr
440 -erase $(MSWDIR)\$D\*.pdb
441 -erase $(OLEDIR)\$D\*.obj
442 -erase $(OLEDIR)\$D\*.sbr
443 -erase $(OLEDIR)\$D\*.pdb
446 -rmdir ..\generic\$(D)
447 -rmdir ..\common\$(D)
452 docs: allhlp allhtml allpdfrtf
454 hlp: wxhlp portinghlp # faqhlp
455 wxhlp: $(DOCDIR)/winhelp/wx.hlp
456 prophlp: $(DOCDIR)/winhelp/prop.hlp
457 faqhlp: $(DOCDIR)/winhelp/faq.hlp
458 refhlp: $(DOCDIR)/winhelp/techref.hlp
459 rtf: $(DOCDIR)/winhelp/wx.rtf
460 faqrtf: $(DOCDIR)/winhelp/faq.rtf
461 proprtf: $(DOCDIR)/winhelp/prop.rtf
462 pdfrtf: $(DOCDIR)/pdf/wx.rtf
463 faqpdfrtf: $(DOCDIR)/pdf/faq.rtf
464 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
465 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
466 html: wxhtml # faqhtml
467 wxhtml: $(DOCDIR)\html\wx\wx.htm
468 faqhtml: $(DOCDIR)\html\faq\faq.htm
469 prophtml: $(DOCDIR)\html\proplist\prop.htm
470 ps: wxps referencps # faqps
471 wxps: $(WXDIR)\docs\ps\wx.ps
472 propps: $(WXDIR)\docs\ps\prop.ps
473 faqps: $(WXDIR)\docs\ps\faq.ps
474 referencps: $(WXDIR)\docs\ps\referenc.ps
476 portinghtml: $(DOCDIR)\html\porting\port.htm
477 portingrtf: $(DOCDIR)/winhelp/porting.rtf
478 portinghlp: $(DOCDIR)/winhelp/porting.hlp
479 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
480 portingps: $(WXDIR)\docs\ps\porting.ps
482 allhlp: wxhlp portinghlp prop # faqhlp
483 cd $(WXDIR)\utils\dialoged\src
484 nmake -f makefile.vc hlp
487 # cd $(WXDIR)\utils\wxhelp\src
488 # nmake -f makefile.vc hlp
489 # cd $(WXDIR)\utils\tex2rtf\src
490 # nmake -f makefile.vc hlp
491 # cd $(WXDIR)\utils\wxgraph\src
492 # nmake -f makefile.vc hlp
493 # cd $(WXDIR)\utils\wxchart\src
494 # nmake -f makefile.vc hlp
495 # cd $(WXDIR)\utils\wxtree\src
496 # nmake -f makefile.vc hlp
497 # cd $(WXDIR)\utils\wxbuild\src
498 # nmake -f makefile.vc hlp
499 # cd $(WXDIR)\utils\wxgrid\src
500 # nmake -f makefile.vc hlp
502 allhtml: wxhtml portinghtml prophtml # faqhtml
503 cd $(WXDIR)\utils\dialoged\src
504 nmake -f makefile.vc html
507 # nmake -f makefile.vc html
508 # cd $(WXDIR)\utils\dialoged\src
509 # nmake -f makefile.vc html
510 # cd $(WXDIR)\utils\hytext\src
511 # nmake -f makefile.vc html
512 # cd $(WXDIR)\utils\wxhelp\src
513 # nmake -f makefile.vc html
514 # cd $(WXDIR)\utils\tex2rtf\src
515 # nmake -f makefile.vc html
516 # cd $(WXDIR)\utils\wxgraph\src
517 # nmake -f makefile.vc html
518 # cd $(WXDIR)\utils\wxchart\src
519 # nmake -f makefile.vc html
520 # cd $(WXDIR)\utils\wxtree\src
521 # nmake -f makefile.vc html
523 allps: wxps referencps portingps propps # faqps
524 cd $(WXDIR)\utils\dialoged\src
525 nmake -f makefile.vc ps
528 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf # faqpdfrtf
529 cd $(WXDIR)\utils\dialoged\src
530 nmake -f makefile.vc pdfrtf
533 # cd $(WXDIR)\utils\wxhelp\src
534 # nmake -f makefile.vc ps
535 # cd $(WXDIR)\utils\tex2rtf\src
536 # nmake -f makefile.vc ps
537 # cd $(WXDIR)\utils\wxgraph\src
538 # nmake -f makefile.vc ps
539 # cd $(WXDIR)\utils\wxchart\src
540 # nmake -f makefile.vc ps
541 # cd $(WXDIR)\utils\wxtree\src
542 # nmake -f makefile.vc ps
545 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
546 cd $(DOCDIR)/latex/wx
549 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
550 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
553 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
554 cd $(DOCDIR)/latex/porting
557 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
558 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
561 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
562 cd $(DOCDIR)/latex/faq
565 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
566 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
569 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
570 cd $(DOCDIR)/latex/proplist
573 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
574 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
577 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
578 cd $(DOCDIR)/latex/techref
581 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
582 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
585 $(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
586 cd $(DOCDIR)\latex\wx
587 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
590 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
591 cd $(DOCDIR)\latex\porting
592 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
595 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
596 cd $(DOCDIR)\latex\faq
597 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
600 $(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
601 cd $(DOCDIR)\latex\proplist
602 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
605 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
606 cd $(DOCDIR)\latex\techref
607 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
610 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
611 cd $(DOCDIR)\latex\wx
612 -copy *.bmp *.wmf $(DOCDIR)\pdf
613 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
616 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
617 cd $(DOCDIR)\latex\porting
618 -copy *.bmp *.wmf $(DOCDIR)\pdf
619 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
622 $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
623 cd $(DOCDIR)\latex\faq
624 -copy *.bmp *.wmf $(DOCDIR)\pdf
625 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf
628 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/proplist.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
629 cd $(DOCDIR)\latex\proplist
630 -copy *.bmp *.wmf $(DOCDIR)\pdf
631 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
634 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
635 cd $(DOCDIR)\latex\techref
636 -copy *.bmp *.wmf $(DOCDIR)\pdf
637 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
640 $(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
641 cd $(DOCDIR)\latex\wx
642 -mkdir $(DOCDIR)\html\wx
643 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
644 -erase $(DOCDIR)\html\wx\*.con
645 -erase $(DOCDIR)\html\wx\*.ref
646 -erase $(DOCDIR)\latex\wx\*.con
647 -erase $(DOCDIR)\latex\wx\*.ref
650 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
651 cd $(DOCDIR)\latex\porting
652 -mkdir $(DOCDIR)\html\porting
653 -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
654 -erase $(DOCDIR)\html\porting\*.con
655 -erase $(DOCDIR)\html\porting\*.ref
656 -erase $(DOCDIR)\latex\porting\*.con
657 -erase $(DOCDIR)\latex\porting\*.ref
660 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
661 cd $(DOCDIR)\latex\faq
662 -mkdir $(DOCDIR)\html\faq
663 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html
664 -erase $(DOCDIR)\html\faq\*.con
665 -erase $(DOCDIR)\html\faq\*.ref
666 -erase $(DOCDIR)\latex\faq\*.con
667 -erase $(DOCDIR)\latex\faq\*.ref
670 $(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
671 cd $(DOCDIR)\latex\proplist
672 -mkdir $(DOCDIR)\html\proplist
673 -start /w tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
674 -erase $(DOCDIR)\html\proplist\*.con
675 -erase $(DOCDIR)\html\proplist\*.ref
676 -erase $(DOCDIR)\latex\proplist\*.con
677 -erase $(DOCDIR)\latex\proplist\*.ref
680 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
681 cd $(WXDIR)\docs\latex\wx
690 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
691 cd $(WXDIR)\docs\latex\porting
700 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
701 cd $(WXDIR)\docs\latex\wx
702 -dvips32 -o wx.ps manual
703 move wx.ps $(WXDIR)\docs\ps\wx.ps
706 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
707 cd $(WXDIR)\docs\latex\porting
708 -dvips32 -o porting.ps porting
709 move porting.ps $(WXDIR)\docs\ps\porting.ps
712 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
713 cd $(WXDIR)\docs\latex\wx
722 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
723 cd $(WXDIR)\docs\latex\wx
724 -dvips32 -o referenc.ps referenc
725 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
728 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
729 cd $(WXDIR)\docs\latex\faq
737 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
738 cd $(WXDIR)\docs\latex\faq
739 -dvips32 -o faq.ps faq
740 move faq.ps $(WXDIR)\docs\ps\faq.ps
743 # In order to force document reprocessing
745 -touch $(WXDIR)\docs\latex\wx\manual.tex
747 updatedocs: touchmanual alldocs
749 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
750 # Office StartUp folder, and PDFMaker should be installed.
751 updatepdf: # touchmanual pdfrtf
752 start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"