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\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\imagjpeg.obj \
116 ..\common\$D\imagpng.obj \
117 ..\common\$D\intl.obj \
118 ..\common\$D\ipcbase.obj \
119 ..\common\$D\helpbase.obj \
120 ..\common\$D\layout.obj \
121 ..\common\$D\log.obj \
122 ..\common\$D\memory.obj \
123 ..\common\$D\mimetype.obj \
124 ..\common\$D\module.obj \
125 ..\common\$D\odbc.obj \
126 ..\common\$D\object.obj \
127 ..\common\$D\prntbase.obj \
128 ..\common\$D\resource.obj \
129 ..\common\$D\tbarbase.obj \
130 ..\common\$D\tbarsmpl.obj \
131 ..\common\$D\textfile.obj \
132 ..\common\$D\timercmn.obj \
133 ..\common\$D\utilscmn.obj \
134 ..\common\$D\validate.obj \
135 ..\common\$D\valgen.obj \
136 ..\common\$D\valtext.obj \
137 ..\common\$D\date.obj \
138 ..\common\$D\hash.obj \
139 ..\common\$D\list.obj \
140 ..\common\$D\paper.obj \
141 ..\common\$D\string.obj \
142 ..\common\$D\socket.obj \
143 ..\common\$D\sckaddr.obj \
144 ..\common\$D\sckfile.obj \
145 ..\common\$D\sckipc.obj \
146 ..\common\$D\sckstrm.obj \
147 ..\common\$D\url.obj \
148 ..\common\$D\http.obj \
149 ..\common\$D\protocol.obj \
150 ..\common\$D\time.obj \
151 ..\common\$D\tokenzr.obj \
152 ..\common\$D\wxexpr.obj \
153 ..\common\$D\y_tab.obj \
154 ..\common\$D\extended.obj \
155 ..\common\$D\process.obj \
156 ..\common\$D\wfstream.obj \
157 ..\common\$D\mstream.obj \
158 ..\common\$D\zstream.obj \
159 ..\common\$D\stream.obj \
160 ..\common\$D\datstrm.obj \
161 ..\common\$D\objstrm.obj \
162 ..\common\$D\variant.obj \
163 ..\common\$D\wincmn.obj
166 ..\msw\$D\accel.obj \
168 ..\msw\$D\bitmap.obj \
169 ..\msw\$D\bmpbuttn.obj \
170 ..\msw\$D\brush.obj \
171 ..\msw\$D\button.obj \
172 ..\msw\$D\checkbox.obj \
173 ..\msw\$D\checklst.obj \
174 ..\msw\$D\choice.obj \
175 ..\msw\$D\clipbrd.obj \
176 ..\msw\$D\colordlg.obj \
177 ..\msw\$D\colour.obj \
178 ..\msw\$D\combobox.obj \
179 ..\msw\$D\control.obj \
180 ..\msw\$D\curico.obj \
181 ..\msw\$D\cursor.obj \
184 ..\msw\$D\dcmemory.obj \
185 ..\msw\$D\dcclient.obj \
186 ..\msw\$D\dcprint.obj \
187 ..\msw\$D\dcscreen.obj \
189 ..\msw\$D\dialog.obj \
191 ..\msw\$D\dibutils.obj \
192 ..\msw\$D\dirdlg.obj \
193 ..\msw\$D\filedlg.obj \
195 ..\msw\$D\fontdlg.obj \
196 ..\msw\$D\frame.obj \
197 ..\msw\$D\gauge95.obj \
198 ..\msw\$D\gaugemsw.obj \
199 ..\msw\$D\gdiobj.obj \
200 ..\msw\$D\helpwin.obj \
202 ..\msw\$D\iniconf.obj \
203 ..\msw\$D\joystick.obj \
204 ..\msw\$D\imaglist.obj \
205 ..\msw\$D\listbox.obj \
206 ..\msw\$D\listctrl.obj \
210 ..\msw\$D\menuitem.obj \
211 ..\msw\$D\metafile.obj \
212 ..\msw\$D\minifram.obj \
213 ..\msw\$D\msgdlg.obj \
214 ..\msw\$D\nativdlg.obj \
215 ..\msw\$D\notebook.obj \
216 ..\msw\$D\ownerdrw.obj \
217 ..\msw\$D\palette.obj \
219 ..\msw\$D\penwin.obj \
220 ..\msw\$D\pnghand.obj \
221 ..\msw\$D\printdlg.obj \
222 ..\msw\$D\printwin.obj \
223 ..\msw\$D\radiobox.obj \
224 ..\msw\$D\radiobut.obj \
225 ..\msw\$D\region.obj \
226 ..\msw\$D\registry.obj \
227 ..\msw\$D\regconf.obj \
228 ..\msw\$D\scrolbar.obj \
229 ..\msw\$D\settings.obj \
230 ..\msw\$D\slidrmsw.obj \
231 ..\msw\$D\slider95.obj \
232 ..\msw\$D\spinbutt.obj \
233 ..\msw\$D\statbmp.obj \
234 ..\msw\$D\statbox.obj \
235 ..\msw\$D\statbr95.obj \
236 ..\msw\$D\stattext.obj \
237 ..\msw\$D\tabctrl.obj \
238 ..\msw\$D\taskbar.obj \
239 ..\msw\$D\tbar95.obj \
240 ..\msw\$D\tbarmsw.obj \
241 ..\msw\$D\textctrl.obj \
242 ..\msw\$D\thread.obj \
243 ..\msw\$D\timer.obj \
244 ..\msw\$D\tooltip.obj \
245 ..\msw\$D\treectrl.obj \
246 ..\msw\$D\utils.obj \
247 ..\msw\$D\utilsexc.obj \
248 ..\msw\ole\$D\uuid.obj \
250 ..\msw\$D\window.obj \
251 ..\msw\$D\xpmhand.obj \
252 ..\msw\ole\$D\dataobj.obj \
253 ..\msw\ole\$D\automtn.obj \
254 ..\msw\ole\$D\droptgt.obj \
255 ..\msw\ole\$D\dropsrc.obj \
256 ..\msw\ole\$D\oleutils.obj
258 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
259 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
261 # Normal, static library
262 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm $(LIBTARGET)
264 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D
266 test: $(MSWDIR)\$D\wave.obj
267 test2: ..\common\Debug\config.obj
284 # wxWindows library as DLL
286 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
289 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
291 # wxWindows + app as DLL. Only affects main.cpp.
293 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
295 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
297 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
299 # Use this to make dummy.obj and generate a PCH.
300 # You might use the dll target, then the pch target, in order to
301 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
303 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
304 # are associated with wx.lib. When using a DLL version of wxWindows, however,
305 # the DLL is compiled without a PCH, so you only need it for compiling the app.
306 # In fact headers are compiled differently depending on whether a DLL is being made
307 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
308 # in each case) so you couldn't use the same PCH.
310 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL)
312 pch1: dirs $(DUMMYOBJ)
315 !if "$(WXMAKINGDLL)" != "1"
319 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
324 $(OBJECTS) $(PERIPH_LIBS)
329 ### Update the import library
331 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
335 $(DUMMYOBJ) $(OBJECTS)
336 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
339 # Update the dynamic link library
340 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
343 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
344 $(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
350 ########################################################
351 # Windows-specific objects
353 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
354 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
356 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
358 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
361 # If taking wxWindows from CVS, setup.h doesn't exist yet.
362 # Actually the 'if not exist setup.h' test doesn't work
363 # (copies the file anyway)
364 # we'll have to comment this rule out.
366 #$(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
367 # cd "$(WXDIR)"\include\wx\msw
368 # if not exist setup.h copy setup0.h setup.h
369 # cd "$(WXDIR)"\src\msw
371 ..\common\$D\extended.obj: ..\common\extended.c
373 $(CPPFLAGS2) /c $(COMMDIR)\extended.c /Fo$@
376 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
378 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
381 ..\common\y_tab.c: ..\common\dosyacc.c
382 copy "..\common"\dosyacc.c "..\common"\y_tab.c
384 ..\common\lex_yy.c: ..\common\doslex.c
385 copy "..\common"\doslex.c "..\common"\lex_yy.c
387 $(OBJECTS): $(WXDIR)/include/wx/setup.h
389 # Peripheral components
393 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
398 nmake -f makefile.vc clean
403 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
408 nmake -f makefile.vc clean
413 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
418 nmake -f makefile.vc clean
422 cd $(WXDIR)\utils\rcparser\src
423 nmake -f makefile.vc FINAL=$(FINAL)
426 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_xpm
428 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
429 -erase ..\..\lib\wx200.dll
430 -erase ..\..\lib\wx200.lib
431 -erase ..\..\lib\wx200.exp
432 -erase ..\..\lib\wx200.pdb
433 -erase ..\..\lib\wx200.ilk
436 -erase $(WXLIBNAME).pch
437 -erase $(GENDIR)\$D\*.obj
438 -erase $(GENDIR)\$D\*.pdb
439 -erase $(GENDIR)\$D\*.sbr
440 -erase $(COMMDIR)\$D\*.obj
441 -erase $(COMMDIR)\$D\*.pdb
442 -erase $(COMMDIR)\$D\*.sbr
443 -erase $(COMMDIR)\\y_tab.c
444 -erase $(COMMDIR)\lex_yy.c
445 -erase $(MSWDIR)\$D\*.obj
446 -erase $(MSWDIR)\$D\*.sbr
447 -erase $(MSWDIR)\$D\*.pdb
448 -erase $(OLEDIR)\$D\*.obj
449 -erase $(OLEDIR)\$D\*.sbr
450 -erase $(OLEDIR)\$D\*.pdb
453 -rmdir ..\generic\$(D)
454 -rmdir ..\common\$(D)
459 docs: allhlp allhtml allpdfrtf
461 hlp: wxhlp portinghlp
462 wxhlp: $(DOCDIR)/winhelp/wx.hlp
463 prophlp: $(DOCDIR)/winhelp/prop.hlp
464 refhlp: $(DOCDIR)/winhelp/techref.hlp
465 rtf: $(DOCDIR)/winhelp/wx.rtf
466 proprtf: $(DOCDIR)/winhelp/prop.rtf
467 pdfrtf: $(DOCDIR)/pdf/wx.rtf
468 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
469 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
470 html: wxhtml portinghtml
471 wxhtml: $(DOCDIR)\html\wx\wx.htm
472 prophtml: $(DOCDIR)\html\proplist\prop.htm
474 wxps: $(WXDIR)\docs\ps\wx.ps
475 propps: $(WXDIR)\docs\ps\prop.ps
476 referencps: $(WXDIR)\docs\ps\referenc.ps
478 portinghtml: $(DOCDIR)\html\porting\port.htm
479 portingrtf: $(DOCDIR)/winhelp/porting.rtf
480 portinghlp: $(DOCDIR)/winhelp/porting.hlp
481 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
482 portingps: $(WXDIR)\docs\ps\porting.ps
484 allhlp: wxhlp portinghlp prophlp
485 cd $(WXDIR)\utils\dialoged\src
486 nmake -f makefile.vc hlp
489 # cd $(WXDIR)\utils\wxhelp\src
490 # nmake -f makefile.vc hlp
491 # cd $(WXDIR)\utils\tex2rtf\src
492 # nmake -f makefile.vc hlp
493 # cd $(WXDIR)\utils\wxgraph\src
494 # nmake -f makefile.vc hlp
495 # cd $(WXDIR)\utils\wxchart\src
496 # nmake -f makefile.vc hlp
497 # cd $(WXDIR)\utils\wxtree\src
498 # nmake -f makefile.vc hlp
499 # cd $(WXDIR)\utils\wxbuild\src
500 # nmake -f makefile.vc hlp
501 # cd $(WXDIR)\utils\wxgrid\src
502 # nmake -f makefile.vc hlp
504 allhtml: wxhtml portinghtml prophtml
505 cd $(WXDIR)\utils\dialoged\src
506 nmake -f makefile.vc html
509 # nmake -f makefile.vc html
510 # cd $(WXDIR)\utils\dialoged\src
511 # nmake -f makefile.vc html
512 # cd $(WXDIR)\utils\hytext\src
513 # nmake -f makefile.vc html
514 # cd $(WXDIR)\utils\wxhelp\src
515 # nmake -f makefile.vc html
516 # cd $(WXDIR)\utils\tex2rtf\src
517 # nmake -f makefile.vc html
518 # cd $(WXDIR)\utils\wxgraph\src
519 # nmake -f makefile.vc html
520 # cd $(WXDIR)\utils\wxchart\src
521 # nmake -f makefile.vc html
522 # cd $(WXDIR)\utils\wxtree\src
523 # nmake -f makefile.vc html
525 allps: wxps referencps portingps propps
526 cd $(WXDIR)\utils\dialoged\src
527 nmake -f makefile.vc ps
530 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
531 cd $(WXDIR)\utils\dialoged\src
532 nmake -f makefile.vc pdfrtf
535 # cd $(WXDIR)\utils\wxhelp\src
536 # nmake -f makefile.vc ps
537 # cd $(WXDIR)\utils\tex2rtf\src
538 # nmake -f makefile.vc ps
539 # cd $(WXDIR)\utils\wxgraph\src
540 # nmake -f makefile.vc ps
541 # cd $(WXDIR)\utils\wxchart\src
542 # nmake -f makefile.vc ps
543 # cd $(WXDIR)\utils\wxtree\src
544 # nmake -f makefile.vc ps
547 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
548 cd $(DOCDIR)/latex/wx
551 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
552 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
555 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
556 cd $(DOCDIR)/latex/porting
559 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
560 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
563 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
564 cd $(DOCDIR)/latex/proplist
567 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
568 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
571 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
572 cd $(DOCDIR)/latex/techref
575 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
576 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
579 $(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
580 cd $(DOCDIR)\latex\wx
581 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
584 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
585 cd $(DOCDIR)\latex\porting
586 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
589 $(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
590 cd $(DOCDIR)\latex\proplist
591 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
594 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
595 cd $(DOCDIR)\latex\techref
596 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
599 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
600 cd $(DOCDIR)\latex\wx
601 -copy *.bmp *.wmf $(DOCDIR)\pdf
602 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
605 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
606 cd $(DOCDIR)\latex\porting
607 -copy *.bmp *.wmf $(DOCDIR)\pdf
608 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
611 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
612 cd $(DOCDIR)\latex\proplist
613 -copy *.bmp *.wmf $(DOCDIR)\pdf
614 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
617 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
618 cd $(DOCDIR)\latex\techref
619 -copy *.bmp *.wmf $(DOCDIR)\pdf
620 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
623 $(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
624 cd $(DOCDIR)\latex\wx
625 -mkdir $(DOCDIR)\html\wx
626 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
627 -erase $(DOCDIR)\html\wx\*.con
628 -erase $(DOCDIR)\html\wx\*.ref
629 -erase $(DOCDIR)\latex\wx\*.con
630 -erase $(DOCDIR)\latex\wx\*.ref
633 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
634 cd $(DOCDIR)\latex\porting
635 -mkdir $(DOCDIR)\html\porting
636 -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
637 -erase $(DOCDIR)\html\porting\*.con
638 -erase $(DOCDIR)\html\porting\*.ref
639 -erase $(DOCDIR)\latex\porting\*.con
640 -erase $(DOCDIR)\latex\porting\*.ref
643 $(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
644 cd $(DOCDIR)\latex\proplist
645 -mkdir $(DOCDIR)\html\proplist
646 -start /w tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
647 -erase $(DOCDIR)\html\proplist\*.con
648 -erase $(DOCDIR)\html\proplist\*.ref
649 -erase $(DOCDIR)\latex\proplist\*.con
650 -erase $(DOCDIR)\latex\proplist\*.ref
653 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
654 cd $(WXDIR)\docs\latex\wx
663 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
664 cd $(WXDIR)\docs\latex\porting
673 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
674 cd $(WXDIR)\docs\latex\wx
675 -dvips32 -o wx.ps manual
676 move wx.ps $(WXDIR)\docs\ps\wx.ps
679 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
680 cd $(WXDIR)\docs\latex\porting
681 -dvips32 -o porting.ps porting
682 move porting.ps $(WXDIR)\docs\ps\porting.ps
685 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
686 cd $(WXDIR)\docs\latex\wx
695 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
696 cd $(WXDIR)\docs\latex\wx
697 -dvips32 -o referenc.ps referenc
698 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
701 # In order to force document reprocessing
703 -touch $(WXDIR)\docs\latex\wx\manual.tex
705 updatedocs: touchmanual alldocs
707 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
708 # Office StartUp folder, and PDFMaker should be installed.
709 updatepdf: # touchmanual pdfrtf
710 start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"