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