]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # | |
15 | !include <..\makemsc.env> | |
16 | ||
17 | LIBTARGET=$(WXLIB) | |
18 | DUMMYOBJ=dummy.obj | |
19 | ||
20 | # Please set these according to the settings in wx_setup.h, so we can include | |
21 | # the appropriate libraries in wx.lib | |
22 | ||
23 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
24 | MINIMAL_WXWINDOWS_SETUP=0 | |
25 | ||
26 | USE_XPM_IN_MSW=0 | |
27 | USE_CTL3D=1 | |
28 | ||
29 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
30 | USE_CTL3D=0 | |
31 | USE_XPM_IN_MSW=0 | |
32 | !endif | |
33 | ||
34 | PERIPH_LIBS= | |
35 | PERIPH_TARGET= | |
36 | PERIPH_CLEAN_TARGET= | |
37 | ||
38 | # !if "$(USE_CTL3D)" == "1" | |
39 | # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) | |
40 | # !endif | |
41 | ||
42 | !if "$(USE_XPM_IN_MSW)" == "1" | |
43 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
44 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
45 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
46 | !endif | |
47 | ||
48 | # PNG and Zlib | |
49 | PERIPH_TARGET=png zlib $(PERIPH_TARGET) | |
50 | PERIPH_CLEAN_TARGET=clean_png clean_zlib $(PERIPH_CLEAN_TARGET) | |
51 | ||
52 | GENDIR=..\generic | |
53 | COMMDIR=..\common | |
54 | OLEDIR=.\ole | |
55 | MSWDIR=. | |
56 | ||
57 | GENERICOBJS= \ | |
58 | $(GENDIR)\choicdgg.obj \ | |
59 | $(GENDIR)\dirdlgg.obj \ | |
60 | $(GENDIR)\gridg.obj \ | |
61 | $(GENDIR)\imaglist.obj \ | |
62 | $(GENDIR)\listctrl.obj \ | |
63 | $(GENDIR)\notebook.obj \ | |
64 | $(GENDIR)\panelg.obj \ | |
65 | $(GENDIR)\prop.obj \ | |
66 | $(GENDIR)\propform.obj \ | |
67 | $(GENDIR)\proplist.obj \ | |
68 | $(GENDIR)\scrolwin.obj \ | |
69 | $(GENDIR)\splitter.obj \ | |
70 | $(GENDIR)\statusbr.obj \ | |
71 | $(GENDIR)\tabg.obj \ | |
72 | $(GENDIR)\textdlgg.obj\ | |
73 | $(GENDIR)\prntdlgg.obj \ | |
74 | $(GENDIR)\treectrl.obj | |
75 | ||
76 | # Don't need these generic objects for Windows | |
77 | # $(GENDIR)\msgdlgg.obj \ | |
78 | # $(GENDIR)\fontdlgg.obj \ | |
79 | # $(GENDIR)\colrdlgg.obj \ | |
80 | # $(GENDIR)\printps.obj \ | |
81 | # $(GENDIR)\helpxlp.obj \ | |
82 | ||
83 | COMMONOBJS = \ | |
84 | $(COMMDIR)\config.obj \ | |
85 | $(COMMDIR)\cmndata.obj \ | |
86 | $(COMMDIR)\docview.obj \ | |
87 | $(COMMDIR)\docmdi.obj \ | |
88 | $(COMMDIR)\dynarray.obj \ | |
89 | $(COMMDIR)\event.obj \ | |
90 | $(COMMDIR)\file.obj \ | |
91 | $(COMMDIR)\filefn.obj \ | |
92 | $(COMMDIR)\framecmn.obj \ | |
93 | $(COMMDIR)\gdicmn.obj \ | |
94 | $(COMMDIR)\intl.obj \ | |
95 | $(COMMDIR)\helpbase.obj \ | |
96 | $(COMMDIR)\ipcbase.obj \ | |
97 | $(COMMDIR)\layout.obj \ | |
98 | $(COMMDIR)\log.obj \ | |
99 | $(COMMDIR)\memory.obj \ | |
100 | $(COMMDIR)\module.obj \ | |
101 | $(COMMDIR)\object.obj \ | |
102 | $(COMMDIR)\odbc.obj \ | |
103 | $(COMMDIR)\process.obj \ | |
104 | $(COMMDIR)\prntbase.obj \ | |
105 | $(COMMDIR)\resource.obj \ | |
106 | $(COMMDIR)\tbarbase.obj \ | |
107 | $(COMMDIR)\tbarsmpl.obj \ | |
108 | $(COMMDIR)\textfile.obj \ | |
109 | $(COMMDIR)\timercmn.obj \ | |
110 | $(COMMDIR)\utilscmn.obj \ | |
111 | $(COMMDIR)\validate.obj \ | |
112 | $(COMMDIR)\valgen.obj \ | |
113 | $(COMMDIR)\valtext.obj \ | |
114 | $(COMMDIR)\date.obj \ | |
115 | $(COMMDIR)\wxexpr.obj \ | |
116 | $(COMMDIR)\hash.obj \ | |
117 | $(COMMDIR)\list.obj \ | |
118 | $(COMMDIR)\variant.obj \ | |
119 | $(COMMDIR)\paper.obj \ | |
120 | $(COMMDIR)\string.obj \ | |
121 | $(COMMDIR)\time.obj \ | |
122 | $(COMMDIR)\y_tab.obj \ | |
123 | $(COMMDIR)\stream.obj \ | |
124 | $(COMMDIR)\wfstream.obj \ | |
125 | $(COMMDIR)\mstream.obj \ | |
126 | $(COMMDIR)\zstream.obj \ | |
127 | $(COMMDIR)\datstrm.obj \ | |
128 | $(COMMDIR)\extended.obj \ | |
129 | $(COMMDIR)\wincmn.obj | |
130 | ||
131 | # Doesn't compile (nested classes) | |
132 | # $(COMMDIR)\fileconf.obj\ | |
133 | ||
134 | # Uses WIN32 registry functions | |
135 | # $(COMMDIR)\mimetype.obj \ | |
136 | ||
137 | # Fails when including png.h, on jmp_buf. | |
138 | # $(COMMDIR)\image.obj \ | |
139 | ||
140 | MSWOBJS = \ | |
141 | $(MSWDIR)\accel.obj \ | |
142 | $(MSWDIR)\app.obj \ | |
143 | $(MSWDIR)\bitmap.obj \ | |
144 | $(MSWDIR)\bmpbuttn.obj \ | |
145 | $(MSWDIR)\brush.obj \ | |
146 | $(MSWDIR)\button.obj \ | |
147 | $(MSWDIR)\checkbox.obj \ | |
148 | $(MSWDIR)\checklst.obj \ | |
149 | $(MSWDIR)\choice.obj \ | |
150 | $(MSWDIR)\clipbrd.obj \ | |
151 | $(MSWDIR)\colordlg.obj \ | |
152 | $(MSWDIR)\colour.obj \ | |
153 | $(MSWDIR)\combobox.obj \ | |
154 | $(MSWDIR)\control.obj \ | |
155 | $(MSWDIR)\curico.obj \ | |
156 | $(MSWDIR)\cursor.obj \ | |
157 | $(MSWDIR)\data.obj \ | |
158 | $(MSWDIR)\dc.obj \ | |
159 | $(MSWDIR)\dcmemory.obj \ | |
160 | $(MSWDIR)\dcclient.obj \ | |
161 | $(MSWDIR)\dcprint.obj \ | |
162 | $(MSWDIR)\dcscreen.obj \ | |
163 | $(MSWDIR)\dde.obj \ | |
164 | $(MSWDIR)\dialog.obj \ | |
165 | $(MSWDIR)\dib.obj \ | |
166 | $(MSWDIR)\filedlg.obj \ | |
167 | $(MSWDIR)\font.obj \ | |
168 | $(MSWDIR)\fontdlg.obj \ | |
169 | $(MSWDIR)\frame.obj \ | |
170 | $(MSWDIR)\gaugemsw.obj \ | |
171 | $(MSWDIR)\gdiobj.obj \ | |
172 | $(MSWDIR)\helpwin.obj \ | |
173 | $(MSWDIR)\icon.obj \ | |
174 | $(MSWDIR)\iniconf.obj\ | |
175 | $(MSWDIR)\joystick.obj \ | |
176 | $(MSWDIR)\listbox.obj \ | |
177 | $(MSWDIR)\main.obj \ | |
178 | $(MSWDIR)\mdi.obj \ | |
179 | $(MSWDIR)\menu.obj\ | |
180 | $(MSWDIR)\menuitem.obj \ | |
181 | $(MSWDIR)\metafile.obj \ | |
182 | $(MSWDIR)\minifram.obj \ | |
183 | $(MSWDIR)\msgdlg.obj \ | |
184 | $(MSWDIR)\nativdlg.obj \ | |
185 | $(MSWDIR)\ownerdrw.obj \ | |
186 | $(MSWDIR)\palette.obj \ | |
187 | $(MSWDIR)\pen.obj \ | |
188 | $(MSWDIR)\penwin.obj \ | |
189 | $(MSWDIR)\printdlg.obj \ | |
190 | $(MSWDIR)\printwin.obj \ | |
191 | $(MSWDIR)\radiobox.obj \ | |
192 | $(MSWDIR)\radiobut.obj \ | |
193 | $(MSWDIR)\region.obj \ | |
194 | $(MSWDIR)\scrolbar.obj \ | |
195 | $(MSWDIR)\settings.obj \ | |
196 | $(MSWDIR)\slidrmsw.obj \ | |
197 | $(MSWDIR)\spinbutt.obj \ | |
198 | $(MSWDIR)\statbmp.obj \ | |
199 | $(MSWDIR)\statbox.obj \ | |
200 | $(MSWDIR)\stattext.obj \ | |
201 | $(MSWDIR)\tbarmsw.obj \ | |
202 | $(MSWDIR)\textctrl.obj \ | |
203 | $(MSWDIR)\timer.obj \ | |
204 | $(MSWDIR)\utils.obj \ | |
205 | $(MSWDIR)\utilsexc.obj \ | |
206 | $(MSWDIR)\wave.obj \ | |
207 | $(MSWDIR)\window.obj \ | |
208 | $(OLEDIR)\dropsrc.obj \ | |
209 | $(OLEDIR)\droptgt.obj | |
210 | ||
211 | # $(OLEDIR)\automtn.obj \ | |
212 | # $(OLEDIR)\dataobj.obj \ | |
213 | # $(OLEDIR)\oleutils.obj \ | |
214 | # $(OLEDIR)\uuid.obj | |
215 | # $(MSWDIR)\tooltip.obj \ | |
216 | ||
217 | # TODO: Implement XPM and PNG targets in this makefile! | |
218 | # $(OLEDIR)\xpmhand \ | |
219 | # $(OLEDIR)\pnghand \ | |
220 | ||
221 | # Not appropriate for 16-bit Windows | |
222 | # $(MSWDIR)\registry.obj \ | |
223 | # $(MSWDIR)\dirdlg.obj \ | |
224 | # $(MSWDIR)\treectrl.obj \ | |
225 | # $(MSWDIR)\listctrl.obj \ | |
226 | ||
227 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
228 | ||
229 | # Normal, static library | |
230 | all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib | |
231 | ||
232 | ||
233 | #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
234 | # -erase $(LIBTARGET) | |
235 | # lib /PAGESIZE:128 @<< | |
236 | #$(LIBTARGET) | |
237 | #y | |
238 | #$(OBJECTS) $(PERIPH_LIBS) | |
239 | #nul | |
240 | #; | |
241 | #<< | |
242 | ||
243 | $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS) | |
244 | -erase $(WXDIR)\lib\wx1.lib | |
245 | lib /PAGESIZE:128 @<< | |
246 | $(WXDIR)\lib\wx1.lib | |
247 | y | |
248 | $(COMMONOBJS) $(PERIPH_LIBS) | |
249 | nul | |
250 | ; | |
251 | << | |
252 | ||
253 | $(WXDIR)\lib\wx2.lib: $(GENERICOBJS) | |
254 | -erase $(WXDIR)\lib\wx2.lib | |
255 | lib /PAGESIZE:128 @<< | |
256 | $(WXDIR)\lib\wx2.lib | |
257 | y | |
258 | $(GENERICOBJS) | |
259 | nul | |
260 | ; | |
261 | << | |
262 | ||
263 | $(WXDIR)\lib\wx3.lib: $(MSWOBJS) | |
264 | -erase $(WXDIR)\lib\wx3.lib | |
265 | lib /PAGESIZE:128 @<< | |
266 | $(WXDIR)\lib\wx3.lib | |
267 | y | |
268 | $(MSWOBJS) | |
269 | nul | |
270 | ; | |
271 | << | |
272 | ||
273 | ######################################################## | |
274 | # Windows-specific objects | |
275 | ||
276 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
277 | cl @<< | |
278 | cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
279 | << | |
280 | ||
281 | #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
282 | # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
283 | ||
284 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
285 | cl @<< | |
286 | $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF) | |
287 | << | |
288 | ||
289 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) | |
290 | cl @<< | |
291 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
292 | << | |
293 | ||
294 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) | |
295 | cl @<< | |
296 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
297 | << | |
298 | ||
299 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
300 | cl @<< | |
301 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
302 | << | |
303 | ||
304 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
305 | cl @<< | |
306 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
307 | << | |
308 | ||
309 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
310 | cl @<< | |
311 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
312 | << | |
313 | ||
314 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
315 | cl @<< | |
316 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
317 | << | |
318 | ||
319 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
320 | cl @<< | |
321 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
322 | << | |
323 | ||
324 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
325 | cl @<< | |
326 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
327 | << | |
328 | ||
329 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
330 | cl @<< | |
331 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
332 | << | |
333 | ||
334 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
335 | cl @<< | |
336 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
337 | << | |
338 | ||
339 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
340 | cl @<< | |
341 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
342 | << | |
343 | ||
344 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
345 | cl @<< | |
346 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
347 | << | |
348 | ||
349 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
350 | cl @<< | |
351 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
352 | << | |
353 | ||
354 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
355 | cl @<< | |
356 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
357 | << | |
358 | ||
359 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
360 | cl @<< | |
361 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
362 | << | |
363 | ||
364 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
365 | cl @<< | |
366 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
367 | << | |
368 | ||
369 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
370 | cl @<< | |
371 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
372 | << | |
373 | ||
374 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
375 | cl @<< | |
376 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
377 | << | |
378 | ||
379 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
380 | cl @<< | |
381 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
382 | << | |
383 | ||
384 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
385 | cl @<< | |
386 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
387 | << | |
388 | ||
389 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
390 | cl @<< | |
391 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
392 | << | |
393 | ||
394 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
395 | cl @<< | |
396 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
397 | << | |
398 | ||
399 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
400 | cl @<< | |
401 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
402 | << | |
403 | ||
404 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
405 | cl @<< | |
406 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
407 | << | |
408 | ||
409 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
410 | cl @<< | |
411 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
412 | << | |
413 | ||
414 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
415 | cl @<< | |
416 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
417 | << | |
418 | ||
419 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
420 | cl @<< | |
421 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
422 | << | |
423 | ||
424 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
425 | cl @<< | |
426 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
427 | << | |
428 | ||
429 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
430 | cl @<< | |
431 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
432 | << | |
433 | ||
434 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
435 | cl @<< | |
436 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
437 | << | |
438 | ||
439 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
440 | cl @<< | |
441 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
442 | << | |
443 | ||
444 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
445 | cl @<< | |
446 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
447 | << | |
448 | ||
449 | $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF) | |
450 | cl @<< | |
451 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
452 | << | |
453 | ||
454 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
455 | cl @<< | |
456 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
457 | << | |
458 | ||
459 | $(MSWDIR)/iniconf.obj: $*.$(SRCSUFF) | |
460 | cl @<< | |
461 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
462 | << | |
463 | ||
464 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
465 | cl @<< | |
466 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
467 | << | |
468 | ||
469 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
470 | cl @<< | |
471 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
472 | << | |
473 | ||
474 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
475 | cl @<< | |
476 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
477 | << | |
478 | ||
479 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
480 | cl @<< | |
481 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
482 | << | |
483 | ||
484 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
485 | cl @<< | |
486 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
487 | << | |
488 | ||
489 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
490 | cl @<< | |
491 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
492 | << | |
493 | ||
494 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
495 | cl @<< | |
496 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
497 | << | |
498 | ||
499 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
500 | cl @<< | |
501 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
502 | << | |
503 | ||
504 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
505 | cl @<< | |
506 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
507 | << | |
508 | ||
509 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
510 | cl @<< | |
511 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
512 | << | |
513 | ||
514 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
515 | cl @<< | |
516 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
517 | << | |
518 | ||
519 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
520 | cl @<< | |
521 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
522 | << | |
523 | ||
524 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) | |
525 | cl @<< | |
526 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
527 | << | |
528 | ||
529 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
530 | cl @<< | |
531 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
532 | << | |
533 | ||
534 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
535 | cl @<< | |
536 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
537 | << | |
538 | ||
539 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
540 | cl @<< | |
541 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
542 | << | |
543 | ||
544 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
545 | cl @<< | |
546 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
547 | << | |
548 | ||
549 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
550 | cl @<< | |
551 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
552 | << | |
553 | ||
554 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
555 | cl @<< | |
556 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
557 | << | |
558 | ||
559 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
560 | cl @<< | |
561 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
562 | << | |
563 | ||
564 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
565 | cl @<< | |
566 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
567 | << | |
568 | ||
569 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
570 | cl @<< | |
571 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
572 | << | |
573 | ||
574 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
575 | cl @<< | |
576 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
577 | << | |
578 | ||
579 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
580 | cl @<< | |
581 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
582 | << | |
583 | ||
584 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) | |
585 | cl @<< | |
586 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
587 | << | |
588 | ||
589 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
590 | cl @<< | |
591 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
592 | << | |
593 | ||
594 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
595 | cl @<< | |
596 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
597 | << | |
598 | ||
599 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
600 | cl @<< | |
601 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
602 | << | |
603 | ||
604 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
605 | cl @<< | |
606 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
607 | << | |
608 | ||
609 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
610 | cl @<< | |
611 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
612 | << | |
613 | ||
614 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
615 | cl @<< | |
616 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
617 | << | |
618 | ||
619 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
620 | cl @<< | |
621 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
622 | << | |
623 | ||
624 | $(MSWDIR)/tooltip.obj: $*.$(SRCSUFF) | |
625 | cl @<< | |
626 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
627 | << | |
628 | ||
629 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
630 | cl @<< | |
631 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
632 | << | |
633 | ||
634 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
635 | cl @<< | |
636 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
637 | << | |
638 | ||
639 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) | |
640 | cl @<< | |
641 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
642 | << | |
643 | ||
644 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) | |
645 | cl @<< | |
646 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
647 | << | |
648 | ||
649 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
650 | cl @<< | |
651 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
652 | << | |
653 | ||
654 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
655 | cl @<< | |
656 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
657 | << | |
658 | ||
659 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
660 | cl @<< | |
661 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
662 | << | |
663 | ||
664 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
665 | cl @<< | |
666 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
667 | << | |
668 | ||
669 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
670 | cl @<< | |
671 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
672 | << | |
673 | ||
674 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
675 | cl @<< | |
676 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
677 | << | |
678 | ||
679 | $(OLEDIR)/automtn.obj: $*.$(SRCSUFF) | |
680 | cl @<< | |
681 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
682 | << | |
683 | ||
684 | ######################################################## | |
685 | # Common objects (always compiled) | |
686 | ||
687 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
688 | cl @<< | |
689 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
690 | << | |
691 | ||
692 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
693 | cl @<< | |
694 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
695 | << | |
696 | ||
697 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
698 | cl @<< | |
699 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
700 | << | |
701 | ||
702 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) | |
703 | cl @<< | |
704 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
705 | << | |
706 | ||
707 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) | |
708 | cl @<< | |
709 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
710 | << | |
711 | ||
712 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
713 | cl @<< | |
714 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
715 | << | |
716 | ||
717 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
718 | cl @<< | |
719 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
720 | << | |
721 | ||
722 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
723 | cl @<< | |
724 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
725 | << | |
726 | ||
727 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
728 | cl @<< | |
729 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
730 | << | |
731 | ||
732 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) | |
733 | cl @<< | |
734 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
735 | << | |
736 | ||
737 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) | |
738 | cl @<< | |
739 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
740 | << | |
741 | ||
742 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
743 | cl @<< | |
744 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
745 | << | |
746 | ||
747 | $(COMMDIR)/image.obj: $*.$(SRCSUFF) | |
748 | cl @<< | |
749 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
750 | << | |
751 | ||
752 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) | |
753 | cl @<< | |
754 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
755 | << | |
756 | ||
757 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
758 | cl @<< | |
759 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
760 | << | |
761 | ||
762 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
763 | cl @<< | |
764 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
765 | << | |
766 | ||
767 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
768 | cl @<< | |
769 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
770 | << | |
771 | ||
772 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
773 | cl @<< | |
774 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
775 | << | |
776 | ||
777 | $(COMMDIR)/mimetype.obj: $*.$(SRCSUFF) | |
778 | cl @<< | |
779 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
780 | << | |
781 | ||
782 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
783 | cl @<< | |
784 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
785 | << | |
786 | ||
787 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
788 | cl @<< | |
789 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
790 | << | |
791 | ||
792 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
793 | cl @<< | |
794 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
795 | << | |
796 | ||
797 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) | |
798 | cl @<< | |
799 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
800 | << | |
801 | ||
802 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
803 | cl @<< | |
804 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
805 | << | |
806 | ||
807 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
808 | cl @<< | |
809 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
810 | << | |
811 | ||
812 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
813 | cl @<< | |
814 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
815 | << | |
816 | ||
817 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
818 | cl @<< | |
819 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
820 | << | |
821 | ||
822 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
823 | cl @<< | |
824 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
825 | << | |
826 | ||
827 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
828 | cl @<< | |
829 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
830 | << | |
831 | ||
832 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
833 | cl @<< | |
834 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
835 | << | |
836 | ||
837 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
838 | cl @<< | |
839 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
840 | << | |
841 | ||
842 | $(COMMDIR)/valgen.obj: $*.$(SRCSUFF) | |
843 | cl @<< | |
844 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
845 | << | |
846 | ||
847 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
848 | cl @<< | |
849 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
850 | << | |
851 | ||
852 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
853 | cl @<< | |
854 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
855 | << | |
856 | ||
857 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
858 | cl @<< | |
859 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
860 | << | |
861 | ||
862 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
863 | cl @<< | |
864 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
865 | << | |
866 | ||
867 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
868 | cl @<< | |
869 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
870 | << | |
871 | ||
872 | $(COMMDIR)/variant.obj: $*.$(SRCSUFF) | |
873 | cl @<< | |
874 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
875 | << | |
876 | ||
877 | $(COMMDIR)/paper.obj: $*.$(SRCSUFF) | |
878 | cl @<< | |
879 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
880 | << | |
881 | ||
882 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
883 | cl @<< | |
884 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
885 | << | |
886 | ||
887 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
888 | cl @<< | |
889 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
890 | << | |
891 | ||
892 | $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
893 | cl @<< | |
894 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
895 | << | |
896 | ||
897 | $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
898 | cl @<< | |
899 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
900 | << | |
901 | ||
902 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
903 | cl @<< | |
904 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
905 | << | |
906 | ||
907 | $(COMMDIR)/stream.obj: $*.$(SRCSUFF) | |
908 | cl @<< | |
909 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
910 | << | |
911 | ||
912 | $(COMMDIR)/wfstream.obj: $*.$(SRCSUFF) | |
913 | cl @<< | |
914 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
915 | << | |
916 | ||
917 | $(COMMDIR)/mstream.obj: $*.$(SRCSUFF) | |
918 | cl @<< | |
919 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
920 | << | |
921 | ||
922 | $(COMMDIR)/zstream.obj: $*.$(SRCSUFF) | |
923 | cl @<< | |
924 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
925 | << | |
926 | ||
927 | $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF) | |
928 | cl @<< | |
929 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
930 | << | |
931 | ||
932 | $(COMMDIR)/extended.obj: $*.c | |
933 | cl @<< | |
934 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.c | |
935 | << | |
936 | ||
937 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) | |
938 | cl @<< | |
939 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
940 | << | |
941 | ||
942 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c | |
943 | cl @<< | |
944 | $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c | |
945 | << | |
946 | ||
947 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
948 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
949 | ||
950 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
951 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
952 | ||
953 | ######################################################## | |
954 | # Generic objects (not always compiled, depending on | |
955 | # whether platforms have native implementations) | |
956 | ||
957 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
958 | cl @<< | |
959 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
960 | << | |
961 | ||
962 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
963 | cl @<< | |
964 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
965 | << | |
966 | ||
967 | $(GENDIR)/dirdlgg.obj: $*.$(SRCSUFF) | |
968 | cl @<< | |
969 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
970 | << | |
971 | ||
972 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
973 | cl @<< | |
974 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
975 | << | |
976 | ||
977 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
978 | cl @<< | |
979 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
980 | << | |
981 | ||
982 | $(GENDIR)/imaglist.obj: $*.$(SRCSUFF) | |
983 | cl @<< | |
984 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
985 | << | |
986 | ||
987 | $(GENDIR)/listctrl.obj: $*.$(SRCSUFF) | |
988 | cl @<< | |
989 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
990 | << | |
991 | ||
992 | $(GENDIR)/notebook.obj: $*.$(SRCSUFF) | |
993 | cl @<< | |
994 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
995 | << | |
996 | ||
997 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
998 | cl @<< | |
999 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1000 | << | |
1001 | ||
1002 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
1003 | cl @<< | |
1004 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1005 | << | |
1006 | ||
1007 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
1008 | cl @<< | |
1009 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1010 | << | |
1011 | ||
1012 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
1013 | cl @<< | |
1014 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1015 | << | |
1016 | ||
1017 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
1018 | cl @<< | |
1019 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1020 | << | |
1021 | ||
1022 | $(GENDIR)/prop.obj: $*.$(SRCSUFF) | |
1023 | cl @<< | |
1024 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1025 | << | |
1026 | ||
1027 | $(GENDIR)/propform.obj: $*.$(SRCSUFF) | |
1028 | cl @<< | |
1029 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1030 | << | |
1031 | ||
1032 | $(GENDIR)/proplist.obj: $*.$(SRCSUFF) | |
1033 | cl @<< | |
1034 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1035 | << | |
1036 | ||
1037 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) | |
1038 | cl @<< | |
1039 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1040 | << | |
1041 | ||
1042 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
1043 | cl @<< | |
1044 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1045 | << | |
1046 | ||
1047 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
1048 | cl @<< | |
1049 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1050 | << | |
1051 | ||
1052 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
1053 | cl @<< | |
1054 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1055 | << | |
1056 | ||
1057 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
1058 | cl @<< | |
1059 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1060 | << | |
1061 | ||
1062 | $(GENDIR)/treectrl.obj: $*.$(SRCSUFF) | |
1063 | cl @<< | |
1064 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
1065 | << | |
1066 | ||
1067 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
1068 | ||
1069 | # Peripheral components | |
1070 | ||
1071 | xpm: | |
1072 | cd $(WXDIR)\src\xpm | |
1073 | nmake -f makefile.dos FINAL=$(FINAL) | |
1074 | cd $(WXDIR)\src\msw | |
1075 | ||
1076 | clean_xpm: | |
1077 | cd $(WXDIR)\src\xpm | |
1078 | nmake -f makefile.dos clean | |
1079 | cd $(WXDIR)\src\msw | |
1080 | ||
1081 | zlib: | |
1082 | cd $(WXDIR)\src\zlib | |
1083 | nmake -f makefile.dos FINAL=$(FINAL) | |
1084 | cd $(WXDIR)\src\msw | |
1085 | ||
1086 | clean_zlib: | |
1087 | cd $(WXDIR)\src\zlib | |
1088 | nmake -f makefile.dos clean | |
1089 | cd $(WXDIR)\src\msw | |
1090 | ||
1091 | png: | |
1092 | cd $(WXDIR)\src\png | |
1093 | nmake -f makefile.dos FINAL=$(FINAL) | |
1094 | cd $(WXDIR)\src\msw | |
1095 | ||
1096 | clean_png: | |
1097 | cd $(WXDIR)\src\png | |
1098 | nmake -f makefile.dos clean | |
1099 | cd $(WXDIR)\src\msw | |
1100 | ||
1101 | clean: $(PERIPH_CLEAN_TARGET) | |
1102 | -erase *.obj | |
1103 | -erase ..\lib\*.lib | |
1104 | -erase *.pdb | |
1105 | -erase *.sbr | |
1106 | -erase *.pch | |
1107 | cd $(WXDIR)\src\generic | |
1108 | -erase *.pdb | |
1109 | -erase *.sbr | |
1110 | -erase *.obj | |
1111 | cd $(WXDIR)\src\common | |
1112 | -erase *.pdb | |
1113 | -erase *.sbr | |
1114 | -erase *.obj | |
1115 | cd $(WXDIR)\src\msw\ole | |
1116 | -erase *.pdb | |
1117 | -erase *.sbr | |
1118 | -erase *.obj | |
1119 | cd $(WXDIR)\src\msw | |
1120 | ||
1121 | cleanall: clean | |
1122 | ||
1123 |