]> git.saurik.com Git - wxWidgets.git/blame - src/os2/makefile.va
I got tired of some of the memory leak messages related to html and
[wxWidgets.git] / src / os2 / makefile.va
CommitLineData
0e320a79
DW
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
18THISDIR=$(WXWIN)\src\os2
19
20!if "$(WXMAKINGDLL)" == "1"
21LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22DUMMYOBJ=$D\dummydll.obj
23!else
24LIBTARGET=$(WXLIB)
9fea1a5d
DW
25COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
27GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
28NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
29OS2TEMPTGT=$(WXDIR)\lib\wxos2.lib
0e320a79
DW
30DUMMYOBJ=$D\dummy.obj
31!endif
32
33# Please set these according to the settings in setup.h, so we can include
34# the appropriate libraries in wx.lib
35
36# This one overrides the others, to be consistent with the settings in wx_setup.h
37MINIMAL_WXWINDOWS_SETUP=0
38
39PERIPH_LIBS=
40PERIPH_TARGET=
41PERIPH_CLEAN_TARGET=
42
43# These are absolute paths, so that the compiler
44# generates correct __FILE__ symbols for debugging.
45# Otherwise you don't be able to double-click on a memory
46# error to load that file.
47GENDIR=$(WXDIR)\src\generic
48COMMDIR=$(WXDIR)\src\common
49OS2DIR=$(WXDIR)\src\os2
50HTMLDIR = $(WXDIR)\src\html
51
52{..\generic}.cpp{..\generic\$D}.obj:
53 @echo $<
54 icc @<<
55$(CPPFLAGS) /Fo$@ /Tp $<
56<<
57
58{..\common}.cpp{..\common\$D}.obj:
59 @echo $<
60 icc @<<
61$(CPPFLAGS) /Fo$@ /Tp $<
62<<
63
64{..\os2}.cpp{..\os2\$D}.obj:
913df6f2 65 @echo $<
0e320a79
DW
66 icc @<<
67$(CPPFLAGS) /Fo$@ /Tp $<
68<<
69
70{..\html}.cpp{..\html\$D}.obj:
913df6f2 71 @echo $<
0e320a79
DW
72 icc @<<
73$(CPPFLAGS) /Fo$@ /Tp $<
74<<
75
76GENERICOBJS= \
0616b838 77 ..\generic\$D\caret.obj \
0e320a79
DW
78 ..\generic\$D\choicdgg.obj \
79 ..\generic\$D\gridg.obj \
80 ..\generic\$D\laywin.obj \
81 ..\generic\$D\panelg.obj \
82 ..\generic\$D\progdlgg.obj \
83 ..\generic\$D\prop.obj \
84 ..\generic\$D\propform.obj \
85 ..\generic\$D\proplist.obj \
86 ..\generic\$D\sashwin.obj \
87 ..\generic\$D\scrolwin.obj \
88 ..\generic\$D\splitter.obj \
89 ..\generic\$D\statusbr.obj \
90 ..\generic\$D\tabg.obj \
91 ..\generic\$D\textdlgg.obj \
0e320a79
DW
92 ..\generic\$D\tipdlg.obj \
93 ..\generic\$D\busyinfo.obj
94
95# ..\generic\$D\imaglist.obj \
96# ..\generic\$D\treectrl.obj \
97# ..\generic\$D\listctrl.obj \
98# ..\generic\$D\notebook.obj \
99
9fea1a5d 100GENLIBOBJS= \
0616b838 101 caret.obj \
9fea1a5d
DW
102 choicdgg.obj \
103 gridg.obj \
104 laywin.obj \
105 panelg.obj \
106 progdlgg.obj \
107 prop.obj \
108 propform.obj \
109 proplist.obj \
110 sashwin.obj \
111 scrolwin.obj \
112 splitter.obj \
113 statusbr.obj \
114 tabg.obj \
115 textdlgg.obj \
116 tipdlg.obj \
117 busyinfo.obj
118
1408104d 119# These are generic things that don't need to be compiled on PM,
0e320a79
DW
120# but sometimes it's useful to do so for testing purposes.
121NONESSENTIALOBJS= \
122 ..\generic\$D\printps.obj \
123 ..\generic\$D\prntdlgg.obj \
124 ..\generic\$D\msgdlgg.obj \
125 ..\generic\$D\helpxlp.obj \
126 ..\generic\$D\colrdlgg.obj \
127 ..\generic\$D\fontdlgg.obj
128
129COMMONOBJS = \
130 ..\common\$D\cmndata.obj \
131 ..\common\$D\config.obj \
132 ..\common\$D\dcbase.obj \
133 ..\common\$D\db.obj \
134 ..\common\$D\dbtable.obj \
135 ..\common\$D\docview.obj \
136 ..\common\$D\docmdi.obj \
137 ..\common\$D\dynarray.obj \
138 ..\common\$D\dynlib.obj \
139 ..\common\$D\event.obj \
140 ..\common\$D\file.obj \
141 ..\common\$D\filefn.obj \
142 ..\common\$D\fileconf.obj \
143 ..\common\$D\framecmn.obj \
144 ..\common\$D\ftp.obj \
145 ..\common\$D\gdicmn.obj \
146 ..\common\$D\image.obj \
147 ..\common\$D\imagbmp.obj \
148 ..\common\$D\imagjpeg.obj \
149 ..\common\$D\imagpng.obj \
150 ..\common\$D\imaggif.obj \
151 ..\common\$D\intl.obj \
152 ..\common\$D\ipcbase.obj \
153 ..\common\$D\helpbase.obj \
154 ..\common\$D\layout.obj \
155 ..\common\$D\log.obj \
156 ..\common\$D\memory.obj \
157 ..\common\$D\mimetype.obj \
158 ..\common\$D\module.obj \
159 ..\common\$D\odbc.obj \
160 ..\common\$D\object.obj \
161 ..\common\$D\prntbase.obj \
162 ..\common\$D\resource.obj \
163 ..\common\$D\tbarbase.obj \
164 ..\common\$D\tbarsmpl.obj \
165 ..\common\$D\textfile.obj \
166 ..\common\$D\timercmn.obj \
167 ..\common\$D\utilscmn.obj \
168 ..\common\$D\validate.obj \
169 ..\common\$D\valgen.obj \
170 ..\common\$D\valtext.obj \
171 ..\common\$D\date.obj \
172 ..\common\$D\hash.obj \
173 ..\common\$D\list.obj \
174 ..\common\$D\paper.obj \
175 ..\common\$D\string.obj \
176 ..\common\$D\socket.obj \
177 ..\common\$D\sckaddr.obj \
0e320a79
DW
178 ..\common\$D\sckfile.obj \
179 ..\common\$D\sckipc.obj \
180 ..\common\$D\sckstrm.obj \
181 ..\common\$D\url.obj \
182 ..\common\$D\http.obj \
183 ..\common\$D\protocol.obj \
184 ..\common\$D\time.obj \
185 ..\common\$D\tokenzr.obj \
186 ..\common\$D\wxexpr.obj \
187 ..\common\$D\y_tab.obj \
188 ..\common\$D\extended.obj \
189 ..\common\$D\process.obj \
190 ..\common\$D\wfstream.obj \
191 ..\common\$D\mstream.obj \
192 ..\common\$D\zstream.obj \
193 ..\common\$D\stream.obj \
194 ..\common\$D\datstrm.obj \
195 ..\common\$D\objstrm.obj \
196 ..\common\$D\variant.obj \
197 ..\common\$D\dlgcmn.obj \
198 ..\common\$D\wincmn.obj \
199 ..\common\$D\txtstrm.obj \
200 ..\common\$D\wxchar.obj \
201 ..\common\$D\unzip.obj \
0e320a79
DW
202 ..\common\$D\filesys.obj \
203 ..\common\$D\fs_inet.obj \
204 ..\common\$D\fs_zip.obj
205
9fea1a5d
DW
206COMLIBOBJS1 = \
207 cmndata.obj \
208 config.obj \
209 dcbase.obj \
210 db.obj \
211 dbtable.obj \
212 docview.obj \
213 docmdi.obj \
214 dynarray.obj \
215 dynlib.obj \
216 event.obj \
217 file.obj \
218 filefn.obj \
219 fileconf.obj \
220 framecmn.obj \
221 ftp.obj \
222 gdicmn.obj \
223 image.obj \
224 imagbmp.obj \
225 imagjpeg.obj \
226 imagpng.obj \
227 imaggif.obj \
228 intl.obj \
229 ipcbase.obj \
230 helpbase.obj \
231 layout.obj \
232 log.obj \
233 memory.obj \
234 mimetype.obj \
235 module.obj \
236 odbc.obj \
237 object.obj \
238 prntbase.obj \
239 resource.obj \
240 tbarbase.obj \
241 tbarsmpl.obj \
242 textfile.obj \
243 timercmn.obj \
244 utilscmn.obj \
245 validate.obj \
246 valgen.obj \
247 valtext.obj \
248 date.obj \
249 hash.obj \
250 list.obj \
251 paper.obj
252
253COMLIBOBJS2 = \
254 string.obj \
255 socket.obj \
256 sckaddr.obj \
257 sckfile.obj \
258 sckipc.obj \
259 sckstrm.obj \
260 url.obj \
261 http.obj \
262 protocol.obj \
263 time.obj \
264 tokenzr.obj \
265 wxexpr.obj \
266 y_tab.obj \
267 extended.obj \
268 process.obj \
269 wfstream.obj \
270 mstream.obj \
271 zstream.obj \
272 stream.obj \
273 datstrm.obj \
274 objstrm.obj \
275 variant.obj \
276 dlgcmn.obj \
277 wincmn.obj \
278 txtstrm.obj \
279 wxchar.obj \
280 unzip.obj \
281 filesys.obj \
282 fs_inet.obj \
283 fs_zip.obj
0e320a79
DW
284
285OS2OBJS = \
77cd51c3
DW
286 ..\os2\$D\accel.obj \
287 ..\os2\$D\app.obj \
288 ..\os2\$D\bitmap.obj \
289 ..\os2\$D\bmpbuttn.obj \
290 ..\os2\$D\brush.obj \
291 ..\os2\$D\button.obj \
0616b838
DW
292 ..\os2\$D\checkbox.obj \
293 ..\os2\$D\checklst.obj \
294 ..\os2\$D\choice.obj \
295 ..\os2\$D\clipbrd.obj \
296 ..\os2\$D\colordlg.obj \
45fcbf3b
DW
297 ..\os2\$D\colour.obj \
298 ..\os2\$D\combobox.obj \
299 ..\os2\$D\control.obj \
c3d43472
DW
300 ..\os2\$D\dc.obj \
301 ..\os2\$D\dialog.obj \
302 ..\os2\$D\frame.obj \
77cd51c3
DW
303 ..\os2\$D\window.obj
304
305OS2LIBOBJS = \
306 accel.obj \
307 app.obj \
308 bitmap.obj \
309 bmpbuttn.obj \
310 brush.obj \
311 button.obj \
0616b838
DW
312 checkbox.obj \
313 checklst.obj \
314 choice.obj \
315 clipbrd.obj \
316 colordlg.obj \
45fcbf3b
DW
317 colour.obj \
318 combobox.obj \
319 control.obj \
77cd51c3
DW
320 dc.obj \
321 dialog.obj \
322 frame.obj \
323 window.obj
0e320a79
DW
324
325HTMLOBJS = \
326 ..\html\$D\htmlcell.obj \
327 ..\html\$D\htmlfilter.obj \
328 ..\html\$D\htmlhelp.obj \
329 ..\html\$D\htmlhelp_io.obj \
330 ..\html\$D\htmlparser.obj \
331 ..\html\$D\htmltag.obj \
332 ..\html\$D\htmlwin.obj \
333 ..\html\$D\htmlwinparser.obj \
334 ..\html\$D\mod_fonts.obj \
335 ..\html\$D\mod_hline.obj \
336 ..\html\$D\mod_image.obj \
337 ..\html\$D\mod_layout.obj \
338 ..\html\$D\mod_links.obj \
339 ..\html\$D\mod_list.obj \
340 ..\html\$D\mod_pre.obj \
341 ..\html\$D\mod_tables.obj \
342 ..\html\$D\search.obj
343
344# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
345OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
346
347# Normal, static library
348all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
349
350dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
351
352
353test: $(OS2DIR)\$D\wave.obj
354test2: ..\common\Debug\config.obj
355
356$D:
357 md $D
358
359$(COMMDIR)\$D:
360 md $(COMMDIR)\$D
361
362$(OS2DIR)\$D:
363 md $(OS2DIR)\$D
364
365$(GENDIR)\$D:
366 md $(GENDIR)\$D
367
368$(HTMLDIR)\$D:
369 md $(HTMLDIR)\$D
370
9fea1a5d
DW
371$(COMLIBOBJS1):
372 copy ..\common\$D\cmndata.obj
373 copy ..\common\$D\config.obj
374 copy ..\common\$D\dcbase.obj
375 copy ..\common\$D\db.obj
376 copy ..\common\$D\dbtable.obj
377 copy ..\common\$D\docview.obj
378 copy ..\common\$D\docmdi.obj
379 copy ..\common\$D\dynarray.obj
380 copy ..\common\$D\dynlib.obj
381 copy ..\common\$D\event.obj
382 copy ..\common\$D\file.obj
383 copy ..\common\$D\filefn.obj
384 copy ..\common\$D\fileconf.obj
385 copy ..\common\$D\framecmn.obj
386 copy ..\common\$D\ftp.obj
387 copy ..\common\$D\gdicmn.obj
388 copy ..\common\$D\image.obj
389 copy ..\common\$D\imagbmp.obj
390 copy ..\common\$D\imagjpeg.obj
391 copy ..\common\$D\imagpng.obj
392 copy ..\common\$D\imaggif.obj
393 copy ..\common\$D\intl.obj
394 copy ..\common\$D\ipcbase.obj
395 copy ..\common\$D\helpbase.obj
396 copy ..\common\$D\layout.obj
397 copy ..\common\$D\log.obj
398 copy ..\common\$D\memory.obj
399 copy ..\common\$D\mimetype.obj
400 copy ..\common\$D\module.obj
401 copy ..\common\$D\odbc.obj
402 copy ..\common\$D\object.obj
403 copy ..\common\$D\prntbase.obj
404 copy ..\common\$D\resource.obj
405 copy ..\common\$D\tbarbase.obj
406 copy ..\common\$D\tbarsmpl.obj
407 copy ..\common\$D\textfile.obj
408 copy ..\common\$D\timercmn.obj
409 copy ..\common\$D\utilscmn.obj
410 copy ..\common\$D\validate.obj
411 copy ..\common\$D\valgen.obj
412 copy ..\common\$D\valtext.obj
413 copy ..\common\$D\date.obj
414 copy ..\common\$D\hash.obj
415 copy ..\common\$D\list.obj
416 copy ..\common\$D\paper.obj
417
418$(COMLIBOBJS2):
419 copy ..\common\$D\string.obj
420 copy ..\common\$D\socket.obj
421 copy ..\common\$D\sckaddr.obj
422 copy ..\common\$D\sckfile.obj
423 copy ..\common\$D\sckipc.obj
424 copy ..\common\$D\sckstrm.obj
425 copy ..\common\$D\url.obj
426 copy ..\common\$D\http.obj
427 copy ..\common\$D\protocol.obj
428 copy ..\common\$D\time.obj
429 copy ..\common\$D\tokenzr.obj
430 copy ..\common\$D\wxexpr.obj
431 copy ..\common\$D\y_tab.obj
432 copy ..\common\$D\extended.obj
433 copy ..\common\$D\process.obj
434 copy ..\common\$D\wfstream.obj
435 copy ..\common\$D\mstream.obj
436 copy ..\common\$D\zstream.obj
437 copy ..\common\$D\stream.obj
438 copy ..\common\$D\datstrm.obj
439 copy ..\common\$D\objstrm.obj
440 copy ..\common\$D\variant.obj
441 copy ..\common\$D\dlgcmn.obj
442 copy ..\common\$D\wincmn.obj
443 copy ..\common\$D\txtstrm.obj
444 copy ..\common\$D\wxchar.obj
445 copy ..\common\$D\unzip.obj
446 copy ..\common\$D\filesys.obj
447 copy ..\common\$D\fs_inet.obj
448 copy ..\common\$D\fs_zip.obj
449
450$(GENLIBOBJS):
0616b838 451 copy ..\generic\$D\caret.obj
9fea1a5d
DW
452 copy ..\generic\$D\choicdgg.obj
453 copy ..\generic\$D\gridg.obj
454 copy ..\generic\$D\laywin.obj
455 copy ..\generic\$D\panelg.obj
456 copy ..\generic\$D\progdlgg.obj
457 copy ..\generic\$D\prop.obj
458 copy ..\generic\$D\propform.obj
459 copy ..\generic\$D\proplist.obj
460 copy ..\generic\$D\sashwin.obj
461 copy ..\generic\$D\scrolwin.obj
462 copy ..\generic\$D\splitter.obj
463 copy ..\generic\$D\statusbr.obj
464 copy ..\generic\$D\tabg.obj
465 copy ..\generic\$D\textdlgg.obj
466 copy ..\generic\$D\tipdlg.obj
467 copy ..\generic\$D\busyinfo.obj
468
77cd51c3
DW
469$(OS2LIBOBJS):
470 copy ..\os2\$D\accel.obj
471 copy ..\os2\$D\app.obj
472 copy ..\os2\$D\bitmap.obj
473 copy ..\os2\$D\bmpbuttn.obj
474 copy ..\os2\$D\brush.obj
475 copy ..\os2\$D\button.obj
0616b838
DW
476 copy ..\os2\$D\checkbox.obj
477 copy ..\os2\$D\checklst.obj
478 copy ..\os2\$D\choice.obj
479 copy ..\os2\$D\clipbrd.obj
480 copy ..\os2\$D\colordlg.obj
45fcbf3b
DW
481 copy ..\os2\$D\colour.obj
482 copy ..\os2\$D\combobox.obj
483 copy ..\os2\$D\control.obj
77cd51c3
DW
484 copy ..\os2\$D\dc.obj
485 copy ..\os2\$D\dialog.obj
486 copy ..\os2\$D\frame.obj
487 copy ..\os2\$D\window.obj
488
0e320a79
DW
489# wxWindows library as DLL
490dll:
491 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
492
493cleandll:
494 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
495
496# wxWindows + app as DLL. Only affects main.cpp.
497dllapp:
498 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
499
500# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
501dllnp:
502 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
503
504# Use this to make dummy.obj and generate a PCH.
505# You might use the dll target, then the pch target, in order to
506# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
507#
508# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
509# are associated with wx.lib. When using a DLL version of wxWindows, however,
510# the DLL is compiled without a PCH, so you only need it for compiling the app.
511# In fact headers are compiled differently depending on whether a DLL is being made
512# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
513# in each case) so you couldn't use the same PCH.
514pch:
515 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
516
517pch1: dirs $(DUMMYOBJ)
518 echo $(DUMMYOBJ)
519
520!if "$(WXMAKINGDLL)" != "1"
521
522### Static library
523
9fea1a5d
DW
524$(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
525 touch $(WXDIR)\lib\wxcom1.lib
526 del $(WXDIR)\lib\wxcom1.lib
527 ilib $(LIBFLAGS) $@ @<<
528 $**;
529<<
530
531$(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
532 touch $(WXDIR)\lib\wxcom2.lib
533 del $(WXDIR)\lib\wxcom2.lib
534 ilib $(LIBFLAGS) $@ @<<
535 $**;
536<<
537
538$(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
539 touch $(WXDIR)\lib\wxgen.lib
540 del $(WXDIR)\lib\wxgen.lib
541 ilib $(LIBFLAGS) $@ @<<
542 $**;
543<<
9fea1a5d
DW
544
545$(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
546 touch $(WXDIR)\lib\wxnones.lib
547 del $(WXDIR)\lib\wxnones.lib
548 ilib $(LIBFLAGS) $@ @<<
549 $**;
550<<
551
77cd51c3 552$(WXDIR)\lib\wxos2.lib: $(OS2LIBOBJS)
9fea1a5d
DW
553 touch $(WXDIR)\lib\wxos2.lib
554 del $(WXDIR)\lib\wxos2.lib
555 ilib $(LIBFLAGS) $@ @<<
556 $**;
557<<
77cd51c3 558 del *.obj
9fea1a5d
DW
559
560$(WXDIR)\lib\wx.lib: \
561 $D\dummy.obj \
562 $(COMTEMPTGT1) \
563 $(COMTEMPTGT2) \
564 $(GENTEMPTGT) \
565 $(NONESTEMPTGT) \
566 $(OS2TEMPTGT) \
567 $(PERIPH_LIBS)
de44a9f0 568 touch $(LIBTARGET)
0e320a79 569 del $(LIBTARGET)
9fea1a5d
DW
570 ilib $(LIBFLAGS) $@ @<<
571 $**;
0e320a79 572<<
9fea1a5d
DW
573 del $(COMTEMPTGT1)
574 del $(COMTEMPTGT2)
575 del $(GENTEMPTGT)
576 del $(NONESTEMPTGT)
577 del $(OS2TEMPTGT)
0e320a79
DW
578
579!else
580
581# Update the import library
582$(WXDIR)\lib\wx200.lib: $(OBJECTS)
583 implib $(WXDIR)\lib\wx200.lib $(WXDIR)\lib\wx200.def
584
585# Update the dynamic link library
586$(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx200.lib
587 icc @<<
588 /B" $(LINKFLAGS)" /Fe$@
589 $(LIBS)
590 $(OBJECTS)
591 $(WXDIR)\lib\wx200.def
592<<
593
594!endif
595
596$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
597 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
598
599$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
600 icc @<<
601$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
602<<
603
604# If taking wxWindows from CVS, setup.h doesn't exist yet.
605$(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
606 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
607 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
608
609..\common\$D\extended.obj: ..\common\extended.c
610 icc @<<
611$(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
612<<
613
614..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
615 icc @<<
616$(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
617<<
618
619..\common\y_tab.c: ..\common\dosyacc.c
620 copy "..\common"\dosyacc.c "..\common"\y_tab.c
621
622..\common\lex_yy.c: ..\common\doslex.c
623 copy "..\common"\doslex.c "..\common"\lex_yy.c
624
625$(OBJECTS): $(WXDIR)/include/wx/setup.h
626
627..\common\$D\unzip.obj: ..\common\unzip.c
628 icc @<<
629$(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
630<<
631
632clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
633 -erase $(LIBTARGET)
634 -erase ..\..\lib\wx200.dll
635 -erase ..\..\lib\wx200.lib
636 -erase $(GENDIR)\$D\*.obj
637 -erase $(COMMDIR)\$D\*.obj
638 -erase $(COMMDIR)\\y_tab.c
639 -erase $(COMMDIR)\lex_yy.c
640 -erase $(OS2DIR)\$D\*.obj
641 -rmdir $(D)
642 -rmdir ole\$(D)
643 -rmdir ..\generic\$(D)
644 -rmdir ..\common\$(D)
645
646cleanall: clean
647