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