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