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