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
84 # ..\generic\$D\imaglist.obj \
85 # ..\generic\$D\treectrl.obj \
86 # ..\generic\$D\listctrl.obj \
87 # ..\generic\$D\notebook.obj \
89 # These are generic things that don't need to be compiled on MSW,
90 # but sometimes it's useful to do so for testing purposes.
92 ..\generic\$D\printps.obj \
93 ..\generic\$D\prntdlgg.obj \
94 ..\generic\$D\msgdlgg.obj \
95 ..\generic\$D\helpxlp.obj \
96 ..\generic\$D\colrdlgg.obj \
97 ..\generic\$D\fontdlgg.obj
100 ..\common\$D\cmndata.obj \
101 ..\common\$D\config.obj \
102 ..\common\$D\dcbase.obj \
103 ..\common\$D\db.obj \
104 ..\common\$D\dbtable.obj \
105 ..\common\$D\docview.obj \
106 ..\common\$D\docmdi.obj \
107 ..\common\$D\dynarray.obj \
108 ..\common\$D\dynlib.obj \
109 ..\common\$D\event.obj \
110 ..\common\$D\file.obj \
111 ..\common\$D\filefn.obj \
112 ..\common\$D\fileconf.obj \
113 ..\common\$D\framecmn.obj \
114 ..\common\$D\ftp.obj \
115 ..\common\$D\gdicmn.obj \
116 ..\common\$D\image.obj \
117 ..\common\$D\imagbmp.obj \
118 ..\common\$D\imagjpeg.obj \
119 ..\common\$D\imagpng.obj \
120 ..\common\$D\imaggif.obj \
121 ..\common\$D\intl.obj \
122 ..\common\$D\ipcbase.obj \
123 ..\common\$D\helpbase.obj \
124 ..\common\$D\layout.obj \
125 ..\common\$D\log.obj \
126 ..\common\$D\memory.obj \
127 ..\common\$D\mimetype.obj \
128 ..\common\$D\module.obj \
129 ..\common\$D\odbc.obj \
130 ..\common\$D\object.obj \
131 ..\common\$D\prntbase.obj \
132 ..\common\$D\resource.obj \
133 ..\common\$D\tbarbase.obj \
134 ..\common\$D\tbarsmpl.obj \
135 ..\common\$D\textfile.obj \
136 ..\common\$D\timercmn.obj \
137 ..\common\$D\utilscmn.obj \
138 ..\common\$D\validate.obj \
139 ..\common\$D\valgen.obj \
140 ..\common\$D\valtext.obj \
141 ..\common\$D\date.obj \
142 ..\common\$D\hash.obj \
143 ..\common\$D\list.obj \
144 ..\common\$D\paper.obj \
145 ..\common\$D\string.obj \
146 ..\common\$D\socket.obj \
147 ..\common\$D\sckaddr.obj \
148 ..\common\$D\sckint.obj \
149 ..\common\$D\sckfile.obj \
150 ..\common\$D\sckipc.obj \
151 ..\common\$D\sckstrm.obj \
152 ..\common\$D\url.obj \
153 ..\common\$D\http.obj \
154 ..\common\$D\protocol.obj \
155 ..\common\$D\time.obj \
156 ..\common\$D\tokenzr.obj \
157 ..\common\$D\wxexpr.obj \
158 ..\common\$D\y_tab.obj \
159 ..\common\$D\extended.obj \
160 ..\common\$D\process.obj \
161 ..\common\$D\wfstream.obj \
162 ..\common\$D\mstream.obj \
163 ..\common\$D\zstream.obj \
164 ..\common\$D\stream.obj \
165 ..\common\$D\datstrm.obj \
166 ..\common\$D\objstrm.obj \
167 ..\common\$D\variant.obj \
168 ..\common\$D\wincmn.obj \
169 ..\common\$D\wxchar.obj
172 ..\msw\$D\accel.obj \
174 ..\msw\$D\bitmap.obj \
175 ..\msw\$D\bmpbuttn.obj \
176 ..\msw\$D\brush.obj \
177 ..\msw\$D\button.obj \
178 ..\msw\$D\checkbox.obj \
179 ..\msw\$D\checklst.obj \
180 ..\msw\$D\caret.obj \
181 ..\msw\$D\choice.obj \
182 ..\msw\$D\clipbrd.obj \
183 ..\msw\$D\colordlg.obj \
184 ..\msw\$D\colour.obj \
185 ..\msw\$D\combobox.obj \
186 ..\msw\$D\control.obj \
187 ..\msw\$D\curico.obj \
188 ..\msw\$D\cursor.obj \
191 ..\msw\$D\dcmemory.obj \
192 ..\msw\$D\dcclient.obj \
193 ..\msw\$D\dcprint.obj \
194 ..\msw\$D\dcscreen.obj \
196 ..\msw\$D\dialog.obj \
198 ..\msw\$D\dibutils.obj \
199 ..\msw\$D\dirdlg.obj \
200 ..\msw\$D\dragimag.obj \
201 ..\msw\$D\filedlg.obj \
203 ..\msw\$D\fontdlg.obj \
204 ..\msw\$D\frame.obj \
205 ..\msw\$D\gauge95.obj \
206 ..\msw\$D\gaugemsw.obj \
207 ..\msw\$D\gdiobj.obj \
208 ..\msw\$D\helpwin.obj \
210 ..\msw\$D\iniconf.obj \
211 ..\msw\$D\joystick.obj \
212 ..\msw\$D\imaglist.obj \
213 ..\msw\$D\listbox.obj \
214 ..\msw\$D\listctrl.obj \
218 ..\msw\$D\menuitem.obj \
219 ..\msw\$D\metafile.obj \
220 ..\msw\$D\minifram.obj \
221 ..\msw\$D\msgdlg.obj \
222 ..\msw\$D\nativdlg.obj \
223 ..\msw\$D\notebook.obj \
224 ..\msw\$D\ownerdrw.obj \
225 ..\msw\$D\palette.obj \
227 ..\msw\$D\penwin.obj \
228 ..\msw\$D\pnghand.obj \
229 ..\msw\$D\printdlg.obj \
230 ..\msw\$D\printwin.obj \
231 ..\msw\$D\radiobox.obj \
232 ..\msw\$D\radiobut.obj \
233 ..\msw\$D\region.obj \
234 ..\msw\$D\registry.obj \
235 ..\msw\$D\regconf.obj \
236 ..\msw\$D\scrolbar.obj \
237 ..\msw\$D\settings.obj \
238 ..\msw\$D\slidrmsw.obj \
239 ..\msw\$D\slider95.obj \
240 ..\msw\$D\spinbutt.obj \
241 ..\msw\$D\statbmp.obj \
242 ..\msw\$D\statbox.obj \
243 ..\msw\$D\statbr95.obj \
244 ..\msw\$D\stattext.obj \
245 ..\msw\$D\tabctrl.obj \
246 ..\msw\$D\taskbar.obj \
247 ..\msw\$D\tbar95.obj \
248 ..\msw\$D\tbarmsw.obj \
249 ..\msw\$D\textctrl.obj \
250 ..\msw\$D\thread.obj \
251 ..\msw\$D\timer.obj \
252 ..\msw\$D\tooltip.obj \
253 ..\msw\$D\treectrl.obj \
254 ..\msw\$D\utils.obj \
255 ..\msw\$D\utilsexc.obj \
256 ..\msw\ole\$D\uuid.obj \
258 ..\msw\$D\window.obj \
259 ..\msw\$D\xpmhand.obj \
260 ..\msw\ole\$D\dataobj.obj \
261 ..\msw\ole\$D\automtn.obj \
262 ..\msw\ole\$D\droptgt.obj \
263 ..\msw\ole\$D\dropsrc.obj \
264 ..\msw\ole\$D\oleutils.obj
266 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
267 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
269 # Normal, static library
270 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
272 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D
274 test: $(MSWDIR)\$D\wave.obj
275 test2: ..\common\Debug\config.obj
292 # wxWindows library as DLL
294 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
297 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
299 # wxWindows + app as DLL. Only affects main.cpp.
301 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
303 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
305 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
307 # Use this to make dummy.obj and generate a PCH.
308 # You might use the dll target, then the pch target, in order to
309 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
311 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
312 # are associated with wx.lib. When using a DLL version of wxWindows, however,
313 # the DLL is compiled without a PCH, so you only need it for compiling the app.
314 # In fact headers are compiled differently depending on whether a DLL is being made
315 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
316 # in each case) so you couldn't use the same PCH.
318 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
320 pch1: dirs $(DUMMYOBJ)
323 !if "$(WXMAKINGDLL)" != "1"
327 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
332 $(OBJECTS) $(PERIPH_LIBS)
337 ### Update the import library
339 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
343 $(DUMMYOBJ) $(OBJECTS)
344 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
347 # Update the dynamic link library
348 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
351 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
352 $(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
358 ########################################################
359 # Windows-specific objects
361 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
362 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
364 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
366 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
369 # If taking wxWindows from CVS, setup.h doesn't exist yet.
370 # Actually the 'if not exist setup.h' test doesn't work
371 # (copies the file anyway)
372 # we'll have to comment this rule out.
374 #$(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
375 # cd "$(WXDIR)"\include\wx\msw
376 # if not exist setup.h copy setup0.h setup.h
377 # cd "$(WXDIR)"\src\msw
379 ..\common\$D\extended.obj: ..\common\extended.c
381 $(CPPFLAGS2) /c $(COMMDIR)\extended.c /Fo$@
384 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
386 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
389 ..\common\y_tab.c: ..\common\dosyacc.c
390 copy "..\common"\dosyacc.c "..\common"\y_tab.c
392 ..\common\lex_yy.c: ..\common\doslex.c
393 copy "..\common"\doslex.c "..\common"\lex_yy.c
395 $(OBJECTS): $(WXDIR)/include/wx/setup.h
397 # Peripheral components
401 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
406 nmake -f makefile.vc clean
411 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
416 nmake -f makefile.vc clean
421 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
426 nmake -f makefile.vc clean
431 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
436 nmake -f makefile.vc clean
440 cd $(WXDIR)\utils\rcparser\src
441 nmake -f makefile.vc FINAL=$(FINAL)
444 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
446 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
447 -erase ..\..\lib\wx200.dll
448 -erase ..\..\lib\wx200.lib
449 -erase ..\..\lib\wx200.exp
450 -erase ..\..\lib\wx200.pdb
451 -erase ..\..\lib\wx200.ilk
454 -erase $(WXLIBNAME).pch
455 -erase $(GENDIR)\$D\*.obj
456 -erase $(GENDIR)\$D\*.pdb
457 -erase $(GENDIR)\$D\*.sbr
458 -erase $(COMMDIR)\$D\*.obj
459 -erase $(COMMDIR)\$D\*.pdb
460 -erase $(COMMDIR)\$D\*.sbr
461 -erase $(COMMDIR)\\y_tab.c
462 -erase $(COMMDIR)\lex_yy.c
463 -erase $(MSWDIR)\$D\*.obj
464 -erase $(MSWDIR)\$D\*.sbr
465 -erase $(MSWDIR)\$D\*.pdb
466 -erase $(OLEDIR)\$D\*.obj
467 -erase $(OLEDIR)\$D\*.sbr
468 -erase $(OLEDIR)\$D\*.pdb
471 -rmdir ..\generic\$(D)
472 -rmdir ..\common\$(D)
477 docs: allhlp allhtml allpdfrtf
479 hlp: wxhlp portinghlp
480 wxhlp: $(DOCDIR)/winhelp/wx.hlp
481 prophlp: $(DOCDIR)/winhelp/prop.hlp
482 refhlp: $(DOCDIR)/winhelp/techref.hlp
483 rtf: $(DOCDIR)/winhelp/wx.rtf
484 proprtf: $(DOCDIR)/winhelp/prop.rtf
485 pdfrtf: $(DOCDIR)/pdf/wx.rtf
486 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
487 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
488 html: wxhtml portinghtml
489 wxhtml: $(DOCDIR)\html\wx\wx.htm
490 htmlhelp: $(DOCDIR)\html\wx\wx.chm
491 prophtml: $(DOCDIR)\html\proplist\prop.htm
493 wxps: $(WXDIR)\docs\ps\wx.ps
494 propps: $(WXDIR)\docs\ps\prop.ps
495 referencps: $(WXDIR)\docs\ps\referenc.ps
497 portinghtml: $(DOCDIR)\html\porting\port.htm
498 portingrtf: $(DOCDIR)/winhelp/porting.rtf
499 portinghlp: $(DOCDIR)/winhelp/porting.hlp
500 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
501 portingps: $(WXDIR)\docs\ps\porting.ps
503 allhlp: wxhlp portinghlp prophlp
504 cd $(WXDIR)\utils\dialoged\src
505 nmake -f makefile.vc hlp
508 # cd $(WXDIR)\utils\wxhelp\src
509 # nmake -f makefile.vc hlp
510 # cd $(WXDIR)\utils\tex2rtf\src
511 # nmake -f makefile.vc hlp
512 # cd $(WXDIR)\utils\wxgraph\src
513 # nmake -f makefile.vc hlp
514 # cd $(WXDIR)\utils\wxchart\src
515 # nmake -f makefile.vc hlp
516 # cd $(WXDIR)\utils\wxtree\src
517 # nmake -f makefile.vc hlp
518 # cd $(WXDIR)\utils\wxbuild\src
519 # nmake -f makefile.vc hlp
520 # cd $(WXDIR)\utils\wxgrid\src
521 # nmake -f makefile.vc hlp
523 allhtml: wxhtml portinghtml prophtml
524 cd $(WXDIR)\utils\dialoged\src
525 nmake -f makefile.vc html
528 # nmake -f makefile.vc html
529 # cd $(WXDIR)\utils\dialoged\src
530 # nmake -f makefile.vc html
531 # cd $(WXDIR)\utils\hytext\src
532 # nmake -f makefile.vc html
533 # cd $(WXDIR)\utils\wxhelp\src
534 # nmake -f makefile.vc html
535 # cd $(WXDIR)\utils\tex2rtf\src
536 # nmake -f makefile.vc html
537 # cd $(WXDIR)\utils\wxgraph\src
538 # nmake -f makefile.vc html
539 # cd $(WXDIR)\utils\wxchart\src
540 # nmake -f makefile.vc html
541 # cd $(WXDIR)\utils\wxtree\src
542 # nmake -f makefile.vc html
544 allps: wxps referencps portingps propps
545 cd $(WXDIR)\utils\dialoged\src
546 nmake -f makefile.vc ps
549 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
550 cd $(WXDIR)\utils\dialoged\src
551 nmake -f makefile.vc pdfrtf
554 # cd $(WXDIR)\utils\wxhelp\src
555 # nmake -f makefile.vc ps
556 # cd $(WXDIR)\utils\tex2rtf\src
557 # nmake -f makefile.vc ps
558 # cd $(WXDIR)\utils\wxgraph\src
559 # nmake -f makefile.vc ps
560 # cd $(WXDIR)\utils\wxchart\src
561 # nmake -f makefile.vc ps
562 # cd $(WXDIR)\utils\wxtree\src
563 # nmake -f makefile.vc ps
566 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
567 cd $(DOCDIR)/latex/wx
570 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
571 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
574 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
575 cd $(DOCDIR)/latex/porting
578 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
579 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
582 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
583 cd $(DOCDIR)/latex/proplist
586 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
587 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
590 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
591 cd $(DOCDIR)/latex/techref
594 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
595 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
598 $(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
599 cd $(DOCDIR)\latex\wx
600 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
603 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
604 cd $(DOCDIR)\latex\porting
605 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
608 $(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
609 cd $(DOCDIR)\latex\proplist
610 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
613 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
614 cd $(DOCDIR)\latex\techref
615 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
618 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
619 cd $(DOCDIR)\latex\wx
620 -copy *.bmp *.wmf $(DOCDIR)\pdf
621 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
624 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
625 cd $(DOCDIR)\latex\porting
626 -copy *.bmp *.wmf $(DOCDIR)\pdf
627 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
630 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
631 cd $(DOCDIR)\latex\proplist
632 -copy *.bmp *.wmf $(DOCDIR)\pdf
633 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
636 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
637 cd $(DOCDIR)\latex\techref
638 -copy *.bmp *.wmf $(DOCDIR)\pdf
639 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
642 $(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
643 cd $(DOCDIR)\latex\wx
644 -mkdir $(DOCDIR)\html\wx
645 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
646 -erase $(DOCDIR)\html\wx\*.con
647 -erase $(DOCDIR)\html\wx\*.ref
648 -erase $(DOCDIR)\latex\wx\*.con
649 -erase $(DOCDIR)\latex\wx\*.ref
652 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
658 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
659 cd $(DOCDIR)\latex\porting
660 -mkdir $(DOCDIR)\html\porting
661 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
662 -erase $(DOCDIR)\html\porting\*.con
663 -erase $(DOCDIR)\html\porting\*.ref
664 -erase $(DOCDIR)\latex\porting\*.con
665 -erase $(DOCDIR)\latex\porting\*.ref
668 $(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
669 cd $(DOCDIR)\latex\proplist
670 -mkdir $(DOCDIR)\html\proplist
671 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
672 -erase $(DOCDIR)\html\proplist\*.con
673 -erase $(DOCDIR)\html\proplist\*.ref
674 -erase $(DOCDIR)\latex\proplist\*.con
675 -erase $(DOCDIR)\latex\proplist\*.ref
678 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
679 cd $(WXDIR)\docs\latex\wx
688 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
689 cd $(WXDIR)\docs\latex\porting
698 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
699 cd $(WXDIR)\docs\latex\wx
700 -dvips32 -o wx.ps manual
701 move wx.ps $(WXDIR)\docs\ps\wx.ps
704 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
705 cd $(WXDIR)\docs\latex\porting
706 -dvips32 -o porting.ps porting
707 move porting.ps $(WXDIR)\docs\ps\porting.ps
710 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
711 cd $(WXDIR)\docs\latex\wx
720 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
721 cd $(WXDIR)\docs\latex\wx
722 -dvips32 -o referenc.ps referenc
723 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
726 # In order to force document reprocessing
728 -touch $(WXDIR)\docs\latex\wx\manual.tex
730 updatedocs: touchmanual alldocs
732 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
733 # Office StartUp folder, and PDFMaker should be installed.
734 updatepdf: # touchmanual pdfrtf
735 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"