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