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