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