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