]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | # |
2 | # File: makefile.nt | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
3848ffef | 5 | # Updated: |
2bda0e17 KB |
6 | # Copyright: (c) 1997, Julian Smart |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # dll builds a library (wxdll.lib) suitable for creating DLLs | |
15 | # * Note that the dll target is experimental - see docs/dll.txt. | |
16 | # | |
17 | !include <..\ntwxwin.mak> | |
18 | ||
19 | THISDIR=$(WXWIN)\src\msw | |
20 | ||
21 | !if "$(WXMAKINGDLL)" == "1" | |
22 | LIBTARGET=$(WXDIR)\lib\wx200.dll | |
23 | DUMMYOBJ=dummydll.obj | |
24 | !else | |
25 | LIBTARGET=$(WXLIB) | |
26 | DUMMYOBJ=dummy.obj | |
27 | !endif | |
28 | ||
29 | # Please set these according to the settings in wx_setup.h, so we can include | |
30 | # the appropriate libraries in wx.lib | |
31 | ||
32 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
33 | MINIMAL_WXWINDOWS_SETUP=0 | |
34 | ||
2bda0e17 KB |
35 | PERIPH_LIBS= |
36 | PERIPH_TARGET= | |
37 | PERIPH_CLEAN_TARGET= | |
38 | ||
f97c9854 JS |
39 | # These are absolute paths, so that the compiler |
40 | # generates correct __FILE__ symbols for debugging. | |
41 | # Otherwise you don't be able to double-click on a memory | |
42 | # error to load that file. | |
43 | GENDIR=$(WXDIR)\src\generic | |
44 | COMMDIR=$(WXDIR)\src\common | |
4fabb575 | 45 | XPMDIR=$(WXDIR)\src\xpm |
2bda0e17 | 46 | OLEDIR=ole |
f97c9854 | 47 | MSWDIR=$(WXDIR)\src\msw |
2bda0e17 KB |
48 | |
49 | DOCDIR = $(WXDIR)\docs | |
50 | ||
51 | GENERICOBJS= \ | |
52 | $(GENDIR)\choicdgg.obj \ | |
2bda0e17 | 53 | $(GENDIR)\gridg.obj \ |
a6d70308 | 54 | $(GENDIR)\laywin.obj \ |
2bda0e17 | 55 | $(GENDIR)\panelg.obj \ |
e3a43801 JS |
56 | $(GENDIR)\prop.obj \ |
57 | $(GENDIR)\propform.obj \ | |
58 | $(GENDIR)\proplist.obj \ | |
a6d70308 | 59 | $(GENDIR)\sashwin.obj \ |
2bda0e17 KB |
60 | $(GENDIR)\scrolwin.obj \ |
61 | $(GENDIR)\splitter.obj \ | |
62 | $(GENDIR)\statusbr.obj \ | |
63 | $(GENDIR)\tabg.obj \ | |
64 | $(GENDIR)\textdlgg.obj | |
65 | ||
f60d0f94 JS |
66 | # $(GENDIR)\imaglist.obj \ |
67 | # $(GENDIR)\treectrl.obj \ | |
68 | # $(GENDIR)\listctrl.obj \ | |
69 | # $(GENDIR)\notebook.obj \ | |
70 | ||
dfad0599 JS |
71 | # These are generic things that don't need to be compiled on MSW, |
72 | # but sometimes it's useful to do so for testing purposes. | |
73 | NONESSENTIALOBJS= \ | |
74 | $(GENDIR)\printps.obj \ | |
75 | $(GENDIR)\prntdlgg.obj \ | |
76 | $(GENDIR)\msgdlgg.obj \ | |
77 | $(GENDIR)\helpxlp.obj \ | |
78 | $(GENDIR)\colrdlgg.obj \ | |
79 | $(GENDIR)\fontdlgg.obj \ | |
80 | $(COMMDIR)\postscrp.obj | |
81 | ||
2bda0e17 KB |
82 | COMMONOBJS = \ |
83 | $(COMMDIR)\cmndata.obj \ | |
84 | $(COMMDIR)\config.obj \ | |
108106cf JS |
85 | $(COMMDIR)\db.obj \ |
86 | $(COMMDIR)\dbtable.obj \ | |
2bda0e17 | 87 | $(COMMDIR)\docview.obj \ |
2108f33a | 88 | $(COMMDIR)\docmdi.obj \ |
2bda0e17 | 89 | $(COMMDIR)\dynarray.obj \ |
0c32066b | 90 | $(COMMDIR)\dynlib.obj \ |
2bda0e17 KB |
91 | $(COMMDIR)\event.obj \ |
92 | $(COMMDIR)\file.obj \ | |
2bda0e17 | 93 | $(COMMDIR)\filefn.obj \ |
3d8bd7d6 JS |
94 | $(COMMDIR)\fileconf.obj \ |
95 | $(COMMDIR)\framecmn.obj \ | |
2bda0e17 | 96 | $(COMMDIR)\gdicmn.obj \ |
e3554471 | 97 | $(COMMDIR)\image.obj \ |
2bda0e17 KB |
98 | $(COMMDIR)\intl.obj \ |
99 | $(COMMDIR)\ipcbase.obj \ | |
100 | $(COMMDIR)\helpbase.obj \ | |
101 | $(COMMDIR)\layout.obj \ | |
102 | $(COMMDIR)\log.obj \ | |
103 | $(COMMDIR)\memory.obj \ | |
2432b92d | 104 | $(COMMDIR)\mimetype.obj \ |
2bda0e17 | 105 | $(COMMDIR)\module.obj \ |
2bda0e17 | 106 | $(COMMDIR)\odbc.obj \ |
34138703 | 107 | $(COMMDIR)\object.obj \ |
2bda0e17 KB |
108 | $(COMMDIR)\prntbase.obj \ |
109 | $(COMMDIR)\resource.obj \ | |
110 | $(COMMDIR)\tbarbase.obj \ | |
111 | $(COMMDIR)\tbarsmpl.obj \ | |
112 | $(COMMDIR)\textfile.obj \ | |
113 | $(COMMDIR)\timercmn.obj \ | |
114 | $(COMMDIR)\utilscmn.obj \ | |
115 | $(COMMDIR)\validate.obj \ | |
116 | $(COMMDIR)\valtext.obj \ | |
117 | $(COMMDIR)\date.obj \ | |
118 | $(COMMDIR)\hash.obj \ | |
119 | $(COMMDIR)\list.obj \ | |
120 | $(COMMDIR)\string.obj \ | |
fcc6dddd JS |
121 | $(COMMDIR)\socket.obj \ |
122 | $(COMMDIR)\sckaddr.obj \ | |
123 | $(COMMDIR)\sckfile.obj \ | |
124 | $(COMMDIR)\sckipc.obj \ | |
125 | $(COMMDIR)\sckstrm.obj \ | |
126 | $(COMMDIR)\url.obj \ | |
127 | $(COMMDIR)\http.obj \ | |
128 | $(COMMDIR)\protocol.obj \ | |
2bda0e17 | 129 | $(COMMDIR)\time.obj \ |
fcc6dddd | 130 | $(COMMDIR)\tokenzr.obj \ |
2bda0e17 | 131 | $(COMMDIR)\wxexpr.obj \ |
cf447356 | 132 | $(COMMDIR)\y_tab.obj \ |
ca7731b7 | 133 | $(COMMDIR)\extended.obj \ |
3848ffef | 134 | $(COMMDIR)\process.obj \ |
25331334 | 135 | $(COMMDIR)\wfstream.obj \ |
79c3e0e1 GL |
136 | $(COMMDIR)\mstream.obj \ |
137 | $(COMMDIR)\zstream.obj \ | |
138 | $(COMMDIR)\stream.obj \ | |
81d66cf3 | 139 | $(COMMDIR)\datstrm.obj \ |
fcc6dddd | 140 | $(COMMDIR)\objstrm.obj \ |
341287bf | 141 | $(COMMDIR)\variant.obj \ |
3d8bd7d6 JS |
142 | $(COMMDIR)\wincmn.obj |
143 | ||
2bda0e17 | 144 | MSWOBJS = \ |
57a7b7c1 | 145 | $(MSWDIR)\accel.obj \ |
2bda0e17 KB |
146 | $(MSWDIR)\app.obj \ |
147 | $(MSWDIR)\bitmap.obj \ | |
148 | $(MSWDIR)\bmpbuttn.obj \ | |
149 | $(MSWDIR)\brush.obj \ | |
150 | $(MSWDIR)\button.obj \ | |
151 | $(MSWDIR)\checkbox.obj \ | |
152 | $(MSWDIR)\checklst.obj \ | |
153 | $(MSWDIR)\choice.obj \ | |
154 | $(MSWDIR)\clipbrd.obj \ | |
155 | $(MSWDIR)\colordlg.obj \ | |
156 | $(MSWDIR)\colour.obj \ | |
157 | $(MSWDIR)\combobox.obj \ | |
158 | $(MSWDIR)\control.obj \ | |
159 | $(MSWDIR)\curico.obj \ | |
160 | $(MSWDIR)\cursor.obj \ | |
161 | $(MSWDIR)\data.obj \ | |
162 | $(MSWDIR)\dc.obj \ | |
163 | $(MSWDIR)\dcmemory.obj \ | |
164 | $(MSWDIR)\dcclient.obj \ | |
165 | $(MSWDIR)\dcprint.obj \ | |
166 | $(MSWDIR)\dcscreen.obj \ | |
167 | $(MSWDIR)\dde.obj \ | |
168 | $(MSWDIR)\dialog.obj \ | |
169 | $(MSWDIR)\dib.obj \ | |
170 | $(MSWDIR)\dibutils.obj \ | |
171 | $(MSWDIR)\dirdlg.obj \ | |
172 | $(MSWDIR)\filedlg.obj \ | |
173 | $(MSWDIR)\font.obj \ | |
174 | $(MSWDIR)\fontdlg.obj \ | |
175 | $(MSWDIR)\frame.obj \ | |
da87a1ca JS |
176 | $(MSWDIR)\gauge95.obj \ |
177 | $(MSWDIR)\gaugemsw.obj \ | |
2bda0e17 KB |
178 | $(MSWDIR)\gdiobj.obj \ |
179 | $(MSWDIR)\helpwin.obj \ | |
180 | $(MSWDIR)\icon.obj \ | |
18244936 | 181 | $(MSWDIR)\iniconf.obj \ |
2bda0e17 | 182 | $(MSWDIR)\joystick.obj \ |
2fd284a4 | 183 | $(MSWDIR)\imaglist.obj \ |
2bda0e17 | 184 | $(MSWDIR)\listbox.obj \ |
2fd284a4 | 185 | $(MSWDIR)\listctrl.obj \ |
2bda0e17 KB |
186 | $(MSWDIR)\main.obj \ |
187 | $(MSWDIR)\mdi.obj \ | |
188 | $(MSWDIR)\menu.obj \ | |
189 | $(MSWDIR)\menuitem.obj \ | |
190 | $(MSWDIR)\metafile.obj \ | |
191 | $(MSWDIR)\minifram.obj \ | |
192 | $(MSWDIR)\msgdlg.obj \ | |
193 | $(MSWDIR)\nativdlg.obj \ | |
2fd284a4 | 194 | $(MSWDIR)\notebook.obj \ |
2bda0e17 KB |
195 | $(MSWDIR)\ownerdrw.obj \ |
196 | $(MSWDIR)\palette.obj \ | |
197 | $(MSWDIR)\pen.obj \ | |
198 | $(MSWDIR)\penwin.obj \ | |
199 | $(MSWDIR)\pnghand.obj \ | |
200 | $(MSWDIR)\printdlg.obj \ | |
201 | $(MSWDIR)\printwin.obj \ | |
202 | $(MSWDIR)\radiobox.obj \ | |
203 | $(MSWDIR)\radiobut.obj \ | |
204 | $(MSWDIR)\region.obj \ | |
205 | $(MSWDIR)\registry.obj \ | |
6a23cbce | 206 | $(MSWDIR)\regconf.obj \ |
2bda0e17 KB |
207 | $(MSWDIR)\scrolbar.obj \ |
208 | $(MSWDIR)\settings.obj \ | |
da87a1ca JS |
209 | $(MSWDIR)\slidrmsw.obj \ |
210 | $(MSWDIR)\slider95.obj \ | |
2bda0e17 KB |
211 | $(MSWDIR)\spinbutt.obj \ |
212 | $(MSWDIR)\statbmp.obj \ | |
213 | $(MSWDIR)\statbox.obj \ | |
214 | $(MSWDIR)\statbr95.obj \ | |
215 | $(MSWDIR)\stattext.obj \ | |
216 | $(MSWDIR)\tabctrl.obj \ | |
217 | $(MSWDIR)\taskbar.obj \ | |
218 | $(MSWDIR)\tbar95.obj \ | |
219 | $(MSWDIR)\tbarmsw.obj \ | |
220 | $(MSWDIR)\textctrl.obj \ | |
221 | $(MSWDIR)\thread.obj \ | |
222 | $(MSWDIR)\timer.obj \ | |
2fd284a4 | 223 | $(MSWDIR)\treectrl.obj \ |
2bda0e17 | 224 | $(MSWDIR)\utils.obj \ |
cf447356 | 225 | $(MSWDIR)\utilsexc.obj \ |
2fd284a4 | 226 | $(OLEDIR)\uuid.obj \ |
2bda0e17 KB |
227 | $(MSWDIR)\wave.obj \ |
228 | $(MSWDIR)\window.obj \ | |
2fd284a4 JS |
229 | $(MSWDIR)\xpmhand.obj \ |
230 | $(OLEDIR)\dataobj.obj \ | |
231 | $(OLEDIR)\automtn.obj \ | |
2bda0e17 | 232 | $(OLEDIR)\droptgt.obj \ |
43d811ea | 233 | $(OLEDIR)\dropsrc.obj \ |
2fd284a4 | 234 | $(OLEDIR)\oleutils.obj |
43d811ea | 235 | |
dfad0599 | 236 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. |
2fd284a4 | 237 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) |
2bda0e17 KB |
238 | |
239 | # Normal, static library | |
2fd284a4 | 240 | all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm $(LIBTARGET) |
2bda0e17 KB |
241 | |
242 | # wxWindows library as DLL | |
243 | dll: | |
244 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 | |
245 | ||
246 | # wxWindows + app as DLL. Only affects main.cpp. | |
247 | dllapp: | |
248 | nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 | |
249 | ||
250 | # wxWindows + app as DLL, for Netscape plugin - remove DllMain. | |
251 | dllnp: | |
252 | nmake -f makefile.nt all NOMAIN=1 FINAL=$(FINAL) DLL=1 | |
253 | ||
254 | # Use this to make dummy.obj and generate a PCH. | |
255 | # You might use the dll target, then the pch target, in order to | |
256 | # generate a DLL, then a PCH/dummy.obj for compiling your applications with. | |
257 | # | |
258 | # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH | |
259 | # are associated with wx.lib. When using a DLL version of wxWindows, however, | |
260 | # the DLL is compiled without a PCH, so you only need it for compiling the app. | |
261 | # In fact headers are compiled differently depending on whether a DLL is being made | |
262 | # or an app is calling the DLL exported functionality (WXDLLEXPORT is different | |
263 | # in each case) so you couldn't use the same PCH. | |
264 | pch: | |
265 | nmake -f makefile.nt pch1 WXUSINGDLL=1 | |
266 | ||
267 | pch1: $(DUMMYOBJ) | |
268 | ||
269 | $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
270 | -erase $(LIBTARGET) | |
271 | $(implib) @<< | |
272 | -out:$@ | |
273 | -machine:$(CPU) | |
274 | $(OBJECTS) $(PERIPH_LIBS) | |
275 | << | |
276 | ||
277 | # Update the import library | |
278 | $(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS) | |
279 | $(implib) @<< | |
280 | -machine:$(CPU) | |
281 | -def:wx.def | |
282 | $(DUMMYOBJ) $(OBJECTS) | |
283 | -out:$(WXDIR)\lib\wx200.lib | |
284 | << | |
285 | ||
286 | # Update the dynamic link library | |
287 | $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib | |
288 | $(link) @<< | |
289 | $(LINKFLAGS) | |
290 | -out:$(WXDIR)\lib\wx200.dll | |
fbcb4166 | 291 | $(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 |
2bda0e17 KB |
292 | << |
293 | ||
294 | ######################################################## | |
295 | # Windows-specific objects | |
296 | ||
297 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
298 | cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
299 | ||
300 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
301 | cl @<< | |
302 | $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF) | |
303 | << | |
304 | ||
57a7b7c1 JS |
305 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) |
306 | cl @<< | |
307 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
308 | << | |
309 | ||
2bda0e17 KB |
310 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) |
311 | cl @<< | |
6164d85e | 312 | $(CPPFLAGS) /D__NO_VC_CRTDBG__ /c /Tp $*.$(SRCSUFF) /Fo$@ |
2bda0e17 KB |
313 | << |
314 | ||
315 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
316 | cl @<< | |
317 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
318 | << | |
319 | ||
320 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
321 | cl @<< | |
322 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
323 | << | |
324 | ||
325 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
326 | cl @<< | |
327 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
328 | << | |
329 | ||
330 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
331 | cl @<< | |
332 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
333 | << | |
334 | ||
335 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
336 | cl @<< | |
337 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
338 | << | |
339 | ||
340 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
341 | cl @<< | |
342 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
343 | << | |
344 | ||
345 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
346 | cl @<< | |
347 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
348 | << | |
349 | ||
350 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
351 | cl @<< | |
352 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
353 | << | |
354 | ||
355 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
356 | cl @<< | |
357 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
358 | << | |
359 | ||
360 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
361 | cl @<< | |
362 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
363 | << | |
364 | ||
365 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
366 | cl @<< | |
367 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
368 | << | |
369 | ||
370 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
371 | cl @<< | |
372 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
373 | << | |
374 | ||
375 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
376 | cl @<< | |
377 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
378 | << | |
379 | ||
380 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
381 | cl @<< | |
382 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
383 | << | |
384 | ||
385 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
386 | cl @<< | |
387 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
388 | << | |
389 | ||
390 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
391 | cl @<< | |
392 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
393 | << | |
394 | ||
395 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
396 | cl @<< | |
397 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
398 | << | |
399 | ||
400 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
401 | cl @<< | |
402 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
403 | << | |
404 | ||
405 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
406 | cl @<< | |
407 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
408 | << | |
409 | ||
410 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
411 | cl @<< | |
412 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
413 | << | |
414 | ||
415 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
416 | cl @<< | |
417 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
418 | << | |
419 | ||
420 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
421 | cl @<< | |
422 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
423 | << | |
424 | ||
425 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
426 | cl @<< | |
427 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
428 | << | |
429 | ||
430 | $(MSWDIR)/dibutils.obj: $*.$(SRCSUFF) | |
431 | cl @<< | |
432 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
433 | << | |
434 | ||
435 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
436 | cl @<< | |
437 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
438 | << | |
439 | ||
440 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
441 | cl @<< | |
442 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
443 | << | |
444 | ||
445 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
446 | cl @<< | |
447 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
448 | << | |
449 | ||
450 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
451 | cl @<< | |
452 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
453 | << | |
454 | ||
455 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
456 | cl @<< | |
457 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
458 | << | |
459 | ||
da87a1ca JS |
460 | $(MSWDIR)/gauge95.obj: $*.$(SRCSUFF) |
461 | cl @<< | |
462 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
463 | << | |
464 | ||
465 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
466 | cl @<< |
467 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
468 | << | |
469 | ||
470 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
471 | cl @<< | |
472 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
473 | << | |
474 | ||
475 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
476 | cl @<< | |
477 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
478 | << | |
479 | ||
480 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
481 | cl @<< | |
482 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
483 | << | |
484 | ||
485 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
486 | cl @<< | |
487 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
488 | << | |
489 | ||
490 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
491 | cl @<< | |
492 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
493 | << | |
494 | ||
495 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
496 | cl @<< | |
497 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
498 | << | |
499 | ||
500 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
501 | cl @<< | |
502 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
503 | << | |
504 | ||
505 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
506 | cl @<< | |
507 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
508 | << | |
509 | ||
510 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
511 | cl @<< | |
512 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
513 | << | |
514 | ||
515 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
516 | cl @<< | |
517 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
518 | << | |
519 | ||
520 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
521 | cl @<< | |
522 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
523 | << | |
524 | ||
525 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
526 | cl @<< | |
527 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
528 | << | |
529 | ||
530 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
531 | cl @<< | |
532 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
533 | << | |
534 | ||
535 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
536 | cl @<< | |
537 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
538 | << | |
539 | ||
1c089c47 JS |
540 | $(MSWDIR)/notebook.obj: $*.$(SRCSUFF) |
541 | cl @<< | |
542 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
543 | << | |
544 | ||
2bda0e17 KB |
545 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) |
546 | cl @<< | |
547 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
548 | << | |
549 | ||
550 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
551 | cl @<< | |
552 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
553 | << | |
554 | ||
555 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
556 | cl @<< | |
557 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
558 | << | |
559 | ||
560 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
561 | cl @<< | |
562 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
563 | << | |
564 | ||
565 | $(MSWDIR)/pnghand.obj: $*.$(SRCSUFF) | |
566 | cl @<< | |
567 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
568 | << | |
569 | ||
2fd284a4 JS |
570 | $(MSWDIR)/xpmhand.obj: $*.$(SRCSUFF) |
571 | cl @<< | |
572 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
573 | << | |
574 | ||
2bda0e17 KB |
575 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) |
576 | cl @<< | |
577 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
578 | << | |
579 | ||
580 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
581 | cl @<< | |
582 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
583 | << | |
584 | ||
585 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
586 | cl @<< | |
587 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
588 | << | |
589 | ||
590 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
591 | cl @<< | |
592 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
593 | << | |
594 | ||
595 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
596 | cl @<< | |
597 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
598 | << | |
599 | ||
600 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
601 | cl @<< | |
602 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
603 | << | |
604 | ||
6a23cbce JS |
605 | $(MSWDIR)/regconf.obj: $*.$(SRCSUFF) |
606 | cl @<< | |
607 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
608 | << | |
609 | ||
2bda0e17 KB |
610 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) |
611 | cl @<< | |
612 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
613 | << | |
614 | ||
615 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
616 | cl @<< | |
617 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
618 | << | |
619 | ||
da87a1ca JS |
620 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) |
621 | cl @<< | |
622 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
623 | << | |
624 | ||
625 | $(MSWDIR)/slider95.obj: $*.$(SRCSUFF) | |
2bda0e17 KB |
626 | cl @<< |
627 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
628 | << | |
629 | ||
630 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
631 | cl @<< | |
632 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
633 | << | |
634 | ||
635 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
636 | cl @<< | |
637 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
638 | << | |
639 | ||
640 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
641 | cl @<< | |
642 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
643 | << | |
644 | ||
645 | $(MSWDIR)/statbr95.obj: $*.$(SRCSUFF) | |
646 | cl @<< | |
647 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
648 | << | |
649 | ||
650 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
651 | cl @<< | |
652 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
653 | << | |
654 | ||
655 | $(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF) | |
656 | cl @<< | |
657 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
658 | << | |
659 | ||
660 | $(MSWDIR)/taskbar.obj: $*.$(SRCSUFF) | |
661 | cl @<< | |
662 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
663 | << | |
664 | ||
665 | $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF) | |
666 | cl @<< | |
667 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
668 | << | |
669 | ||
670 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
671 | cl @<< | |
672 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
673 | << | |
674 | ||
675 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
676 | cl @<< | |
677 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
678 | << | |
679 | ||
680 | $(MSWDIR)/thread.obj: $*.$(SRCSUFF) | |
681 | cl @<< | |
682 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
683 | << | |
684 | ||
685 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
686 | cl @<< | |
687 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
688 | << | |
689 | ||
690 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
691 | cl @<< | |
692 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
693 | << | |
694 | ||
695 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
696 | cl @<< | |
697 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
698 | << | |
699 | ||
cf447356 GL |
700 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) |
701 | cl @<< | |
702 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
703 | << | |
704 | ||
2bda0e17 KB |
705 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) |
706 | echo $(CPPFLAGS) | |
707 | cl @<< | |
708 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
709 | << | |
710 | ||
711 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
712 | echo $(CPPFLAGS) | |
713 | cl @<< | |
714 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
715 | << | |
716 | ||
717 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
718 | echo $(CPPFLAGS) | |
719 | cl @<< | |
720 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
43d811ea JS |
721 | << |
722 | ||
723 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
724 | echo $(CPPFLAGS) | |
725 | cl @<< | |
726 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
727 | << | |
728 | ||
729 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
730 | echo $(CPPFLAGS) | |
731 | cl @<< | |
732 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
2bda0e17 KB |
733 | << |
734 | ||
735 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
736 | echo $(CPPFLAGS) | |
737 | cl @<< | |
738 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
739 | << | |
740 | ||
741 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
742 | echo $(CPPFLAGS) | |
743 | cl @<< | |
744 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
745 | << | |
746 | ||
aa0b7e1e JS |
747 | $(OLEDIR)/automtn.obj: $*.$(SRCSUFF) |
748 | echo $(CPPFLAGS) | |
749 | cl @<< | |
750 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
751 | << | |
752 | ||
2bda0e17 KB |
753 | ######################################################## |
754 | # Common objects (always compiled) | |
755 | ||
756 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
757 | echo $(CPPFLAGS) | |
758 | cl @<< | |
759 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
760 | << | |
761 | ||
762 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
763 | echo $(CPPFLAGS) | |
764 | cl @<< | |
765 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
766 | << | |
767 | ||
108106cf JS |
768 | $(COMMDIR)/db.obj: $*.$(SRCSUFF) |
769 | echo $(CPPFLAGS) | |
770 | cl @<< | |
771 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
772 | << | |
773 | ||
774 | $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF) | |
775 | echo $(CPPFLAGS) | |
776 | cl @<< | |
777 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
778 | << | |
779 | ||
2bda0e17 KB |
780 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) |
781 | cl @<< | |
782 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
783 | << | |
784 | ||
2108f33a JS |
785 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) |
786 | cl @<< | |
787 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
788 | << | |
789 | ||
2bda0e17 KB |
790 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) |
791 | cl @<< | |
792 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
793 | << | |
794 | ||
0c32066b JS |
795 | $(COMMDIR)/dynlib.obj: $*.$(SRCSUFF) |
796 | cl @<< | |
797 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
798 | << | |
799 | ||
2bda0e17 KB |
800 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) |
801 | cl @<< | |
802 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
803 | << | |
804 | ||
805 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
806 | cl @<< | |
807 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
808 | << | |
809 | ||
810 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
811 | cl @<< | |
812 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
813 | << | |
814 | ||
815 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
816 | cl @<< | |
817 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
818 | << | |
819 | ||
3d8bd7d6 JS |
820 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) |
821 | cl @<< | |
822 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
823 | << | |
824 | ||
2bda0e17 KB |
825 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) |
826 | cl @<< | |
827 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
828 | << | |
829 | ||
e3554471 | 830 | $(COMMDIR)/image.obj: $*.$(SRCSUFF) |
18244936 JS |
831 | cl @<< |
832 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
833 | << | |
834 | ||
2bda0e17 KB |
835 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) |
836 | cl @<< | |
837 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
838 | << | |
839 | ||
840 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
841 | cl @<< | |
842 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
843 | << | |
844 | ||
845 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
846 | cl @<< | |
847 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
848 | << | |
849 | ||
850 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
851 | cl @<< | |
852 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
853 | << | |
854 | ||
855 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
856 | cl @<< | |
857 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
858 | << | |
859 | ||
860 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
861 | cl @<< | |
862 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
863 | << | |
864 | ||
2432b92d JS |
865 | $(COMMDIR)/mimetype.obj: $*.$(SRCSUFF) |
866 | cl @<< | |
867 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
868 | << | |
869 | ||
2bda0e17 KB |
870 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) |
871 | cl @<< | |
872 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
873 | << | |
874 | ||
875 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
876 | cl @<< | |
877 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
878 | << | |
879 | ||
880 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
881 | cl @<< | |
882 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
883 | << | |
884 | ||
885 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
886 | cl @<< | |
887 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
888 | << | |
889 | ||
890 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
891 | cl @<< | |
892 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
893 | << | |
894 | ||
895 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
896 | cl @<< | |
897 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
898 | << | |
899 | ||
900 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
901 | cl @<< | |
902 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
903 | << | |
904 | ||
905 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
906 | cl @<< | |
907 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
908 | << | |
909 | ||
910 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
911 | cl @<< | |
912 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
913 | << | |
914 | ||
915 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
916 | cl @<< | |
917 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
918 | << | |
919 | ||
920 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
921 | cl @<< | |
922 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
923 | << | |
924 | ||
925 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
926 | cl @<< | |
927 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
928 | << | |
929 | ||
930 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
931 | cl @<< | |
932 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
933 | << | |
934 | ||
935 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
936 | cl @<< | |
937 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
938 | << | |
939 | ||
940 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
941 | echo $(CPPFLAGS) | |
942 | cl @<< | |
943 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
944 | << | |
945 | ||
946 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
947 | cl @<< | |
948 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
949 | << | |
950 | ||
951 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
952 | cl @<< | |
953 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
954 | << | |
955 | ||
956 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
957 | cl @<< | |
958 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
959 | << | |
960 | ||
fcc6dddd JS |
961 | $(COMMDIR)/socket.obj: $*.$(SRCSUFF) |
962 | cl @<< | |
963 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
964 | << | |
965 | ||
966 | $(COMMDIR)/sckaddr.obj: $*.$(SRCSUFF) | |
967 | cl @<< | |
968 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
969 | << | |
970 | ||
971 | $(COMMDIR)/sckfile.obj: $*.$(SRCSUFF) | |
972 | cl @<< | |
973 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
974 | << | |
975 | ||
976 | $(COMMDIR)/sckipc.obj: $*.$(SRCSUFF) | |
977 | cl @<< | |
978 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
979 | << | |
980 | ||
981 | $(COMMDIR)/sckstrm.obj: $*.$(SRCSUFF) | |
982 | cl @<< | |
983 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
984 | << | |
985 | ||
986 | $(COMMDIR)/url.obj: $*.$(SRCSUFF) | |
987 | cl @<< | |
988 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
989 | << | |
990 | ||
991 | $(COMMDIR)/http.obj: $*.$(SRCSUFF) | |
992 | cl @<< | |
993 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
994 | << | |
995 | ||
996 | $(COMMDIR)/protocol.obj: $*.$(SRCSUFF) | |
997 | cl @<< | |
998 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
999 | << | |
1000 | ||
1001 | $(COMMDIR)/tokenzr.obj: $*.$(SRCSUFF) | |
1002 | cl @<< | |
1003 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1004 | << | |
1005 | ||
2bda0e17 KB |
1006 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) |
1007 | cl @<< | |
1008 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1009 | << | |
1010 | ||
2bda0e17 KB |
1011 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) |
1012 | cl @<< | |
1013 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1014 | << | |
1015 | ||
79c3e0e1 GL |
1016 | $(COMMDIR)\stream.obj: $*.$(SRCSUFF) |
1017 | cl @<< | |
1018 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1019 | << | |
1020 | ||
25331334 | 1021 | $(COMMDIR)\wfstream.obj: $*.$(SRCSUFF) |
79c3e0e1 GL |
1022 | cl @<< |
1023 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1024 | << | |
1025 | ||
1026 | $(COMMDIR)\mstream.obj: $*.$(SRCSUFF) | |
1027 | cl @<< | |
1028 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1029 | << | |
1030 | ||
1031 | $(COMMDIR)\zstream.obj: $*.$(SRCSUFF) | |
1032 | cl @<< | |
1033 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1034 | << | |
1035 | ||
cf447356 GL |
1036 | $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF) |
1037 | cl @<< | |
1038 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1039 | << | |
1040 | ||
fcc6dddd JS |
1041 | $(COMMDIR)\objstrm.obj: $*.$(SRCSUFF) |
1042 | cl @<< | |
1043 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1044 | << | |
1045 | ||
cf447356 GL |
1046 | $(COMMDIR)/extended.obj: $*.c |
1047 | cl @<< | |
fcc6dddd | 1048 | $(CPPFLAGS2) /c $*.c /Fo$@ |
cf447356 GL |
1049 | << |
1050 | ||
ca7731b7 GL |
1051 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) |
1052 | cl @<< | |
341287bf JS |
1053 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ |
1054 | << | |
1055 | ||
1056 | $(COMMDIR)/variant.obj: $*.$(SRCSUFF) | |
1057 | cl @<< | |
1058 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
3d8bd7d6 JS |
1059 | << |
1060 | ||
1061 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) | |
1062 | cl @<< | |
341287bf | 1063 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ |
ca7731b7 GL |
1064 | << |
1065 | ||
2bda0e17 KB |
1066 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c |
1067 | cl @<< | |
1068 | $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ | |
1069 | << | |
1070 | ||
1071 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
1072 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
1073 | ||
1074 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
1075 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
1076 | ||
1077 | ######################################################## | |
1078 | # Generic objects (not always compiled, depending on | |
1079 | # whether platforms have native implementations) | |
1080 | ||
1081 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
1082 | cl @<< | |
1083 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1084 | << | |
1085 | ||
1086 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
1087 | cl @<< | |
1088 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1089 | << | |
1090 | ||
1091 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
1092 | cl @<< | |
1093 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1094 | << | |
1095 | ||
1096 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
1097 | cl @<< | |
1098 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1099 | << | |
1100 | ||
1101 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
1102 | cl @<< | |
1103 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1104 | << | |
1105 | ||
a6d70308 JS |
1106 | $(GENDIR)/laywin.obj: $*.$(SRCSUFF) |
1107 | cl @<< | |
1108 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1109 | << | |
1110 | ||
2bda0e17 KB |
1111 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) |
1112 | cl @<< | |
1113 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1114 | << | |
1115 | ||
1116 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
1117 | cl @<< | |
1118 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1119 | << | |
1120 | ||
e3a43801 JS |
1121 | $(GENDIR)/prop.obj: $*.$(SRCSUFF) |
1122 | cl @<< | |
1123 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1124 | << | |
1125 | ||
1126 | $(GENDIR)/propform.obj: $*.$(SRCSUFF) | |
1127 | cl @<< | |
1128 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1129 | << | |
1130 | ||
1131 | $(GENDIR)/proplist.obj: $*.$(SRCSUFF) | |
1132 | cl @<< | |
1133 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1134 | << | |
1135 | ||
2bda0e17 KB |
1136 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) |
1137 | cl @<< | |
1138 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1139 | << | |
1140 | ||
1141 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
1142 | cl @<< | |
1143 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1144 | << | |
1145 | ||
a6d70308 JS |
1146 | $(GENDIR)/sashwin.obj: $*.$(SRCSUFF) |
1147 | cl @<< | |
1148 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1149 | << | |
1150 | ||
2bda0e17 KB |
1151 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) |
1152 | cl @<< | |
1153 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1154 | << | |
1155 | ||
1156 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
1157 | cl @<< | |
1158 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1159 | << | |
1160 | ||
1161 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
1162 | cl @<< | |
1163 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1164 | << | |
1165 | ||
1166 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
1167 | cl @<< | |
1168 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1169 | << | |
1170 | ||
1171 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
1172 | cl @<< | |
1173 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1174 | << | |
1175 | ||
f60d0f94 JS |
1176 | $(GENDIR)/treectrl.obj: $*.$(SRCSUFF) |
1177 | cl @<< | |
1178 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1179 | << | |
1180 | ||
1181 | $(GENDIR)/imaglist.obj: $*.$(SRCSUFF) | |
1182 | cl @<< | |
1183 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1184 | << | |
1185 | ||
1186 | $(GENDIR)/listctrl.obj: $*.$(SRCSUFF) | |
1187 | cl @<< | |
1188 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1189 | << | |
1190 | ||
1191 | $(GENDIR)/notebook.obj: $*.$(SRCSUFF) | |
1192 | cl @<< | |
1193 | $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@ | |
1194 | << | |
1195 | ||
4fabb575 | 1196 | $(OBJECTS): $(WXDIR)/include/wx/setup.h |
2bda0e17 | 1197 | |
2bda0e17 KB |
1198 | # Peripheral components |
1199 | ||
fbcb4166 JS |
1200 | png: |
1201 | cd $(WXDIR)\src\png | |
2fd284a4 | 1202 | nmake -f makefile.nt FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) |
fbcb4166 JS |
1203 | cd $(WXDIR)\src\msw |
1204 | ||
1205 | clean_png: | |
1206 | cd $(WXDIR)\src\png | |
1207 | nmake -f makefile.nt clean | |
1208 | cd $(WXDIR)\src\msw | |
1209 | ||
1210 | zlib: | |
1211 | cd $(WXDIR)\src\zlib | |
2fd284a4 | 1212 | nmake -f makefile.nt FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) |
fbcb4166 JS |
1213 | cd $(WXDIR)\src\msw |
1214 | ||
1215 | clean_zlib: | |
1216 | cd $(WXDIR)\src\zlib | |
1217 | nmake -f makefile.nt clean | |
1218 | cd $(WXDIR)\src\msw | |
1219 | ||
2bda0e17 | 1220 | xpm: |
2fd284a4 JS |
1221 | cd $(WXDIR)\src\xpm |
1222 | nmake -f makefile.nt FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) | |
2bda0e17 KB |
1223 | cd $(WXDIR)\src\msw |
1224 | ||
1225 | clean_xpm: | |
2fd284a4 | 1226 | cd $(WXDIR)\src\xpm |
2bda0e17 KB |
1227 | nmake -f makefile.nt clean |
1228 | cd $(WXDIR)\src\msw | |
1229 | ||
1230 | rcparser: | |
1231 | cd $(WXDIR)\utils\rcparser\src | |
1232 | nmake -f makefile.nt FINAL=$(FINAL) | |
1233 | cd $(WXDIR)\src\msw | |
1234 | ||
2fd284a4 | 1235 | clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_xpm |
2bda0e17 KB |
1236 | -erase *.obj |
1237 | -erase $(LIBTARGET) | |
dabeb021 | 1238 | -erase $(WXDIR)\lib\*.pdb |
2bda0e17 KB |
1239 | -erase ..\..\lib\wx200.dll |
1240 | -erase ..\..\lib\wx200.lib | |
1241 | -erase ..\..\lib\wx200.exp | |
1242 | -erase ..\..\lib\wx200.pdb | |
1243 | -erase ..\..\lib\wx200.ilk | |
1244 | -erase *.pdb | |
1245 | -erase *.sbr | |
1246 | -erase *.pch | |
1247 | cd $(WXDIR)\src\msw | |
1248 | cd $(GENDIR) | |
1249 | -erase *.pdb | |
1250 | -erase *.sbr | |
1251 | -erase *.obj | |
1252 | cd $(WXDIR)\src\msw | |
1253 | cd $(COMMDIR) | |
1254 | -erase *.pdb | |
1255 | -erase *.sbr | |
1256 | -erase *.obj | |
1257 | -erase y_tab.c | |
1258 | -erase lex_yy.c | |
1259 | cd $(WXDIR)\src\msw | |
1260 | cd $(OLEDIR) | |
1261 | -erase *.pdb | |
1262 | -erase *.sbr | |
1263 | -erase *.obj | |
1264 | cd $(WXDIR)\src\msw | |
1265 | # -erase ..\common\wxstrgnu\*.obj | |
1266 | # -erase ..\common\lex_yy.c | |
1267 | # -erase ..\common\y_tab.c | |
1268 | ||
1269 | cleanall: clean | |
1270 | ||
1271 | # Making documents | |
62448488 JS |
1272 | docs: allhlp allhtml allpdfrtf |
1273 | alldocs: docs | |
bd0df01f | 1274 | hlp: wxhlp portinghlp # faqhlp |
2bda0e17 | 1275 | wxhlp: $(DOCDIR)/winhelp/wx.hlp |
e3a43801 | 1276 | wxprophlp: $(DOCDIR)/winhelp/wxprop.hlp |
2bda0e17 KB |
1277 | faqhlp: $(DOCDIR)/winhelp/faq.hlp |
1278 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
1279 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
1280 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
e3a43801 | 1281 | wxproprtf: $(DOCDIR)/winhelp/wxprop.rtf |
2bda0e17 KB |
1282 | pdfrtf: $(DOCDIR)/pdf/wx.rtf |
1283 | faqpdfrtf: $(DOCDIR)/pdf/faq.rtf | |
e3a43801 | 1284 | wxproppdfrtf: $(DOCDIR)/pdf/wxprop.rtf |
2bda0e17 KB |
1285 | refpdfrtf: $(DOCDIR)/pdf/techref.rtf |
1286 | html: wxhtml # faqhtml | |
1287 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
1288 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
e3a43801 | 1289 | wxprophtml: $(DOCDIR)\html\proplist\prop.htm |
2bda0e17 KB |
1290 | ps: wxps referencps # faqps |
1291 | wxps: $(WXDIR)\docs\ps\wx.ps | |
e3a43801 | 1292 | wxpropps: $(WXDIR)\docs\ps\wxprop.ps |
2bda0e17 KB |
1293 | faqps: $(WXDIR)\docs\ps\faq.ps |
1294 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
1295 | ||
1296 | portinghtml: $(DOCDIR)\html\porting\port.htm | |
1297 | portingrtf: $(DOCDIR)/winhelp/porting.rtf | |
1298 | portinghlp: $(DOCDIR)/winhelp/porting.hlp | |
1299 | portingpdfrtf: $(DOCDIR)/pdf/porting.rtf | |
1300 | portingps: $(WXDIR)\docs\ps\porting.ps | |
1301 | ||
e3a43801 | 1302 | allhlp: wxhlp portinghlp wxprop # faqhlp |
2bda0e17 KB |
1303 | cd $(WXDIR)\utils\dialoged\src |
1304 | nmake -f makefile.nt hlp | |
1305 | cd $(THISDIR) | |
1306 | ||
1307 | # cd $(WXDIR)\utils\wxhelp\src | |
1308 | # nmake -f makefile.nt hlp | |
1309 | # cd $(WXDIR)\utils\wxhelp2\src | |
1310 | # nmake -f makefile.nt hlp | |
1311 | # cd $(WXDIR)\utils\prologio\src | |
1312 | # nmake -f makefile.nt hlp | |
1313 | # cd $(WXDIR)\utils\tex2rtf\src | |
1314 | # nmake -f makefile.nt hlp | |
1315 | # cd $(WXDIR)\utils\wxgraph\src | |
1316 | # nmake -f makefile.nt hlp | |
1317 | # cd $(WXDIR)\utils\wxchart\src | |
1318 | # nmake -f makefile.nt hlp | |
1319 | # cd $(WXDIR)\utils\wxtree\src | |
1320 | # nmake -f makefile.nt hlp | |
1321 | # cd $(WXDIR)\utils\wxbuild\src | |
1322 | # nmake -f makefile.nt hlp | |
1323 | # cd $(WXDIR)\utils\wxgrid\src | |
1324 | # nmake -f makefile.nt hlp | |
1325 | # cd $(WXDIR)\utils\wxtab\src | |
1326 | # nmake -f makefile.nt hlp | |
1327 | ||
1328 | # cd $(WXDIR)\utils\wxclips\src | |
1329 | # nmake -f makefile.nt hlp | |
1330 | # cd $(WXDIR)\utils\clips2c\src | |
1331 | # nmake -f makefile.nt hlp | |
1332 | ||
e3a43801 | 1333 | allhtml: wxhtml portinghtml wxprophtml # faqhtml |
2bda0e17 KB |
1334 | cd $(WXDIR)\utils\dialoged\src |
1335 | nmake -f makefile.nt html | |
1336 | cd $(THISDIR) | |
1337 | ||
1338 | # nmake -f makefile.nt html | |
1339 | # cd $(WXDIR)\utils\dialoged\src | |
1340 | # nmake -f makefile.nt html | |
1341 | # cd $(WXDIR)\utils\hytext\src | |
1342 | # nmake -f makefile.nt html | |
1343 | # cd $(WXDIR)\utils\wxhelp\src | |
1344 | # nmake -f makefile.nt html | |
1345 | # cd $(WXDIR)\utils\wxhelp2\src | |
1346 | # nmake -f makefile.nt html | |
1347 | # cd $(WXDIR)\utils\prologio\src | |
1348 | # nmake -f makefile.nt html | |
1349 | # cd $(WXDIR)\utils\tex2rtf\src | |
1350 | # nmake -f makefile.nt html | |
1351 | # cd $(WXDIR)\utils\wxgraph\src | |
1352 | # nmake -f makefile.nt html | |
1353 | # cd $(WXDIR)\utils\wxchart\src | |
1354 | # nmake -f makefile.nt html | |
1355 | # cd $(WXDIR)\utils\wxtree\src | |
1356 | # nmake -f makefile.nt html | |
1357 | # cd $(WXDIR)\utils\wxtab\src | |
1358 | # nmake -f makefile.nt html | |
1359 | ||
1360 | # cd $(WXDIR)\utils\wxclips\src | |
1361 | # nmake -f makefile.nt html | |
1362 | # cd $(WXDIR)\utils\clips2c\src | |
1363 | # nmake -f makefile.nt html | |
1364 | ||
e3a43801 | 1365 | allps: wxps referencps portingps wxpropps # faqps |
2bda0e17 KB |
1366 | cd $(WXDIR)\utils\dialoged\src |
1367 | nmake -f makefile.nt ps | |
1368 | cd $(THISDIR) | |
1369 | ||
e3a43801 | 1370 | allpdfrtf: pdfrtf portingpdfrtf wxproppdfrtf # faqpdfrtf |
2bda0e17 KB |
1371 | cd $(WXDIR)\utils\dialoged\src |
1372 | nmake -f makefile.nt pdfrtf | |
1373 | cd $(THISDIR) | |
1374 | ||
1375 | # cd $(WXDIR)\utils\wxhelp\src | |
1376 | # nmake -f makefile.nt ps | |
1377 | # cd $(WXDIR)\utils\wxhelp2\src | |
1378 | # nmake -f makefile.nt ps | |
1379 | # cd $(WXDIR)\utils\tex2rtf\src | |
1380 | # nmake -f makefile.nt ps | |
1381 | # cd $(WXDIR)\utils\wxgraph\src | |
1382 | # nmake -f makefile.nt ps | |
1383 | # cd $(WXDIR)\utils\wxchart\src | |
1384 | # nmake -f makefile.nt ps | |
1385 | # cd $(WXDIR)\utils\wxtree\src | |
1386 | # nmake -f makefile.nt ps | |
1387 | # cd $(THISDIR) | |
1388 | ||
1389 | # cd $(WXDIR)\utils\wxtab\src | |
1390 | # nmake -f makefile.nt ps | |
1391 | # cd $(WXDIR)\utils\prologio\src | |
1392 | # nmake -f makefile.nt ps | |
1393 | # cd $(WXDIR)\utils\wxclips\src | |
1394 | # nmake -f makefile.nt ps | |
1395 | # cd $(WXDIR)\utils\clips2c\src | |
1396 | # nmake -f makefile.nt ps | |
1397 | ||
1398 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1399 | cd $(DOCDIR)/latex/wx | |
1400 | -erase wx.ph | |
1401 | hc wx | |
1402 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1403 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1404 | cd $(THISDIR) | |
1405 | ||
1406 | $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj | |
1407 | cd $(DOCDIR)/latex/porting | |
1408 | -erase porting.ph | |
1409 | hc porting | |
1410 | move porting.hlp $(DOCDIR)\winhelp\porting.hlp | |
1411 | move porting.cnt $(DOCDIR)\winhelp\porting.cnt | |
1412 | cd $(THISDIR) | |
1413 | ||
1414 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1415 | cd $(DOCDIR)/latex/faq | |
1416 | -erase faq.ph | |
1417 | hc faq | |
1418 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1419 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1420 | cd $(THISDIR) | |
1421 | ||
e3a43801 JS |
1422 | $(DOCDIR)/winhelp/wxprop.hlp: $(DOCDIR)/latex/proplist/wxprop.rtf $(DOCDIR)/latex/proplist/wxprop.hpj |
1423 | cd $(DOCDIR)/latex/proplist | |
1424 | -erase wxprop.ph | |
1425 | hc wxprop | |
1426 | move wxprop.hlp $(DOCDIR)\winhelp\wxprop.hlp | |
1427 | move wxprop.cnt $(DOCDIR)\winhelp\wxprop.cnt | |
1428 | cd $(THISDIR) | |
1429 | ||
2bda0e17 KB |
1430 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj |
1431 | cd $(DOCDIR)/latex/techref | |
1432 | -erase techref.ph | |
1433 | hc techref | |
1434 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1435 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1436 | cd $(THISDIR) | |
1437 | ||
1438 | $(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 | |
1439 | cd $(DOCDIR)\latex\wx | |
1440 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1441 | cd $(THISDIR) | |
1442 | ||
1443 | $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1444 | cd $(DOCDIR)\latex\porting | |
1445 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp | |
1446 | cd $(THISDIR) | |
1447 | ||
1448 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1449 | cd $(DOCDIR)\latex\faq | |
1450 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1451 | cd $(THISDIR) | |
1452 | ||
e3a43801 JS |
1453 | $(DOCDIR)/latex/proplist/wxprop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex |
1454 | cd $(DOCDIR)\latex\proplist | |
1455 | -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/wxprop.rtf -twice -winhelp | |
1456 | cd $(THISDIR) | |
1457 | ||
2bda0e17 KB |
1458 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex |
1459 | cd $(DOCDIR)\latex\techref | |
1460 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1461 | cd $(THISDIR) | |
1462 | ||
1463 | $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1464 | cd $(DOCDIR)\latex\wx | |
1465 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1466 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf | |
1467 | cd $(THISDIR) | |
1468 | ||
1469 | $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex | |
1470 | cd $(DOCDIR)\latex\porting | |
1471 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1472 | -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf | |
1473 | cd $(THISDIR) | |
1474 | ||
1475 | $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1476 | cd $(DOCDIR)\latex\faq | |
1477 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1478 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf | |
1479 | cd $(THISDIR) | |
1480 | ||
e3a43801 JS |
1481 | $(DOCDIR)/pdf/wxprop.rtf: $(DOCDIR)/latex/proplist/proplist.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex |
1482 | cd $(DOCDIR)\latex\proplist | |
1483 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1484 | -start /w tex2rtf $(DOCDIR)/latex/proplist/wxprop.tex $(DOCDIR)/pdf/wxprop.rtf -twice -rtf | |
1485 | cd $(THISDIR) | |
1486 | ||
2bda0e17 KB |
1487 | $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex |
1488 | cd $(DOCDIR)\latex\techref | |
1489 | -copy *.bmp *.wmf $(DOCDIR)\pdf | |
1490 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf | |
1491 | cd $(THISDIR) | |
1492 | ||
1493 | $(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 | |
1494 | cd $(DOCDIR)\latex\wx | |
1495 | -mkdir $(DOCDIR)\html\wx | |
1496 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html | |
1497 | -erase $(DOCDIR)\html\wx\*.con | |
06e43511 JS |
1498 | -erase $(DOCDIR)\html\wx\*.ref |
1499 | -erase $(DOCDIR)\latex\wx\*.con | |
1500 | -erase $(DOCDIR)\latex\wx\*.ref | |
1501 | cd $(THISDIR) | |
2bda0e17 KB |
1502 | |
1503 | $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex | |
1504 | cd $(DOCDIR)\latex\porting | |
1505 | -mkdir $(DOCDIR)\html\porting | |
1506 | -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html | |
1507 | -erase $(DOCDIR)\html\porting\*.con | |
1508 | -erase $(DOCDIR)\html\porting\*.ref | |
1509 | -erase $(DOCDIR)\latex\porting\*.con | |
1510 | -erase $(DOCDIR)\latex\porting\*.ref | |
1511 | cd $(THISDIR) | |
1512 | ||
1513 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1514 | cd $(DOCDIR)\latex\faq | |
1515 | -mkdir $(DOCDIR)\html\faq | |
1516 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html | |
1517 | -erase $(DOCDIR)\html\faq\*.con | |
1518 | -erase $(DOCDIR)\html\faq\*.ref | |
1519 | -erase $(DOCDIR)\latex\faq\*.con | |
e3a43801 JS |
1520 | -erase $(DOCDIR)\latex\faq\*.ref |
1521 | cd $(THISDIR) | |
1522 | ||
1523 | $(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 | |
1524 | cd $(DOCDIR)\latex\proplist | |
1525 | -mkdir $(DOCDIR)\html\proplist | |
1526 | -start /w tex2rtf $(DOCDIR)\latex\proplist\wxprop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html | |
1527 | -erase $(DOCDIR)\html\proplist\*.con | |
1528 | -erase $(DOCDIR)\html\proplist\*.ref | |
1529 | -erase $(DOCDIR)\latex\proplist\*.con | |
1530 | -erase $(DOCDIR)\latex\proplist\*.ref | |
2bda0e17 KB |
1531 | cd $(THISDIR) |
1532 | ||
1533 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1534 | cd $(WXDIR)\docs\latex\wx | |
1535 | -latex manual | |
1536 | -latex manual | |
1537 | -makeindx manual | |
1538 | -bibtex manual | |
1539 | -latex manual | |
1540 | -latex manual | |
1541 | cd $(THISDIR) | |
1542 | ||
1543 | $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex | |
1544 | cd $(WXDIR)\docs\latex\porting | |
1545 | -latex porting | |
1546 | -latex porting | |
1547 | -makeindx porting | |
1548 | -bibtex porting | |
1549 | -latex porting | |
1550 | -latex porting | |
1551 | cd $(THISDIR) | |
1552 | ||
1553 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1554 | cd $(WXDIR)\docs\latex\wx | |
1555 | -dvips32 -o wx.ps manual | |
1556 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1557 | cd $(THISDIR) | |
1558 | ||
1559 | $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi | |
1560 | cd $(WXDIR)\docs\latex\porting | |
1561 | -dvips32 -o porting.ps porting | |
1562 | move porting.ps $(WXDIR)\docs\ps\porting.ps | |
1563 | cd $(THISDIR) | |
1564 | ||
1565 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1566 | cd $(WXDIR)\docs\latex\wx | |
1567 | -latex referenc | |
1568 | -latex referenc | |
1569 | -makeindx referenc | |
1570 | -bibtex referenc | |
1571 | -latex referenc | |
1572 | -latex referenc | |
1573 | cd $(THISDIR) | |
1574 | ||
1575 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1576 | cd $(WXDIR)\docs\latex\wx | |
1577 | -dvips32 -o referenc.ps referenc | |
1578 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1579 | cd $(THISDIR) | |
1580 | ||
1581 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1582 | cd $(WXDIR)\docs\latex\faq | |
1583 | -latex faq | |
1584 | -latex faq | |
1585 | -makeindx faq | |
1586 | -latex faq | |
1587 | -latex faq | |
1588 | cd $(THISDIR) | |
1589 | ||
1590 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1591 | cd $(WXDIR)\docs\latex\faq | |
1592 | -dvips32 -o faq.ps faq | |
1593 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1594 | cd $(THISDIR) | |
1595 | ||
da36f544 JS |
1596 | # In order to force document reprocessing |
1597 | touchmanual: | |
1598 | -touch $(WXDIR)\docs\latex\wx\manual.tex | |
62448488 JS |
1599 | |
1600 | updatedocs: touchmanual alldocs | |
1601 | ||
1602 | # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the | |
1603 | # Office StartUp folder, and PDFMaker should be installed. | |
1604 | updatepdf: # touchmanual pdfrtf | |
1605 | start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF" | |
2845ddc2 | 1606 |