]> git.saurik.com Git - wxWidgets.git/blob - src/os2/makefile.va
Honour wxSB_WRAP in wxMotif spin button
[wxWidgets.git] / src / os2 / makefile.va
1 #
2 # File: makefile.va
3 # Author: Dave Webster
4 # Created: 1999
5 # Updated:
6 # Copyright: (c) 1999, Dave Webster
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
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 #
16 !include <..\makeva.env>
17
18 THISDIR=$(WXWIN)\src\os2
19
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
23 !else
24 LIBTARGET=$(WXLIB)
25 COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26 COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
27 COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib
28 COMTEMPTGT4=$(WXDIR)\lib\wxcom4.lib
29 GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
30 NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
31 OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
32 OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
33 HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib
34 DUMMYOBJ=$D\dummy.obj
35 !endif
36
37 # Please set these according to the settings in setup.h, so we can include
38 # the appropriate libraries in wx.lib
39
40 # This one overrides the others, to be consistent with the settings in wx_setup.h
41 MINIMAL_WXWINDOWS_SETUP=0
42
43 PERIPH_LIBS=
44 PERIPH_TARGET=
45 PERIPH_CLEAN_TARGET=
46
47 # These are absolute paths, so that the compiler
48 # generates correct __FILE__ symbols for debugging.
49 # Otherwise you don't be able to double-click on a memory
50 # error to load that file.
51 GENDIR=$(WXDIR)\src\generic
52 COMMDIR=$(WXDIR)\src\common
53 OS2DIR=$(WXDIR)\src\os2
54 HTMLDIR = $(WXDIR)\src\html
55
56 !if [md $(COMMDIR)\$D]
57 !endif
58
59 !if [md $(OS2DIR)\$D]
60 !endif
61
62 !if [md $(GENDIR)\$D]
63 !endif
64
65 !if [md $(HTMLDIR)\$D]
66 !endif
67
68 {..\generic}.cpp{..\generic\$D}.obj:
69 @echo $<
70 icc @<<
71 $(CPPFLAGS) /Fo$@ /Tp $<
72 <<
73
74 {..\common}.cpp{..\common\$D}.obj:
75 @echo $<
76 icc @<<
77 $(CPPFLAGS) /Fo$@ /Tp $<
78 <<
79
80 {..\os2}.cpp{..\os2\$D}.obj:
81 @echo $<
82 icc @<<
83 $(CPPFLAGS) /Fo$@ /Tp $<
84 <<
85
86 {..\os2}.c{..\os2\$D}.obj:
87 @echo $<
88 icc @<<
89 $(CPPFLAGS) /Fo$@ /Tp $<
90 <<
91
92 {..\html}.cpp{..\html\$D}.obj:
93 @echo $<
94 icc @<<
95 $(CPPFLAGS) /Fo$@ /Tp $<
96 <<
97
98 GENERICOBJS= \
99 ..\generic\$D\busyinfo.obj \
100 ..\generic\$D\calctrl.obj \
101 ..\generic\$D\caret.obj \
102 ..\generic\$D\choicdgg.obj \
103 ..\generic\$D\colrdlgg.obj \
104 ..\generic\$D\dcbuffer.obj \
105 ..\generic\$D\dcpsg.obj \
106 ..\generic\$D\dirdlgg.obj \
107 ..\generic\$D\dirctrlg.obj \
108 ..\generic\$D\dragimgg.obj \
109 ..\generic\$D\fdrepdlg.obj \
110 ..\generic\$D\grid.obj \
111 ..\generic\$D\gridctrl.obj \
112 ..\generic\$D\gridsel.obj \
113 ..\generic\$D\helpext.obj \
114 ..\generic\$D\helphtml.obj \
115 ..\generic\$D\imaglist.obj \
116 ..\generic\$D\laywin.obj \
117 ..\generic\$D\listctrl.obj \
118 ..\generic\$D\logg.obj \
119 ..\generic\$D\numdlgg.obj \
120 ..\generic\$D\panelg.obj \
121 ..\generic\$D\printps.obj \
122 ..\generic\$D\prntdlgg.obj \
123 ..\generic\$D\progdlgg.obj \
124 ..\generic\$D\prop.obj \
125 ..\generic\$D\propform.obj \
126 ..\generic\$D\proplist.obj \
127 ..\generic\$D\sashwin.obj \
128 ..\generic\$D\scrlwing.obj \
129 ..\generic\$D\spinctlg.obj \
130 ..\generic\$D\splitter.obj \
131 ..\generic\$D\statusbr.obj \
132 ..\generic\$D\tabg.obj \
133 ..\generic\$D\tbarsmpl.obj \
134 ..\generic\$D\textdlgg.obj \
135 ..\generic\$D\tipdlg.obj \
136 ..\generic\$D\tipwin.obj \
137 ..\generic\$D\treectlg.obj \
138 ..\generic\$D\treelay.obj \
139 ..\generic\$D\wizard.obj
140
141 # ..\generic\$D\gridg.obj \
142 # ..\generic\$D\notebook.obj \
143
144 GENLIBOBJS= \
145 busyinfo.obj \
146 calctrl.obj \
147 caret.obj \
148 choicdgg.obj \
149 colrdlgg.obj \
150 dcbuffer.obj \
151 dcpsg.obj \
152 dirdlgg.obj \
153 dirctrlg.obj \
154 dragimgg.obj \
155 fdrepdlg.obj \
156 grid.obj \
157 gridctrl.obj \
158 gridsel.obj \
159 helpext.obj \
160 helphtml.obj \
161 imaglist.obj \
162 laywin.obj \
163 listctrl.obj \
164 logg.obj \
165 numdlgg.obj \
166 panelg.obj \
167 printps.obj \
168 prntdlgg.obj \
169 progdlgg.obj \
170 prop.obj \
171 propform.obj \
172 proplist.obj \
173 sashwin.obj \
174 scrlwing.obj \
175 spinctlg.obj \
176 splitter.obj \
177 statusbr.obj \
178 tabg.obj \
179 tbarsmpl.obj \
180 textdlgg.obj \
181 tipdlg.obj \
182 tipwin.obj \
183 treectlg.obj \
184 treelay.obj \
185 wizard.obj
186
187 # These are generic things that don't need to be compiled on PM,
188 # but sometimes it's useful to do so for testing purposes.
189 NONESSENTIALOBJS= \
190 ..\generic\$D\msgdlgg.obj
191
192 COMMONOBJS = \
193 ..\common\$D\artprov.obj \
194 ..\common\$D\artstd.obj \
195 ..\common\$D\appcmn.obj \
196 ..\common\$D\choiccmn.obj \
197 ..\common\$D\clipcmn.obj \
198 ..\common\$D\clntdata.obj \
199 ..\common\$D\cmdline.obj \
200 ..\common\$D\cmndata.obj \
201 ..\common\$D\cmdproc.obj \
202 ..\common\$D\config.obj \
203 ..\common\$D\containr.obj \
204 ..\common\$D\cshelp.obj \
205 ..\common\$D\ctrlcmn.obj \
206 ..\common\$D\ctrlsub.obj \
207 ..\common\$D\datetime.obj \
208 ..\common\$D\datstrm.obj \
209 !if "$(WXMAKINGDLL)" != "1"
210 # don't have an ODBC database
211 ..\common\$D\db.obj \
212 ..\common\$D\dbgrid.obj \
213 ..\common\$D\dbtable.obj \
214 !endif
215 ..\common\$D\dcbase.obj \
216 ..\common\$D\dircmn.obj \
217 ..\common\$D\dlgcmn.obj \
218 ..\common\$D\dndcmn.obj \
219 ..\common\$D\dobjcmn.obj \
220 ..\common\$D\docmdi.obj \
221 ..\common\$D\docview.obj \
222 ..\common\$D\dseldlg.obj \
223 ..\common\$D\dynarray.obj \
224 ..\common\$D\dynlib.obj \
225 ..\common\$D\dynload.obj \
226 ..\common\$D\effects.obj \
227 ..\common\$D\encconv.obj \
228 ..\common\$D\event.obj \
229 ..\common\$D\extended.obj \
230 ..\common\$D\fddlgcmn.obj \
231 ..\common\$D\ffile.obj \
232 ..\common\$D\file.obj \
233 ..\common\$D\fileconf.obj \
234 ..\common\$D\filefn.obj \
235 ..\common\$D\filename.obj \
236 ..\common\$D\filesys.obj \
237 ..\common\$D\fontcmn.obj \
238 ..\common\$D\fontmap.obj \
239 ..\common\$D\framecmn.obj \
240 ..\common\$D\fs_inet.obj \
241 ..\common\$D\fs_mem.obj \
242 ..\common\$D\fs_zip.obj \
243 ..\common\$D\ftp.obj \
244 ..\common\$D\gaugecmn.obj \
245 ..\common\$D\gdicmn.obj \
246 ..\common\$D\geometry.obj \
247 ..\common\$D\gifdecod.obj \
248 ..\common\$D\hash.obj \
249 ..\common\$D\hashmap.obj \
250 ..\common\$D\helpbase.obj \
251 ..\common\$D\http.obj \
252 ..\common\$D\iconbndl.obj \
253 ..\common\$D\imagall.obj \
254 ..\common\$D\imagbmp.obj \
255 ..\common\$D\image.obj \
256 ..\common\$D\imagfill.obj \
257 ..\common\$D\imaggif.obj \
258 ..\common\$D\imagiff.obj \
259 ..\common\$D\imagjpeg.obj \
260 ..\common\$D\imagpcx.obj \
261 ..\common\$D\imagpng.obj \
262 ..\common\$D\imagpnm.obj \
263 ..\common\$D\imagtiff.obj \
264 ..\common\$D\imagxpm.obj \
265 ..\common\$D\intl.obj \
266 ..\common\$D\ipcbase.obj \
267 ..\common\$D\layout.obj \
268 ..\common\$D\lboxcmn.obj \
269 ..\common\$D\list.obj \
270 ..\common\$D\log.obj \
271 ..\common\$D\longlong.obj \
272 ..\common\$D\matrix.obj \
273 ..\common\$D\memory.obj \
274 ..\common\$D\menucmn.obj \
275 ..\common\$D\mimecmn.obj \
276 ..\common\$D\module.obj \
277 ..\common\$D\msgout.obj \
278 ..\common\$D\mstream.obj \
279 ..\common\$D\nbkbase.obj \
280 ..\common\$D\object.obj \
281 !if "$(WXMAKINGDLL)" != "1"
282 # don't have an ODBC database
283 ..\common\$D\odbc.obj \
284 !endif
285 ..\common\$D\paper.obj \
286 ..\common\$D\popupcmn.obj \
287 ..\common\$D\prntbase.obj \
288 ..\common\$D\process.obj \
289 ..\common\$D\protocol.obj \
290 ..\common\$D\quantize.obj \
291 ..\common\$D\radiocmn.obj \
292 ..\common\$D\regex.obj \
293 ..\common\$D\resource.obj \
294 ..\common\$D\sckaddr.obj \
295 ..\common\$D\sckfile.obj \
296 ..\common\$D\sckipc.obj \
297 ..\common\$D\sckstrm.obj \
298 ..\common\$D\settcmn.obj \
299 ..\common\$D\sizer.obj \
300 ..\common\$D\socket.obj \
301 ..\common\$D\statbar.obj \
302 ..\common\$D\strconv.obj \
303 ..\common\$D\stream.obj \
304 ..\common\$D\string.obj \
305 ..\common\$D\sysopt.obj \
306 ..\common\$D\tbarbase.obj \
307 ..\common\$D\textbuf.obj \
308 ..\common\$D\textcmn.obj \
309 ..\common\$D\textfile.obj \
310 ..\common\$D\timercmn.obj \
311 ..\common\$D\tokenzr.obj \
312 ..\common\$D\toplvcmn.obj \
313 ..\common\$D\treebase.obj \
314 ..\common\$D\txtstrm.obj \
315 ..\common\$D\unzip.obj \
316 ..\common\$D\url.obj \
317 ..\common\$D\utilscmn.obj \
318 ..\common\$D\valgen.obj \
319 ..\common\$D\validate.obj \
320 ..\common\$D\valtext.obj \
321 ..\common\$D\variant.obj \
322 ..\common\$D\wfstream.obj \
323 ..\common\$D\wincmn.obj \
324 ..\common\$D\wxchar.obj \
325 ..\common\$D\wxexpr.obj \
326 ..\common\$D\xpmdecod.obj \
327 ..\common\$D\y_tab.obj \
328 ..\common\$D\zipstrm.obj \
329 ..\common\$D\zstream.obj
330
331 COMLIBOBJS1 = \
332 artprov.obj \
333 artstd.obj \
334 appcmn.obj \
335 choiccmn.obj \
336 clipcmn.obj \
337 clntdata.obj \
338 cmdline.obj \
339 cmndata.obj \
340 cmdproc.obj \
341 config.obj \
342 containr.obj \
343 cshelp.obj \
344 ctrlcmn.obj \
345 ctrlsub.obj \
346 datetime.obj \
347 datstrm.obj \
348 db.obj \
349 dbgrid.obj \
350 dbtable.obj \
351 dcbase.obj \
352 dircmn.obj \
353 dndcmn.obj \
354 dlgcmn.obj \
355 dobjcmn.obj \
356 docmdi.obj \
357 docview.obj \
358 dseldlg.obj \
359 dynarray.obj \
360 dynlib.obj \
361 dynload.obj \
362 effects.obj \
363 encconv.obj \
364 event.obj \
365 extended.obj \
366 fddlgcmn.obj \
367 ffile.obj \
368 file.obj \
369 fileconf.obj \
370 filefn.obj \
371 filename.obj \
372 filesys.obj \
373 fontcmn.obj \
374 fontmap.obj
375
376 COMLIBOBJS2 = \
377 framecmn.obj \
378 fs_inet.obj \
379 fs_mem.obj \
380 fs_zip.obj \
381 ftp.obj \
382 gaugecmn.obj \
383 gdicmn.obj \
384 geometry.obj \
385 gifdecod.obj \
386 hash.obj \
387 hashmap.obj \
388 helpbase.obj \
389 http.obj \
390 iconbndl.obj \
391 imagall.obj \
392 imagbmp.obj \
393 image.obj \
394 imagfill.obj \
395 imaggif.obj \
396 imagiff.obj \
397 imagjpeg.obj \
398 imagpcx.obj \
399 imagpng.obj \
400 imagpnm.obj \
401 imagtiff.obj \
402 imagxpm.obj \
403 intl.obj \
404 ipcbase.obj \
405 layout.obj \
406 lboxcmn.obj \
407 list.obj \
408 log.obj \
409 longlong.obj \
410 matrix.obj \
411 memory.obj \
412 menucmn.obj \
413 mimecmn.obj \
414 module.obj \
415 msgout.obj \
416 mstream.obj \
417 nbkbase.obj \
418 object.obj
419
420 COMLIBOBJS3 = \
421 odbc.obj \
422 paper.obj \
423 popupcmn.obj \
424 prntbase.obj \
425 process.obj \
426 protocol.obj \
427 quantize.obj \
428 radiocmn.obj \
429 regex.obj \
430 resource.obj \
431 sckaddr.obj \
432 sckfile.obj \
433 sckipc.obj \
434 sckstrm.obj \
435 settcmn.obj \
436 sizer.obj \
437 socket.obj \
438 statbar.obj \
439 strconv.obj \
440 stream.obj \
441 string.obj \
442 sysopt.obj \
443 tbarbase.obj \
444 textbuf.obj \
445 textcmn.obj \
446 textfile.obj \
447 timercmn.obj \
448 tokenzr.obj \
449 toplvcmn.obj \
450 treebase.obj \
451 txtstrm.obj \
452 unzip.obj \
453 url.obj \
454 utilscmn.obj \
455 valgen.obj \
456 validate.obj \
457 valtext.obj \
458 variant.obj \
459 wfstream.obj \
460 wincmn.obj \
461 wxchar.obj \
462 wxexpr.obj \
463 xpmdecod.obj
464
465 COMLIBOBJS4 = \
466 y_tab.obj \
467 zipstrm.obj \
468 zstream.obj
469
470 OS2OBJS = \
471 ..\os2\$D\accel.obj \
472 ..\os2\$D\app.obj \
473 ..\os2\$D\bitmap.obj \
474 ..\os2\$D\bmpbuttn.obj \
475 ..\os2\$D\brush.obj \
476 ..\os2\$D\button.obj \
477 ..\os2\$D\checkbox.obj \
478 ..\os2\$D\checklst.obj \
479 ..\os2\$D\choice.obj \
480 ..\os2\$D\clipbrd.obj \
481 ..\os2\$D\colour.obj \
482 ..\os2\$D\combobox.obj \
483 ..\os2\$D\control.obj \
484 ..\os2\$D\cursor.obj \
485 ..\os2\$D\data.obj \
486 ..\os2\$D\dataobj.obj \
487 ..\os2\$D\dc.obj \
488 ..\os2\$D\dcclient.obj \
489 ..\os2\$D\dcmemory.obj \
490 ..\os2\$D\dcprint.obj \
491 ..\os2\$D\dcscreen.obj \
492 ..\os2\$D\dialog.obj \
493 ..\os2\$D\dir.obj \
494 ..\os2\$D\dnd.obj \
495 ..\os2\$D\filedlg.obj \
496 ..\os2\$D\font.obj \
497 ..\os2\$D\fontdlg.obj \
498 ..\os2\$D\fontenum.obj \
499 ..\os2\$D\fontutil.obj \
500 ..\os2\$D\frame.obj \
501 ..\os2\$D\gauge.obj \
502 ..\os2\$D\gdiimage.obj \
503 ..\os2\$D\gdiobj.obj \
504 ..\os2\$D\gsocket.obj \
505 ..\os2\$D\gsockpm.obj \
506 ..\os2\$D\helpwin.obj \
507 ..\os2\$D\icon.obj \
508 ..\os2\$D\iniconf.obj \
509 ..\os2\$D\joystick.obj \
510 ..\os2\$D\listbox.obj \
511 ..\os2\$D\main.obj \
512 ..\os2\$D\mdi.obj \
513 ..\os2\$D\menu.obj \
514 ..\os2\$D\menuitem.obj \
515 ..\os2\$D\metafile.obj \
516 ..\os2\$D\mimetype.obj \
517 ..\os2\$D\minifram.obj \
518 ..\os2\$D\msgdlg.obj \
519 ..\os2\$D\nativdlg.obj \
520 ..\os2\$D\notebook.obj \
521 ..\os2\$D\ownerdrw.obj \
522 ..\os2\$D\palette.obj \
523 ..\os2\$D\pen.obj \
524 ..\os2\$D\popupwin.obj \
525 ..\os2\$D\print.obj \
526 ..\os2\$D\radiobox.obj \
527 ..\os2\$D\radiobut.obj \
528 ..\os2\$D\region.obj \
529 ..\os2\$D\scrolbar.obj \
530 ..\os2\$D\settings.obj \
531 ..\os2\$D\slider.obj \
532 ..\os2\$D\spinbutt.obj \
533 ..\os2\$D\spinctrl.obj \
534 ..\os2\$D\statbmp.obj \
535 ..\os2\$D\statbox.obj \
536 ..\os2\$D\statline.obj \
537 ..\os2\$D\stattext.obj \
538 ..\os2\$D\tabctrl.obj \
539 ..\os2\$D\taskbar.obj \
540 ..\os2\$D\textctrl.obj \
541 ..\os2\$D\thread.obj \
542 ..\os2\$D\timer.obj \
543 ..\os2\$D\toolbar.obj \
544 ..\os2\$D\tooltip.obj \
545 ..\os2\$D\toplevel.obj \
546 ..\os2\$D\utils.obj \
547 ..\os2\$D\utilsexc.obj \
548 ..\os2\$D\wave.obj \
549 ..\os2\$D\window.obj
550
551 OS2LIBOBJS1 = \
552 accel.obj \
553 app.obj \
554 bitmap.obj \
555 bmpbuttn.obj \
556 brush.obj \
557 button.obj \
558 checkbox.obj \
559 checklst.obj \
560 choice.obj \
561 clipbrd.obj \
562 colour.obj \
563 combobox.obj \
564 control.obj \
565 cursor.obj \
566 data.obj \
567 dataobj.obj \
568 dc.obj \
569 dcclient.obj \
570 dcmemory.obj \
571 dcprint.obj \
572 dcscreen.obj \
573 dialog.obj \
574 dir.obj \
575 dnd.obj \
576 filedlg.obj \
577 font.obj \
578 fontdlg.obj \
579 fontenum.obj \
580 fontutil.obj \
581 frame.obj \
582 gauge.obj \
583 gdiimage.obj \
584 gdiobj.obj \
585 gsocket.obj \
586 gsockpm.obj \
587 helpwin.obj \
588 icon.obj \
589 iniconf.obj \
590 joystick.obj \
591 listbox.obj \
592 main.obj \
593 mdi.obj \
594 menu.obj \
595 menuitem.obj \
596 metafile.obj
597
598 OS2LIBOBJS2 = \
599 mimetype.obj \
600 minifram.obj \
601 msgdlg.obj \
602 nativdlg.obj \
603 notebook.obj \
604 ownerdrw.obj \
605 palette.obj \
606 pen.obj \
607 popupwin.obj \
608 print.obj \
609 radiobox.obj \
610 radiobut.obj \
611 region.obj \
612 scrolbar.obj \
613 settings.obj \
614 slider.obj \
615 spinbutt.obj \
616 spinctrl.obj \
617 statbmp.obj \
618 statbox.obj \
619 stattext.obj \
620 statline.obj \
621 tabctrl.obj \
622 taskbar.obj \
623 textctrl.obj \
624 thread.obj \
625 timer.obj \
626 toolbar.obj \
627 tooltip.obj \
628 toplevel.obj \
629 utils.obj \
630 utilsexc.obj \
631 wave.obj \
632 window.obj
633
634 HTMLOBJS = \
635 ..\html\$D\helpctrl.obj \
636 ..\html\$D\helpdata.obj \
637 ..\html\$D\helpfrm.obj \
638 ..\html\$D\htmlcell.obj \
639 ..\html\$D\htmlfilt.obj \
640 ..\html\$D\htmlpars.obj \
641 ..\html\$D\htmltag.obj \
642 ..\html\$D\htmlwin.obj \
643 ..\html\$D\htmprint.obj \
644 ..\html\$D\m_dflist.obj \
645 ..\html\$D\m_fonts.obj \
646 ..\html\$D\m_hline.obj \
647 ..\html\$D\m_image.obj \
648 ..\html\$D\m_layout.obj \
649 ..\html\$D\m_links.obj \
650 ..\html\$D\m_list.obj \
651 ..\html\$D\m_meta.obj \
652 ..\html\$D\m_pre.obj \
653 ..\html\$D\m_style.obj \
654 ..\html\$D\m_tables.obj \
655 ..\html\$D\winpars.obj
656
657 HTMLLIBOBJS = \
658 helpctrl.obj \
659 helpdata.obj \
660 helpfrm.obj \
661 htmlcell.obj \
662 htmlfilt.obj \
663 htmlpars.obj \
664 htmltag.obj \
665 htmlwin.obj \
666 htmprint.obj \
667 m_dflist.obj \
668 m_fonts.obj \
669 m_hline.obj \
670 m_image.obj \
671 m_layout.obj \
672 m_links.obj \
673 m_list.obj \
674 m_meta.obj \
675 m_pre.obj \
676 m_style.obj \
677 m_tables.obj \
678 winpars.obj
679
680 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
681 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
682
683 # Normal, static library
684 all: $(WXDIR)\include\wx\setup.h $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg tiff $(LIBTARGET)
685
686 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
687
688
689 test: $(OS2DIR)\$D\wave.obj
690 test2: ..\common\Debug\config.obj
691
692 # If taking wxWindows from CVS, setup.h doesn't exist yet.
693 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
694 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
695
696 $(WXDIR)\include\wx\setup.h: $(WXDIR)\include\wx\os2\setup.h
697 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\setup.h
698
699 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
700 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
701
702 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
703 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
704
705 $(COMLIBOBJS1):
706 copy ..\common\$D\artprov.obj
707 copy ..\common\$D\artstd.obj
708 copy ..\common\$D\appcmn.obj
709 copy ..\common\$D\choiccmn.obj
710 copy ..\common\$D\clipcmn.obj
711 copy ..\common\$D\clntdata.obj
712 copy ..\common\$D\cmdline.obj
713 copy ..\common\$D\cmndata.obj
714 copy ..\common\$D\cmdproc.obj
715 copy ..\common\$D\config.obj
716 copy ..\common\$D\containr.obj
717 copy ..\common\$D\cshelp.obj
718 copy ..\common\$D\ctrlcmn.obj
719 copy ..\common\$D\ctrlsub.obj
720 copy ..\common\$D\datetime.obj
721 copy ..\common\$D\datstrm.obj
722 copy ..\common\$D\db.obj
723 copy ..\common\$D\dbgrid.obj
724 copy ..\common\$D\dbtable.obj
725 copy ..\common\$D\dcbase.obj
726 copy ..\common\$D\dlgcmn.obj
727 copy ..\common\$D\dircmn.obj
728 copy ..\common\$D\dndcmn.obj
729 copy ..\common\$D\dobjcmn.obj
730 copy ..\common\$D\docmdi.obj
731 copy ..\common\$D\docview.obj
732 copy ..\common\$D\dseldlg.obj
733 copy ..\common\$D\dynarray.obj
734 copy ..\common\$D\dynlib.obj
735 copy ..\common\$D\dynload.obj
736 copy ..\common\$D\effects.obj
737 copy ..\common\$D\encconv.obj
738 copy ..\common\$D\event.obj
739 copy ..\common\$D\extended.obj
740 copy ..\common\$D\fddlgcmn.obj
741 copy ..\common\$D\ffile.obj
742 copy ..\common\$D\file.obj
743 copy ..\common\$D\fileconf.obj
744 copy ..\common\$D\filefn.obj
745 copy ..\common\$D\filename.obj
746 copy ..\common\$D\filesys.obj
747 copy ..\common\$D\fontcmn.obj
748 copy ..\common\$D\fontmap.obj
749
750 $(COMLIBOBJS2):
751 copy ..\common\$D\framecmn.obj
752 copy ..\common\$D\fs_inet.obj
753 copy ..\common\$D\fs_mem.obj
754 copy ..\common\$D\fs_zip.obj
755 copy ..\common\$D\ftp.obj
756 copy ..\common\$D\gaugecmn.obj
757 copy ..\common\$D\gdicmn.obj
758 copy ..\common\$D\geometry.obj
759 copy ..\common\$D\gifdecod.obj
760 copy ..\common\$D\hash.obj
761 copy ..\common\$D\hashmap.obj
762 copy ..\common\$D\helpbase.obj
763 copy ..\common\$D\http.obj
764 copy ..\common\$D\iconbndl.obj
765 copy ..\common\$D\imagall.obj
766 copy ..\common\$D\imagbmp.obj
767 copy ..\common\$D\image.obj
768 copy ..\common\$D\imagfill.obj
769 copy ..\common\$D\imaggif.obj
770 copy ..\common\$D\imagiff.obj
771 copy ..\common\$D\imagjpeg.obj
772 copy ..\common\$D\imagpcx.obj
773 copy ..\common\$D\imagpng.obj
774 copy ..\common\$D\imagpnm.obj
775 copy ..\common\$D\imagtiff.obj
776 copy ..\common\$D\imagxpm.obj
777 copy ..\common\$D\intl.obj
778 copy ..\common\$D\ipcbase.obj
779 copy ..\common\$D\layout.obj
780 copy ..\common\$D\lboxcmn.obj
781 copy ..\common\$D\list.obj
782 copy ..\common\$D\log.obj
783 copy ..\common\$D\longlong.obj
784 copy ..\common\$D\matrix.obj
785 copy ..\common\$D\memory.obj
786 copy ..\common\$D\menucmn.obj
787 copy ..\common\$D\mimecmn.obj
788 copy ..\common\$D\module.obj
789 copy ..\common\$D\msgout.obj
790 copy ..\common\$D\mstream.obj
791 copy ..\common\$D\nbkbase.obj
792 copy ..\common\$D\object.obj
793
794 $(COMLIBOBJS3):
795 copy ..\common\$D\odbc.obj
796 copy ..\common\$D\paper.obj
797 copy ..\common\$D\popupcmn.obj
798 copy ..\common\$D\prntbase.obj
799 copy ..\common\$D\process.obj
800 copy ..\common\$D\protocol.obj
801 copy ..\common\$D\quantize.obj
802 copy ..\common\$D\radiocmn.obj
803 copy ..\common\$D\regex.obj
804 copy ..\common\$D\resource.obj
805 copy ..\common\$D\sckaddr.obj
806 copy ..\common\$D\sckfile.obj
807 copy ..\common\$D\sckipc.obj
808 copy ..\common\$D\sckstrm.obj
809 copy ..\common\$D\settcmn.obj
810 copy ..\common\$D\sizer.obj
811 copy ..\common\$D\socket.obj
812 copy ..\common\$D\statbar.obj
813 copy ..\common\$D\strconv.obj
814 copy ..\common\$D\stream.obj
815 copy ..\common\$D\string.obj
816 copy ..\common\$D\sysopt.obj
817 copy ..\common\$D\tbarbase.obj
818 copy ..\common\$D\textbuf.obj
819 copy ..\common\$D\textcmn.obj
820 copy ..\common\$D\textfile.obj
821 copy ..\common\$D\timercmn.obj
822 copy ..\common\$D\tokenzr.obj
823 copy ..\common\$D\toplvcmn.obj
824 copy ..\common\$D\treebase.obj
825 copy ..\common\$D\txtstrm.obj
826 copy ..\common\$D\unzip.obj
827 copy ..\common\$D\url.obj
828 copy ..\common\$D\utilscmn.obj
829 copy ..\common\$D\valgen.obj
830 copy ..\common\$D\validate.obj
831 copy ..\common\$D\valtext.obj
832 copy ..\common\$D\variant.obj
833 copy ..\common\$D\wfstream.obj
834 copy ..\common\$D\wincmn.obj
835 copy ..\common\$D\wxchar.obj
836 copy ..\common\$D\wxexpr.obj
837 copy ..\common\$D\xpmdecod.obj
838
839 $(COMLIBOBJS4):
840 copy ..\common\$D\y_tab.obj
841 copy ..\common\$D\zipstrm.obj
842 copy ..\common\$D\zstream.obj
843
844 $(GENLIBOBJS):
845 copy ..\generic\$D\busyinfo.obj
846 copy ..\generic\$D\calctrl.obj
847 copy ..\generic\$D\caret.obj
848 copy ..\generic\$D\choicdgg.obj
849 copy ..\generic\$D\colrdlgg.obj
850 copy ..\generic\$D\dragimgg.obj
851 copy ..\generic\$D\dcbuffer.obj
852 copy ..\generic\$D\dcpsg.obj
853 copy ..\generic\$D\dirdlgg.obj
854 copy ..\generic\$D\dirctrlg.obj
855 copy ..\generic\$D\fdrepdlg.obj
856 copy ..\generic\$D\grid.obj
857 copy ..\generic\$D\gridctrl.obj
858 copy ..\generic\$D\gridsel.obj
859 copy ..\generic\$D\helpext.obj
860 copy ..\generic\$D\helphtml.obj
861 copy ..\generic\$D\imaglist.obj
862 copy ..\generic\$D\laywin.obj
863 copy ..\generic\$D\listctrl.obj
864 copy ..\generic\$D\logg.obj
865 copy ..\generic\$D\numdlgg.obj
866 copy ..\generic\$D\panelg.obj
867 copy ..\generic\$D\printps.obj
868 copy ..\generic\$D\prntdlgg.obj
869 copy ..\generic\$D\progdlgg.obj
870 copy ..\generic\$D\prop.obj
871 copy ..\generic\$D\propform.obj
872 copy ..\generic\$D\proplist.obj
873 copy ..\generic\$D\sashwin.obj
874 copy ..\generic\$D\scrlwing.obj
875 copy ..\generic\$D\spinctlg.obj
876 copy ..\generic\$D\splitter.obj
877 copy ..\generic\$D\statusbr.obj
878 copy ..\generic\$D\tabg.obj
879 copy ..\generic\$D\tbarsmpl.obj
880 copy ..\generic\$D\textdlgg.obj
881 copy ..\generic\$D\tipdlg.obj
882 copy ..\generic\$D\tipwin.obj
883 copy ..\generic\$D\treectlg.obj
884 copy ..\generic\$D\treelay.obj
885 copy ..\generic\$D\wizard.obj
886
887 $(HTMLLIBOBJS):
888 copy ..\html\$D\helpctrl.obj
889 copy ..\html\$D\helpdata.obj
890 copy ..\html\$D\helpfrm.obj
891 copy ..\html\$D\htmlcell.obj
892 copy ..\html\$D\htmlfilt.obj
893 copy ..\html\$D\htmlpars.obj
894 copy ..\html\$D\htmltag.obj
895 copy ..\html\$D\htmlwin.obj
896 copy ..\html\$D\htmprint.obj
897 copy ..\html\$D\m_dflist.obj
898 copy ..\html\$D\m_fonts.obj
899 copy ..\html\$D\m_hline.obj
900 copy ..\html\$D\m_image.obj
901 copy ..\html\$D\m_layout.obj
902 copy ..\html\$D\m_links.obj
903 copy ..\html\$D\m_list.obj
904 copy ..\html\$D\m_meta.obj
905 copy ..\html\$D\m_pre.obj
906 copy ..\html\$D\m_style.obj
907 copy ..\html\$D\m_tables.obj
908 copy ..\html\$D\winpars.obj
909
910 $(OS2LIBOBJS1):
911 copy ..\os2\$D\accel.obj
912 copy ..\os2\$D\app.obj
913 copy ..\os2\$D\bitmap.obj
914 copy ..\os2\$D\bmpbuttn.obj
915 copy ..\os2\$D\brush.obj
916 copy ..\os2\$D\button.obj
917 copy ..\os2\$D\checkbox.obj
918 copy ..\os2\$D\checklst.obj
919 copy ..\os2\$D\choice.obj
920 copy ..\os2\$D\clipbrd.obj
921 copy ..\os2\$D\colour.obj
922 copy ..\os2\$D\combobox.obj
923 copy ..\os2\$D\control.obj
924 copy ..\os2\$D\cursor.obj
925 copy ..\os2\$D\data.obj
926 copy ..\os2\$D\dataobj.obj
927 copy ..\os2\$D\dc.obj
928 copy ..\os2\$D\dcclient.obj
929 copy ..\os2\$D\dcmemory.obj
930 copy ..\os2\$D\dcprint.obj
931 copy ..\os2\$D\dcscreen.obj
932 copy ..\os2\$D\dialog.obj
933 copy ..\os2\$D\dir.obj
934 copy ..\os2\$D\dnd.obj
935 copy ..\os2\$D\filedlg.obj
936 copy ..\os2\$D\font.obj
937 copy ..\os2\$D\fontdlg.obj
938 copy ..\os2\$D\fontenum.obj
939 copy ..\os2\$D\fontutil.obj
940 copy ..\os2\$D\frame.obj
941 copy ..\os2\$D\gauge.obj
942 copy ..\os2\$D\gdiimage.obj
943 copy ..\os2\$D\gdiobj.obj
944 copy ..\os2\$D\gsocket.obj
945 copy ..\os2\$D\gsockpm.obj
946 copy ..\os2\$D\helpwin.obj
947 copy ..\os2\$D\icon.obj
948 copy ..\os2\$D\iniconf.obj
949 copy ..\os2\$D\joystick.obj
950 copy ..\os2\$D\listbox.obj
951 copy ..\os2\$D\main.obj
952 copy ..\os2\$D\mdi.obj
953 copy ..\os2\$D\menu.obj
954 copy ..\os2\$D\menuitem.obj
955 copy ..\os2\$D\metafile.obj
956
957 $(OS2LIBOBJS2):
958 copy ..\os2\$D\mimetype.obj
959 copy ..\os2\$D\minifram.obj
960 copy ..\os2\$D\msgdlg.obj
961 copy ..\os2\$D\nativdlg.obj
962 copy ..\os2\$D\notebook.obj
963 copy ..\os2\$D\ownerdrw.obj
964 copy ..\os2\$D\palette.obj
965 copy ..\os2\$D\pen.obj
966 copy ..\os2\$D\popupwin.obj
967 copy ..\os2\$D\print.obj
968 copy ..\os2\$D\radiobox.obj
969 copy ..\os2\$D\radiobut.obj
970 copy ..\os2\$D\region.obj
971 copy ..\os2\$D\scrolbar.obj
972 copy ..\os2\$D\settings.obj
973 copy ..\os2\$D\slider.obj
974 copy ..\os2\$D\spinbutt.obj
975 copy ..\os2\$D\spinctrl.obj
976 copy ..\os2\$D\statbmp.obj
977 copy ..\os2\$D\statbox.obj
978 copy ..\os2\$D\statline.obj
979 copy ..\os2\$D\stattext.obj
980 copy ..\os2\$D\tabctrl.obj
981 copy ..\os2\$D\taskbar.obj
982 copy ..\os2\$D\textctrl.obj
983 copy ..\os2\$D\thread.obj
984 copy ..\os2\$D\timer.obj
985 copy ..\os2\$D\toolbar.obj
986 copy ..\os2\$D\tooltip.obj
987 copy ..\os2\$D\toplevel.obj
988 copy ..\os2\$D\utils.obj
989 copy ..\os2\$D\utilsexc.obj
990 copy ..\os2\$D\wave.obj
991 copy ..\os2\$D\window.obj
992
993 # wxWindows library as DLL
994 dll:
995 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
996
997 cleandll:
998 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
999
1000 # wxWindows + app as DLL. Only affects main.cpp.
1001 dllapp:
1002 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1003
1004 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
1005 dllnp:
1006 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
1007
1008 # Use this to make dummy.obj and generate a PCH.
1009 # You might use the dll target, then the pch target, in order to
1010 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
1011 #
1012 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
1013 # are associated with wx.lib. When using a DLL version of wxWindows, however,
1014 # the DLL is compiled without a PCH, so you only need it for compiling the app.
1015 # In fact headers are compiled differently depending on whether a DLL is being made
1016 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
1017 # in each case) so you couldn't use the same PCH.
1018 pch:
1019 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
1020
1021 pch1: dirs $(DUMMYOBJ)
1022 echo $(DUMMYOBJ)
1023
1024 !if "$(WXMAKINGDLL)" != "1"
1025
1026 ### Static library
1027
1028 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
1029 -touch $(WXDIR)\lib\wxcom1.lib
1030 -del $(WXDIR)\lib\wxcom1.lib
1031 ilib $(LIBFLAGS) $@ @<<
1032 $**;
1033 <<
1034
1035 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
1036 -touch $(WXDIR)\lib\wxcom2.lib
1037 -del $(WXDIR)\lib\wxcom2.lib
1038 ilib $(LIBFLAGS) $@ @<<
1039 $**;
1040 <<
1041
1042 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
1043 -touch $(WXDIR)\lib\wxcom3.lib
1044 -del $(WXDIR)\lib\wxcom3.lib
1045 ilib $(LIBFLAGS) $@ @<<
1046 $**;
1047 <<
1048
1049 $(WXDIR)\lib\wxcom4.lib: $(COMLIBOBJS4)
1050 -touch $(WXDIR)\lib\wxcom4.lib
1051 -del $(WXDIR)\lib\wxcom4.lib
1052 ilib $(LIBFLAGS) $@ @<<
1053 $**;
1054 <<
1055
1056 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1057 -touch $(WXDIR)\lib\wxgen.lib
1058 -del $(WXDIR)\lib\wxgen.lib
1059 ilib $(LIBFLAGS) $@ @<<
1060 $**;
1061 <<
1062
1063 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1064 -touch $(WXDIR)\lib\wxhtml.lib
1065 -del $(WXDIR)\lib\wxhtml.lib
1066 ilib $(LIBFLAGS) $@ @<<
1067 $**;
1068 <<
1069
1070 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1071 -touch $(WXDIR)\lib\wxnones.lib
1072 -del $(WXDIR)\lib\wxnones.lib
1073 ilib $(LIBFLAGS) $@ @<<
1074 $**;
1075 <<
1076
1077 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1078 -touch $(WXDIR)\lib\wxos21.lib
1079 -del $(WXDIR)\lib\wxos21.lib
1080 ilib $(LIBFLAGS) $@ @<<
1081 $**;
1082 <<
1083
1084 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1085 -touch $(WXDIR)\lib\wxos22.lib
1086 -del $(WXDIR)\lib\wxos22.lib
1087 ilib $(LIBFLAGS) $@ @<<
1088 $**;
1089 <<
1090 del *.obj
1091
1092 $(WXDIR)\lib\wx.lib: \
1093 $D\dummy.obj \
1094 $(COMTEMPTGT1) \
1095 $(COMTEMPTGT2) \
1096 $(COMTEMPTGT3) \
1097 $(COMTEMPTGT4) \
1098 $(GENTEMPTGT) \
1099 $(HTMLTEMPTGT) \
1100 $(NONESTEMPTGT) \
1101 $(OS2TEMPTGT1) \
1102 $(OS2TEMPTGT2) \
1103 $(PERIPH_LIBS)
1104 -touch $(LIBTARGET)
1105 -del $(LIBTARGET)
1106 ilib $(LIBFLAGS) $@ @<<
1107 $**;
1108 <<
1109 del $(COMTEMPTGT1)
1110 del $(COMTEMPTGT2)
1111 del $(COMTEMPTGT3)
1112 del $(COMTEMPTGT4)
1113 del $(GENTEMPTGT)
1114 del $(HTMLTEMPTGT)
1115 del $(NONESTEMPTGT)
1116 del $(OS2TEMPTGT1)
1117 del $(OS2TEMPTGT2)
1118
1119 !else
1120
1121 # Update the dynamic link library
1122 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1123 icc @<<
1124 /B" $(LINKFLAGS)" /Fe$@
1125 $(LIBS)
1126 $(DUMMYOBJ)
1127 $(OBJECTS)
1128 $(WXDIR)\src\os2\wx23.def
1129 <<
1130 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1131
1132 !endif
1133
1134 ..\common\$D\extended.obj: ..\common\extended.c
1135 icc @<<
1136 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1137 <<
1138
1139 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1140 icc @<<
1141 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1142 <<
1143
1144 ..\common\y_tab.c: ..\common\dosyacc.c
1145 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1146
1147 ..\common\lex_yy.c: ..\common\doslex.c
1148 copy "..\common"\doslex.c "..\common"\lex_yy.c
1149
1150 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1151
1152 ..\common\$D\unzip.obj: ..\common\unzip.c
1153 icc @<<
1154 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1155 <<
1156
1157 png:
1158 cd $(WXDIR)\src\png
1159 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1160 cd $(WXDIR)\src\os2
1161
1162 clean_png:
1163 cd $(WXDIR)\src\png
1164 nmake -f makefile.va clean
1165 cd $(WXDIR)\src\os2
1166
1167 zlib:
1168 cd $(WXDIR)\src\zlib
1169 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1170 cd $(WXDIR)\src\os2
1171
1172 clean_zlib:
1173 cd $(WXDIR)\src\zlib
1174 nmake -f makefile.va clean
1175 cd $(WXDIR)\src\os2
1176
1177 jpeg:
1178 cd $(WXDIR)\src\jpeg
1179 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1180 cd $(WXDIR)\src\os2
1181
1182 clean_jpeg:
1183 cd $(WXDIR)\src\jpeg
1184 nmake -f makefile.va clean
1185 cd $(WXDIR)\src\os2
1186
1187 tiff:
1188 cd $(WXDIR)\src\tiff
1189 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1190 cd $(WXDIR)\src\os2
1191
1192 clean_tiff:
1193 cd $(WXDIR)\src\tiff
1194 nmake -f makefile.va clean
1195 cd $(WXDIR)\src\os2
1196
1197 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_tiff
1198 erase /N $(GENDIR)\$D\*.obj
1199 erase /N $(COMMDIR)\$D\*.obj
1200 erase /N $(HTMLDIR)\$D\*.obj
1201 erase /N $(OS2DIR)\$D\*.obj
1202 rd $(D)
1203 rd ..\generic\$D
1204 rd ..\common\$D
1205 rd ..\html\$D
1206 rd ..\os2\$D
1207 del $(LIBTARGET)
1208 !if "$(WXMAKINGDLL)" == "1"
1209 erase /N ..\..\lib\wx23.lib
1210 !endif
1211 erase /N $(COMMDIR)\y_tab.c
1212 erase /N $(COMMDIR)\lex_yy.c
1213
1214 cleanall: clean
1215