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