5 # This file was automatically generated by tmake at 21:00, 1999/07/14
6 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
12 # Copyright: (c) 1997, Julian Smart
16 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
19 # FINAL=1 argument to nmake to build version with no debugging info.
20 # dll builds a library (wxdll.lib) suitable for creating DLLs
22 !include <..\makevc.env>
24 THISDIR=$(WXWIN)\src\msw
26 !if "$(WXMAKINGDLL)" == "1"
27 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
28 DUMMYOBJ=$D\dummydll.obj
34 # Please set these according to the settings in setup.h, so we can include
35 # the appropriate libraries in wx.lib
37 # This one overrides the others, to be consistent with the settings in setup.h
38 MINIMAL_WXWINDOWS_SETUP=0
44 # These are absolute paths, so that the compiler
45 # generates correct __FILE__ symbols for debugging.
46 # Otherwise you don't be able to double-click on a memory
47 # error to load that file.
48 GENDIR=$(WXDIR)\src\generic
49 COMMDIR=$(WXDIR)\src\common
51 MSWDIR=$(WXDIR)\src\msw
52 DOCDIR = $(WXDIR)\docs
53 HTMLDIR = $(WXDIR)\src\html
55 {..\generic}.cpp{..\generic\$D}.obj:
57 $(CPPFLAGS) /Fo$@ /c /Tp $<
60 {..\common}.cpp{..\common\$D}.obj:
62 $(CPPFLAGS) /Fo$@ /c /Tp $<
65 {..\msw}.cpp{..\msw\$D}.obj:
67 $(CPPFLAGS) /Fo$@ /c /Tp $<
70 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
72 $(CPPFLAGS) /Fo$@ /c /Tp $<
75 {..\html}.cpp{..\html\$D}.obj:
77 $(CPPFLAGS) /Fo$@ /c /Tp $<
80 GENERICOBJS= ..\generic\$D\busyinfo.obj \
81 ..\generic\$D\choicdgg.obj \
82 ..\generic\$D\extdlgg.obj \
83 ..\generic\$D\gridg.obj \
84 ..\generic\$D\laywin.obj \
85 ..\generic\$D\panelg.obj \
86 ..\generic\$D\progdlgg.obj \
87 ..\generic\$D\prop.obj \
88 ..\generic\$D\propform.obj \
89 ..\generic\$D\proplist.obj \
90 ..\generic\$D\sashwin.obj \
91 ..\generic\$D\scrolwin.obj \
92 ..\generic\$D\splitter.obj \
93 ..\generic\$D\tabg.obj \
94 ..\generic\$D\textdlgg.obj \
95 ..\generic\$D\tipdlg.obj
97 # These are generic things that don't need to be compiled on MSW,
98 # but sometimes it's useful to do so for testing purposes.
99 NONESSENTIALOBJS= ..\generic\$D\colrdlgg.obj \
100 ..\generic\$D\dirdlgg.obj \
101 ..\generic\$D\fontdlgg.obj \
102 ..\generic\$D\helpxlp.obj \
103 ..\generic\$D\imaglist.obj \
104 ..\generic\$D\listctrl.obj \
105 ..\generic\$D\msgdlgg.obj \
106 ..\generic\$D\notebook.obj \
107 ..\generic\$D\printps.obj \
108 ..\generic\$D\prntdlgg.obj \
109 ..\generic\$D\statusbr.obj \
110 ..\generic\$D\treectrl.obj
113 ..\common\$D\extended.obj \
114 ..\common\$D\y_tab.obj \
115 ..\common\$D\cmndata.obj \
116 ..\common\$D\config.obj \
117 ..\common\$D\date.obj \
118 ..\common\$D\datstrm.obj \
119 ..\common\$D\db.obj \
120 ..\common\$D\dbtable.obj \
121 ..\common\$D\dcbase.obj \
122 ..\common\$D\dlgcmn.obj \
123 ..\common\$D\docmdi.obj \
124 ..\common\$D\docview.obj \
125 ..\common\$D\dynarray.obj \
126 ..\common\$D\dynlib.obj \
127 ..\common\$D\event.obj \
128 ..\common\$D\file.obj \
129 ..\common\$D\fileconf.obj \
130 ..\common\$D\filefn.obj \
131 ..\common\$D\filesys.obj \
132 ..\common\$D\framecmn.obj \
133 ..\common\$D\fs_inet.obj \
134 ..\common\$D\fs_zip.obj \
135 ..\common\$D\ftp.obj \
136 ..\common\$D\gdicmn.obj \
137 ..\common\$D\hash.obj \
138 ..\common\$D\helpbase.obj \
139 ..\common\$D\http.obj \
140 ..\common\$D\imagbmp.obj \
141 ..\common\$D\image.obj \
142 ..\common\$D\imaggif.obj \
143 ..\common\$D\imagjpeg.obj \
144 ..\common\$D\imagpng.obj \
145 ..\common\$D\intl.obj \
146 ..\common\$D\ipcbase.obj \
147 ..\common\$D\layout.obj \
148 ..\common\$D\list.obj \
149 ..\common\$D\log.obj \
150 ..\common\$D\memory.obj \
151 ..\common\$D\mimetype.obj \
152 ..\common\$D\module.obj \
153 ..\common\$D\mstream.obj \
154 ..\common\$D\object.obj \
155 ..\common\$D\objstrm.obj \
156 ..\common\$D\odbc.obj \
157 ..\common\$D\paper.obj \
158 ..\common\$D\prntbase.obj \
159 ..\common\$D\process.obj \
160 ..\common\$D\protocol.obj \
161 ..\common\$D\resource.obj \
162 ..\common\$D\sckaddr.obj \
163 ..\common\$D\sckfile.obj \
164 ..\common\$D\sckint.obj \
165 ..\common\$D\sckipc.obj \
166 ..\common\$D\sckstrm.obj \
167 ..\common\$D\socket.obj \
168 ..\common\$D\stream.obj \
169 ..\common\$D\string.obj \
170 ..\common\$D\tbarbase.obj \
171 ..\common\$D\tbarsmpl.obj \
172 ..\common\$D\textfile.obj \
173 ..\common\$D\time.obj \
174 ..\common\$D\timercmn.obj \
175 ..\common\$D\tokenzr.obj \
176 ..\common\$D\txtstrm.obj \
177 ..\common\$D\unzip.obj \
178 ..\common\$D\url.obj \
179 ..\common\$D\utilscmn.obj \
180 ..\common\$D\valgen.obj \
181 ..\common\$D\validate.obj \
182 ..\common\$D\valtext.obj \
183 ..\common\$D\variant.obj \
184 ..\common\$D\wfstream.obj \
185 ..\common\$D\wincmn.obj \
186 ..\common\$D\wxchar.obj \
187 ..\common\$D\wxexpr.obj \
188 ..\common\$D\zipstream.obj \
189 ..\common\$D\zstream.obj
191 MSWOBJS = ..\msw\$D\accel.obj \
193 ..\msw\$D\automtn.obj \
194 ..\msw\$D\bitmap.obj \
195 ..\msw\$D\bmpbuttn.obj \
196 ..\msw\$D\brush.obj \
197 ..\msw\$D\button.obj \
198 ..\msw\$D\caret.obj \
199 ..\msw\$D\checkbox.obj \
200 ..\msw\$D\checklst.obj \
201 ..\msw\$D\choice.obj \
202 ..\msw\$D\clipbrd.obj \
203 ..\msw\$D\colordlg.obj \
204 ..\msw\$D\colour.obj \
205 ..\msw\$D\combobox.obj \
206 ..\msw\$D\control.obj \
207 ..\msw\$D\curico.obj \
208 ..\msw\$D\cursor.obj \
210 ..\msw\$D\dataobj.obj \
212 ..\msw\$D\dcclient.obj \
213 ..\msw\$D\dcmemory.obj \
214 ..\msw\$D\dcprint.obj \
215 ..\msw\$D\dcscreen.obj \
217 ..\msw\$D\dialog.obj \
219 ..\msw\$D\dibutils.obj \
220 ..\msw\$D\dirdlg.obj \
221 ..\msw\$D\dragimag.obj \
222 ..\msw\$D\dropsrc.obj \
223 ..\msw\$D\droptgt.obj \
224 ..\msw\$D\filedlg.obj \
226 ..\msw\$D\fontdlg.obj \
227 ..\msw\$D\frame.obj \
228 ..\msw\$D\gauge95.obj \
229 ..\msw\$D\gaugemsw.obj \
230 ..\msw\$D\gdiobj.obj \
231 ..\msw\$D\helpwin.obj \
233 ..\msw\$D\iniconf.obj \
234 ..\msw\$D\joystick.obj \
235 ..\msw\$D\listbox.obj \
239 ..\msw\$D\menuitem.obj \
240 ..\msw\$D\metafile.obj \
241 ..\msw\$D\minifram.obj \
242 ..\msw\$D\msgdlg.obj \
243 ..\msw\$D\nativdlg.obj \
244 ..\msw\$D\oleutils.obj \
245 ..\msw\$D\ownerdrw.obj \
246 ..\msw\$D\palette.obj \
248 ..\msw\$D\penwin.obj \
249 ..\msw\$D\pnghand.obj \
250 ..\msw\$D\printdlg.obj \
251 ..\msw\$D\printwin.obj \
252 ..\msw\$D\radiobox.obj \
253 ..\msw\$D\radiobut.obj \
254 ..\msw\$D\regconf.obj \
255 ..\msw\$D\region.obj \
256 ..\msw\$D\registry.obj \
257 ..\msw\$D\scrolbar.obj \
258 ..\msw\$D\settings.obj \
259 ..\msw\$D\slider95.obj \
260 ..\msw\$D\slidrmsw.obj \
261 ..\msw\$D\spinbutt.obj \
262 ..\msw\$D\statbmp.obj \
263 ..\msw\$D\statbox.obj \
264 ..\msw\$D\statbr95.obj \
265 ..\msw\$D\statline.obj \
266 ..\msw\$D\stattext.obj \
267 ..\msw\$D\tabctrl.obj \
268 ..\msw\$D\taskbar.obj \
269 ..\msw\$D\tbar95.obj \
270 ..\msw\$D\tbarmsw.obj \
271 ..\msw\$D\textctrl.obj \
272 ..\msw\$D\thread.obj \
273 ..\msw\$D\timer.obj \
274 ..\msw\$D\tooltip.obj \
275 ..\msw\$D\utils.obj \
276 ..\msw\$D\utilsexc.obj \
279 ..\msw\$D\window.obj \
280 ..\msw\$D\xpmhand.obj
283 ..\html\$D\htmlcell.obj \
284 ..\html\$D\htmlfilter.obj \
285 ..\html\$D\htmlhelp.obj \
286 ..\html\$D\htmlhelp_io.obj \
287 ..\html\$D\htmlparser.obj \
288 ..\html\$D\htmltag.obj \
289 ..\html\$D\htmlwin.obj \
290 ..\html\$D\htmlwinparser.obj \
291 ..\html\$D\mod_fonts.obj \
292 ..\html\$D\mod_hline.obj \
293 ..\html\$D\mod_image.obj \
294 ..\html\$D\mod_layout.obj \
295 ..\html\$D\mod_links.obj \
296 ..\html\$D\mod_list.obj \
297 ..\html\$D\mod_pre.obj \
298 ..\html\$D\mod_tables.obj \
299 ..\html\$D\search.obj
301 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
302 # Add $(HTMLOBJS) if wanting wxHTML classes
303 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
305 # Normal, static library
306 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
308 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
311 test: $(MSWDIR)\$D\wave.obj
312 test2: ..\common\Debug\config.obj
332 # wxWindows library as DLL
334 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
337 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
339 # wxWindows + app as DLL. Only affects main.cpp.
341 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
343 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
345 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
347 # Use this to make dummy.obj and generate a PCH.
348 # You might use the dll target, then the pch target, in order to
349 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
351 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
352 # are associated with wx.lib. When using a DLL version of wxWindows, however,
353 # the DLL is compiled without a PCH, so you only need it for compiling the app.
354 # In fact headers are compiled differently depending on whether a DLL is being made
355 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
356 # in each case) so you couldn't use the same PCH.
358 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
360 pch1: dirs $(DUMMYOBJ)
363 !if "$(WXMAKINGDLL)" != "1"
367 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
372 $(OBJECTS) $(PERIPH_LIBS)
377 ### Update the import library
379 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
383 $(DUMMYOBJ) $(OBJECTS)
384 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
387 # Update the dynamic link library
388 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
391 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
392 $(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
398 ########################################################
399 # Windows-specific objects
401 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
402 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
404 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
406 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
409 # If taking wxWindows from CVS, setup.h doesn't exist yet.
410 # Actually the 'if not exist setup.h' test doesn't work
411 # (copies the file anyway)
412 # we'll have to comment this rule out.
414 # $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
415 # cd "$(WXDIR)"\include\wx\msw
416 # if not exist setup.h copy setup0.h setup.h
417 # cd "$(WXDIR)"\src\msw
419 ..\common\$D\extended.obj: ..\common\extended.c
421 $(CPPFLAGS2) /c $(COMMDIR)\extended.c /Fo$@
424 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
426 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
429 ..\common\y_tab.c: ..\common\dosyacc.c
430 copy "..\common"\dosyacc.c "..\common"\y_tab.c
432 ..\common\lex_yy.c: ..\common\doslex.c
433 copy "..\common"\doslex.c "..\common"\lex_yy.c
435 $(OBJECTS): $(WXDIR)/include/wx/setup.h
437 ..\common\$D\unzip.obj: ..\common\unzip.c
439 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
442 # Peripheral components
446 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
451 nmake -f makefile.vc clean
456 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
461 nmake -f makefile.vc clean
466 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
471 nmake -f makefile.vc clean
476 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
481 nmake -f makefile.vc clean
485 cd $(WXDIR)\utils\rcparser\src
486 nmake -f makefile.vc FINAL=$(FINAL)
489 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
491 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
492 -erase ..\..\lib\wx200.dll
493 -erase ..\..\lib\wx200.lib
494 -erase ..\..\lib\wx200.exp
495 -erase ..\..\lib\wx200.pdb
496 -erase ..\..\lib\wx200.ilk
499 -erase $(WXLIBNAME).pch
500 -erase $(GENDIR)\$D\*.obj
501 -erase $(GENDIR)\$D\*.pdb
502 -erase $(GENDIR)\$D\*.sbr
503 -erase $(COMMDIR)\$D\*.obj
504 -erase $(COMMDIR)\$D\*.pdb
505 -erase $(COMMDIR)\$D\*.sbr
506 -erase $(COMMDIR)\\y_tab.c
507 -erase $(COMMDIR)\lex_yy.c
508 -erase $(MSWDIR)\$D\*.obj
509 -erase $(MSWDIR)\$D\*.sbr
510 -erase $(MSWDIR)\$D\*.pdb
511 -erase $(OLEDIR)\$D\*.obj
512 -erase $(OLEDIR)\$D\*.sbr
513 -erase $(OLEDIR)\$D\*.pdb
516 -rmdir ..\generic\$(D)
517 -rmdir ..\common\$(D)
522 docs: allhlp allhtml allpdfrtf
524 hlp: wxhlp portinghlp
525 wxhlp: $(DOCDIR)/winhelp/wx.hlp
526 prophlp: $(DOCDIR)/winhelp/prop.hlp
527 refhlp: $(DOCDIR)/winhelp/techref.hlp
528 rtf: $(DOCDIR)/winhelp/wx.rtf
529 proprtf: $(DOCDIR)/winhelp/prop.rtf
530 pdfrtf: $(DOCDIR)/pdf/wx.rtf
531 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
532 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
533 html: wxhtml portinghtml
534 wxhtml: $(DOCDIR)\html\wx\wx.htm
535 htmlhelp: $(DOCDIR)\html\wx\wx.chm
536 prophtml: $(DOCDIR)\html\proplist\prop.htm
538 wxps: $(WXDIR)\docs\ps\wx.ps
539 propps: $(WXDIR)\docs\ps\prop.ps
540 referencps: $(WXDIR)\docs\ps\referenc.ps
542 portinghtml: $(DOCDIR)\html\porting\port.htm
543 portingrtf: $(DOCDIR)/winhelp/porting.rtf
544 portinghlp: $(DOCDIR)/winhelp/porting.hlp
545 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
546 portingps: $(WXDIR)\docs\ps\porting.ps
548 allhlp: wxhlp portinghlp prophlp
549 cd $(WXDIR)\utils\dialoged\src
550 nmake -f makefile.vc hlp
553 # cd $(WXDIR)\utils\wxhelp\src
554 # nmake -f makefile.vc hlp
555 # cd $(WXDIR)\utils\tex2rtf\src
556 # nmake -f makefile.vc hlp
557 # cd $(WXDIR)\utils\wxgraph\src
558 # nmake -f makefile.vc hlp
559 # cd $(WXDIR)\utils\wxchart\src
560 # nmake -f makefile.vc hlp
561 # cd $(WXDIR)\utils\wxtree\src
562 # nmake -f makefile.vc hlp
563 # cd $(WXDIR)\utils\wxbuild\src
564 # nmake -f makefile.vc hlp
565 # cd $(WXDIR)\utils\wxgrid\src
566 # nmake -f makefile.vc hlp
568 allhtml: wxhtml portinghtml prophtml
569 cd $(WXDIR)\utils\dialoged\src
570 nmake -f makefile.vc html
573 # nmake -f makefile.vc html
574 # cd $(WXDIR)\utils\dialoged\src
575 # nmake -f makefile.vc html
576 # cd $(WXDIR)\utils\hytext\src
577 # nmake -f makefile.vc html
578 # cd $(WXDIR)\utils\wxhelp\src
579 # nmake -f makefile.vc html
580 # cd $(WXDIR)\utils\tex2rtf\src
581 # nmake -f makefile.vc html
582 # cd $(WXDIR)\utils\wxgraph\src
583 # nmake -f makefile.vc html
584 # cd $(WXDIR)\utils\wxchart\src
585 # nmake -f makefile.vc html
586 # cd $(WXDIR)\utils\wxtree\src
587 # nmake -f makefile.vc html
589 allps: wxps referencps portingps propps
590 cd $(WXDIR)\utils\dialoged\src
591 nmake -f makefile.vc ps
594 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
595 cd $(WXDIR)\utils\dialoged\src
596 nmake -f makefile.vc pdfrtf
599 # cd $(WXDIR)\utils\wxhelp\src
600 # nmake -f makefile.vc ps
601 # cd $(WXDIR)\utils\tex2rtf\src
602 # nmake -f makefile.vc ps
603 # cd $(WXDIR)\utils\wxgraph\src
604 # nmake -f makefile.vc ps
605 # cd $(WXDIR)\utils\wxchart\src
606 # nmake -f makefile.vc ps
607 # cd $(WXDIR)\utils\wxtree\src
608 # nmake -f makefile.vc ps
611 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
612 cd $(DOCDIR)/latex/wx
615 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
616 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
619 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
620 cd $(DOCDIR)/latex/porting
623 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
624 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
627 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
628 cd $(DOCDIR)/latex/proplist
631 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
632 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
635 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
636 cd $(DOCDIR)/latex/techref
639 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
640 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
643 $(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
644 cd $(DOCDIR)\latex\wx
645 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
648 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
649 cd $(DOCDIR)\latex\porting
650 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
653 $(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
654 cd $(DOCDIR)\latex\proplist
655 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
658 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
659 cd $(DOCDIR)\latex\techref
660 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
663 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
664 cd $(DOCDIR)\latex\wx
665 -copy *.bmp *.wmf $(DOCDIR)\pdf
666 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
669 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
670 cd $(DOCDIR)\latex\porting
671 -copy *.bmp *.wmf $(DOCDIR)\pdf
672 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
675 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
676 cd $(DOCDIR)\latex\proplist
677 -copy *.bmp *.wmf $(DOCDIR)\pdf
678 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
681 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
682 cd $(DOCDIR)\latex\techref
683 -copy *.bmp *.wmf $(DOCDIR)\pdf
684 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
687 $(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
688 cd $(DOCDIR)\latex\wx
689 -mkdir $(DOCDIR)\html\wx
690 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
691 -erase $(DOCDIR)\html\wx\*.con
692 -erase $(DOCDIR)\html\wx\*.ref
693 -erase $(DOCDIR)\latex\wx\*.con
694 -erase $(DOCDIR)\latex\wx\*.ref
697 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
703 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
704 cd $(DOCDIR)\latex\porting
705 -mkdir $(DOCDIR)\html\porting
706 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
707 -erase $(DOCDIR)\html\porting\*.con
708 -erase $(DOCDIR)\html\porting\*.ref
709 -erase $(DOCDIR)\latex\porting\*.con
710 -erase $(DOCDIR)\latex\porting\*.ref
713 $(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
714 cd $(DOCDIR)\latex\proplist
715 -mkdir $(DOCDIR)\html\proplist
716 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
717 -erase $(DOCDIR)\html\proplist\*.con
718 -erase $(DOCDIR)\html\proplist\*.ref
719 -erase $(DOCDIR)\latex\proplist\*.con
720 -erase $(DOCDIR)\latex\proplist\*.ref
723 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
724 cd $(WXDIR)\docs\latex\wx
733 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
734 cd $(WXDIR)\docs\latex\porting
743 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
744 cd $(WXDIR)\docs\latex\wx
745 -dvips32 -o wx.ps manual
746 move wx.ps $(WXDIR)\docs\ps\wx.ps
749 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
750 cd $(WXDIR)\docs\latex\porting
751 -dvips32 -o porting.ps porting
752 move porting.ps $(WXDIR)\docs\ps\porting.ps
755 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
756 cd $(WXDIR)\docs\latex\wx
765 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
766 cd $(WXDIR)\docs\latex\wx
767 -dvips32 -o referenc.ps referenc
768 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
771 # In order to force document reprocessing
773 -touch $(WXDIR)\docs\latex\wx\manual.tex
775 updatedocs: touchmanual alldocs
777 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
778 # Office StartUp folder, and PDFMaker should be installed.
779 updatepdf: # touchmanual pdfrtf
780 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"