6 # Copyright: (c) 1999, Dave Webster
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
16 !include <..\makeva.env>
18 THISDIR=$(WXWIN)\src\os2
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
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
36 # Please set these according to the settings in setup.h, so we can include
37 # the appropriate libraries in wx.lib
39 # This one overrides the others, to be consistent with the settings in wx_setup.h
40 MINIMAL_WXWINDOWS_SETUP=0
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
55 !if [md $(COMMDIR)\$D]
64 !if [md $(HTMLDIR)\$D]
67 {..\generic}.cpp{..\generic\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /Tp $<
73 {..\common}.cpp{..\common\$D}.obj:
76 $(CPPFLAGS) /Fo$@ /Tp $<
79 {..\os2}.cpp{..\os2\$D}.obj:
82 $(CPPFLAGS) /Fo$@ /Tp $<
85 {..\os2}.c{..\os2\$D}.obj:
88 $(CPPFLAGS) /Fo$@ /Tp $<
91 {..\html}.cpp{..\html\$D}.obj:
94 $(CPPFLAGS) /Fo$@ /Tp $<
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
138 # ..\generic\$D\gridg.obj \
139 # ..\generic\$D\notebook.obj \
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.
185 ..\generic\$D\msgdlgg.obj
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 \
204 ..\common\$D\dcbase.obj \
205 ..\common\$D\dircmn.obj \
206 ..\common\$D\dlgcmn.obj \
207 ..\common\$D\dndcmn.obj \
208 ..\common\$D\dobjcmn.obj \
209 ..\common\$D\docmdi.obj \
210 ..\common\$D\docview.obj \
211 ..\common\$D\dynarray.obj \
212 ..\common\$D\dynlib.obj \
213 ..\common\$D\effects.obj \
214 ..\common\$D\encconv.obj \
215 ..\common\$D\event.obj \
216 ..\common\$D\extended.obj \
217 ..\common\$D\ffile.obj \
218 ..\common\$D\file.obj \
219 ..\common\$D\fileconf.obj \
220 ..\common\$D\filefn.obj \
221 ..\common\$D\filename.obj \
222 ..\common\$D\filesys.obj \
223 ..\common\$D\fontcmn.obj \
224 ..\common\$D\fontmap.obj \
225 ..\common\$D\framecmn.obj \
226 ..\common\$D\fs_inet.obj \
227 ..\common\$D\fs_mem.obj \
228 ..\common\$D\fs_zip.obj \
229 ..\common\$D\ftp.obj \
230 ..\common\$D\gdicmn.obj \
231 ..\common\$D\geometry.obj \
232 ..\common\$D\gifdecod.obj \
233 ..\common\$D\hash.obj \
234 ..\common\$D\helpbase.obj \
235 ..\common\$D\http.obj \
236 ..\common\$D\imagall.obj \
237 ..\common\$D\imagbmp.obj \
238 ..\common\$D\image.obj \
239 ..\common\$D\imaggif.obj \
240 ..\common\$D\imagjpeg.obj \
241 ..\common\$D\imagpcx.obj \
242 ..\common\$D\imagpng.obj \
243 ..\common\$D\imagpnm.obj \
244 ..\common\$D\imagtiff.obj \
245 ..\common\$D\imagxpm.obj \
246 ..\common\$D\intl.obj \
247 ..\common\$D\ipcbase.obj \
248 ..\common\$D\layout.obj \
249 ..\common\$D\lboxcmn.obj \
250 ..\common\$D\list.obj \
251 ..\common\$D\log.obj \
252 ..\common\$D\longlong.obj \
253 ..\common\$D\matrix.obj \
254 ..\common\$D\memory.obj \
255 ..\common\$D\menucmn.obj \
256 ..\common\$D\mimecmn.obj \
257 ..\common\$D\module.obj \
258 ..\common\$D\mstream.obj \
259 ..\common\$D\object.obj \
260 ..\common\$D\objstrm.obj \
261 !if "$(WXMAKINGDLL)" != "1"
262 # don't have an ODBC database
263 ..\common\$D\odbc.obj \
265 ..\common\$D\paper.obj \
266 ..\common\$D\prntbase.obj \
267 ..\common\$D\process.obj \
268 ..\common\$D\protocol.obj \
269 ..\common\$D\quantize.obj \
270 ..\common\$D\resource.obj \
271 ..\common\$D\sckaddr.obj \
272 ..\common\$D\sckfile.obj \
273 ..\common\$D\sckipc.obj \
274 ..\common\$D\sckstrm.obj \
275 ..\common\$D\serbase.obj \
276 ..\common\$D\sizer.obj \
277 ..\common\$D\socket.obj \
278 ..\common\$D\strconv.obj \
279 ..\common\$D\stream.obj \
280 ..\common\$D\string.obj \
281 ..\common\$D\tbarbase.obj \
282 ..\common\$D\textcmn.obj \
283 ..\common\$D\textfile.obj \
284 ..\common\$D\timercmn.obj \
285 ..\common\$D\tokenzr.obj \
286 ..\common\$D\treebase.obj \
287 ..\common\$D\txtstrm.obj \
288 ..\common\$D\unzip.obj \
289 ..\common\$D\url.obj \
290 ..\common\$D\utilscmn.obj \
291 ..\common\$D\valgen.obj \
292 ..\common\$D\validate.obj \
293 ..\common\$D\valtext.obj \
294 ..\common\$D\variant.obj \
295 ..\common\$D\wfstream.obj \
296 ..\common\$D\wincmn.obj \
297 ..\common\$D\wxchar.obj \
298 ..\common\$D\wxexpr.obj \
299 ..\common\$D\xpmdecod.obj \
300 ..\common\$D\y_tab.obj \
301 ..\common\$D\zipstrm.obj \
302 ..\common\$D\zstream.obj
420 ..\os2\$D\accel.obj \
422 ..\os2\$D\bitmap.obj \
423 ..\os2\$D\bmpbuttn.obj \
424 ..\os2\$D\brush.obj \
425 ..\os2\$D\button.obj \
426 ..\os2\$D\checkbox.obj \
427 ..\os2\$D\checklst.obj \
428 ..\os2\$D\choice.obj \
429 ..\os2\$D\clipbrd.obj \
430 ..\os2\$D\colour.obj \
431 ..\os2\$D\combobox.obj \
432 ..\os2\$D\control.obj \
433 ..\os2\$D\cursor.obj \
435 ..\os2\$D\dataobj.obj \
437 ..\os2\$D\dcclient.obj \
438 ..\os2\$D\dcmemory.obj \
439 ..\os2\$D\dcprint.obj \
440 ..\os2\$D\dcscreen.obj \
441 ..\os2\$D\dialog.obj \
443 ..\os2\$D\dirdlg.obj \
445 ..\os2\$D\filedlg.obj \
447 ..\os2\$D\fontdlg.obj \
448 ..\os2\$D\fontenum.obj \
449 ..\os2\$D\fontutil.obj \
450 ..\os2\$D\frame.obj \
451 ..\os2\$D\gauge.obj \
452 ..\os2\$D\gdiimage.obj \
453 ..\os2\$D\gdiobj.obj \
454 ..\os2\$D\gsocket.obj \
455 ..\os2\$D\gsockpm.obj \
456 ..\os2\$D\helpwin.obj \
458 ..\os2\$D\iniconf.obj \
459 ..\os2\$D\joystick.obj \
460 ..\os2\$D\listbox.obj \
464 ..\os2\$D\menuitem.obj \
465 ..\os2\$D\metafile.obj \
466 ..\os2\$D\mimetype.obj \
467 ..\os2\$D\minifram.obj \
468 ..\os2\$D\msgdlg.obj \
469 ..\os2\$D\nativdlg.obj \
470 ..\os2\$D\notebook.obj \
471 ..\os2\$D\ownerdrw.obj \
472 ..\os2\$D\palette.obj \
474 ..\os2\$D\pnghand.obj \
475 ..\os2\$D\print.obj \
476 ..\os2\$D\radiobox.obj \
477 ..\os2\$D\radiobut.obj \
478 ..\os2\$D\region.obj \
479 ..\os2\$D\scrolbar.obj \
480 ..\os2\$D\settings.obj \
481 ..\os2\$D\slider.obj \
482 ..\os2\$D\spinbutt.obj \
483 ..\os2\$D\spinctrl.obj \
484 ..\os2\$D\statbmp.obj \
485 ..\os2\$D\statbox.obj \
486 ..\os2\$D\statline.obj \
487 ..\os2\$D\stattext.obj \
488 ..\os2\$D\tabctrl.obj \
489 ..\os2\$D\taskbar.obj \
490 ..\os2\$D\textctrl.obj \
491 ..\os2\$D\thread.obj \
492 ..\os2\$D\timer.obj \
493 ..\os2\$D\toolbar.obj \
494 ..\os2\$D\tooltip.obj \
495 ..\os2\$D\utils.obj \
496 ..\os2\$D\utilsexc.obj \
498 ..\os2\$D\window.obj \
499 ..\os2\$D\xpmhand.obj
586 ..\html\$D\helpctrl.obj \
587 ..\html\$D\helpdata.obj \
588 ..\html\$D\helpfrm.obj \
589 ..\html\$D\htmlcell.obj \
590 ..\html\$D\htmlfilt.obj \
591 ..\html\$D\htmlpars.obj \
592 ..\html\$D\htmltag.obj \
593 ..\html\$D\htmlwin.obj \
594 ..\html\$D\htmprint.obj \
595 ..\html\$D\m_dflist.obj \
596 ..\html\$D\m_fonts.obj \
597 ..\html\$D\m_hline.obj \
598 ..\html\$D\m_image.obj \
599 ..\html\$D\m_layout.obj \
600 ..\html\$D\m_links.obj \
601 ..\html\$D\m_list.obj \
602 ..\html\$D\m_meta.obj \
603 ..\html\$D\m_pre.obj \
604 ..\html\$D\m_tables.obj \
605 ..\html\$D\winpars.obj
629 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
630 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
632 # Normal, static library
633 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
635 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
638 test: $(OS2DIR)\$D\wave.obj
639 test2: ..\common\Debug\config.obj
641 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
642 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
644 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
645 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
648 copy ..\common\$D\appcmn.obj
649 copy ..\common\$D\choiccmn.obj
650 copy ..\common\$D\clipcmn.obj
651 copy ..\common\$D\cmdline.obj
652 copy ..\common\$D\cmndata.obj
653 copy ..\common\$D\config.obj
654 copy ..\common\$D\cshelp.obj
655 copy ..\common\$D\ctrlcmn.obj
656 copy ..\common\$D\ctrlsub.obj
657 copy ..\common\$D\datetime.obj
658 copy ..\common\$D\datstrm.obj
659 copy ..\common\$D\db.obj
660 copy ..\common\$D\dbtable.obj
661 copy ..\common\$D\dcbase.obj
662 copy ..\common\$D\dlgcmn.obj
663 copy ..\common\$D\dircmn.obj
664 copy ..\common\$D\dndcmn.obj
665 copy ..\common\$D\dobjcmn.obj
666 copy ..\common\$D\docmdi.obj
667 copy ..\common\$D\docview.obj
668 copy ..\common\$D\dynarray.obj
669 copy ..\common\$D\dynlib.obj
670 copy ..\common\$D\effects.obj
671 copy ..\common\$D\encconv.obj
672 copy ..\common\$D\event.obj
673 copy ..\common\$D\extended.obj
674 copy ..\common\$D\ffile.obj
675 copy ..\common\$D\file.obj
676 copy ..\common\$D\fileconf.obj
677 copy ..\common\$D\filefn.obj
678 copy ..\common\$D\filename.obj
679 copy ..\common\$D\filesys.obj
680 copy ..\common\$D\fontcmn.obj
681 copy ..\common\$D\fontmap.obj
682 copy ..\common\$D\framecmn.obj
683 copy ..\common\$D\fs_inet.obj
684 copy ..\common\$D\fs_mem.obj
685 copy ..\common\$D\fs_zip.obj
686 copy ..\common\$D\ftp.obj
687 copy ..\common\$D\gdicmn.obj
688 copy ..\common\$D\geometry.obj
689 copy ..\common\$D\gifdecod.obj
690 copy ..\common\$D\hash.obj
691 copy ..\common\$D\helpbase.obj
694 copy ..\common\$D\http.obj
695 copy ..\common\$D\imagall.obj
696 copy ..\common\$D\imagbmp.obj
697 copy ..\common\$D\image.obj
698 copy ..\common\$D\imaggif.obj
699 copy ..\common\$D\imagjpeg.obj
700 copy ..\common\$D\imagpcx.obj
701 copy ..\common\$D\imagpng.obj
702 copy ..\common\$D\imagpnm.obj
703 copy ..\common\$D\imagtiff.obj
704 copy ..\common\$D\imagxpm.obj
705 copy ..\common\$D\intl.obj
706 copy ..\common\$D\ipcbase.obj
707 copy ..\common\$D\layout.obj
708 copy ..\common\$D\lboxcmn.obj
709 copy ..\common\$D\list.obj
710 copy ..\common\$D\log.obj
711 copy ..\common\$D\longlong.obj
712 copy ..\common\$D\matrix.obj
713 copy ..\common\$D\memory.obj
714 copy ..\common\$D\menucmn.obj
715 copy ..\common\$D\mimecmn.obj
716 copy ..\common\$D\module.obj
717 copy ..\common\$D\mstream.obj
718 copy ..\common\$D\object.obj
719 copy ..\common\$D\objstrm.obj
720 copy ..\common\$D\odbc.obj
721 copy ..\common\$D\paper.obj
722 copy ..\common\$D\prntbase.obj
723 copy ..\common\$D\process.obj
724 copy ..\common\$D\protocol.obj
725 copy ..\common\$D\quantize.obj
726 copy ..\common\$D\resource.obj
727 copy ..\common\$D\sckaddr.obj
728 copy ..\common\$D\sckfile.obj
729 copy ..\common\$D\sckipc.obj
730 copy ..\common\$D\sckstrm.obj
731 copy ..\common\$D\serbase.obj
732 copy ..\common\$D\sizer.obj
733 copy ..\common\$D\socket.obj
734 copy ..\common\$D\strconv.obj
735 copy ..\common\$D\stream.obj
738 copy ..\common\$D\string.obj
739 copy ..\common\$D\tbarbase.obj
740 copy ..\common\$D\textcmn.obj
741 copy ..\common\$D\textfile.obj
742 copy ..\common\$D\timercmn.obj
743 copy ..\common\$D\tokenzr.obj
744 copy ..\common\$D\treebase.obj
745 copy ..\common\$D\txtstrm.obj
746 copy ..\common\$D\unzip.obj
747 copy ..\common\$D\url.obj
748 copy ..\common\$D\utilscmn.obj
749 copy ..\common\$D\valgen.obj
750 copy ..\common\$D\validate.obj
751 copy ..\common\$D\valtext.obj
752 copy ..\common\$D\variant.obj
753 copy ..\common\$D\wfstream.obj
754 copy ..\common\$D\wincmn.obj
755 copy ..\common\$D\wxchar.obj
756 copy ..\common\$D\wxexpr.obj
757 copy ..\common\$D\xpmdecod.obj
758 copy ..\common\$D\y_tab.obj
759 copy ..\common\$D\zipstrm.obj
760 copy ..\common\$D\zstream.obj
763 copy ..\generic\$D\busyinfo.obj
764 copy ..\generic\$D\calctrl.obj
765 copy ..\generic\$D\caret.obj
766 copy ..\generic\$D\choicdgg.obj
767 copy ..\generic\$D\colrdlgg.obj
768 copy ..\generic\$D\dragimgg.obj
769 copy ..\generic\$D\dcpsg.obj
770 copy ..\generic\$D\dirctrlg.obj
771 copy ..\generic\$D\fontdlgg.obj
772 copy ..\generic\$D\grid.obj
773 copy ..\generic\$D\gridsel.obj
774 copy ..\generic\$D\helpext.obj
775 copy ..\generic\$D\helphtml.obj
776 copy ..\generic\$D\helpwxht.obj
777 copy ..\generic\$D\helpxlp.obj
778 copy ..\generic\$D\imaglist.obj
779 copy ..\generic\$D\laywin.obj
780 copy ..\generic\$D\listctrl.obj
781 copy ..\generic\$D\logg.obj
782 copy ..\generic\$D\numdlgg.obj
783 copy ..\generic\$D\panelg.obj
784 copy ..\generic\$D\printps.obj
785 copy ..\generic\$D\prntdlgg.obj
786 copy ..\generic\$D\progdlgg.obj
787 copy ..\generic\$D\prop.obj
788 copy ..\generic\$D\propform.obj
789 copy ..\generic\$D\proplist.obj
790 copy ..\generic\$D\sashwin.obj
791 copy ..\generic\$D\scrolwin.obj
792 copy ..\generic\$D\splitter.obj
793 copy ..\generic\$D\statusbr.obj
794 copy ..\generic\$D\tabg.obj
795 copy ..\generic\$D\tbarsmpl.obj
796 copy ..\generic\$D\textdlgg.obj
797 copy ..\generic\$D\tipdlg.obj
798 copy ..\generic\$D\tipwin.obj
799 copy ..\generic\$D\treectlg.obj
800 copy ..\generic\$D\treelay.obj
801 copy ..\generic\$D\wizard.obj
804 copy ..\html\$D\helpctrl.obj
805 copy ..\html\$D\helpdata.obj
806 copy ..\html\$D\helpfrm.obj
807 copy ..\html\$D\htmlcell.obj
808 copy ..\html\$D\htmlfilt.obj
809 copy ..\html\$D\htmlpars.obj
810 copy ..\html\$D\htmltag.obj
811 copy ..\html\$D\htmlwin.obj
812 copy ..\html\$D\htmprint.obj
813 copy ..\html\$D\m_dflist.obj
814 copy ..\html\$D\m_fonts.obj
815 copy ..\html\$D\m_hline.obj
816 copy ..\html\$D\m_image.obj
817 copy ..\html\$D\m_layout.obj
818 copy ..\html\$D\m_links.obj
819 copy ..\html\$D\m_list.obj
820 copy ..\html\$D\m_meta.obj
821 copy ..\html\$D\m_pre.obj
822 copy ..\html\$D\m_tables.obj
823 copy ..\html\$D\winpars.obj
826 copy ..\os2\$D\accel.obj
827 copy ..\os2\$D\app.obj
828 copy ..\os2\$D\bitmap.obj
829 copy ..\os2\$D\bmpbuttn.obj
830 copy ..\os2\$D\brush.obj
831 copy ..\os2\$D\button.obj
832 copy ..\os2\$D\checkbox.obj
833 copy ..\os2\$D\checklst.obj
834 copy ..\os2\$D\choice.obj
835 copy ..\os2\$D\clipbrd.obj
836 copy ..\os2\$D\colour.obj
837 copy ..\os2\$D\combobox.obj
838 copy ..\os2\$D\control.obj
839 copy ..\os2\$D\cursor.obj
840 copy ..\os2\$D\data.obj
841 copy ..\os2\$D\dataobj.obj
842 copy ..\os2\$D\dc.obj
843 copy ..\os2\$D\dcclient.obj
844 copy ..\os2\$D\dcmemory.obj
845 copy ..\os2\$D\dcprint.obj
846 copy ..\os2\$D\dcscreen.obj
847 copy ..\os2\$D\dialog.obj
848 copy ..\os2\$D\dir.obj
849 copy ..\os2\$D\dirdlg.obj
850 copy ..\os2\$D\dnd.obj
851 copy ..\os2\$D\filedlg.obj
852 copy ..\os2\$D\font.obj
853 copy ..\os2\$D\fontdlg.obj
854 copy ..\os2\$D\fontenum.obj
855 copy ..\os2\$D\fontutil.obj
856 copy ..\os2\$D\frame.obj
857 copy ..\os2\$D\gauge.obj
858 copy ..\os2\$D\gdiimage.obj
859 copy ..\os2\$D\gdiobj.obj
860 copy ..\os2\$D\gsocket.obj
861 copy ..\os2\$D\gsockpm.obj
862 copy ..\os2\$D\helpwin.obj
863 copy ..\os2\$D\icon.obj
864 copy ..\os2\$D\iniconf.obj
865 copy ..\os2\$D\joystick.obj
866 copy ..\os2\$D\listbox.obj
867 copy ..\os2\$D\main.obj
868 copy ..\os2\$D\mdi.obj
869 copy ..\os2\$D\menu.obj
870 copy ..\os2\$D\menuitem.obj
873 copy ..\os2\$D\metafile.obj
874 copy ..\os2\$D\mimetype.obj
875 copy ..\os2\$D\minifram.obj
876 copy ..\os2\$D\msgdlg.obj
877 copy ..\os2\$D\nativdlg.obj
878 copy ..\os2\$D\notebook.obj
879 copy ..\os2\$D\ownerdrw.obj
880 copy ..\os2\$D\palette.obj
881 copy ..\os2\$D\pen.obj
882 copy ..\os2\$D\pnghand.obj
883 copy ..\os2\$D\print.obj
884 copy ..\os2\$D\radiobox.obj
885 copy ..\os2\$D\radiobut.obj
886 copy ..\os2\$D\region.obj
887 copy ..\os2\$D\scrolbar.obj
888 copy ..\os2\$D\settings.obj
889 copy ..\os2\$D\slider.obj
890 copy ..\os2\$D\spinbutt.obj
891 copy ..\os2\$D\spinctrl.obj
892 copy ..\os2\$D\statbmp.obj
893 copy ..\os2\$D\statbox.obj
894 copy ..\os2\$D\statline.obj
895 copy ..\os2\$D\stattext.obj
896 copy ..\os2\$D\tabctrl.obj
897 copy ..\os2\$D\taskbar.obj
898 copy ..\os2\$D\textctrl.obj
899 copy ..\os2\$D\thread.obj
900 copy ..\os2\$D\timer.obj
901 copy ..\os2\$D\toolbar.obj
902 copy ..\os2\$D\tooltip.obj
903 copy ..\os2\$D\utils.obj
904 copy ..\os2\$D\utilsexc.obj
905 copy ..\os2\$D\wave.obj
906 copy ..\os2\$D\window.obj
907 copy ..\os2\$D\xpmhand.obj
909 # wxWindows library as DLL
911 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
914 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
916 # wxWindows + app as DLL. Only affects main.cpp.
918 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
920 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
922 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
924 # Use this to make dummy.obj and generate a PCH.
925 # You might use the dll target, then the pch target, in order to
926 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
928 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
929 # are associated with wx.lib. When using a DLL version of wxWindows, however,
930 # the DLL is compiled without a PCH, so you only need it for compiling the app.
931 # In fact headers are compiled differently depending on whether a DLL is being made
932 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
933 # in each case) so you couldn't use the same PCH.
935 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
937 pch1: dirs $(DUMMYOBJ)
940 !if "$(WXMAKINGDLL)" != "1"
944 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
945 -touch $(WXDIR)\lib\wxcom1.lib
946 -del $(WXDIR)\lib\wxcom1.lib
947 ilib $(LIBFLAGS) $@ @<<
951 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
952 -touch $(WXDIR)\lib\wxcom2.lib
953 -del $(WXDIR)\lib\wxcom2.lib
954 ilib $(LIBFLAGS) $@ @<<
958 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
959 -touch $(WXDIR)\lib\wxcom3.lib
960 -del $(WXDIR)\lib\wxcom3.lib
961 ilib $(LIBFLAGS) $@ @<<
965 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
966 -touch $(WXDIR)\lib\wxgen.lib
967 -del $(WXDIR)\lib\wxgen.lib
968 ilib $(LIBFLAGS) $@ @<<
972 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
973 -touch $(WXDIR)\lib\wxhtml.lib
974 -del $(WXDIR)\lib\wxhtml.lib
975 ilib $(LIBFLAGS) $@ @<<
979 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
980 -touch $(WXDIR)\lib\wxnones.lib
981 -del $(WXDIR)\lib\wxnones.lib
982 ilib $(LIBFLAGS) $@ @<<
986 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
987 -touch $(WXDIR)\lib\wxos21.lib
988 -del $(WXDIR)\lib\wxos21.lib
989 ilib $(LIBFLAGS) $@ @<<
993 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
994 -touch $(WXDIR)\lib\wxos22.lib
995 -del $(WXDIR)\lib\wxos22.lib
996 ilib $(LIBFLAGS) $@ @<<
1001 $(WXDIR)\lib\wx.lib: \
1014 ilib $(LIBFLAGS) $@ @<<
1028 # Update the dynamic link library
1029 $(WXDIR)\lib\wx23.dll: $(OBJECTS)
1031 /B" $(LINKFLAGS)" /Fe$@
1035 $(WXDIR)\src\os2\wx23.def
1037 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1041 # If taking wxWindows from CVS, setup.h doesn't exist yet.
1042 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1043 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1044 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1046 ..\common\$D\extended.obj: ..\common\extended.c
1048 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1051 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1053 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1056 ..\common\y_tab.c: ..\common\dosyacc.c
1057 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1059 ..\common\lex_yy.c: ..\common\doslex.c
1060 copy "..\common"\doslex.c "..\common"\lex_yy.c
1062 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1064 ..\common\$D\unzip.obj: ..\common\unzip.c
1066 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1071 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1076 nmake -f makefile.va clean
1080 cd $(WXDIR)\src\zlib
1081 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1085 cd $(WXDIR)\src\zlib
1086 nmake -f makefile.va clean
1090 cd $(WXDIR)\src\jpeg
1091 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1095 cd $(WXDIR)\src\jpeg
1096 nmake -f makefile.va clean
1101 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1106 nmake -f makefile.va clean
1110 cd $(WXDIR)\src\tiff
1111 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1115 cd $(WXDIR)\src\tiff
1116 nmake -f makefile.va clean
1119 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
1120 erase /N $(GENDIR)\$D\*.obj
1121 erase /N $(COMMDIR)\$D\*.obj
1122 erase /N $(HTMLDIR)\$D\*.obj
1123 erase /N $(OS2DIR)\$D\*.obj
1124 erase /N $(COMMDIR)\y_tab.c
1125 erase /N $(COMMDIR)\lex_yy.c
1132 !if "$(WXMAKINGDLL)" == "1"
1133 erase /N ..\..\lib\wx23.lib