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