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