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