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 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 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\progdlgg.obj \
74 ..\generic\$D\prop.obj \
75 ..\generic\$D\propform.obj \
76 ..\generic\$D\proplist.obj \
77 ..\generic\$D\sashwin.obj \
78 ..\generic\$D\scrolwin.obj \
79 ..\generic\$D\splitter.obj \
80 ..\generic\$D\statusbr.obj \
81 ..\generic\$D\tabg.obj \
82 ..\generic\$D\textdlgg.obj \
83 ..\generic\$D\tipdlg.obj
85 # ..\generic\$D\imaglist.obj \
86 # ..\generic\$D\treectrl.obj \
87 # ..\generic\$D\listctrl.obj \
88 # ..\generic\$D\notebook.obj \
90 # These are generic things that don't need to be compiled on MSW,
91 # but sometimes it's useful to do so for testing purposes.
93 ..\generic\$D\printps.obj \
94 ..\generic\$D\prntdlgg.obj \
95 ..\generic\$D\msgdlgg.obj \
96 ..\generic\$D\helpxlp.obj \
97 ..\generic\$D\colrdlgg.obj \
98 ..\generic\$D\fontdlgg.obj
101 ..\common\$D\cmndata.obj \
102 ..\common\$D\config.obj \
103 ..\common\$D\dcbase.obj \
104 ..\common\$D\db.obj \
105 ..\common\$D\dbtable.obj \
106 ..\common\$D\docview.obj \
107 ..\common\$D\docmdi.obj \
108 ..\common\$D\dynarray.obj \
109 ..\common\$D\dynlib.obj \
110 ..\common\$D\event.obj \
111 ..\common\$D\file.obj \
112 ..\common\$D\filefn.obj \
113 ..\common\$D\fileconf.obj \
114 ..\common\$D\framecmn.obj \
115 ..\common\$D\ftp.obj \
116 ..\common\$D\gdicmn.obj \
117 ..\common\$D\image.obj \
118 ..\common\$D\imagbmp.obj \
119 ..\common\$D\imagjpeg.obj \
120 ..\common\$D\imagpng.obj \
121 ..\common\$D\imaggif.obj \
122 ..\common\$D\intl.obj \
123 ..\common\$D\ipcbase.obj \
124 ..\common\$D\helpbase.obj \
125 ..\common\$D\layout.obj \
126 ..\common\$D\log.obj \
127 ..\common\$D\memory.obj \
128 ..\common\$D\mimetype.obj \
129 ..\common\$D\module.obj \
130 ..\common\$D\odbc.obj \
131 ..\common\$D\object.obj \
132 ..\common\$D\prntbase.obj \
133 ..\common\$D\resource.obj \
134 ..\common\$D\tbarbase.obj \
135 ..\common\$D\tbarsmpl.obj \
136 ..\common\$D\textfile.obj \
137 ..\common\$D\timercmn.obj \
138 ..\common\$D\utilscmn.obj \
139 ..\common\$D\validate.obj \
140 ..\common\$D\valgen.obj \
141 ..\common\$D\valtext.obj \
142 ..\common\$D\date.obj \
143 ..\common\$D\hash.obj \
144 ..\common\$D\list.obj \
145 ..\common\$D\paper.obj \
146 ..\common\$D\string.obj \
147 ..\common\$D\socket.obj \
148 ..\common\$D\sckaddr.obj \
149 ..\common\$D\sckint.obj \
150 ..\common\$D\sckfile.obj \
151 ..\common\$D\sckipc.obj \
152 ..\common\$D\sckstrm.obj \
153 ..\common\$D\url.obj \
154 ..\common\$D\http.obj \
155 ..\common\$D\protocol.obj \
156 ..\common\$D\time.obj \
157 ..\common\$D\tokenzr.obj \
158 ..\common\$D\wxexpr.obj \
159 ..\common\$D\y_tab.obj \
160 ..\common\$D\extended.obj \
161 ..\common\$D\process.obj \
162 ..\common\$D\wfstream.obj \
163 ..\common\$D\mstream.obj \
164 ..\common\$D\zstream.obj \
165 ..\common\$D\stream.obj \
166 ..\common\$D\datstrm.obj \
167 ..\common\$D\objstrm.obj \
168 ..\common\$D\variant.obj \
169 ..\common\$D\dlgcmn.obj \
170 ..\common\$D\wincmn.obj \
171 ..\common\$D\txtstrm.obj \
172 ..\common\$D\wxchar.obj
175 ..\msw\$D\accel.obj \
177 ..\msw\$D\bitmap.obj \
178 ..\msw\$D\bmpbuttn.obj \
179 ..\msw\$D\brush.obj \
180 ..\msw\$D\button.obj \
181 ..\msw\$D\checkbox.obj \
182 ..\msw\$D\checklst.obj \
183 ..\msw\$D\caret.obj \
184 ..\msw\$D\choice.obj \
185 ..\msw\$D\clipbrd.obj \
186 ..\msw\$D\colordlg.obj \
187 ..\msw\$D\colour.obj \
188 ..\msw\$D\combobox.obj \
189 ..\msw\$D\control.obj \
190 ..\msw\$D\curico.obj \
191 ..\msw\$D\cursor.obj \
194 ..\msw\$D\dcmemory.obj \
195 ..\msw\$D\dcclient.obj \
196 ..\msw\$D\dcprint.obj \
197 ..\msw\$D\dcscreen.obj \
199 ..\msw\$D\dialog.obj \
201 ..\msw\$D\dibutils.obj \
202 ..\msw\$D\dirdlg.obj \
203 ..\msw\$D\dragimag.obj \
204 ..\msw\$D\filedlg.obj \
206 ..\msw\$D\fontdlg.obj \
207 ..\msw\$D\frame.obj \
208 ..\msw\$D\gauge95.obj \
209 ..\msw\$D\gaugemsw.obj \
210 ..\msw\$D\gdiobj.obj \
211 ..\msw\$D\helpwin.obj \
213 ..\msw\$D\iniconf.obj \
214 ..\msw\$D\joystick.obj \
215 ..\msw\$D\imaglist.obj \
216 ..\msw\$D\listbox.obj \
217 ..\msw\$D\listctrl.obj \
221 ..\msw\$D\menuitem.obj \
222 ..\msw\$D\metafile.obj \
223 ..\msw\$D\minifram.obj \
224 ..\msw\$D\msgdlg.obj \
225 ..\msw\$D\nativdlg.obj \
226 ..\msw\$D\notebook.obj \
227 ..\msw\$D\ownerdrw.obj \
228 ..\msw\$D\palette.obj \
230 ..\msw\$D\penwin.obj \
231 ..\msw\$D\pnghand.obj \
232 ..\msw\$D\printdlg.obj \
233 ..\msw\$D\printwin.obj \
234 ..\msw\$D\radiobox.obj \
235 ..\msw\$D\radiobut.obj \
236 ..\msw\$D\region.obj \
237 ..\msw\$D\registry.obj \
238 ..\msw\$D\regconf.obj \
239 ..\msw\$D\scrolbar.obj \
240 ..\msw\$D\settings.obj \
241 ..\msw\$D\slidrmsw.obj \
242 ..\msw\$D\slider95.obj \
243 ..\msw\$D\spinbutt.obj \
244 ..\msw\$D\statbmp.obj \
245 ..\msw\$D\statbox.obj \
246 ..\msw\$D\statline.obj \
247 ..\msw\$D\statbr95.obj \
248 ..\msw\$D\stattext.obj \
249 ..\msw\$D\tabctrl.obj \
250 ..\msw\$D\taskbar.obj \
251 ..\msw\$D\tbar95.obj \
252 ..\msw\$D\tbarmsw.obj \
253 ..\msw\$D\textctrl.obj \
254 ..\msw\$D\thread.obj \
255 ..\msw\$D\timer.obj \
256 ..\msw\$D\tooltip.obj \
257 ..\msw\$D\treectrl.obj \
258 ..\msw\$D\utils.obj \
259 ..\msw\$D\utilsexc.obj \
260 ..\msw\ole\$D\uuid.obj \
262 ..\msw\$D\window.obj \
263 ..\msw\$D\xpmhand.obj \
264 ..\msw\ole\$D\dataobj.obj \
265 ..\msw\ole\$D\automtn.obj \
266 ..\msw\ole\$D\droptgt.obj \
267 ..\msw\ole\$D\dropsrc.obj \
268 ..\msw\ole\$D\oleutils.obj
270 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
271 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
273 # Normal, static library
274 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
276 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D
278 test: $(MSWDIR)\$D\wave.obj
279 test2: ..\common\Debug\config.obj
296 # wxWindows library as DLL
298 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
301 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
303 # wxWindows + app as DLL. Only affects main.cpp.
305 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
307 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
309 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
311 # Use this to make dummy.obj and generate a PCH.
312 # You might use the dll target, then the pch target, in order to
313 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
315 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
316 # are associated with wx.lib. When using a DLL version of wxWindows, however,
317 # the DLL is compiled without a PCH, so you only need it for compiling the app.
318 # In fact headers are compiled differently depending on whether a DLL is being made
319 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
320 # in each case) so you couldn't use the same PCH.
322 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
324 pch1: dirs $(DUMMYOBJ)
327 !if "$(WXMAKINGDLL)" != "1"
331 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
336 $(OBJECTS) $(PERIPH_LIBS)
341 ### Update the import library
343 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
347 $(DUMMYOBJ) $(OBJECTS)
348 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
351 # Update the dynamic link library
352 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
355 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
356 $(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
362 ########################################################
363 # Windows-specific objects
365 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
366 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
368 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
370 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
373 # If taking wxWindows from CVS, setup.h doesn't exist yet.
374 # Actually the 'if not exist setup.h' test doesn't work
375 # (copies the file anyway)
376 # we'll have to comment this rule out.
378 #$(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
379 # cd "$(WXDIR)"\include\wx\msw
380 # if not exist setup.h copy setup0.h setup.h
381 # cd "$(WXDIR)"\src\msw
383 ..\common\$D\extended.obj: ..\common\extended.c
385 $(CPPFLAGS2) /c $(COMMDIR)\extended.c /Fo$@
388 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
390 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
393 ..\common\y_tab.c: ..\common\dosyacc.c
394 copy "..\common"\dosyacc.c "..\common"\y_tab.c
396 ..\common\lex_yy.c: ..\common\doslex.c
397 copy "..\common"\doslex.c "..\common"\lex_yy.c
399 $(OBJECTS): $(WXDIR)/include/wx/setup.h
401 # Peripheral components
405 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
410 nmake -f makefile.vc clean
415 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
420 nmake -f makefile.vc clean
425 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
430 nmake -f makefile.vc clean
435 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
440 nmake -f makefile.vc clean
444 cd $(WXDIR)\utils\rcparser\src
445 nmake -f makefile.vc FINAL=$(FINAL)
448 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
450 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
451 -erase ..\..\lib\wx200.dll
452 -erase ..\..\lib\wx200.lib
453 -erase ..\..\lib\wx200.exp
454 -erase ..\..\lib\wx200.pdb
455 -erase ..\..\lib\wx200.ilk
458 -erase $(WXLIBNAME).pch
459 -erase $(GENDIR)\$D\*.obj
460 -erase $(GENDIR)\$D\*.pdb
461 -erase $(GENDIR)\$D\*.sbr
462 -erase $(COMMDIR)\$D\*.obj
463 -erase $(COMMDIR)\$D\*.pdb
464 -erase $(COMMDIR)\$D\*.sbr
465 -erase $(COMMDIR)\\y_tab.c
466 -erase $(COMMDIR)\lex_yy.c
467 -erase $(MSWDIR)\$D\*.obj
468 -erase $(MSWDIR)\$D\*.sbr
469 -erase $(MSWDIR)\$D\*.pdb
470 -erase $(OLEDIR)\$D\*.obj
471 -erase $(OLEDIR)\$D\*.sbr
472 -erase $(OLEDIR)\$D\*.pdb
475 -rmdir ..\generic\$(D)
476 -rmdir ..\common\$(D)
481 docs: allhlp allhtml allpdfrtf
483 hlp: wxhlp portinghlp
484 wxhlp: $(DOCDIR)/winhelp/wx.hlp
485 prophlp: $(DOCDIR)/winhelp/prop.hlp
486 refhlp: $(DOCDIR)/winhelp/techref.hlp
487 rtf: $(DOCDIR)/winhelp/wx.rtf
488 proprtf: $(DOCDIR)/winhelp/prop.rtf
489 pdfrtf: $(DOCDIR)/pdf/wx.rtf
490 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
491 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
492 html: wxhtml portinghtml
493 wxhtml: $(DOCDIR)\html\wx\wx.htm
494 htmlhelp: $(DOCDIR)\html\wx\wx.chm
495 prophtml: $(DOCDIR)\html\proplist\prop.htm
497 wxps: $(WXDIR)\docs\ps\wx.ps
498 propps: $(WXDIR)\docs\ps\prop.ps
499 referencps: $(WXDIR)\docs\ps\referenc.ps
501 portinghtml: $(DOCDIR)\html\porting\port.htm
502 portingrtf: $(DOCDIR)/winhelp/porting.rtf
503 portinghlp: $(DOCDIR)/winhelp/porting.hlp
504 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
505 portingps: $(WXDIR)\docs\ps\porting.ps
507 allhlp: wxhlp portinghlp prophlp
508 cd $(WXDIR)\utils\dialoged\src
509 nmake -f makefile.vc hlp
512 # cd $(WXDIR)\utils\wxhelp\src
513 # nmake -f makefile.vc hlp
514 # cd $(WXDIR)\utils\tex2rtf\src
515 # nmake -f makefile.vc hlp
516 # cd $(WXDIR)\utils\wxgraph\src
517 # nmake -f makefile.vc hlp
518 # cd $(WXDIR)\utils\wxchart\src
519 # nmake -f makefile.vc hlp
520 # cd $(WXDIR)\utils\wxtree\src
521 # nmake -f makefile.vc hlp
522 # cd $(WXDIR)\utils\wxbuild\src
523 # nmake -f makefile.vc hlp
524 # cd $(WXDIR)\utils\wxgrid\src
525 # nmake -f makefile.vc hlp
527 allhtml: wxhtml portinghtml prophtml
528 cd $(WXDIR)\utils\dialoged\src
529 nmake -f makefile.vc html
532 # nmake -f makefile.vc html
533 # cd $(WXDIR)\utils\dialoged\src
534 # nmake -f makefile.vc html
535 # cd $(WXDIR)\utils\hytext\src
536 # nmake -f makefile.vc html
537 # cd $(WXDIR)\utils\wxhelp\src
538 # nmake -f makefile.vc html
539 # cd $(WXDIR)\utils\tex2rtf\src
540 # nmake -f makefile.vc html
541 # cd $(WXDIR)\utils\wxgraph\src
542 # nmake -f makefile.vc html
543 # cd $(WXDIR)\utils\wxchart\src
544 # nmake -f makefile.vc html
545 # cd $(WXDIR)\utils\wxtree\src
546 # nmake -f makefile.vc html
548 allps: wxps referencps portingps propps
549 cd $(WXDIR)\utils\dialoged\src
550 nmake -f makefile.vc ps
553 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
554 cd $(WXDIR)\utils\dialoged\src
555 nmake -f makefile.vc pdfrtf
558 # cd $(WXDIR)\utils\wxhelp\src
559 # nmake -f makefile.vc ps
560 # cd $(WXDIR)\utils\tex2rtf\src
561 # nmake -f makefile.vc ps
562 # cd $(WXDIR)\utils\wxgraph\src
563 # nmake -f makefile.vc ps
564 # cd $(WXDIR)\utils\wxchart\src
565 # nmake -f makefile.vc ps
566 # cd $(WXDIR)\utils\wxtree\src
567 # nmake -f makefile.vc ps
570 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
571 cd $(DOCDIR)/latex/wx
574 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
575 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
578 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
579 cd $(DOCDIR)/latex/porting
582 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
583 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
586 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
587 cd $(DOCDIR)/latex/proplist
590 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
591 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
594 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
595 cd $(DOCDIR)/latex/techref
598 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
599 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
602 $(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
603 cd $(DOCDIR)\latex\wx
604 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
607 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
608 cd $(DOCDIR)\latex\porting
609 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
612 $(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
613 cd $(DOCDIR)\latex\proplist
614 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
617 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
618 cd $(DOCDIR)\latex\techref
619 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
622 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
623 cd $(DOCDIR)\latex\wx
624 -copy *.bmp *.wmf $(DOCDIR)\pdf
625 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
628 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
629 cd $(DOCDIR)\latex\porting
630 -copy *.bmp *.wmf $(DOCDIR)\pdf
631 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
634 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
635 cd $(DOCDIR)\latex\proplist
636 -copy *.bmp *.wmf $(DOCDIR)\pdf
637 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
640 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
641 cd $(DOCDIR)\latex\techref
642 -copy *.bmp *.wmf $(DOCDIR)\pdf
643 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
646 $(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
647 cd $(DOCDIR)\latex\wx
648 -mkdir $(DOCDIR)\html\wx
649 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
650 -erase $(DOCDIR)\html\wx\*.con
651 -erase $(DOCDIR)\html\wx\*.ref
652 -erase $(DOCDIR)\latex\wx\*.con
653 -erase $(DOCDIR)\latex\wx\*.ref
656 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
662 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
663 cd $(DOCDIR)\latex\porting
664 -mkdir $(DOCDIR)\html\porting
665 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
666 -erase $(DOCDIR)\html\porting\*.con
667 -erase $(DOCDIR)\html\porting\*.ref
668 -erase $(DOCDIR)\latex\porting\*.con
669 -erase $(DOCDIR)\latex\porting\*.ref
672 $(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
673 cd $(DOCDIR)\latex\proplist
674 -mkdir $(DOCDIR)\html\proplist
675 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
676 -erase $(DOCDIR)\html\proplist\*.con
677 -erase $(DOCDIR)\html\proplist\*.ref
678 -erase $(DOCDIR)\latex\proplist\*.con
679 -erase $(DOCDIR)\latex\proplist\*.ref
682 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
683 cd $(WXDIR)\docs\latex\wx
692 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
693 cd $(WXDIR)\docs\latex\porting
702 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
703 cd $(WXDIR)\docs\latex\wx
704 -dvips32 -o wx.ps manual
705 move wx.ps $(WXDIR)\docs\ps\wx.ps
708 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
709 cd $(WXDIR)\docs\latex\porting
710 -dvips32 -o porting.ps porting
711 move porting.ps $(WXDIR)\docs\ps\porting.ps
714 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
715 cd $(WXDIR)\docs\latex\wx
724 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
725 cd $(WXDIR)\docs\latex\wx
726 -dvips32 -o referenc.ps referenc
727 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
730 # In order to force document reprocessing
732 -touch $(WXDIR)\docs\latex\wx\manual.tex
734 updatedocs: touchmanual alldocs
736 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
737 # Office StartUp folder, and PDFMaker should be installed.
738 updatepdf: # touchmanual pdfrtf
739 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"