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