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