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