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