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