]>
Commit | Line | Data |
---|---|---|
1 | # This file was automatically generated by tmake at 15:17, 2001/09/17 | |
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 | # This one overrides the others, to be consistent with the settings in setup.h | |
31 | MINIMAL_WXWINDOWS_SETUP=0 | |
32 | ||
33 | PERIPH_LIBS= | |
34 | PERIPH_TARGET= | |
35 | PERIPH_CLEAN_TARGET= | |
36 | ||
37 | # Set to 0 if not using GLCanvas (only affects DLL build) | |
38 | USE_GLCANVAS=1 | |
39 | ||
40 | # Set to 0 if you are using MSVC 5 | |
41 | USE_MSVC_5=0 | |
42 | ||
43 | # These are absolute paths, so that the compiler | |
44 | # generates correct __FILE__ symbols for debugging. | |
45 | # Otherwise you don't be able to double-click on a memory | |
46 | # error to load that file. | |
47 | GENDIR=$(WXDIR)\src\generic | |
48 | COMMDIR=$(WXDIR)\src\common | |
49 | OLEDIR=ole | |
50 | MSWDIR=$(WXDIR)\src\msw | |
51 | DOCDIR = $(WXDIR)\docs | |
52 | HTMLDIR = $(WXDIR)\src\html | |
53 | JPEGDIR = $(WXDIR)\src\jpeg | |
54 | TIFFDIR = $(WXDIR)\src\tiff | |
55 | ||
56 | {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj: | |
57 | cl @<< | |
58 | $(CPPFLAGS) /Fo$@ /c /Tp $< | |
59 | << | |
60 | ||
61 | {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj: | |
62 | cl @<< | |
63 | $(CPPFLAGS) /Fo$@ /c /Tp $< | |
64 | << | |
65 | ||
66 | {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj: | |
67 | cl @<< | |
68 | $(CPPFLAGS2) /Fo$@ /c /Tc $< | |
69 | << | |
70 | ||
71 | {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj: | |
72 | cl @<< | |
73 | $(CPPFLAGS) /Fo$@ /c /Tp $< | |
74 | << | |
75 | ||
76 | {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj: | |
77 | cl @<< | |
78 | $(CPPFLAGS2) /Fo$@ /c /Tc $< | |
79 | << | |
80 | ||
81 | {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj: | |
82 | cl @<< | |
83 | $(CPPFLAGS) /Fo$@ /c /Tp $< | |
84 | << | |
85 | ||
86 | {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj: | |
87 | cl @<< | |
88 | $(CPPFLAGS) /Fo$@ /c /Tp $< | |
89 | << | |
90 | ||
91 | GENERICOBJS= $(GENDIR)\$D\busyinfo.obj \ | |
92 | $(GENDIR)\$D\calctrl.obj \ | |
93 | $(GENDIR)\$D\choicdgg.obj \ | |
94 | $(GENDIR)\$D\dirctrlg.obj \ | |
95 | $(GENDIR)\$D\dragimgg.obj \ | |
96 | $(GENDIR)\$D\grid.obj \ | |
97 | $(GENDIR)\$D\gridctrl.obj \ | |
98 | $(GENDIR)\$D\gridsel.obj \ | |
99 | $(GENDIR)\$D\laywin.obj \ | |
100 | $(GENDIR)\$D\logg.obj \ | |
101 | $(GENDIR)\$D\numdlgg.obj \ | |
102 | $(GENDIR)\$D\panelg.obj \ | |
103 | $(GENDIR)\$D\progdlgg.obj \ | |
104 | $(GENDIR)\$D\prop.obj \ | |
105 | $(GENDIR)\$D\propform.obj \ | |
106 | $(GENDIR)\$D\proplist.obj \ | |
107 | $(GENDIR)\$D\sashwin.obj \ | |
108 | $(GENDIR)\$D\scrlwing.obj \ | |
109 | $(GENDIR)\$D\spinctlg.obj \ | |
110 | $(GENDIR)\$D\splash.obj \ | |
111 | $(GENDIR)\$D\splitter.obj \ | |
112 | $(GENDIR)\$D\statusbr.obj \ | |
113 | $(GENDIR)\$D\tbarsmpl.obj \ | |
114 | $(GENDIR)\$D\textdlgg.obj \ | |
115 | $(GENDIR)\$D\tipdlg.obj \ | |
116 | $(GENDIR)\$D\tipwin.obj \ | |
117 | $(GENDIR)\$D\treectlg.obj \ | |
118 | $(GENDIR)\$D\treelay.obj \ | |
119 | $(GENDIR)\$D\wizard.obj | |
120 | ||
121 | # These are generic things that don't need to be compiled on MSW, | |
122 | # but sometimes it's useful to do so for testing purposes. | |
123 | NONESSENTIALOBJS= $(GENDIR)\$D\colrdlgg.obj \ | |
124 | $(GENDIR)\$D\dirdlgg.obj \ | |
125 | $(GENDIR)\$D\fontdlgg.obj \ | |
126 | $(GENDIR)\$D\helpext.obj \ | |
127 | $(GENDIR)\$D\helphtml.obj \ | |
128 | $(GENDIR)\$D\helpwxht.obj \ | |
129 | $(GENDIR)\$D\imaglist.obj \ | |
130 | $(GENDIR)\$D\listctrl.obj \ | |
131 | $(GENDIR)\$D\msgdlgg.obj \ | |
132 | $(GENDIR)\$D\notebook.obj \ | |
133 | $(GENDIR)\$D\tabg.obj | |
134 | ||
135 | COMMONOBJS = \ | |
136 | $(COMMDIR)\$D\y_tab.obj \ | |
137 | $(COMMDIR)\$D\appcmn.obj \ | |
138 | $(COMMDIR)\$D\choiccmn.obj \ | |
139 | $(COMMDIR)\$D\clipcmn.obj \ | |
140 | $(COMMDIR)\$D\cmdline.obj \ | |
141 | $(COMMDIR)\$D\cmdproc.obj \ | |
142 | $(COMMDIR)\$D\cmndata.obj \ | |
143 | $(COMMDIR)\$D\config.obj \ | |
144 | $(COMMDIR)\$D\containr.obj \ | |
145 | $(COMMDIR)\$D\cshelp.obj \ | |
146 | $(COMMDIR)\$D\ctrlcmn.obj \ | |
147 | $(COMMDIR)\$D\ctrlsub.obj \ | |
148 | $(COMMDIR)\$D\datetime.obj \ | |
149 | $(COMMDIR)\$D\datstrm.obj \ | |
150 | $(COMMDIR)\$D\db.obj \ | |
151 | $(COMMDIR)\$D\dbgrid.obj \ | |
152 | $(COMMDIR)\$D\dbtable.obj \ | |
153 | $(COMMDIR)\$D\dcbase.obj \ | |
154 | $(COMMDIR)\$D\dircmn.obj \ | |
155 | $(COMMDIR)\$D\dlgcmn.obj \ | |
156 | $(COMMDIR)\$D\dndcmn.obj \ | |
157 | $(COMMDIR)\$D\dobjcmn.obj \ | |
158 | $(COMMDIR)\$D\docmdi.obj \ | |
159 | $(COMMDIR)\$D\docview.obj \ | |
160 | $(COMMDIR)\$D\dynarray.obj \ | |
161 | $(COMMDIR)\$D\dynlib.obj \ | |
162 | $(COMMDIR)\$D\effects.obj \ | |
163 | $(COMMDIR)\$D\encconv.obj \ | |
164 | $(COMMDIR)\$D\event.obj \ | |
165 | $(COMMDIR)\$D\extended.obj \ | |
166 | $(COMMDIR)\$D\fddlgcmn.obj \ | |
167 | $(COMMDIR)\$D\ffile.obj \ | |
168 | $(COMMDIR)\$D\file.obj \ | |
169 | $(COMMDIR)\$D\fileconf.obj \ | |
170 | $(COMMDIR)\$D\filefn.obj \ | |
171 | $(COMMDIR)\$D\filename.obj \ | |
172 | $(COMMDIR)\$D\filesys.obj \ | |
173 | $(COMMDIR)\$D\fontcmn.obj \ | |
174 | $(COMMDIR)\$D\fontmap.obj \ | |
175 | $(COMMDIR)\$D\framecmn.obj \ | |
176 | $(COMMDIR)\$D\fs_inet.obj \ | |
177 | $(COMMDIR)\$D\fs_mem.obj \ | |
178 | $(COMMDIR)\$D\fs_zip.obj \ | |
179 | $(COMMDIR)\$D\ftp.obj \ | |
180 | $(COMMDIR)\$D\gaugecmn.obj \ | |
181 | $(COMMDIR)\$D\gdicmn.obj \ | |
182 | $(COMMDIR)\$D\geometry.obj \ | |
183 | $(COMMDIR)\$D\gifdecod.obj \ | |
184 | $(COMMDIR)\$D\hash.obj \ | |
185 | $(COMMDIR)\$D\helpbase.obj \ | |
186 | $(COMMDIR)\$D\http.obj \ | |
187 | $(COMMDIR)\$D\imagall.obj \ | |
188 | $(COMMDIR)\$D\imagbmp.obj \ | |
189 | $(COMMDIR)\$D\image.obj \ | |
190 | $(COMMDIR)\$D\imaggif.obj \ | |
191 | $(COMMDIR)\$D\imagjpeg.obj \ | |
192 | $(COMMDIR)\$D\imagpcx.obj \ | |
193 | $(COMMDIR)\$D\imagpng.obj \ | |
194 | $(COMMDIR)\$D\imagpnm.obj \ | |
195 | $(COMMDIR)\$D\imagtiff.obj \ | |
196 | $(COMMDIR)\$D\imagxpm.obj \ | |
197 | $(COMMDIR)\$D\intl.obj \ | |
198 | $(COMMDIR)\$D\ipcbase.obj \ | |
199 | $(COMMDIR)\$D\layout.obj \ | |
200 | $(COMMDIR)\$D\lboxcmn.obj \ | |
201 | $(COMMDIR)\$D\list.obj \ | |
202 | $(COMMDIR)\$D\log.obj \ | |
203 | $(COMMDIR)\$D\longlong.obj \ | |
204 | $(COMMDIR)\$D\matrix.obj \ | |
205 | $(COMMDIR)\$D\memory.obj \ | |
206 | $(COMMDIR)\$D\menucmn.obj \ | |
207 | $(COMMDIR)\$D\mimecmn.obj \ | |
208 | $(COMMDIR)\$D\module.obj \ | |
209 | $(COMMDIR)\$D\mstream.obj \ | |
210 | $(COMMDIR)\$D\nbkbase.obj \ | |
211 | $(COMMDIR)\$D\object.obj \ | |
212 | $(COMMDIR)\$D\objstrm.obj \ | |
213 | $(COMMDIR)\$D\odbc.obj \ | |
214 | $(COMMDIR)\$D\paper.obj \ | |
215 | $(COMMDIR)\$D\popupcmn.obj \ | |
216 | $(COMMDIR)\$D\prntbase.obj \ | |
217 | $(COMMDIR)\$D\process.obj \ | |
218 | $(COMMDIR)\$D\protocol.obj \ | |
219 | $(COMMDIR)\$D\quantize.obj \ | |
220 | $(COMMDIR)\$D\radiocmn.obj \ | |
221 | $(COMMDIR)\$D\regex.obj \ | |
222 | $(COMMDIR)\$D\resource.obj \ | |
223 | $(COMMDIR)\$D\sckaddr.obj \ | |
224 | $(COMMDIR)\$D\sckfile.obj \ | |
225 | $(COMMDIR)\$D\sckipc.obj \ | |
226 | $(COMMDIR)\$D\sckstrm.obj \ | |
227 | $(COMMDIR)\$D\serbase.obj \ | |
228 | $(COMMDIR)\$D\sizer.obj \ | |
229 | $(COMMDIR)\$D\socket.obj \ | |
230 | $(COMMDIR)\$D\strconv.obj \ | |
231 | $(COMMDIR)\$D\stream.obj \ | |
232 | $(COMMDIR)\$D\string.obj \ | |
233 | $(COMMDIR)\$D\sysopt.obj \ | |
234 | $(COMMDIR)\$D\tbarbase.obj \ | |
235 | $(COMMDIR)\$D\textcmn.obj \ | |
236 | $(COMMDIR)\$D\textfile.obj \ | |
237 | $(COMMDIR)\$D\timercmn.obj \ | |
238 | $(COMMDIR)\$D\tokenzr.obj \ | |
239 | $(COMMDIR)\$D\toplvcmn.obj \ | |
240 | $(COMMDIR)\$D\treebase.obj \ | |
241 | $(COMMDIR)\$D\txtstrm.obj \ | |
242 | $(COMMDIR)\$D\unzip.obj \ | |
243 | $(COMMDIR)\$D\url.obj \ | |
244 | $(COMMDIR)\$D\utilscmn.obj \ | |
245 | $(COMMDIR)\$D\valgen.obj \ | |
246 | $(COMMDIR)\$D\validate.obj \ | |
247 | $(COMMDIR)\$D\valtext.obj \ | |
248 | $(COMMDIR)\$D\variant.obj \ | |
249 | $(COMMDIR)\$D\wfstream.obj \ | |
250 | $(COMMDIR)\$D\wincmn.obj \ | |
251 | $(COMMDIR)\$D\wxchar.obj \ | |
252 | $(COMMDIR)\$D\wxexpr.obj \ | |
253 | $(COMMDIR)\$D\xpmdecod.obj \ | |
254 | $(COMMDIR)\$D\zipstrm.obj \ | |
255 | $(COMMDIR)\$D\zstream.obj | |
256 | ||
257 | MSWOBJS = $(MSWDIR)\$D\accel.obj \ | |
258 | $(MSWDIR)\$D\app.obj \ | |
259 | $(OLEDIR)\$D\automtn.obj \ | |
260 | $(MSWDIR)\$D\bitmap.obj \ | |
261 | $(MSWDIR)\$D\bmpbuttn.obj \ | |
262 | $(MSWDIR)\$D\brush.obj \ | |
263 | $(MSWDIR)\$D\button.obj \ | |
264 | $(MSWDIR)\$D\caret.obj \ | |
265 | $(MSWDIR)\$D\checkbox.obj \ | |
266 | $(MSWDIR)\$D\checklst.obj \ | |
267 | $(MSWDIR)\$D\choice.obj \ | |
268 | $(MSWDIR)\$D\clipbrd.obj \ | |
269 | $(MSWDIR)\$D\colordlg.obj \ | |
270 | $(MSWDIR)\$D\colour.obj \ | |
271 | $(MSWDIR)\$D\combobox.obj \ | |
272 | $(MSWDIR)\$D\control.obj \ | |
273 | $(MSWDIR)\$D\curico.obj \ | |
274 | $(MSWDIR)\$D\cursor.obj \ | |
275 | $(MSWDIR)\$D\data.obj \ | |
276 | $(OLEDIR)\$D\dataobj.obj \ | |
277 | $(MSWDIR)\$D\dc.obj \ | |
278 | $(MSWDIR)\$D\dcclient.obj \ | |
279 | $(MSWDIR)\$D\dcmemory.obj \ | |
280 | $(MSWDIR)\$D\dcprint.obj \ | |
281 | $(MSWDIR)\$D\dcscreen.obj \ | |
282 | $(MSWDIR)\$D\dde.obj \ | |
283 | $(MSWDIR)\$D\dialog.obj \ | |
284 | $(MSWDIR)\$D\dialup.obj \ | |
285 | $(MSWDIR)\$D\dib.obj \ | |
286 | $(MSWDIR)\$D\dibutils.obj \ | |
287 | $(MSWDIR)\$D\dir.obj \ | |
288 | $(MSWDIR)\$D\dirdlg.obj \ | |
289 | $(MSWDIR)\$D\dragimag.obj \ | |
290 | $(OLEDIR)\$D\dropsrc.obj \ | |
291 | $(OLEDIR)\$D\droptgt.obj \ | |
292 | $(MSWDIR)\$D\enhmeta.obj \ | |
293 | $(MSWDIR)\$D\evtloop.obj \ | |
294 | $(MSWDIR)\$D\fdrepdlg.obj \ | |
295 | $(MSWDIR)\$D\filedlg.obj \ | |
296 | $(MSWDIR)\$D\font.obj \ | |
297 | $(MSWDIR)\$D\fontdlg.obj \ | |
298 | $(MSWDIR)\$D\fontenum.obj \ | |
299 | $(MSWDIR)\$D\fontutil.obj \ | |
300 | $(MSWDIR)\$D\frame.obj \ | |
301 | $(MSWDIR)\$D\gauge95.obj \ | |
302 | $(MSWDIR)\$D\gdiimage.obj \ | |
303 | $(MSWDIR)\$D\gdiobj.obj \ | |
304 | $(MSWDIR)\$D\glcanvas.obj \ | |
305 | $(MSWDIR)\$D\gsocket.obj \ | |
306 | $(MSWDIR)\$D\gsockmsw.obj \ | |
307 | $(MSWDIR)\$D\helpbest.obj \ | |
308 | $(MSWDIR)\$D\helpchm.obj \ | |
309 | $(MSWDIR)\$D\helpwin.obj \ | |
310 | $(MSWDIR)\$D\icon.obj \ | |
311 | $(MSWDIR)\$D\imaglist.obj \ | |
312 | $(MSWDIR)\$D\joystick.obj \ | |
313 | $(MSWDIR)\$D\listbox.obj \ | |
314 | $(MSWDIR)\$D\listctrl.obj \ | |
315 | $(MSWDIR)\$D\main.obj \ | |
316 | $(MSWDIR)\$D\mdi.obj \ | |
317 | $(MSWDIR)\$D\menu.obj \ | |
318 | $(MSWDIR)\$D\menuitem.obj \ | |
319 | $(MSWDIR)\$D\metafile.obj \ | |
320 | $(MSWDIR)\$D\mimetype.obj \ | |
321 | $(MSWDIR)\$D\minifram.obj \ | |
322 | $(MSWDIR)\$D\msgdlg.obj \ | |
323 | $(MSWDIR)\$D\nativdlg.obj \ | |
324 | $(MSWDIR)\$D\notebook.obj \ | |
325 | $(OLEDIR)\$D\oleutils.obj \ | |
326 | $(MSWDIR)\$D\ownerdrw.obj \ | |
327 | $(MSWDIR)\$D\palette.obj \ | |
328 | $(MSWDIR)\$D\pen.obj \ | |
329 | $(MSWDIR)\$D\penwin.obj \ | |
330 | $(MSWDIR)\$D\printdlg.obj \ | |
331 | $(MSWDIR)\$D\printwin.obj \ | |
332 | $(MSWDIR)\$D\radiobox.obj \ | |
333 | $(MSWDIR)\$D\radiobut.obj \ | |
334 | $(MSWDIR)\$D\regconf.obj \ | |
335 | $(MSWDIR)\$D\region.obj \ | |
336 | $(MSWDIR)\$D\registry.obj \ | |
337 | $(MSWDIR)\$D\scrolbar.obj \ | |
338 | $(MSWDIR)\$D\settings.obj \ | |
339 | $(MSWDIR)\$D\slider95.obj \ | |
340 | $(MSWDIR)\$D\snglinst.obj \ | |
341 | $(MSWDIR)\$D\spinbutt.obj \ | |
342 | $(MSWDIR)\$D\spinctrl.obj \ | |
343 | $(MSWDIR)\$D\statbmp.obj \ | |
344 | $(MSWDIR)\$D\statbox.obj \ | |
345 | $(MSWDIR)\$D\statbr95.obj \ | |
346 | $(MSWDIR)\$D\statline.obj \ | |
347 | $(MSWDIR)\$D\stattext.obj \ | |
348 | $(MSWDIR)\$D\tabctrl.obj \ | |
349 | $(MSWDIR)\$D\taskbar.obj \ | |
350 | $(MSWDIR)\$D\tbar95.obj \ | |
351 | $(MSWDIR)\$D\textctrl.obj \ | |
352 | $(MSWDIR)\$D\tglbtn.obj \ | |
353 | $(MSWDIR)\$D\thread.obj \ | |
354 | $(MSWDIR)\$D\timer.obj \ | |
355 | $(MSWDIR)\$D\tooltip.obj \ | |
356 | $(MSWDIR)\$D\treectrl.obj \ | |
357 | $(MSWDIR)\$D\utils.obj \ | |
358 | $(MSWDIR)\$D\utilsexc.obj \ | |
359 | $(OLEDIR)\$D\uuid.obj \ | |
360 | $(MSWDIR)\$D\wave.obj \ | |
361 | $(MSWDIR)\$D\window.obj | |
362 | ||
363 | HTMLOBJS = $(HTMLDIR)\$D\helpctrl.obj \ | |
364 | $(HTMLDIR)\$D\helpdata.obj \ | |
365 | $(HTMLDIR)\$D\helpfrm.obj \ | |
366 | $(HTMLDIR)\$D\htmlcell.obj \ | |
367 | $(HTMLDIR)\$D\htmlfilt.obj \ | |
368 | $(HTMLDIR)\$D\htmlpars.obj \ | |
369 | $(HTMLDIR)\$D\htmltag.obj \ | |
370 | $(HTMLDIR)\$D\htmlwin.obj \ | |
371 | $(HTMLDIR)\$D\htmprint.obj \ | |
372 | $(HTMLDIR)\$D\m_dflist.obj \ | |
373 | $(HTMLDIR)\$D\m_fonts.obj \ | |
374 | $(HTMLDIR)\$D\m_hline.obj \ | |
375 | $(HTMLDIR)\$D\m_image.obj \ | |
376 | $(HTMLDIR)\$D\m_layout.obj \ | |
377 | $(HTMLDIR)\$D\m_links.obj \ | |
378 | $(HTMLDIR)\$D\m_list.obj \ | |
379 | $(HTMLDIR)\$D\m_meta.obj \ | |
380 | $(HTMLDIR)\$D\m_pre.obj \ | |
381 | $(HTMLDIR)\$D\m_tables.obj \ | |
382 | $(HTMLDIR)\$D\winpars.obj | |
383 | ||
384 | ||
385 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
386 | # Add $(HTMLOBJS) if wanting wxHTML classes | |
387 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) | |
388 | ||
389 | # Normal, static library | |
390 | all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET) | |
391 | ||
392 | setuph: | |
393 | cd $(WXDIR)\include\wx\msw | |
394 | if not exist setup.h copy setup0.h setup.h | |
395 | cd $(WXDIR)\src\msw | |
396 | ||
397 | dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D | |
398 | ||
399 | $D: | |
400 | mkdir $D | |
401 | ||
402 | $(COMMDIR)\$D: | |
403 | mkdir $(COMMDIR)\$D | |
404 | ||
405 | $(MSWDIR)\$D: | |
406 | mkdir $(MSWDIR)\$D | |
407 | ||
408 | $(GENDIR)\$D: | |
409 | mkdir $(GENDIR)\$D | |
410 | ||
411 | $(OLEDIR)\$D: | |
412 | mkdir $(OLEDIR)\$D | |
413 | ||
414 | $(HTMLDIR)\$D: | |
415 | mkdir $(HTMLDIR)\$D | |
416 | ||
417 | $(JPEGDIR)\$D: | |
418 | mkdir $(JPEGDIR)\$D | |
419 | ||
420 | $(TIFFDIR)\$D: | |
421 | mkdir $(TIFFDIR)\$D | |
422 | ||
423 | # wxWindows library as DLL | |
424 | dll: | |
425 | nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
426 | ||
427 | cleandll: | |
428 | nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
429 | ||
430 | # wxWindows + app as DLL. Only affects main.cpp. | |
431 | dllapp: | |
432 | nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 | |
433 | ||
434 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
435 | dllnp: | |
436 | nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 | |
437 | ||
438 | # Use this to make dummy.obj and generate a PCH. | |
439 | # You might use the dll target, then the pch target, in order to | |
440 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
441 | # | |
442 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
443 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
444 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
445 | # In fact headers are compiled differently depending on whether a DLL is being made | |
446 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
447 | # in each case) so you couldn't use the same PCH. | |
448 | pch: | |
449 | nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
450 | ||
451 | pch1: dirs $(DUMMYOBJ) | |
452 | echo $(DUMMYOBJ) | |
453 | ||
454 | !if "$(WXMAKINGDLL)" != "1" | |
455 | ||
456 | ### Static library | |
457 | ||
458 | $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
459 | -erase $(LIBTARGET) | |
460 | $(implib) @<< | |
461 | -out:$@ | |
462 | -machine:$(CPU) | |
463 | $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS) | |
464 | << | |
465 | ||
466 | !else | |
467 | ||
468 | ### Update the import library | |
469 | ||
470 | $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) | |
471 | $(implib) @<< | |
472 | -machine:$(CPU) | |
473 | -def:wx.def | |
474 | $(DUMMYOBJ) $(OBJECTS) | |
475 | -out:$(WXDIR)\lib\$(WXLIBNAME).lib | |
476 | << | |
477 | ||
478 | !if "$(USE_GLCANVAS)" == "1" | |
479 | GL_LIBS=opengl32.lib glu32.lib | |
480 | # GL_LIBS_DELAY=/delayload:opengl32.dll | |
481 | !endif | |
482 | ||
483 | !if "$(USE_MSVC_5)" == "1" | |
484 | # we are too big | |
485 | INCREMENTAL=/INCREMENTAL:NO | |
486 | DELAY_LOAD= | |
487 | !else | |
488 | INCREMENTAL= | |
489 | DELAY_LOAD=delayimp.lib \ | |
490 | /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \ | |
491 | /delayload:gdi32.dll \ | |
492 | /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \ | |
493 | /delayload:ole32.dll \ | |
494 | /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY) | |
495 | !endif | |
496 | ||
497 | # Update the dynamic link library | |
498 | $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) | |
499 | $(link) @<< | |
500 | $(LINKFLAGS) $(INCREMENTAL) | |
501 | -out:$(WXDIR)\lib\$(WXLIBNAME).dll | |
502 | $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(GL_LIBS) $(WXDIR)\lib\png$(LIBEXT).lib $(WXDIR)\lib\zlib$(LIBEXT).lib $(WXDIR)\lib\jpeg$(LIBEXT).lib $(WXDIR)\lib\tiff$(LIBEXT).lib $(DELAY_LOAD) | |
503 | << | |
504 | ||
505 | !endif | |
506 | ||
507 | # /delayload:winmm.dll # Removed because it can cause a crash for some people | |
508 | ||
509 | ######################################################## | |
510 | # Windows-specific objects | |
511 | ||
512 | $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h | |
513 | cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp | |
514 | ||
515 | $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h | |
516 | cl @<< | |
517 | $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp | |
518 | << | |
519 | ||
520 | # Compile certain files with no optimization (some files cause a | |
521 | # compiler crash for buggy versions of VC++, e.g. 4.0). | |
522 | # Don't forget to put FINAL=1 on the command line. | |
523 | noopt: | |
524 | cl @<< | |
525 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp | |
526 | << | |
527 | cl @<< | |
528 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp | |
529 | << | |
530 | cl @<< | |
531 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp | |
532 | << | |
533 | cl @<< | |
534 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp | |
535 | << | |
536 | cl @<< | |
537 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp | |
538 | << | |
539 | cl @<< | |
540 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp | |
541 | << | |
542 | cl @<< | |
543 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp | |
544 | << | |
545 | cl @<< | |
546 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp | |
547 | << | |
548 | cl @<< | |
549 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp | |
550 | << | |
551 | cl @<< | |
552 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp | |
553 | << | |
554 | cl @<< | |
555 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp | |
556 | << | |
557 | cl @<< | |
558 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp | |
559 | << | |
560 | cl @<< | |
561 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp | |
562 | << | |
563 | cl @<< | |
564 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp | |
565 | << | |
566 | cl @<< | |
567 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp | |
568 | << | |
569 | cl @<< | |
570 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp | |
571 | << | |
572 | cl @<< | |
573 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp | |
574 | << | |
575 | cl @<< | |
576 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp | |
577 | << | |
578 | cl @<< | |
579 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp | |
580 | << | |
581 | cl @<< | |
582 | $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp | |
583 | << | |
584 | ||
585 | $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
586 | cl @<< | |
587 | $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
588 | << | |
589 | ||
590 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
591 | copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c | |
592 | ||
593 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
594 | copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c | |
595 | ||
596 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
597 | ||
598 | $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c | |
599 | cl @<< | |
600 | $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@ | |
601 | << | |
602 | ||
603 | # Peripheral components | |
604 | ||
605 | png: | |
606 | cd $(WXDIR)\src\png | |
607 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
608 | cd $(WXDIR)\src\msw | |
609 | ||
610 | clean_png: | |
611 | cd $(WXDIR)\src\png | |
612 | nmake -f makefile.vc clean | |
613 | cd $(WXDIR)\src\msw | |
614 | ||
615 | zlib: | |
616 | cd $(WXDIR)\src\zlib | |
617 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
618 | cd $(WXDIR)\src\msw | |
619 | ||
620 | clean_zlib: | |
621 | cd $(WXDIR)\src\zlib | |
622 | nmake -f makefile.vc clean | |
623 | cd $(WXDIR)\src\msw | |
624 | ||
625 | jpeg: | |
626 | cd $(WXDIR)\src\jpeg | |
627 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all | |
628 | cd $(WXDIR)\src\msw | |
629 | ||
630 | clean_jpeg: | |
631 | cd $(WXDIR)\src\jpeg | |
632 | nmake -f makefile.vc clean | |
633 | cd $(WXDIR)\src\msw | |
634 | ||
635 | tiff: | |
636 | cd $(WXDIR)\src\tiff | |
637 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all | |
638 | cd $(WXDIR)\src\msw | |
639 | ||
640 | clean_tiff: | |
641 | cd $(WXDIR)\src\tiff | |
642 | nmake -f makefile.vc clean | |
643 | cd $(WXDIR)\src\msw | |
644 | ||
645 | regex: | |
646 | cd $(WXDIR)\src\regex | |
647 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
648 | cd $(WXDIR)\src\msw | |
649 | ||
650 | clean_regex: | |
651 | cd $(WXDIR)\src\regex | |
652 | nmake -f makefile.vc clean | |
653 | cd $(WXDIR)\src\msw | |
654 | ||
655 | rcparser: | |
656 | cd $(WXDIR)\utils\rcparser\src | |
657 | nmake -f makefile.vc FINAL=$(FINAL) | |
658 | cd $(WXDIR)\src\msw | |
659 | ||
660 | cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex | |
661 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll | |
662 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib | |
663 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp | |
664 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb | |
665 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk | |
666 | ||
667 | ||
668 | clean: $(PERIPH_CLEAN_TARGET) | |
669 | -erase $(LIBTARGET) | |
670 | -erase $(WXDIR)\lib\$(WXLIBNAME).pdb | |
671 | -erase *.pdb | |
672 | -erase *.sbr | |
673 | -erase $(WXLIBNAME).pch | |
674 | -erase $(GENDIR)\$D\*.obj | |
675 | -erase $(GENDIR)\$D\*.pdb | |
676 | -erase $(GENDIR)\$D\*.sbr | |
677 | -erase $(COMMDIR)\$D\*.obj | |
678 | -erase $(COMMDIR)\$D\*.pdb | |
679 | -erase $(COMMDIR)\$D\*.sbr | |
680 | -erase $(COMMDIR)\y_tab.c | |
681 | -erase $(COMMDIR)\lex_yy.c | |
682 | -erase $(MSWDIR)\$D\*.obj | |
683 | -erase $(MSWDIR)\$D\*.sbr | |
684 | -erase $(MSWDIR)\$D\*.pdb | |
685 | -erase $(MSWDIR)\$D\*.pch | |
686 | -erase $(OLEDIR)\$D\*.obj | |
687 | -erase $(OLEDIR)\$D\*.sbr | |
688 | -erase $(OLEDIR)\$D\*.pdb | |
689 | -erase $(HTMLDIR)\$D\*.obj | |
690 | -erase $(HTMLDIR)\$D\*.sbr | |
691 | -erase $(HTMLDIR)\$D\*.pdb | |
692 | -erase $(JPEGDIR)\$D\*.obj | |
693 | -erase $(JPEGDIR)\$D\*.sbr | |
694 | -erase $(JPEGDIR)\$D\*.idb | |
695 | -erase $(JPEGDIR)\$D\*.pdb | |
696 | -erase $(TIFFDIR)\$D\*.obj | |
697 | -erase $(TIFFDIR)\$D\*.sbr | |
698 | -erase $(TIFFDIR)\$D\*.pdb | |
699 | -erase $(TIFFDIR)\$D\*.idb | |
700 | -rmdir $(D) | |
701 | -rmdir $(GENDIR)\$(D) | |
702 | -rmdir $(COMMDIR)\$(D) | |
703 | -rmdir $(MSWDIR)\$(D) | |
704 | -rmdir $(OLEDIR)\$(D) | |
705 | -rmdir $(HTMLDIR)\$(D) | |
706 | -rmdir $(JPEGDIR)\$(D) | |
707 | -rmdir $(TIFFDIR)\$(D) | |
708 | ||
709 | # Making documents | |
710 | docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp | |
711 | alldocs: docs | |
712 | hlp: wxhlp | |
713 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
714 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
715 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
716 | pdfrtf: $(DOCDIR)/pdf/wx.rtf | |
717 | refpdfrtf: $(DOCDIR)/pdf/techref.rtf | |
718 | html: wxhtml | |
719 | htb: $(DOCDIR)\htb\wx.htb | |
720 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
721 | htmlhelp: $(DOCDIR)\htmlhelp\wx.chm | |
722 | ps: wxps referencps | |
723 | wxps: $(WXDIR)\docs\ps\wx.ps | |
724 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
725 | ||
726 | allhlp: wxhlp | |
727 | cd $(WXDIR)\utils\dialoged\src | |
728 | nmake -f makefile.vc hlp | |
729 | cd $(WXDIR)\utils\tex2rtf\src | |
730 | nmake -f makefile.vc hlp | |
731 | cd $(THISDIR) | |
732 | ||
733 | allhtml: wxhtml | |
734 | cd $(WXDIR)\utils\dialoged\src | |
735 | nmake -f makefile.vc html | |
736 | cd $(WXDIR)\utils\tex2rtf\src | |
737 | nmake -f makefile.vc html | |
738 | cd $(THISDIR) | |
739 | ||
740 | allhtmlhelp: htmlhelp | |
741 | cd $(WXDIR)\utils\dialoged\src | |
742 | nmake -f makefile.vc htmlhelp | |
743 | cd $(WXDIR)\utils\tex2rtf\src | |
744 | nmake -f makefile.vc htmlhelp | |
745 | cd $(THISDIR) | |
746 | ||
747 | allhtb: htb | |
748 | cd $(WXDIR)\utils\dialoged\src | |
749 | nmake -f makefile.vc htb | |
750 | cd $(WXDIR)\utils\tex2rtf\src | |
751 | nmake -f makefile.vc htb | |
752 | cd $(THISDIR) | |
753 | ||
754 | allps: wxps referencps | |
755 | cd $(WXDIR)\utils\dialoged\src | |
756 | nmake -f makefile.vc ps | |
757 | cd $(WXDIR)\utils\tex2rtf\src | |
758 | nmake -f makefile.vc ps | |
759 | cd $(THISDIR) | |
760 | ||
761 | allpdfrtf: pdfrtf | |
762 | cd $(WXDIR)\utils\dialoged\src | |
763 | nmake -f makefile.vc pdfrtf | |
764 | cd $(WXDIR)\utils\tex2rtf\src | |
765 | nmake -f makefile.vc pdfrtf | |
766 | cd $(THISDIR) | |
767 | ||
768 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
769 | cd $(DOCDIR)/latex/wx | |
770 | -erase wx.ph | |
771 | hc wx | |
772 | -erase $(DOCDIR)\winhelp\wx.hlp | |
773 | -erase $(DOCDIR)\winhelp\wx.cnt | |
774 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
775 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
776 | cd $(THISDIR) | |
777 | ||
778 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
779 | cd $(DOCDIR)/latex/techref | |
780 | -erase techref.ph | |
781 | hc techref | |
782 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
783 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
784 | cd $(THISDIR) | |
785 | ||
786 | $(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 | |
787 | cd $(DOCDIR)\latex\wx | |
788 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
789 | cd $(THISDIR) | |
790 | ||
791 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
792 | cd $(DOCDIR)\latex\techref | |
793 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
794 | cd $(THISDIR) | |
795 | ||
796 | $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
797 | cd $(DOCDIR)\latex\wx | |
798 | -copy *.wmf $(DOCDIR)\pdf | |
799 | -copy *.bmp $(DOCDIR)\pdf | |
800 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf | |
801 | cd $(THISDIR) | |
802 | ||
803 | $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
804 | cd $(DOCDIR)\latex\techref | |
805 | -copy *.wmf $(DOCDIR)\pdf | |
806 | -copy *.bmp $(DOCDIR)\pdf | |
807 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf | |
808 | cd $(THISDIR) | |
809 | ||
810 | $(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 | |
811 | cd $(DOCDIR)\latex\wx | |
812 | -mkdir $(DOCDIR)\html\wx | |
813 | copy *.gif $(DOCDIR)\html\wx | |
814 | -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html | |
815 | -erase $(DOCDIR)\html\wx\*.con | |
816 | -erase $(DOCDIR)\html\wx\*.ref | |
817 | -erase $(DOCDIR)\latex\wx\*.con | |
818 | -erase $(DOCDIR)\latex\wx\*.ref | |
819 | cd $(THISDIR) | |
820 | ||
821 | $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp | |
822 | cd $(DOCDIR)\html\wx | |
823 | -hhc wx.hhp | |
824 | -mkdir ..\..\htmlhelp | |
825 | -erase $(DOCDIR)\htmlhelp\wx.chm | |
826 | move wx.chm ..\..\htmlhelp | |
827 | cd $(THISDIR) | |
828 | ||
829 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
830 | cd $(WXDIR)\docs\latex\wx | |
831 | -latex manual | |
832 | -latex manual | |
833 | -makeindx manual | |
834 | -bibtex manual | |
835 | -latex manual | |
836 | -latex manual | |
837 | cd $(THISDIR) | |
838 | ||
839 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
840 | cd $(WXDIR)\docs\latex\wx | |
841 | -dvips32 -o wx.ps manual | |
842 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
843 | cd $(THISDIR) | |
844 | ||
845 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
846 | cd $(WXDIR)\docs\latex\wx | |
847 | -latex referenc | |
848 | -latex referenc | |
849 | -makeindx referenc | |
850 | -bibtex referenc | |
851 | -latex referenc | |
852 | -latex referenc | |
853 | cd $(THISDIR) | |
854 | ||
855 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
856 | cd $(WXDIR)\docs\latex\wx | |
857 | -dvips32 -o referenc.ps referenc | |
858 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
859 | cd $(THISDIR) | |
860 | ||
861 | # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk | |
862 | # files, renamed to htb. | |
863 | # This can then be used with e.g. helpview. | |
864 | # Optionally, a cached version of the .hhp file can be generated with hhp2cached. | |
865 | $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm | |
866 | cd $(WXDIR)\docs\html\wx | |
867 | -erase wx.zip wx.htb | |
868 | zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk | |
869 | -mkdir $(DOCDIR)\htb | |
870 | move wx.zip $(DOCDIR)\htb\wx.htb | |
871 | cd $(THISDIR) | |
872 | ||
873 | # In order to force document reprocessing | |
874 | touchmanual: | |
875 | -touch $(WXDIR)\docs\latex\wx\manual.tex | |
876 | ||
877 | updatedocs: touchmanual alldocs | |
878 | ||
879 | cleandocs: | |
880 | -erase $(DOCDIR)\winhelp\wx.hlp | |
881 | -erase $(DOCDIR)\winhelp\wx.cnt | |
882 | -erase $(DOCDIR)\html\wx\*.htm | |
883 | -erase $(DOCDIR)\pdf\wx.rtf | |
884 | -erase $(DOCDIR)\latex\wx\wx.rtf | |
885 | -erase $(DOCDIR)\latex\wx\WX.PH | |
886 | -erase $(DOCDIR)\htmlhelp\wx.chm | |
887 | -erase $(DOCDIR)\htb\wx.htb | |
888 | ||
889 | # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the | |
890 | # Office StartUp folder, and PDFMaker should be installed. | |
891 | updatepdf: # touchmanual pdfrtf | |
892 | start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" | |
893 | ||
894 | ||
895 | MFTYPE=vc | |
896 | makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t | |
897 | cd $(WXWIN)\distrib\msw\tmake | |
898 | tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) | |
899 | copy makefile.$(MFTYPE) $(WXWIN)\src\msw | |
900 |