]>
Commit | Line | Data |
---|---|---|
1 | # This file was automatically generated by tmake at 14:54, 2001/09/26 | |
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\toplevel.obj \ | |
357 | $(MSWDIR)\$D\treectrl.obj \ | |
358 | $(MSWDIR)\$D\utils.obj \ | |
359 | $(MSWDIR)\$D\utilsexc.obj \ | |
360 | $(OLEDIR)\$D\uuid.obj \ | |
361 | $(MSWDIR)\$D\wave.obj \ | |
362 | $(MSWDIR)\$D\window.obj | |
363 | ||
364 | HTMLOBJS = $(HTMLDIR)\$D\helpctrl.obj \ | |
365 | $(HTMLDIR)\$D\helpdata.obj \ | |
366 | $(HTMLDIR)\$D\helpfrm.obj \ | |
367 | $(HTMLDIR)\$D\htmlcell.obj \ | |
368 | $(HTMLDIR)\$D\htmlfilt.obj \ | |
369 | $(HTMLDIR)\$D\htmlpars.obj \ | |
370 | $(HTMLDIR)\$D\htmltag.obj \ | |
371 | $(HTMLDIR)\$D\htmlwin.obj \ | |
372 | $(HTMLDIR)\$D\htmprint.obj \ | |
373 | $(HTMLDIR)\$D\m_dflist.obj \ | |
374 | $(HTMLDIR)\$D\m_fonts.obj \ | |
375 | $(HTMLDIR)\$D\m_hline.obj \ | |
376 | $(HTMLDIR)\$D\m_image.obj \ | |
377 | $(HTMLDIR)\$D\m_layout.obj \ | |
378 | $(HTMLDIR)\$D\m_links.obj \ | |
379 | $(HTMLDIR)\$D\m_list.obj \ | |
380 | $(HTMLDIR)\$D\m_meta.obj \ | |
381 | $(HTMLDIR)\$D\m_pre.obj \ | |
382 | $(HTMLDIR)\$D\m_tables.obj \ | |
383 | $(HTMLDIR)\$D\winpars.obj | |
384 | ||
385 | ||
386 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
387 | # Add $(HTMLOBJS) if wanting wxHTML classes | |
388 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) | |
389 | ||
390 | # Normal, static library | |
391 | all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET) | |
392 | ||
393 | setuph: | |
394 | cd $(WXDIR)\include\wx\msw | |
395 | if not exist setup.h copy setup0.h setup.h | |
396 | cd $(WXDIR)\src\msw | |
397 | ||
398 | dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D | |
399 | ||
400 | $D: | |
401 | mkdir $D | |
402 | ||
403 | $(COMMDIR)\$D: | |
404 | mkdir $(COMMDIR)\$D | |
405 | ||
406 | $(MSWDIR)\$D: | |
407 | mkdir $(MSWDIR)\$D | |
408 | ||
409 | $(GENDIR)\$D: | |
410 | mkdir $(GENDIR)\$D | |
411 | ||
412 | $(OLEDIR)\$D: | |
413 | mkdir $(OLEDIR)\$D | |
414 | ||
415 | $(HTMLDIR)\$D: | |
416 | mkdir $(HTMLDIR)\$D | |
417 | ||
418 | $(JPEGDIR)\$D: | |
419 | mkdir $(JPEGDIR)\$D | |
420 | ||
421 | $(TIFFDIR)\$D: | |
422 | mkdir $(TIFFDIR)\$D | |
423 | ||
424 | # wxWindows library as DLL | |
425 | dll: | |
426 | nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
427 | ||
428 | cleandll: | |
429 | nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
430 | ||
431 | # wxWindows + app as DLL. Only affects main.cpp. | |
432 | dllapp: | |
433 | nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 | |
434 | ||
435 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
436 | dllnp: | |
437 | nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1 | |
438 | ||
439 | # Use this to make dummy.obj and generate a PCH. | |
440 | # You might use the dll target, then the pch target, in order to | |
441 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
442 | # | |
443 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
444 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
445 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
446 | # In fact headers are compiled differently depending on whether a DLL is being made | |
447 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
448 | # in each case) so you couldn't use the same PCH. | |
449 | pch: | |
450 | nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME) | |
451 | ||
452 | pch1: dirs $(DUMMYOBJ) | |
453 | echo $(DUMMYOBJ) | |
454 | ||
455 | !if "$(WXMAKINGDLL)" != "1" | |
456 | ||
457 | ### Static library | |
458 | ||
459 | $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
460 | -erase $(LIBTARGET) | |
461 | $(implib) @<< | |
462 | -out:$@ | |
463 | -machine:$(CPU) | |
464 | $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS) | |
465 | << | |
466 | ||
467 | !else | |
468 | ||
469 | ### Update the import library | |
470 | ||
471 | $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) | |
472 | $(implib) @<< | |
473 | -machine:$(CPU) | |
474 | -def:wx.def | |
475 | $(DUMMYOBJ) $(OBJECTS) | |
476 | -out:$(WXDIR)\lib\$(WXLIBNAME).lib | |
477 | << | |
478 | ||
479 | !if "$(USE_GLCANVAS)" == "1" | |
480 | GL_LIBS=opengl32.lib glu32.lib | |
481 | # GL_LIBS_DELAY=/delayload:opengl32.dll | |
482 | !endif | |
483 | ||
484 | !if "$(USE_MSVC_5)" == "1" | |
485 | # we are too big | |
486 | INCREMENTAL=/INCREMENTAL:NO | |
487 | DELAY_LOAD= | |
488 | !else | |
489 | INCREMENTAL= | |
490 | DELAY_LOAD=delayimp.lib \ | |
491 | /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll \ | |
492 | /delayload:gdi32.dll \ | |
493 | /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll \ | |
494 | /delayload:ole32.dll \ | |
495 | /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY) | |
496 | !endif | |
497 | ||
498 | # Update the dynamic link library | |
499 | $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS) | |
500 | $(link) @<< | |
501 | $(LINKFLAGS) $(INCREMENTAL) | |
502 | -out:$(WXDIR)\lib\$(WXLIBNAME).dll | |
503 | $(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) | |
504 | << | |
505 | ||
506 | !endif | |
507 | ||
508 | # /delayload:winmm.dll # Removed because it can cause a crash for some people | |
509 | ||
510 | ######################################################## | |
511 | # Windows-specific objects | |
512 | ||
513 | $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h | |
514 | cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp | |
515 | ||
516 | $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h | |
517 | cl @<< | |
518 | $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp | |
519 | << | |
520 | ||
521 | # Compile certain files with no optimization (some files cause a | |
522 | # compiler crash for buggy versions of VC++, e.g. 4.0). | |
523 | # Don't forget to put FINAL=1 on the command line. | |
524 | noopt: | |
525 | cl @<< | |
526 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp | |
527 | << | |
528 | cl @<< | |
529 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp | |
530 | << | |
531 | cl @<< | |
532 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp | |
533 | << | |
534 | cl @<< | |
535 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp | |
536 | << | |
537 | cl @<< | |
538 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp | |
539 | << | |
540 | cl @<< | |
541 | $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp | |
542 | << | |
543 | cl @<< | |
544 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp | |
545 | << | |
546 | cl @<< | |
547 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp | |
548 | << | |
549 | cl @<< | |
550 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp | |
551 | << | |
552 | cl @<< | |
553 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp | |
554 | << | |
555 | cl @<< | |
556 | $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp | |
557 | << | |
558 | cl @<< | |
559 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp | |
560 | << | |
561 | cl @<< | |
562 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp | |
563 | << | |
564 | cl @<< | |
565 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp | |
566 | << | |
567 | cl @<< | |
568 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp | |
569 | << | |
570 | cl @<< | |
571 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp | |
572 | << | |
573 | cl @<< | |
574 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp | |
575 | << | |
576 | cl @<< | |
577 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp | |
578 | << | |
579 | cl @<< | |
580 | $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp | |
581 | << | |
582 | cl @<< | |
583 | $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp | |
584 | << | |
585 | ||
586 | $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
587 | cl @<< | |
588 | $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
589 | << | |
590 | ||
591 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
592 | copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c | |
593 | ||
594 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
595 | copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c | |
596 | ||
597 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
598 | ||
599 | $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c | |
600 | cl @<< | |
601 | $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@ | |
602 | << | |
603 | ||
604 | # Peripheral components | |
605 | ||
606 | png: | |
607 | cd $(WXDIR)\src\png | |
608 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
609 | cd $(WXDIR)\src\msw | |
610 | ||
611 | clean_png: | |
612 | cd $(WXDIR)\src\png | |
613 | nmake -f makefile.vc clean | |
614 | cd $(WXDIR)\src\msw | |
615 | ||
616 | zlib: | |
617 | cd $(WXDIR)\src\zlib | |
618 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
619 | cd $(WXDIR)\src\msw | |
620 | ||
621 | clean_zlib: | |
622 | cd $(WXDIR)\src\zlib | |
623 | nmake -f makefile.vc clean | |
624 | cd $(WXDIR)\src\msw | |
625 | ||
626 | jpeg: | |
627 | cd $(WXDIR)\src\jpeg | |
628 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all | |
629 | cd $(WXDIR)\src\msw | |
630 | ||
631 | clean_jpeg: | |
632 | cd $(WXDIR)\src\jpeg | |
633 | nmake -f makefile.vc clean | |
634 | cd $(WXDIR)\src\msw | |
635 | ||
636 | tiff: | |
637 | cd $(WXDIR)\src\tiff | |
638 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all | |
639 | cd $(WXDIR)\src\msw | |
640 | ||
641 | clean_tiff: | |
642 | cd $(WXDIR)\src\tiff | |
643 | nmake -f makefile.vc clean | |
644 | cd $(WXDIR)\src\msw | |
645 | ||
646 | regex: | |
647 | cd $(WXDIR)\src\regex | |
648 | nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) | |
649 | cd $(WXDIR)\src\msw | |
650 | ||
651 | clean_regex: | |
652 | cd $(WXDIR)\src\regex | |
653 | nmake -f makefile.vc clean | |
654 | cd $(WXDIR)\src\msw | |
655 | ||
656 | rcparser: | |
657 | cd $(WXDIR)\utils\rcparser\src | |
658 | nmake -f makefile.vc FINAL=$(FINAL) | |
659 | cd $(WXDIR)\src\msw | |
660 | ||
661 | cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex | |
662 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll | |
663 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib | |
664 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp | |
665 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb | |
666 | -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk | |
667 | ||
668 | ||
669 | clean: $(PERIPH_CLEAN_TARGET) | |
670 | -erase $(LIBTARGET) | |
671 | -erase $(WXDIR)\lib\$(WXLIBNAME).pdb | |
672 | -erase *.pdb | |
673 | -erase *.sbr | |
674 | -erase $(WXLIBNAME).pch | |
675 | -erase $(GENDIR)\$D\*.obj | |
676 | -erase $(GENDIR)\$D\*.pdb | |
677 | -erase $(GENDIR)\$D\*.sbr | |
678 | -erase $(COMMDIR)\$D\*.obj | |
679 | -erase $(COMMDIR)\$D\*.pdb | |
680 | -erase $(COMMDIR)\$D\*.sbr | |
681 | -erase $(COMMDIR)\y_tab.c | |
682 | -erase $(COMMDIR)\lex_yy.c | |
683 | -erase $(MSWDIR)\$D\*.obj | |
684 | -erase $(MSWDIR)\$D\*.sbr | |
685 | -erase $(MSWDIR)\$D\*.pdb | |
686 | -erase $(MSWDIR)\$D\*.pch | |
687 | -erase $(OLEDIR)\$D\*.obj | |
688 | -erase $(OLEDIR)\$D\*.sbr | |
689 | -erase $(OLEDIR)\$D\*.pdb | |
690 | -erase $(HTMLDIR)\$D\*.obj | |
691 | -erase $(HTMLDIR)\$D\*.sbr | |
692 | -erase $(HTMLDIR)\$D\*.pdb | |
693 | -erase $(JPEGDIR)\$D\*.obj | |
694 | -erase $(JPEGDIR)\$D\*.sbr | |
695 | -erase $(JPEGDIR)\$D\*.idb | |
696 | -erase $(JPEGDIR)\$D\*.pdb | |
697 | -erase $(TIFFDIR)\$D\*.obj | |
698 | -erase $(TIFFDIR)\$D\*.sbr | |
699 | -erase $(TIFFDIR)\$D\*.pdb | |
700 | -erase $(TIFFDIR)\$D\*.idb | |
701 | -rmdir $(D) | |
702 | -rmdir $(GENDIR)\$(D) | |
703 | -rmdir $(COMMDIR)\$(D) | |
704 | -rmdir $(MSWDIR)\$(D) | |
705 | -rmdir $(OLEDIR)\$(D) | |
706 | -rmdir $(HTMLDIR)\$(D) | |
707 | -rmdir $(JPEGDIR)\$(D) | |
708 | -rmdir $(TIFFDIR)\$(D) | |
709 | ||
710 | # Making documents | |
711 | docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp | |
712 | alldocs: docs | |
713 | hlp: wxhlp | |
714 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
715 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
716 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
717 | pdfrtf: $(DOCDIR)/pdf/wx.rtf | |
718 | refpdfrtf: $(DOCDIR)/pdf/techref.rtf | |
719 | html: wxhtml | |
720 | htb: $(DOCDIR)\htb\wx.htb | |
721 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
722 | htmlhelp: $(DOCDIR)\htmlhelp\wx.chm | |
723 | ps: wxps referencps | |
724 | wxps: $(WXDIR)\docs\ps\wx.ps | |
725 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
726 | ||
727 | allhlp: wxhlp | |
728 | cd $(WXDIR)\utils\dialoged\src | |
729 | nmake -f makefile.vc hlp | |
730 | cd $(WXDIR)\utils\tex2rtf\src | |
731 | nmake -f makefile.vc hlp | |
732 | cd $(THISDIR) | |
733 | ||
734 | allhtml: wxhtml | |
735 | cd $(WXDIR)\utils\dialoged\src | |
736 | nmake -f makefile.vc html | |
737 | cd $(WXDIR)\utils\tex2rtf\src | |
738 | nmake -f makefile.vc html | |
739 | cd $(THISDIR) | |
740 | ||
741 | allhtmlhelp: htmlhelp | |
742 | cd $(WXDIR)\utils\dialoged\src | |
743 | nmake -f makefile.vc htmlhelp | |
744 | cd $(WXDIR)\utils\tex2rtf\src | |
745 | nmake -f makefile.vc htmlhelp | |
746 | cd $(THISDIR) | |
747 | ||
748 | allhtb: htb | |
749 | cd $(WXDIR)\utils\dialoged\src | |
750 | nmake -f makefile.vc htb | |
751 | cd $(WXDIR)\utils\tex2rtf\src | |
752 | nmake -f makefile.vc htb | |
753 | cd $(THISDIR) | |
754 | ||
755 | allps: wxps referencps | |
756 | cd $(WXDIR)\utils\dialoged\src | |
757 | nmake -f makefile.vc ps | |
758 | cd $(WXDIR)\utils\tex2rtf\src | |
759 | nmake -f makefile.vc ps | |
760 | cd $(THISDIR) | |
761 | ||
762 | allpdfrtf: pdfrtf | |
763 | cd $(WXDIR)\utils\dialoged\src | |
764 | nmake -f makefile.vc pdfrtf | |
765 | cd $(WXDIR)\utils\tex2rtf\src | |
766 | nmake -f makefile.vc pdfrtf | |
767 | cd $(THISDIR) | |
768 | ||
769 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
770 | cd $(DOCDIR)/latex/wx | |
771 | -erase wx.ph | |
772 | hc wx | |
773 | -erase $(DOCDIR)\winhelp\wx.hlp | |
774 | -erase $(DOCDIR)\winhelp\wx.cnt | |
775 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
776 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
777 | cd $(THISDIR) | |
778 | ||
779 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
780 | cd $(DOCDIR)/latex/techref | |
781 | -erase techref.ph | |
782 | hc techref | |
783 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
784 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
785 | cd $(THISDIR) | |
786 | ||
787 | $(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 | |
788 | cd $(DOCDIR)\latex\wx | |
789 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
790 | cd $(THISDIR) | |
791 | ||
792 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
793 | cd $(DOCDIR)\latex\techref | |
794 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
795 | cd $(THISDIR) | |
796 | ||
797 | $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
798 | cd $(DOCDIR)\latex\wx | |
799 | -copy *.wmf $(DOCDIR)\pdf | |
800 | -copy *.bmp $(DOCDIR)\pdf | |
801 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf | |
802 | cd $(THISDIR) | |
803 | ||
804 | $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
805 | cd $(DOCDIR)\latex\techref | |
806 | -copy *.wmf $(DOCDIR)\pdf | |
807 | -copy *.bmp $(DOCDIR)\pdf | |
808 | -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf | |
809 | cd $(THISDIR) | |
810 | ||
811 | $(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 | |
812 | cd $(DOCDIR)\latex\wx | |
813 | -mkdir $(DOCDIR)\html\wx | |
814 | copy *.gif $(DOCDIR)\html\wx | |
815 | -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html | |
816 | -erase $(DOCDIR)\html\wx\*.con | |
817 | -erase $(DOCDIR)\html\wx\*.ref | |
818 | -erase $(DOCDIR)\latex\wx\*.con | |
819 | -erase $(DOCDIR)\latex\wx\*.ref | |
820 | cd $(THISDIR) | |
821 | ||
822 | $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp | |
823 | cd $(DOCDIR)\html\wx | |
824 | -hhc wx.hhp | |
825 | -mkdir ..\..\htmlhelp | |
826 | -erase $(DOCDIR)\htmlhelp\wx.chm | |
827 | move wx.chm ..\..\htmlhelp | |
828 | cd $(THISDIR) | |
829 | ||
830 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
831 | cd $(WXDIR)\docs\latex\wx | |
832 | -latex manual | |
833 | -latex manual | |
834 | -makeindx manual | |
835 | -bibtex manual | |
836 | -latex manual | |
837 | -latex manual | |
838 | cd $(THISDIR) | |
839 | ||
840 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
841 | cd $(WXDIR)\docs\latex\wx | |
842 | -dvips32 -o wx.ps manual | |
843 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
844 | cd $(THISDIR) | |
845 | ||
846 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
847 | cd $(WXDIR)\docs\latex\wx | |
848 | -latex referenc | |
849 | -latex referenc | |
850 | -makeindx referenc | |
851 | -bibtex referenc | |
852 | -latex referenc | |
853 | -latex referenc | |
854 | cd $(THISDIR) | |
855 | ||
856 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
857 | cd $(WXDIR)\docs\latex\wx | |
858 | -dvips32 -o referenc.ps referenc | |
859 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
860 | cd $(THISDIR) | |
861 | ||
862 | # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk | |
863 | # files, renamed to htb. | |
864 | # This can then be used with e.g. helpview. | |
865 | # Optionally, a cached version of the .hhp file can be generated with hhp2cached. | |
866 | $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm | |
867 | cd $(WXDIR)\docs\html\wx | |
868 | -erase wx.zip wx.htb | |
869 | zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk | |
870 | -mkdir $(DOCDIR)\htb | |
871 | move wx.zip $(DOCDIR)\htb\wx.htb | |
872 | cd $(THISDIR) | |
873 | ||
874 | # In order to force document reprocessing | |
875 | touchmanual: | |
876 | -touch $(WXDIR)\docs\latex\wx\manual.tex | |
877 | ||
878 | updatedocs: touchmanual alldocs | |
879 | ||
880 | cleandocs: | |
881 | -erase $(DOCDIR)\winhelp\wx.hlp | |
882 | -erase $(DOCDIR)\winhelp\wx.cnt | |
883 | -erase $(DOCDIR)\html\wx\*.htm | |
884 | -erase $(DOCDIR)\pdf\wx.rtf | |
885 | -erase $(DOCDIR)\latex\wx\wx.rtf | |
886 | -erase $(DOCDIR)\latex\wx\WX.PH | |
887 | -erase $(DOCDIR)\htmlhelp\wx.chm | |
888 | -erase $(DOCDIR)\htb\wx.htb | |
889 | ||
890 | # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the | |
891 | # Office StartUp folder, and PDFMaker should be installed. | |
892 | updatepdf: # touchmanual pdfrtf | |
893 | start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" | |
894 | ||
895 | ||
896 | MFTYPE=vc | |
897 | makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t | |
898 | cd $(WXWIN)\distrib\msw\tmake | |
899 | tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE) | |
900 | copy makefile.$(MFTYPE) $(WXWIN)\src\msw | |
901 |