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