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