]> git.saurik.com Git - wxWidgets.git/blob - src/msw/makefile.vc
1. panels pass focus to the next item in parent panel
[wxWidgets.git] / src / msw / makefile.vc
1 # This file was automatically generated by tmake at 14:54, 1999/07/19
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
3
4 # File: makefile.vc
5 # Author: Julian Smart
6 # Created: 1997
7 # Updated:
8 # Copyright: (c) 1997, Julian Smart
9 #
10 # "%W% %G%"
11 #
12 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
13 # Arguments:
14 #
15 # FINAL=1 argument to nmake to build version with no debugging info.
16 # dll builds a library (wxdll.lib) suitable for creating DLLs
17 #
18 !include <..\makevc.env>
19
20 THISDIR=$(WXWIN)\src\msw
21
22 !if "$(WXMAKINGDLL)" == "1"
23 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
24 DUMMYOBJ=$D\dummydll.obj
25 !else
26 LIBTARGET=$(WXLIB)
27 DUMMYOBJ=$D\dummy.obj
28 !endif
29
30 # Please set these according to the settings in setup.h, so we can include
31 # the appropriate libraries in wx.lib
32
33 # This one overrides the others, to be consistent with the settings in setup.h
34 MINIMAL_WXWINDOWS_SETUP=0
35
36 PERIPH_LIBS=
37 PERIPH_TARGET=
38 PERIPH_CLEAN_TARGET=
39
40 # These are absolute paths, so that the compiler
41 # generates correct __FILE__ symbols for debugging.
42 # Otherwise you don't be able to double-click on a memory
43 # error to load that file.
44 GENDIR=$(WXDIR)\src\generic
45 COMMDIR=$(WXDIR)\src\common
46 OLEDIR=ole
47 MSWDIR=$(WXDIR)\src\msw
48 DOCDIR = $(WXDIR)\docs
49 HTMLDIR = $(WXDIR)\src\html
50
51 {..\generic}.cpp{..\generic\$D}.obj:
52 cl @<<
53 $(CPPFLAGS) /Fo$@ /c /Tp $<
54 <<
55
56 {..\common}.cpp{..\common\$D}.obj:
57 cl @<<
58 $(CPPFLAGS) /Fo$@ /c /Tp $<
59 <<
60
61 {..\common}.c{..\common\$D}.obj:
62 cl @<<
63 $(CPPFLAGS2) /Fo$@ /c /Tc $<
64 <<
65
66 {..\msw}.cpp{..\msw\$D}.obj:
67 cl @<<
68 $(CPPFLAGS) /Fo$@ /c /Tp $<
69 <<
70
71 {..\msw\ole}.cpp{..\msw\ole\$D}.obj:
72 cl @<<
73 $(CPPFLAGS) /Fo$@ /c /Tp $<
74 <<
75
76 {..\html}.cpp{..\html\$D}.obj:
77 cl @<<
78 $(CPPFLAGS) /Fo$@ /c /Tp $<
79 <<
80
81 GENERICOBJS= ..\generic\$D\busyinfo.obj \
82 ..\generic\$D\choicdgg.obj \
83 ..\generic\$D\extdlgg.obj \
84 ..\generic\$D\gridg.obj \
85 ..\generic\$D\laywin.obj \
86 ..\generic\$D\panelg.obj \
87 ..\generic\$D\progdlgg.obj \
88 ..\generic\$D\prop.obj \
89 ..\generic\$D\propform.obj \
90 ..\generic\$D\proplist.obj \
91 ..\generic\$D\sashwin.obj \
92 ..\generic\$D\scrolwin.obj \
93 ..\generic\$D\splitter.obj \
94 ..\generic\$D\statusbr.obj \
95 ..\generic\$D\tabg.obj \
96 ..\generic\$D\textdlgg.obj \
97 ..\generic\$D\tipdlg.obj
98
99 # These are generic things that don't need to be compiled on MSW,
100 # but sometimes it's useful to do so for testing purposes.
101 NONESSENTIALOBJS= ..\generic\$D\colrdlgg.obj \
102 ..\generic\$D\dirdlgg.obj \
103 ..\generic\$D\fontdlgg.obj \
104 ..\generic\$D\helpxlp.obj \
105 ..\generic\$D\imaglist.obj \
106 ..\generic\$D\listctrl.obj \
107 ..\generic\$D\msgdlgg.obj \
108 ..\generic\$D\notebook.obj \
109 ..\generic\$D\printps.obj \
110 ..\generic\$D\prntdlgg.obj \
111 ..\generic\$D\treectrl.obj
112
113 COMMONOBJS = \
114 ..\common\$D\y_tab.obj \
115 ..\common\$D\cmndata.obj \
116 ..\common\$D\config.obj \
117 ..\common\$D\date.obj \
118 ..\common\$D\datstrm.obj \
119 ..\common\$D\db.obj \
120 ..\common\$D\dbtable.obj \
121 ..\common\$D\dcbase.obj \
122 ..\common\$D\dlgcmn.obj \
123 ..\common\$D\docmdi.obj \
124 ..\common\$D\docview.obj \
125 ..\common\$D\dynarray.obj \
126 ..\common\$D\dynlib.obj \
127 ..\common\$D\event.obj \
128 ..\common\$D\extended.obj \
129 ..\common\$D\ffile.obj \
130 ..\common\$D\file.obj \
131 ..\common\$D\fileconf.obj \
132 ..\common\$D\filefn.obj \
133 ..\common\$D\filesys.obj \
134 ..\common\$D\framecmn.obj \
135 ..\common\$D\fs_inet.obj \
136 ..\common\$D\fs_zip.obj \
137 ..\common\$D\ftp.obj \
138 ..\common\$D\gdicmn.obj \
139 ..\common\$D\hash.obj \
140 ..\common\$D\helpbase.obj \
141 ..\common\$D\http.obj \
142 ..\common\$D\imagbmp.obj \
143 ..\common\$D\image.obj \
144 ..\common\$D\imaggif.obj \
145 ..\common\$D\imagjpeg.obj \
146 ..\common\$D\imagpng.obj \
147 ..\common\$D\intl.obj \
148 ..\common\$D\ipcbase.obj \
149 ..\common\$D\layout.obj \
150 ..\common\$D\list.obj \
151 ..\common\$D\log.obj \
152 ..\common\$D\memory.obj \
153 ..\common\$D\mimetype.obj \
154 ..\common\$D\module.obj \
155 ..\common\$D\mstream.obj \
156 ..\common\$D\object.obj \
157 ..\common\$D\objstrm.obj \
158 ..\common\$D\odbc.obj \
159 ..\common\$D\paper.obj \
160 ..\common\$D\prntbase.obj \
161 ..\common\$D\process.obj \
162 ..\common\$D\protocol.obj \
163 ..\common\$D\resource.obj \
164 ..\common\$D\sckaddr.obj \
165 ..\common\$D\sckfile.obj \
166 ..\common\$D\sckint.obj \
167 ..\common\$D\sckipc.obj \
168 ..\common\$D\sckstrm.obj \
169 ..\common\$D\socket.obj \
170 ..\common\$D\stream.obj \
171 ..\common\$D\string.obj \
172 ..\common\$D\tbarbase.obj \
173 ..\common\$D\textcmn.obj \
174 ..\common\$D\textfile.obj \
175 ..\common\$D\time.obj \
176 ..\common\$D\timercmn.obj \
177 ..\common\$D\tokenzr.obj \
178 ..\common\$D\txtstrm.obj \
179 ..\common\$D\unzip.obj \
180 ..\common\$D\url.obj \
181 ..\common\$D\utilscmn.obj \
182 ..\common\$D\valgen.obj \
183 ..\common\$D\validate.obj \
184 ..\common\$D\valtext.obj \
185 ..\common\$D\variant.obj \
186 ..\common\$D\wfstream.obj \
187 ..\common\$D\wincmn.obj \
188 ..\common\$D\wxchar.obj \
189 ..\common\$D\wxexpr.obj \
190 ..\common\$D\zipstream.obj \
191 ..\common\$D\zstream.obj
192
193 MSWOBJS = ..\msw\$D\accel.obj \
194 ..\msw\$D\app.obj \
195 ..\msw\ole\$D\automtn.obj \
196 ..\msw\$D\bitmap.obj \
197 ..\msw\$D\bmpbuttn.obj \
198 ..\msw\$D\brush.obj \
199 ..\msw\$D\button.obj \
200 ..\msw\$D\caret.obj \
201 ..\msw\$D\checkbox.obj \
202 ..\msw\$D\checklst.obj \
203 ..\msw\$D\choice.obj \
204 ..\msw\$D\clipbrd.obj \
205 ..\msw\$D\colordlg.obj \
206 ..\msw\$D\colour.obj \
207 ..\msw\$D\combobox.obj \
208 ..\msw\$D\control.obj \
209 ..\msw\$D\curico.obj \
210 ..\msw\$D\cursor.obj \
211 ..\msw\$D\data.obj \
212 ..\msw\ole\$D\dataobj.obj \
213 ..\msw\$D\dc.obj \
214 ..\msw\$D\dcclient.obj \
215 ..\msw\$D\dcmemory.obj \
216 ..\msw\$D\dcprint.obj \
217 ..\msw\$D\dcscreen.obj \
218 ..\msw\$D\dde.obj \
219 ..\msw\$D\dialog.obj \
220 ..\msw\$D\dib.obj \
221 ..\msw\$D\dibutils.obj \
222 ..\msw\$D\dirdlg.obj \
223 ..\msw\$D\dragimag.obj \
224 ..\msw\ole\$D\dropsrc.obj \
225 ..\msw\ole\$D\droptgt.obj \
226 ..\msw\$D\filedlg.obj \
227 ..\msw\$D\font.obj \
228 ..\msw\$D\fontdlg.obj \
229 ..\msw\$D\frame.obj \
230 ..\msw\$D\gauge95.obj \
231 ..\msw\$D\gdiobj.obj \
232 ..\msw\$D\helpwin.obj \
233 ..\msw\$D\icon.obj \
234 ..\msw\$D\imaglist.obj \
235 ..\msw\$D\iniconf.obj \
236 ..\msw\$D\joystick.obj \
237 ..\msw\$D\listbox.obj \
238 ..\msw\$D\listctrl.obj \
239 ..\msw\$D\main.obj \
240 ..\msw\$D\mdi.obj \
241 ..\msw\$D\menu.obj \
242 ..\msw\$D\menuitem.obj \
243 ..\msw\$D\metafile.obj \
244 ..\msw\$D\minifram.obj \
245 ..\msw\$D\msgdlg.obj \
246 ..\msw\$D\nativdlg.obj \
247 ..\msw\$D\notebook.obj \
248 ..\msw\ole\$D\oleutils.obj \
249 ..\msw\$D\ownerdrw.obj \
250 ..\msw\$D\palette.obj \
251 ..\msw\$D\pen.obj \
252 ..\msw\$D\penwin.obj \
253 ..\msw\$D\pnghand.obj \
254 ..\msw\$D\printdlg.obj \
255 ..\msw\$D\printwin.obj \
256 ..\msw\$D\radiobox.obj \
257 ..\msw\$D\radiobut.obj \
258 ..\msw\$D\regconf.obj \
259 ..\msw\$D\region.obj \
260 ..\msw\$D\registry.obj \
261 ..\msw\$D\scrolbar.obj \
262 ..\msw\$D\settings.obj \
263 ..\msw\$D\slider95.obj \
264 ..\msw\$D\spinbutt.obj \
265 ..\msw\$D\statbmp.obj \
266 ..\msw\$D\statbox.obj \
267 ..\msw\$D\statbr95.obj \
268 ..\msw\$D\statline.obj \
269 ..\msw\$D\stattext.obj \
270 ..\msw\$D\tabctrl.obj \
271 ..\msw\$D\taskbar.obj \
272 ..\msw\$D\tbar95.obj \
273 ..\msw\$D\textctrl.obj \
274 ..\msw\$D\thread.obj \
275 ..\msw\$D\timer.obj \
276 ..\msw\$D\tooltip.obj \
277 ..\msw\$D\treectrl.obj \
278 ..\msw\$D\utils.obj \
279 ..\msw\$D\utilsexc.obj \
280 ..\msw\ole\$D\uuid.obj \
281 ..\msw\$D\wave.obj \
282 ..\msw\$D\window.obj \
283 ..\msw\$D\xpmhand.obj
284
285 HTMLOBJS = \
286 ..\html\$D\htmlcell.obj \
287 ..\html\$D\htmlfilter.obj \
288 ..\html\$D\htmlhelp.obj \
289 ..\html\$D\htmlhelp_io.obj \
290 ..\html\$D\htmlparser.obj \
291 ..\html\$D\htmltag.obj \
292 ..\html\$D\htmlwin.obj \
293 ..\html\$D\htmlwinparser.obj \
294 ..\html\$D\mod_fonts.obj \
295 ..\html\$D\mod_hline.obj \
296 ..\html\$D\mod_image.obj \
297 ..\html\$D\mod_layout.obj \
298 ..\html\$D\mod_links.obj \
299 ..\html\$D\mod_list.obj \
300 ..\html\$D\mod_pre.obj \
301 ..\html\$D\mod_tables.obj \
302 ..\html\$D\search.obj
303
304 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
305 # Add $(HTMLOBJS) if wanting wxHTML classes
306 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
307
308 # Normal, static library
309 all: dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
310
311 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D
312
313
314 test: $(MSWDIR)\$D\wave.obj
315 test2: ..\common\Debug\config.obj
316
317 $D:
318 mkdir $D
319
320 $(COMMDIR)\$D:
321 mkdir $(COMMDIR)\$D
322
323 $(MSWDIR)\$D:
324 mkdir $(MSWDIR)\$D
325
326 $(GENDIR)\$D:
327 mkdir $(GENDIR)\$D
328
329 $(OLEDIR)\$D:
330 mkdir $(OLEDIR)\$D
331
332 $(HTMLDIR)\$D:
333 mkdir $(HTMLDIR)\$D
334
335 # wxWindows library as DLL
336 dll:
337 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
338
339 cleandll:
340 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
341
342 # wxWindows + app as DLL. Only affects main.cpp.
343 dllapp:
344 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
345
346 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
347 dllnp:
348 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
349
350 # Use this to make dummy.obj and generate a PCH.
351 # You might use the dll target, then the pch target, in order to
352 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
353 #
354 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
355 # are associated with wx.lib. When using a DLL version of wxWindows, however,
356 # the DLL is compiled without a PCH, so you only need it for compiling the app.
357 # In fact headers are compiled differently depending on whether a DLL is being made
358 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
359 # in each case) so you couldn't use the same PCH.
360 pch:
361 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
362
363 pch1: dirs $(DUMMYOBJ)
364 echo $(DUMMYOBJ)
365
366 !if "$(WXMAKINGDLL)" != "1"
367
368 ### Static library
369
370 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
371 -erase $(LIBTARGET)
372 $(implib) @<<
373 -out:$@
374 -machine:$(CPU)
375 $(OBJECTS) $(PERIPH_LIBS)
376 <<
377
378 !else
379
380 ### Update the import library
381
382 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
383 $(implib) @<<
384 -machine:$(CPU)
385 -def:wx.def
386 $(DUMMYOBJ) $(OBJECTS)
387 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
388 <<
389
390 # Update the dynamic link library
391 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\$(WXLIBNAME).lib
392 $(link) @<<
393 $(LINKFLAGS)
394 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
395 $(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
396 <<
397
398 !endif
399
400
401 ########################################################
402 # Windows-specific objects
403
404 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
405 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
406
407 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
408 cl @<<
409 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
410 <<
411
412 # If taking wxWindows from CVS, setup.h doesn't exist yet.
413 # Actually the 'if not exist setup.h' test doesn't work
414 # (copies the file anyway)
415 # we'll have to comment this rule out.
416
417 # $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
418 # cd "$(WXDIR)"\include\wx\msw
419 # if not exist setup.h copy setup0.h setup.h
420 # cd "$(WXDIR)"\src\msw
421
422 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
423 cl @<<
424 $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
425 <<
426
427 ..\common\y_tab.c: ..\common\dosyacc.c
428 copy "..\common"\dosyacc.c "..\common"\y_tab.c
429
430 ..\common\lex_yy.c: ..\common\doslex.c
431 copy "..\common"\doslex.c "..\common"\lex_yy.c
432
433 $(OBJECTS): $(WXDIR)/include/wx/setup.h
434
435 ..\common\$D\unzip.obj: ..\common\unzip.c
436 cl @<<
437 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
438 <<
439
440 # Peripheral components
441
442 png:
443 cd $(WXDIR)\src\png
444 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
445 cd $(WXDIR)\src\msw
446
447 clean_png:
448 cd $(WXDIR)\src\png
449 nmake -f makefile.vc clean
450 cd $(WXDIR)\src\msw
451
452 zlib:
453 cd $(WXDIR)\src\zlib
454 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
455 cd $(WXDIR)\src\msw
456
457 clean_zlib:
458 cd $(WXDIR)\src\zlib
459 nmake -f makefile.vc clean
460 cd $(WXDIR)\src\msw
461
462 jpeg:
463 cd $(WXDIR)\src\jpeg
464 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) all
465 cd $(WXDIR)\src\msw
466
467 clean_jpeg:
468 cd $(WXDIR)\src\jpeg
469 nmake -f makefile.vc clean
470 cd $(WXDIR)\src\msw
471
472 xpm:
473 cd $(WXDIR)\src\xpm
474 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
475 cd $(WXDIR)\src\msw
476
477 clean_xpm:
478 cd $(WXDIR)\src\xpm
479 nmake -f makefile.vc clean
480 cd $(WXDIR)\src\msw
481
482 rcparser:
483 cd $(WXDIR)\utils\rcparser\src
484 nmake -f makefile.vc FINAL=$(FINAL)
485 cd $(WXDIR)\src\msw
486
487 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
488 -erase $(LIBTARGET)
489 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
490 -erase ..\..\lib\wx200.dll
491 -erase ..\..\lib\wx200.lib
492 -erase ..\..\lib\wx200.exp
493 -erase ..\..\lib\wx200.pdb
494 -erase ..\..\lib\wx200.ilk
495 -erase *.pdb
496 -erase *.sbr
497 -erase $(WXLIBNAME).pch
498 -erase $(GENDIR)\$D\*.obj
499 -erase $(GENDIR)\$D\*.pdb
500 -erase $(GENDIR)\$D\*.sbr
501 -erase $(COMMDIR)\$D\*.obj
502 -erase $(COMMDIR)\$D\*.pdb
503 -erase $(COMMDIR)\$D\*.sbr
504 -erase $(COMMDIR)\\y_tab.c
505 -erase $(COMMDIR)\lex_yy.c
506 -erase $(MSWDIR)\$D\*.obj
507 -erase $(MSWDIR)\$D\*.sbr
508 -erase $(MSWDIR)\$D\*.pdb
509 -erase $(OLEDIR)\$D\*.obj
510 -erase $(OLEDIR)\$D\*.sbr
511 -erase $(OLEDIR)\$D\*.pdb
512 -rmdir $(D)
513 -rmdir ole\$(D)
514 -rmdir ..\generic\$(D)
515 -rmdir ..\common\$(D)
516
517 cleanall: clean
518
519 # Making documents
520 docs: allhlp allhtml allpdfrtf
521 alldocs: docs
522 hlp: wxhlp portinghlp
523 wxhlp: $(DOCDIR)/winhelp/wx.hlp
524 prophlp: $(DOCDIR)/winhelp/prop.hlp
525 refhlp: $(DOCDIR)/winhelp/techref.hlp
526 rtf: $(DOCDIR)/winhelp/wx.rtf
527 proprtf: $(DOCDIR)/winhelp/prop.rtf
528 pdfrtf: $(DOCDIR)/pdf/wx.rtf
529 proppdfrtf: $(DOCDIR)/pdf/prop.rtf
530 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
531 html: wxhtml portinghtml
532 wxhtml: $(DOCDIR)\html\wx\wx.htm
533 htmlhelp: $(DOCDIR)\html\wx\wx.chm
534 prophtml: $(DOCDIR)\html\proplist\prop.htm
535 ps: wxps referencps
536 wxps: $(WXDIR)\docs\ps\wx.ps
537 propps: $(WXDIR)\docs\ps\prop.ps
538 referencps: $(WXDIR)\docs\ps\referenc.ps
539
540 portinghtml: $(DOCDIR)\html\porting\port.htm
541 portingrtf: $(DOCDIR)/winhelp/porting.rtf
542 portinghlp: $(DOCDIR)/winhelp/porting.hlp
543 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
544 portingps: $(WXDIR)\docs\ps\porting.ps
545
546 allhlp: wxhlp portinghlp prophlp
547 cd $(WXDIR)\utils\dialoged\src
548 nmake -f makefile.vc hlp
549 cd $(THISDIR)
550
551 # cd $(WXDIR)\utils\wxhelp\src
552 # nmake -f makefile.vc hlp
553 # cd $(WXDIR)\utils\tex2rtf\src
554 # nmake -f makefile.vc hlp
555 # cd $(WXDIR)\utils\wxgraph\src
556 # nmake -f makefile.vc hlp
557 # cd $(WXDIR)\utils\wxchart\src
558 # nmake -f makefile.vc hlp
559 # cd $(WXDIR)\utils\wxtree\src
560 # nmake -f makefile.vc hlp
561 # cd $(WXDIR)\utils\wxbuild\src
562 # nmake -f makefile.vc hlp
563 # cd $(WXDIR)\utils\wxgrid\src
564 # nmake -f makefile.vc hlp
565
566 allhtml: wxhtml portinghtml prophtml
567 cd $(WXDIR)\utils\dialoged\src
568 nmake -f makefile.vc html
569 cd $(THISDIR)
570
571 # nmake -f makefile.vc html
572 # cd $(WXDIR)\utils\dialoged\src
573 # nmake -f makefile.vc html
574 # cd $(WXDIR)\utils\hytext\src
575 # nmake -f makefile.vc html
576 # cd $(WXDIR)\utils\wxhelp\src
577 # nmake -f makefile.vc html
578 # cd $(WXDIR)\utils\tex2rtf\src
579 # nmake -f makefile.vc html
580 # cd $(WXDIR)\utils\wxgraph\src
581 # nmake -f makefile.vc html
582 # cd $(WXDIR)\utils\wxchart\src
583 # nmake -f makefile.vc html
584 # cd $(WXDIR)\utils\wxtree\src
585 # nmake -f makefile.vc html
586
587 allps: wxps referencps portingps propps
588 cd $(WXDIR)\utils\dialoged\src
589 nmake -f makefile.vc ps
590 cd $(THISDIR)
591
592 allpdfrtf: pdfrtf portingpdfrtf proppdfrtf
593 cd $(WXDIR)\utils\dialoged\src
594 nmake -f makefile.vc pdfrtf
595 cd $(THISDIR)
596
597 # cd $(WXDIR)\utils\wxhelp\src
598 # nmake -f makefile.vc ps
599 # cd $(WXDIR)\utils\tex2rtf\src
600 # nmake -f makefile.vc ps
601 # cd $(WXDIR)\utils\wxgraph\src
602 # nmake -f makefile.vc ps
603 # cd $(WXDIR)\utils\wxchart\src
604 # nmake -f makefile.vc ps
605 # cd $(WXDIR)\utils\wxtree\src
606 # nmake -f makefile.vc ps
607 # cd $(THISDIR)
608
609 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
610 cd $(DOCDIR)/latex/wx
611 -erase wx.ph
612 hc wx
613 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
614 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
615 cd $(THISDIR)
616
617 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
618 cd $(DOCDIR)/latex/porting
619 -erase porting.ph
620 hc porting
621 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
622 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
623 cd $(THISDIR)
624
625 $(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
626 cd $(DOCDIR)/latex/proplist
627 -erase prop.ph
628 hc prop
629 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
630 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
631 cd $(THISDIR)
632
633 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
634 cd $(DOCDIR)/latex/techref
635 -erase techref.ph
636 hc techref
637 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
638 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
639 cd $(THISDIR)
640
641 $(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
642 cd $(DOCDIR)\latex\wx
643 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
644 cd $(THISDIR)
645
646 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
647 cd $(DOCDIR)\latex\porting
648 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
649 cd $(THISDIR)
650
651 $(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
652 cd $(DOCDIR)\latex\proplist
653 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
654 cd $(THISDIR)
655
656 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
657 cd $(DOCDIR)\latex\techref
658 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
659 cd $(THISDIR)
660
661 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
662 cd $(DOCDIR)\latex\wx
663 -copy *.bmp *.wmf $(DOCDIR)\pdf
664 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
665 cd $(THISDIR)
666
667 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
668 cd $(DOCDIR)\latex\porting
669 -copy *.bmp *.wmf $(DOCDIR)\pdf
670 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
671 cd $(THISDIR)
672
673 $(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
674 cd $(DOCDIR)\latex\proplist
675 -copy *.bmp *.wmf $(DOCDIR)\pdf
676 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
677 cd $(THISDIR)
678
679 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
680 cd $(DOCDIR)\latex\techref
681 -copy *.bmp *.wmf $(DOCDIR)\pdf
682 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
683 cd $(THISDIR)
684
685 $(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
686 cd $(DOCDIR)\latex\wx
687 -mkdir $(DOCDIR)\html\wx
688 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
689 -erase $(DOCDIR)\html\wx\*.con
690 -erase $(DOCDIR)\html\wx\*.ref
691 -erase $(DOCDIR)\latex\wx\*.con
692 -erase $(DOCDIR)\latex\wx\*.ref
693 cd $(THISDIR)
694
695 $(DOCDIR)\html\wx\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
696 cd $(DOCDIR)\html\wx
697 -hhc wx.hhp
698 cd $(THISDIR)
699
700
701 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
702 cd $(DOCDIR)\latex\porting
703 -mkdir $(DOCDIR)\html\porting
704 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
705 -erase $(DOCDIR)\html\porting\*.con
706 -erase $(DOCDIR)\html\porting\*.ref
707 -erase $(DOCDIR)\latex\porting\*.con
708 -erase $(DOCDIR)\latex\porting\*.ref
709 cd $(THISDIR)
710
711 $(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
712 cd $(DOCDIR)\latex\proplist
713 -mkdir $(DOCDIR)\html\proplist
714 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
715 -erase $(DOCDIR)\html\proplist\*.con
716 -erase $(DOCDIR)\html\proplist\*.ref
717 -erase $(DOCDIR)\latex\proplist\*.con
718 -erase $(DOCDIR)\latex\proplist\*.ref
719 cd $(THISDIR)
720
721 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
722 cd $(WXDIR)\docs\latex\wx
723 -latex manual
724 -latex manual
725 -makeindx manual
726 -bibtex manual
727 -latex manual
728 -latex manual
729 cd $(THISDIR)
730
731 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
732 cd $(WXDIR)\docs\latex\porting
733 -latex porting
734 -latex porting
735 -makeindx porting
736 -bibtex porting
737 -latex porting
738 -latex porting
739 cd $(THISDIR)
740
741 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
742 cd $(WXDIR)\docs\latex\wx
743 -dvips32 -o wx.ps manual
744 move wx.ps $(WXDIR)\docs\ps\wx.ps
745 cd $(THISDIR)
746
747 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
748 cd $(WXDIR)\docs\latex\porting
749 -dvips32 -o porting.ps porting
750 move porting.ps $(WXDIR)\docs\ps\porting.ps
751 cd $(THISDIR)
752
753 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
754 cd $(WXDIR)\docs\latex\wx
755 -latex referenc
756 -latex referenc
757 -makeindx referenc
758 -bibtex referenc
759 -latex referenc
760 -latex referenc
761 cd $(THISDIR)
762
763 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
764 cd $(WXDIR)\docs\latex\wx
765 -dvips32 -o referenc.ps referenc
766 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
767 cd $(THISDIR)
768
769 # In order to force document reprocessing
770 touchmanual:
771 -touch $(WXDIR)\docs\latex\wx\manual.tex
772
773 updatedocs: touchmanual alldocs
774
775 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
776 # Office StartUp folder, and PDFMaker should be installed.
777 updatepdf: # touchmanual pdfrtf
778 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
779