]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/vc.t
added wxHTML
[wxWidgets.git] / distrib / msw / tmake / vc.t
CommitLineData
f2071dda
VZ
1#!#############################################################################
2#! File: vc.t
3#! Purpose: tmake template file from which makefile.vc is generated by running
4#! tmake -t vc wxwin.pro -o makefile.vc
5#! Author: Vadim Zeitlin
6#! Created: 14.07.99
7#! Version: $Id$
8#!#############################################################################
f2071dda
VZ
9#${
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric and %wxMSW hashes.
12 IncludeTemplate("filelist.t");
13
14 #! now transform these hashes into $project tags
15 foreach $file (sort keys %wxGeneric) {
16 my $tag = "";
17 if ( $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/ ) {
18 $tag = "WXNONESSENTIALOBJS";
19 }
20 else {
21 $tag = "WXGENERICOBJS";
22 }
23
24 $file =~ s/cp?p?$/obj/;
25 $project{$tag} .= "..\\generic\\\$D\\" . $file . " "
26 }
27
28 foreach $file (sort keys %wxCommon) {
29 next if $wxCommon{$file} =~ /\b16\b/;
30
31 $file =~ s/cp?p?$/obj/;
32 $project{"WXCOMMONOBJS"} .= "..\\common\\\$D\\" . $file . " "
33 }
34
35 foreach $file (sort keys %wxMSW) {
36 next if $wxMSW{$file} =~ /\b16\b/;
37
6a008b33
VZ
38 #! OLE files live in a subdir
39 $project{"WXMSWOBJS"} .= '..\msw\\';
40 $project{"WXMSWOBJS"} .= 'ole\\' if $wxMSW{$file} =~ /\bO\b/;
f2071dda 41 $file =~ s/cp?p?$/obj/;
6a008b33 42 $project{"WXMSWOBJS"} .= '$D\\' . $file . " ";
f2071dda
VZ
43 }
44#$}
f2071dda
VZ
45# This file was automatically generated by tmake at #$ Now()
46# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
47
48# File: makefile.vc
49# Author: Julian Smart
50# Created: 1997
51# Updated:
52# Copyright: (c) 1997, Julian Smart
53#
54# "%W% %G%"
55#
56# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
57# Arguments:
58#
59# FINAL=1 argument to nmake to build version with no debugging info.
60# dll builds a library (wxdll.lib) suitable for creating DLLs
61#
62!include <..\makevc.env>
63
64THISDIR=$(WXWIN)\src\msw
65
66!if "$(WXMAKINGDLL)" == "1"
67LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
68DUMMYOBJ=$D\dummydll.obj
69!else
70LIBTARGET=$(WXLIB)
71DUMMYOBJ=$D\dummy.obj
72!endif
73
74# Please set these according to the settings in setup.h, so we can include
75# the appropriate libraries in wx.lib
76
77# This one overrides the others, to be consistent with the settings in setup.h
78MINIMAL_WXWINDOWS_SETUP=0
79
80PERIPH_LIBS=
81PERIPH_TARGET=
82PERIPH_CLEAN_TARGET=
83
84# These are absolute paths, so that the compiler
85# generates correct __FILE__ symbols for debugging.
86# Otherwise you don't be able to double-click on a memory
87# error to load that file.
88GENDIR=$(WXDIR)\src\generic
89COMMDIR=$(WXDIR)\src\common
90OLEDIR=ole
91MSWDIR=$(WXDIR)\src\msw
92DOCDIR = $(WXDIR)\docs
93HTMLDIR = $(WXDIR)\src\html
94
95{..\generic}.cpp{..\generic\$D}.obj:
96 cl @<<
97$(CPPFLAGS) /Fo$@ /c /Tp $<
98<<
99
100{..\common}.cpp{..\common\$D}.obj:
101 cl @<<
102$(CPPFLAGS) /Fo$@ /c /Tp $<
103<<
104
9b73db3c
VZ
105{..\common}.c{..\common\$D}.obj:
106 cl @<<
cc9efb9b 107$(CPPFLAGS2) /Fo$@ /c /Tc $<
9b73db3c
VZ
108<<
109
f2071dda
VZ
110{..\msw}.cpp{..\msw\$D}.obj:
111 cl @<<
112$(CPPFLAGS) /Fo$@ /c /Tp $<
113<<
114
e6a5dc94
RD
115{..\msw}.c{..\msw\$D}.obj:
116 cl @<<
117$(CPPFLAGS2) /Fo$@ /c /Tc $<
118<<
119
f2071dda
VZ
120{..\msw\ole}.cpp{..\msw\ole\$D}.obj:
121 cl @<<
122$(CPPFLAGS) /Fo$@ /c /Tp $<
123<<
124
125{..\html}.cpp{..\html\$D}.obj:
126 cl @<<
127$(CPPFLAGS) /Fo$@ /c /Tp $<
128<<
129
130GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
131
132# These are generic things that don't need to be compiled on MSW,
133# but sometimes it's useful to do so for testing purposes.
134NONESSENTIALOBJS= #$ ExpandList("WXNONESSENTIALOBJS");
135
136COMMONOBJS = \
137 ..\common\$D\y_tab.obj \
138 #$ ExpandList("WXCOMMONOBJS");
139
140MSWOBJS = #$ ExpandList("WXMSWOBJS");
141
142HTMLOBJS = \
8ec2b484
HH
143 ..\html\$D\helpdata.obj \
144 ..\html\$D\helpfrm.obj \
145 ..\html\$D\helpctrl.obj \
f2071dda
VZ
146 ..\html\$D\htmlcell.obj \
147 ..\html\$D\htmlfilter.obj \
f2071dda
VZ
148 ..\html\$D\htmlparser.obj \
149 ..\html\$D\htmltag.obj \
150 ..\html\$D\htmlwin.obj \
151 ..\html\$D\htmlwinparser.obj \
152 ..\html\$D\mod_fonts.obj \
153 ..\html\$D\mod_hline.obj \
154 ..\html\$D\mod_image.obj \
155 ..\html\$D\mod_layout.obj \
156 ..\html\$D\mod_links.obj \
157 ..\html\$D\mod_list.obj \
158 ..\html\$D\mod_pre.obj \
159 ..\html\$D\mod_tables.obj \
160 ..\html\$D\search.obj
161
162# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
163# Add $(HTMLOBJS) if wanting wxHTML classes
e6a5dc94 164OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
f2071dda
VZ
165
166# Normal, static library
167all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
168
169dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
170
171
172test: $(MSWDIR)\$D\wave.obj
173test2: ..\common\Debug\config.obj
174
175$D:
176 mkdir $D
177
178$(COMMDIR)\$D:
179 mkdir $(COMMDIR)\$D
180
181$(MSWDIR)\$D:
182 mkdir $(MSWDIR)\$D
183
184$(GENDIR)\$D:
185 mkdir $(GENDIR)\$D
186
187$(OLEDIR)\$D:
188 mkdir $(OLEDIR)\$D
189
190$(HTMLDIR)\$D:
191 mkdir $(HTMLDIR)\$D
192
193# wxWindows library as DLL
194dll:
195 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
196
197cleandll:
198 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
199
200# wxWindows + app as DLL. Only affects main.cpp.
201dllapp:
202 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
203
204# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
205dllnp:
206 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
207
208# Use this to make dummy.obj and generate a PCH.
209# You might use the dll target, then the pch target, in order to
210# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
211#
212# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
213# are associated with wx.lib. When using a DLL version of wxWindows, however,
214# the DLL is compiled without a PCH, so you only need it for compiling the app.
215# In fact headers are compiled differently depending on whether a DLL is being made
216# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
217# in each case) so you couldn't use the same PCH.
218pch:
219 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
220
221pch1: dirs $(DUMMYOBJ)
222 echo $(DUMMYOBJ)
223
224!if "$(WXMAKINGDLL)" != "1"
225
226### Static library
227
228$(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
229 -erase $(LIBTARGET)
230 $(implib) @<<
231-out:$@
232-machine:$(CPU)
233$(OBJECTS) $(PERIPH_LIBS)
234<<
235
236!else
237
238### Update the import library
239
240$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
241 $(implib) @<<
242 -machine:$(CPU)
243 -def:wx.def
244 $(DUMMYOBJ) $(OBJECTS)
245 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
246<<
247
248# Update the dynamic link library
a9221a95 249$(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
f2071dda
VZ
250 $(link) @<<
251 $(LINKFLAGS)
252 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
253 $(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
254<<
255
256!endif
257
258
259########################################################
260# Windows-specific objects
261
262$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
263 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
264
265$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
266 cl @<<
267$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
268<<
269
270# If taking wxWindows from CVS, setup.h doesn't exist yet.
271# Actually the 'if not exist setup.h' test doesn't work
272# (copies the file anyway)
273# we'll have to comment this rule out.
274
275# $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
276# cd "$(WXDIR)"\include\wx\msw
277# if not exist setup.h copy setup0.h setup.h
278# cd "$(WXDIR)"\src\msw
279
280..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
281 cl @<<
282$(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
283<<
284
285..\common\y_tab.c: ..\common\dosyacc.c
286 copy "..\common"\dosyacc.c "..\common"\y_tab.c
287
288..\common\lex_yy.c: ..\common\doslex.c
289 copy "..\common"\doslex.c "..\common"\lex_yy.c
290
291$(OBJECTS): $(WXDIR)/include/wx/setup.h
292
293..\common\$D\unzip.obj: ..\common\unzip.c
294 cl @<<
295$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
296<<
297
298# Peripheral components
299
300png:
301 cd $(WXDIR)\src\png
302 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
303 cd $(WXDIR)\src\msw
304
305clean_png:
306 cd $(WXDIR)\src\png
307 nmake -f makefile.vc clean
308 cd $(WXDIR)\src\msw
309
310zlib:
311 cd $(WXDIR)\src\zlib
312 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
313 cd $(WXDIR)\src\msw
314
315clean_zlib:
316 cd $(WXDIR)\src\zlib
317 nmake -f makefile.vc clean
318 cd $(WXDIR)\src\msw
319
320jpeg:
321 cd $(WXDIR)\src\jpeg
322 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
323 cd $(WXDIR)\src\msw
324
325clean_jpeg:
326 cd $(WXDIR)\src\jpeg
327 nmake -f makefile.vc clean
328 cd $(WXDIR)\src\msw
329
330xpm:
331 cd $(WXDIR)\src\xpm
332 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
333 cd $(WXDIR)\src\msw
334
335clean_xpm:
336 cd $(WXDIR)\src\xpm
337 nmake -f makefile.vc clean
338 cd $(WXDIR)\src\msw
339
340rcparser:
341 cd $(WXDIR)\utils\rcparser\src
342 nmake -f makefile.vc FINAL=$(FINAL)
343 cd $(WXDIR)\src\msw
344
345clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
346 -erase $(LIBTARGET)
347 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
ccf0b1d7
RD
348 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
349 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
350 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
351 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
352 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
f2071dda
VZ
353 -erase *.pdb
354 -erase *.sbr
355 -erase $(WXLIBNAME).pch
356 -erase $(GENDIR)\$D\*.obj
357 -erase $(GENDIR)\$D\*.pdb
358 -erase $(GENDIR)\$D\*.sbr
359 -erase $(COMMDIR)\$D\*.obj
360 -erase $(COMMDIR)\$D\*.pdb
361 -erase $(COMMDIR)\$D\*.sbr
362 -erase $(COMMDIR)\\y_tab.c
363 -erase $(COMMDIR)\lex_yy.c
364 -erase $(MSWDIR)\$D\*.obj
365 -erase $(MSWDIR)\$D\*.sbr
366 -erase $(MSWDIR)\$D\*.pdb
367 -erase $(OLEDIR)\$D\*.obj
368 -erase $(OLEDIR)\$D\*.sbr
369 -erase $(OLEDIR)\$D\*.pdb
d66d9d5b
JS
370 -erase $(HTMLDIR)\$D\*.obj
371 -erase $(HTMLDIR)\$D\*.sbr
372 -erase $(HTMLDIR)\$D\*.pdb
f2071dda
VZ
373 -rmdir $(D)
374 -rmdir ole\$(D)
375 -rmdir ..\generic\$(D)
376 -rmdir ..\common\$(D)
d66d9d5b 377 -rmdir ..\html\$(D)
f2071dda
VZ
378
379cleanall: clean
380
381# Making documents
382docs: allhlp allhtml allpdfrtf
383alldocs: docs
384hlp: wxhlp portinghlp
385wxhlp: $(DOCDIR)/winhelp/wx.hlp
386prophlp: $(DOCDIR)/winhelp/prop.hlp
387refhlp: $(DOCDIR)/winhelp/techref.hlp
388rtf: $(DOCDIR)/winhelp/wx.rtf
389proprtf: $(DOCDIR)/winhelp/prop.rtf
390pdfrtf: $(DOCDIR)/pdf/wx.rtf
391proppdfrtf: $(DOCDIR)/pdf/prop.rtf
392refpdfrtf: $(DOCDIR)/pdf/techref.rtf
393html: wxhtml portinghtml
394wxhtml: $(DOCDIR)\html\wx\wx.htm
395htmlhelp: $(DOCDIR)\html\wx\wx.chm
396prophtml: $(DOCDIR)\html\proplist\prop.htm
397ps: wxps referencps
398wxps: $(WXDIR)\docs\ps\wx.ps
399propps: $(WXDIR)\docs\ps\prop.ps
400referencps: $(WXDIR)\docs\ps\referenc.ps
401
402portinghtml: $(DOCDIR)\html\porting\port.htm
403portingrtf: $(DOCDIR)/winhelp/porting.rtf
404portinghlp: $(DOCDIR)/winhelp/porting.hlp
405portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
406portingps: $(WXDIR)\docs\ps\porting.ps
407
408allhlp: wxhlp portinghlp prophlp
409 cd $(WXDIR)\utils\dialoged\src
410 nmake -f makefile.vc hlp
411 cd $(THISDIR)
412
413# cd $(WXDIR)\utils\wxhelp\src
414# nmake -f makefile.vc hlp
415# cd $(WXDIR)\utils\tex2rtf\src
416# nmake -f makefile.vc hlp
417# cd $(WXDIR)\utils\wxgraph\src
418# nmake -f makefile.vc hlp
419# cd $(WXDIR)\utils\wxchart\src
420# nmake -f makefile.vc hlp
421# cd $(WXDIR)\utils\wxtree\src
422# nmake -f makefile.vc hlp
423# cd $(WXDIR)\utils\wxbuild\src
424# nmake -f makefile.vc hlp
425# cd $(WXDIR)\utils\wxgrid\src
426# nmake -f makefile.vc hlp
427
428allhtml: wxhtml portinghtml prophtml
429 cd $(WXDIR)\utils\dialoged\src
430 nmake -f makefile.vc html
431 cd $(THISDIR)
432
433# nmake -f makefile.vc html
434# cd $(WXDIR)\utils\dialoged\src
435# nmake -f makefile.vc html
436# cd $(WXDIR)\utils\hytext\src
437# nmake -f makefile.vc html
438# cd $(WXDIR)\utils\wxhelp\src
439# nmake -f makefile.vc html
440# cd $(WXDIR)\utils\tex2rtf\src
441# nmake -f makefile.vc html
442# cd $(WXDIR)\utils\wxgraph\src
443# nmake -f makefile.vc html
444# cd $(WXDIR)\utils\wxchart\src
445# nmake -f makefile.vc html
446# cd $(WXDIR)\utils\wxtree\src
447# nmake -f makefile.vc html
448
449allps: wxps referencps portingps propps
450 cd $(WXDIR)\utils\dialoged\src
451 nmake -f makefile.vc ps
452 cd $(THISDIR)
453
454allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
455 cd $(WXDIR)\utils\dialoged\src
456 nmake -f makefile.vc pdfrtf
457 cd $(THISDIR)
458
459# cd $(WXDIR)\utils\wxhelp\src
460# nmake -f makefile.vc ps
461# cd $(WXDIR)\utils\tex2rtf\src
462# nmake -f makefile.vc ps
463# cd $(WXDIR)\utils\wxgraph\src
464# nmake -f makefile.vc ps
465# cd $(WXDIR)\utils\wxchart\src
466# nmake -f makefile.vc ps
467# cd $(WXDIR)\utils\wxtree\src
468# nmake -f makefile.vc ps
469# cd $(THISDIR)
470
471$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
472 cd $(DOCDIR)/latex/wx
473 -erase wx.ph
474 hc wx
475 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
476 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
477 cd $(THISDIR)
478
479$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
480 cd $(DOCDIR)/latex/porting
481 -erase porting.ph
482 hc porting
483 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
484 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
485 cd $(THISDIR)
486
487$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
488 cd $(DOCDIR)/latex/proplist
489 -erase prop.ph
490 hc prop
491 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
492 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
493 cd $(THISDIR)
494
495$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
496 cd $(DOCDIR)/latex/techref
497 -erase techref.ph
498 hc techref
499 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
500 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
501 cd $(THISDIR)
502
503$(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
504 cd $(DOCDIR)\latex\wx
505 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
506 cd $(THISDIR)
507
508$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
509 cd $(DOCDIR)\latex\porting
510 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
511 cd $(THISDIR)
512
513$(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
514 cd $(DOCDIR)\latex\proplist
515 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
516 cd $(THISDIR)
517
518$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
519 cd $(DOCDIR)\latex\techref
520 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
521 cd $(THISDIR)
522
523$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
524 cd $(DOCDIR)\latex\wx
79bc2382
PA
525 -copy *.wmf $(DOCDIR)\pdf
526 -copy *.bmp $(DOCDIR)\pdf
f2071dda
VZ
527 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
528 cd $(THISDIR)
529
530$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
531 cd $(DOCDIR)\latex\porting
79bc2382
PA
532 -copy *.wmf $(DOCDIR)\pdf
533 -copy *.bmp $(DOCDIR)\pdf
f2071dda
VZ
534 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
535 cd $(THISDIR)
536
537$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
538 cd $(DOCDIR)\latex\proplist
79bc2382
PA
539 -copy *.wmf $(DOCDIR)\pdf
540 -copy *.bmp $(DOCDIR)\pdf
f2071dda
VZ
541 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
542 cd $(THISDIR)
543
544$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
545 cd $(DOCDIR)\latex\techref
79bc2382
PA
546 -copy *.wmf $(DOCDIR)\pdf
547 -copy *.bmp $(DOCDIR)\pdf
f2071dda
VZ
548 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
549 cd $(THISDIR)
550
551$(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
552 cd $(DOCDIR)\latex\wx
553 -mkdir $(DOCDIR)\html\wx
554 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
555 -erase $(DOCDIR)\html\wx\*.con
556 -erase $(DOCDIR)\html\wx\*.ref
557 -erase $(DOCDIR)\latex\wx\*.con
558 -erase $(DOCDIR)\latex\wx\*.ref
559 cd $(THISDIR)
560
561$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
562 cd $(DOCDIR)\html\wx
563 -hhc wx.hhp
564 cd $(THISDIR)
565
566
567$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
568 cd $(DOCDIR)\latex\porting
569 -mkdir $(DOCDIR)\html\porting
570 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
571 -erase $(DOCDIR)\html\porting\*.con
572 -erase $(DOCDIR)\html\porting\*.ref
573 -erase $(DOCDIR)\latex\porting\*.con
574 -erase $(DOCDIR)\latex\porting\*.ref
575 cd $(THISDIR)
576
577$(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
578 cd $(DOCDIR)\latex\proplist
579 -mkdir $(DOCDIR)\html\proplist
580 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
581 -erase $(DOCDIR)\html\proplist\*.con
582 -erase $(DOCDIR)\html\proplist\*.ref
583 -erase $(DOCDIR)\latex\proplist\*.con
584 -erase $(DOCDIR)\latex\proplist\*.ref
585 cd $(THISDIR)
586
587$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
588 cd $(WXDIR)\docs\latex\wx
589 -latex manual
590 -latex manual
591 -makeindx manual
592 -bibtex manual
593 -latex manual
594 -latex manual
595 cd $(THISDIR)
596
597$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
598 cd $(WXDIR)\docs\latex\porting
599 -latex porting
600 -latex porting
601 -makeindx porting
602 -bibtex porting
603 -latex porting
604 -latex porting
605 cd $(THISDIR)
606
607$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
608 cd $(WXDIR)\docs\latex\wx
609 -dvips32 -o wx.ps manual
610 move wx.ps $(WXDIR)\docs\ps\wx.ps
611 cd $(THISDIR)
612
613$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
614 cd $(WXDIR)\docs\latex\porting
615 -dvips32 -o porting.ps porting
616 move porting.ps $(WXDIR)\docs\ps\porting.ps
617 cd $(THISDIR)
618
619$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
620 cd $(WXDIR)\docs\latex\wx
621 -latex referenc
622 -latex referenc
623 -makeindx referenc
624 -bibtex referenc
625 -latex referenc
626 -latex referenc
627 cd $(THISDIR)
628
629$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
630 cd $(WXDIR)\docs\latex\wx
631 -dvips32 -o referenc.ps referenc
632 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
633 cd $(THISDIR)
634
635# In order to force document reprocessing
636touchmanual:
637 -touch $(WXDIR)\docs\latex\wx\manual.tex
638
639updatedocs: touchmanual alldocs
640
641# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
642# Office StartUp folder, and PDFMaker should be installed.
643updatepdf: # touchmanual pdfrtf
644 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
645
9be9b974
RD
646
647MFTYPE=vc
648makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
649 cd $(WXWIN)\distrib\msw\tmake
650 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
651 copy makefile.$(MFTYPE) $(WXWIN)\src\msw
652