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