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