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