]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/b32.t
Removed references to helpxlp
[wxWidgets.git] / distrib / msw / tmake / b32.t
CommitLineData
f2071dda
VZ
1#!#############################################################################
2#! File: b32.t
3#! Purpose: tmake template file from which makefile.b32 is generated by running
4#! tmake -t b32 wxwin.pro
5#! Author: Vadim Zeitlin
6#! Created: 14.07.99
7#! Version: $Id$
8#!#############################################################################
9
10#${
11 #! include the code which parses filelist.txt file and initializes
12 #! %wxCommon, %wxGeneric and %wxMSW hashes.
13 IncludeTemplate("filelist.t");
14
15 #! now transform these hashes into $project tags
16 foreach $file (sort keys %wxGeneric) {
17 my $tag = "";
8ed88978 18 next if $wxGeneric{$file} =~ /\b(PS|G|16|U)\b/;
f2071dda
VZ
19
20 $file =~ s/cp?p?$/obj/;
21 $project{"WXGENERICOBJS"} .= "\$(MSWDIR)\\" . $file . " "
22 }
23
c09f2879
VZ
24 foreach $file (sort keys %wxHTML) {
25 next if $wxHTML{$file} =~ /\b16\b/;
26
27 $file =~ s/cp?p?$/obj/;
28 $project{"WXHTMLOBJS"} .= "\$(MSWDIR)\\" . $file . " "
29 }
30
f2071dda 31 foreach $file (sort keys %wxCommon) {
6a253da1
VS
32 next if $wxCommon{$file} =~ /\b(16|U)\b/;
33
9f3553c8 34 $isCFile = $file =~ /\.c$/;
f2071dda 35 $file =~ s/cp?p?$/obj/;
9f3553c8
VZ
36 $obj = "\$(MSWDIR)\\" . $file . " ";
37 $project{"WXCOMMONOBJS"} .= $obj;
38 $project{"WXCOBJS"} .= $obj if $isCFile;
f2071dda
VZ
39 }
40
41 foreach $file (sort keys %wxMSW) {
42 next if $wxMSW{$file} =~ /\b16\b/;
43
f6bcfd97
BP
44#! if ( $file =~ /^automtn/ ) {
45#! #! comment in old makefile.b32 seems to imply that this file can not
46#! #! be compiled with Borland (leads to crash in oleauto sample)
47#! No longer true, at least for BC++ 5.2
48#! next;
49#! }
f2071dda 50
83b1f353
VZ
51 $isCFile = $file =~ /\.c$/;
52
6e29a95a 53 my $isOleObj = $wxMSW{$file} =~ /\bO\b/;
f2071dda 54 $file =~ s/cp?p?$/obj/;
6e29a95a
VZ
55 my $obj = "\$(MSWDIR)\\" . $file . " ";
56
57 $project{"WXMSWOBJS"} .= $obj;
58 if ( $isOleObj ) {
59 #! remember that this file is in ole subdir
60 $project{"WXOLEOBJS"} .= $obj;
61 }
83b1f353 62 $project{"WXCOBJS"} .= $obj if $isCFile;
f2071dda
VZ
63 }
64#$}
65
66# This file was automatically generated by tmake at #$ Now()
67# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
68
69#
70# File: makefile.b32
71# Author: Julian Smart
72# Created: 1998
73# Updated:
74# Copyright:
75#
76# "%W% %G%"
77#
78# Makefile : Builds wxWindows library wx.lib for MS Windows,
79# and Borland C++ (32-bit).
80
81!if "$(BCCDIR)" == ""
82!error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
83!endif
84
85!if "$(WXWIN)" == ""
86!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
87!endif
88
89WXDIR = $(WXWIN)
c09f2879 90THISDIR = $(WXDIR)\src\msw
f2071dda
VZ
91
92# Set all these to 1 if you want to build a dynamic library
93!if "$(DLL)" == "1"
94WXMAKINGDLL=1
95WXBUILDDLL=1
96!endif
97
98!include $(WXDIR)\src\makeb32.env
99
100# Please set these according to the settings in wx_setup.h, so we can include
101# the appropriate libraries in wx.lib
102USE_CTL3D=0
f2071dda
VZ
103
104PERIPH_LIBS=
105PERIPH_TARGET=
106PERIPH_CLEAN_TARGET=
107
108!if "$(USE_CTL3D)" == "1"
109#Use WIN32S/WIN95 32 bit version ctl3d32.dll under win95 (Andre Beltman)
110PERIPH_LIBS=$(WXDIR)\lib\ctl3d32.lib $(PERIPH_LIBS)
111PERIPH_TARGET=ctl3d $(PERIPH_TARGET)
112PERIPH_CLEAN_TARGET=clean_ctl3d $(PERIPH_CLEAN_TARGET)
113!endif
114
f6bcfd97 115#PERIPH_LIBS=$(WXDIR)\lib\zlib.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\tiff.lib $(PERIPH_LIBS)
f2071dda 116PERIPH_LIBS=
bed118ca
VZ
117PERIPH_TARGET=zlib png jpeg tiff regex $(PERIPH_TARGET)
118PERIPH_CLEAN_TARGET=clean_zlib clean_png clean_jpeg clean_tiff clean_regex $(PERIPH_CLEAN_TARGET)
f2071dda
VZ
119
120!if "$(DLL)" == "0"
121DUMMY=dummy
122!else
123DUMMY=dummydll
bed118ca 124LIBS= cw32mti import32 ole2w32 odbc32 zlib winpng jpeg tiff regex
f2071dda
VZ
125!endif
126
127LIBTARGET=$(WXLIB)
128
129GENDIR=..\generic
130COMMDIR=..\common
c09f2879 131HTMLDIR=..\html
f2071dda
VZ
132OLEDIR=.\ole
133MSWDIR=.
134
135DOCDIR = $(WXDIR)\docs
136
137GENERICOBJS= #$ ExpandList("WXGENERICOBJS");
138
139# Not needed:
140# $(MSWDIR)\colrdlgg.obj \
141# $(MSWDIR)\fontdlgg.obj \
f2071dda
VZ
142# $(MSWDIR)\msgdlgg.obj \
143# $(MSWDIR)\printps.obj \
144# $(MSWDIR)\prntdlgg.obj \
145# $(MSWDIR)\listctrl.obj \
146# $(MSWDIR)\notebook.obj \
147# $(MSWDIR)\treectrl.obj
148
149COMMONOBJS = \
150 $(MSWDIR)\y_tab.obj \
151 #$ ExpandList("WXCOMMONOBJS");
152
153MSWOBJS = #$ ExpandList("WXMSWOBJS");
154
c09f2879
VZ
155HTMLOBJS = #$ ExpandList("WXHTMLOBJS");
156
157OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
f2071dda
VZ
158
159default: wx
160
b2cf617c 161wx: $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
f2071dda 162
bc00e715 163all: wx
f2071dda
VZ
164
165!if "$(DLL)" == "0"
166
167$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
168 -erase $(LIBTARGET)
20a2bdc9 169 tlib "$(LIBTARGET)" /P1024 @&&!
f2071dda
VZ
170+$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
171!
172
173!else
174
175$(LIBTARGET): $(DUMMY).obj $(OBJECTS)
176 -erase $(LIBTARGET)
177 -erase $(WXLIBDIR)\wx.dll
f6bcfd97 178 $(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&!
f2071dda
VZ
179c0d32.obj $(OBJECTS)
180$(WXLIBDIR)\wx
181nul
182$(PERIPH_LIBS) $(LIBS)
183wxb32
184!
1fd4a033
VZ
185 -erase $(WXLIBDIR)\version.res
186 brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
f2071dda
VZ
187 implib -c $(LIBTARGET) $(WXLIBDIR)\wx.dll
188
189!endif
190
191dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
4c5032cc 192dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
f2071dda
VZ
193
194$(MSWDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
195
196# cl @<<
197# $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
198# <<
199
200$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
201 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
202
203$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
204 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
205
206# $(OBJECTS): $(WXDIR)\include\wx\setup.h
207
208#${
209 $_ = $project{"WXMSWOBJS"};
210 my @objs = split;
211 foreach (@objs) {
212 $text .= $_ . ": ";
6e29a95a 213 if ( $project{"WXOLEOBJS"} =~ /\Q$_/ ) { s/MSWDIR/OLEDIR/; }
83b1f353
VZ
214 $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
215 s/obj$/$suffix/;
f2071dda
VZ
216 $text .= $_ . "\n\n";
217 }
218#$}
219
220########################################################
221# Common objects (always compiled)
222
223#${
224 $_ = $project{"WXCOMMONOBJS"};
225 my @objs = split;
226 foreach (@objs) {
227 $text .= $_ . ": ";
9f3553c8 228 $suffix = $project{"WXCOBJS"} =~ /\Q$_/ ? "c" : '$(SRCSUFF)';
f2071dda 229 s/MSWDIR/COMMDIR/;
9f3553c8 230 s/obj$/$suffix/;
f2071dda
VZ
231 $text .= $_ . "\n\n";
232 }
233#$}
234
235########################################################
236# Generic objects (not always compiled, depending on
237# whether platforms have native implementations)
238
239#${
240 $_ = $project{"WXGENERICOBJS"};
241 my @objs = split;
242 foreach (@objs) {
243 $text .= $_ . ": ";
244 s/MSWDIR/GENDIR/;
245 s/obj$/\$(SRCSUFF)/;
246 $text .= $_ . "\n\n";
247 }
248#$}
249
c09f2879
VZ
250########################################################
251# HTML objects (always compiled)
252
253#${
254 $_ = $project{"WXHTMLOBJS"};
255 my @objs = split;
256 foreach (@objs) {
257 $text .= $_ . ": ";
258 s/MSWDIR/HTMLDIR/;
259 s/obj$/\$(SRCSUFF)/;
260 $text .= $_ . "\n\n";
261 }
262#$}
263
f2071dda
VZ
264
265all_utils:
266 cd $(WXDIR)\utils
267 make -f makefile.b32
268 cd $(WXDIR)\src\msw
269
270all_samples:
271 cd $(WXDIR)\samples
272 make -f makefile.b32
273 cd $(WXDIR)\src\msw
274
275all_execs:
276 cd $(WXDIR)\utils
277 make -f makefile.b32 all_execs
278 cd $(WXDIR)\src\msw
279
f2071dda
VZ
280png: $(CFG)
281 cd $(WXDIR)\src\png
9be9b974 282 make -f makefile.b32
f2071dda
VZ
283 cd $(WXDIR)\src\msw
284
285clean_png:
286 cd $(WXDIR)\src\png
287 make -f makefile.b32 clean
288 cd $(WXDIR)\src\msw
289
290zlib: $(CFG)
291 cd $(WXDIR)\src\zlib
292 make -f makefile.b32 lib
293 cd $(WXDIR)\src\msw
294
295clean_zlib:
296 cd $(WXDIR)\src\zlib
297 make -f makefile.b32 clean
298 cd $(WXDIR)\src\msw
299
300jpeg: $(CFG)
301 cd $(WXDIR)\src\jpeg
9be9b974 302 make -f makefile.b32
f2071dda
VZ
303 cd $(WXDIR)\src\msw
304
305clean_jpeg:
306 cd $(WXDIR)\src\jpeg
307 make -f makefile.b32 clean
176513eb
VZ
308 cd $(WXDIR)\src\msw
309
bed118ca
VZ
310regex: $(CFG)
311 cd $(WXDIR)\src\regex
312 make -f makefile.b32 lib
313 cd $(WXDIR)\src\msw
314
315clean_regex:
316 cd $(WXDIR)\src\regex
317 make -f makefile.b32 clean
318 cd $(WXDIR)\src\msw
319
176513eb
VZ
320tiff: $(CFG)
321 cd $(WXDIR)\src\tiff
322 make -f makefile.b32 lib
323 cd $(WXDIR)\src\msw
324
325clean_tiff:
326 cd $(WXDIR)\src\tiff
327 make -f makefile.b32 clean
f2071dda
VZ
328 cd $(WXDIR)\src\msw
329
330$(CFG): makefile.b32
331 copy &&!
f6bcfd97 332-Hc
f2071dda
VZ
333-H=$(WXDIR)\src\msw\wx32.csm
334-3
335-d
60fe7303 336-a1 # byte alignment
f2071dda
VZ
337-R-
338-X
339-w-par
340-w-aus
341-w-hid # virtual function A hides virtual function B
342-WE
343-tWM
344
268d5364 345-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff
f2071dda
VZ
346-I$(WXDIR)\include\wx\msw\gnuwin32
347
8e97b17b 348-L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
f2071dda
VZ
349-D__WXWIN__
350-D__WXMSW__
351-D__WINDOWS__
352-DWIN32
353$(OPT)
354$(DEBUG_FLAGS)
355$(WIN95FLAG)
356! $(CFG)
357
f2071dda
VZ
358clean: $(PERIPH_CLEAN_TARGET)
359 -erase $(LIBTARGET)
f6bcfd97
BP
360 -erase $(WXLIBDIR)\wx.dll
361 -erase $(WXLIBDIR)\wx.tds
362 -erase $(WXLIBDIR)\wx.il?
f2071dda
VZ
363 -erase *.obj
364 -erase *.pch
365 -erase *.csm
366 -erase *.cfg
c09f2879 367 -erase "wx32.#??"
f2071dda
VZ
368 -erase ..\common\y_tab.c
369 -erase ..\common\lex_yy.c
370
371cleanall: clean
372
373
c09f2879
VZ
374# Making documents
375docs: allhlp allhtml allpdfrtf
376alldocs: docs
377hlp: wxhlp portinghlp
378wxhlp: $(DOCDIR)/winhelp/wx.hlp
379prophlp: $(DOCDIR)/winhelp/prop.hlp
380refhlp: $(DOCDIR)/winhelp/techref.hlp
381rtf: $(DOCDIR)/winhelp/wx.rtf
382proprtf: $(DOCDIR)/winhelp/prop.rtf
383pdfrtf: $(DOCDIR)/pdf/wx.rtf
384proppdfrtf: $(DOCDIR)/pdf/prop.rtf
385refpdfrtf: $(DOCDIR)/pdf/techref.rtf
386html: wxhtml portinghtml
387wxhtml: $(DOCDIR)\html\wx\wx.htm
388htmlhelp: $(DOCDIR)\html\wx\wx.chm
389prophtml: $(DOCDIR)\html\proplist\prop.htm
390ps: wxps referencps
391wxps: $(WXDIR)\docs\ps\wx.ps
392propps: $(WXDIR)\docs\ps\prop.ps
393referencps: $(WXDIR)\docs\ps\referenc.ps
394
395portinghtml: $(DOCDIR)\html\porting\port.htm
396portingrtf: $(DOCDIR)/winhelp/porting.rtf
397portinghlp: $(DOCDIR)/winhelp/porting.hlp
398portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
399portingps: $(WXDIR)\docs\ps\porting.ps
400
401allhlp: wxhlp portinghlp prophlp
402 cd $(WXDIR)\utils\dialoged\src
403 make -f makefile.b32 hlp
404 cd $(THISDIR)
405
406# cd $(WXDIR)\utils\wxhelp\src
407# make -f makefile.b32 hlp
408# cd $(WXDIR)\utils\tex2rtf\src
409# make -f makefile.b32 hlp
410# cd $(WXDIR)\utils\wxgraph\src
411# make -f makefile.b32 hlp
412# cd $(WXDIR)\utils\wxchart\src
413# make -f makefile.b32 hlp
414# cd $(WXDIR)\utils\wxtree\src
415# make -f makefile.b32 hlp
416# cd $(WXDIR)\utils\wxbuild\src
417# make -f makefile.b32 hlp
418# cd $(WXDIR)\utils\wxgrid\src
419# make -f makefile.b32 hlp
420
421allhtml: wxhtml portinghtml prophtml
422 cd $(WXDIR)\utils\dialoged\src
423 make -f makefile.b32 html
424 cd $(THISDIR)
425
426# make -f makefile.b32 html
427# cd $(WXDIR)\utils\dialoged\src
428# make -f makefile.b32 html
429# cd $(WXDIR)\utils\hytext\src
430# make -f makefile.b32 html
431# cd $(WXDIR)\utils\wxhelp\src
432# make -f makefile.b32 html
433# cd $(WXDIR)\utils\tex2rtf\src
434# make -f makefile.b32 html
435# cd $(WXDIR)\utils\wxgraph\src
436# make -f makefile.b32 html
437# cd $(WXDIR)\utils\wxchart\src
438# make -f makefile.b32 html
439# cd $(WXDIR)\utils\wxtree\src
440# make -f makefile.b32 html
441
442allps: wxps referencps portingps propps
443 cd $(WXDIR)\utils\dialoged\src
444 make -f makefile.b32 ps
445 cd $(THISDIR)
446
447allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
448 cd $(WXDIR)\utils\dialoged\src
449 make -f makefile.b32 pdfrtf
450 cd $(THISDIR)
451
452# cd $(WXDIR)\utils\wxhelp\src
453# make -f makefile.b32 ps
454# cd $(WXDIR)\utils\tex2rtf\src
455# make -f makefile.b32 ps
456# cd $(WXDIR)\utils\wxgraph\src
457# make -f makefile.b32 ps
458# cd $(WXDIR)\utils\wxchart\src
459# make -f makefile.b32 ps
460# cd $(WXDIR)\utils\wxtree\src
461# make -f makefile.b32 ps
462# cd $(THISDIR)
463
464$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
465 cd $(DOCDIR)/latex/wx
466 -erase wx.ph
467 hc wx
468 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
469 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
470 cd $(THISDIR)
471
472$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
473 cd $(DOCDIR)/latex/porting
474 -erase porting.ph
475 hc porting
476 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
477 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
478 cd $(THISDIR)
479
480$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
481 cd $(DOCDIR)/latex/proplist
482 -erase prop.ph
483 hc prop
484 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
485 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
486 cd $(THISDIR)
487
488$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
489 cd $(DOCDIR)/latex/techref
490 -erase techref.ph
491 hc techref
492 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
493 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
494 cd $(THISDIR)
495
496$(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
497 cd $(DOCDIR)\latex\wx
498 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
499 cd $(THISDIR)
500
501$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
502 cd $(DOCDIR)\latex\porting
503 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
504 cd $(THISDIR)
505
506$(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
507 cd $(DOCDIR)\latex\proplist
508 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
509 cd $(THISDIR)
510
511$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
512 cd $(DOCDIR)\latex\techref
513 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
514 cd $(THISDIR)
515
516$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
517 cd $(DOCDIR)\latex\wx
518 -copy *.wmf $(DOCDIR)\pdf
519 -copy *.bmp $(DOCDIR)\pdf
520 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
521 cd $(THISDIR)
522
523$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
524 cd $(DOCDIR)\latex\porting
525 -copy *.wmf $(DOCDIR)\pdf
526 -copy *.bmp $(DOCDIR)\pdf
527 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
528 cd $(THISDIR)
529
530$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
531 cd $(DOCDIR)\latex\proplist
532 -copy *.wmf $(DOCDIR)\pdf
533 -copy *.bmp $(DOCDIR)\pdf
534 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
535 cd $(THISDIR)
536
537$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
538 cd $(DOCDIR)\latex\techref
539 -copy *.wmf $(DOCDIR)\pdf
540 -copy *.bmp $(DOCDIR)\pdf
541 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
542 cd $(THISDIR)
543
544$(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
545 cd $(DOCDIR)\latex\wx
546 -mkdir $(DOCDIR)\html\wx
547 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
548 -erase $(DOCDIR)\html\wx\*.con
549 -erase $(DOCDIR)\html\wx\*.ref
550 -erase $(DOCDIR)\latex\wx\*.con
551 -erase $(DOCDIR)\latex\wx\*.ref
552 cd $(THISDIR)
553
554$(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
555 cd $(DOCDIR)\html\wx
556 -hhc wx.hhp
557 cd $(THISDIR)
558
559
560$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
561 cd $(DOCDIR)\latex\porting
562 -mkdir $(DOCDIR)\html\porting
563 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
564 -erase $(DOCDIR)\html\porting\*.con
565 -erase $(DOCDIR)\html\porting\*.ref
566 -erase $(DOCDIR)\latex\porting\*.con
567 -erase $(DOCDIR)\latex\porting\*.ref
568 cd $(THISDIR)
569
570$(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
571 cd $(DOCDIR)\latex\proplist
572 -mkdir $(DOCDIR)\html\proplist
573 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
574 -erase $(DOCDIR)\html\proplist\*.con
575 -erase $(DOCDIR)\html\proplist\*.ref
576 -erase $(DOCDIR)\latex\proplist\*.con
577 -erase $(DOCDIR)\latex\proplist\*.ref
578 cd $(THISDIR)
579
580$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
581 cd $(WXDIR)\docs\latex\wx
582 -latex manual
583 -latex manual
584 -makeindx manual
585 -bibtex manual
586 -latex manual
587 -latex manual
588 cd $(THISDIR)
589
590$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
591 cd $(WXDIR)\docs\latex\porting
592 -latex porting
593 -latex porting
594 -makeindx porting
595 -bibtex porting
596 -latex porting
597 -latex porting
598 cd $(THISDIR)
599
600$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
601 cd $(WXDIR)\docs\latex\wx
602 -dvips32 -o wx.ps manual
603 move wx.ps $(WXDIR)\docs\ps\wx.ps
604 cd $(THISDIR)
605
606$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
607 cd $(WXDIR)\docs\latex\porting
608 -dvips32 -o porting.ps porting
609 move porting.ps $(WXDIR)\docs\ps\porting.ps
610 cd $(THISDIR)
611
612$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
613 cd $(WXDIR)\docs\latex\wx
614 -latex referenc
615 -latex referenc
616 -makeindx referenc
617 -bibtex referenc
618 -latex referenc
619 -latex referenc
620 cd $(THISDIR)
621
622$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
623 cd $(WXDIR)\docs\latex\wx
624 -dvips32 -o referenc.ps referenc
625 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
626 cd $(THISDIR)
627
628# In order to force document reprocessing
629touchmanual:
630 -touch $(WXDIR)\docs\latex\wx\manual.tex
631
632updatedocs: touchmanual alldocs
633
634# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
635# Office StartUp folder, and PDFMaker should be installed.
636updatepdf: # touchmanual pdfrtf
637 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
638
639
9be9b974 640MFTYPE=b32
1b9315eb
JS
641# Can't use this or we'll have to distribute all tmake files with wxWindows
642# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
643
644self:
9be9b974
RD
645 cd $(WXWIN)\distrib\msw\tmake
646 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
647 copy makefile.$(MFTYPE) $(WXWIN)\src\msw
648