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