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