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