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