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