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