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