X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16a12a3d27d3d3e2557bcde15365245ef2675bb4..29149a64916d6fdc53e445adca9ef83bc58fb6c3:/src/os2/makefile.va?ds=inline diff --git a/src/os2/makefile.va b/src/os2/makefile.va index e10f25fdc6..8e938b9b24 100644 --- a/src/os2/makefile.va +++ b/src/os2/makefile.va @@ -52,6 +52,18 @@ COMMDIR=$(WXDIR)\src\common OS2DIR=$(WXDIR)\src\os2 HTMLDIR = $(WXDIR)\src\html +!if [md $(COMMDIR)\$D] +!endif + +!if [md $(OS2DIR)\$D] +!endif + +!if [md $(GENDIR)\$D] +!endif + +!if [md $(HTMLDIR)\$D] +!endif + {..\generic}.cpp{..\generic\$D}.obj: @echo $< icc @<< @@ -84,11 +96,17 @@ $(CPPFLAGS) /Fo$@ /Tp $< GENERICOBJS= \ ..\generic\$D\busyinfo.obj \ + ..\generic\$D\calctrl.obj \ ..\generic\$D\caret.obj \ ..\generic\$D\choicdgg.obj \ ..\generic\$D\colrdlgg.obj \ ..\generic\$D\dcpsg.obj \ + ..\generic\$D\dirctrlg.obj \ + ..\generic\$D\dragimgg.obj \ + ..\generic\$D\fontdlgg.obj \ ..\generic\$D\grid.obj \ + ..\generic\$D\gridctrl.obj \ + ..\generic\$D\gridsel.obj \ ..\generic\$D\helpext.obj \ ..\generic\$D\helphtml.obj \ ..\generic\$D\helpwxht.obj \ @@ -110,20 +128,30 @@ GENERICOBJS= \ ..\generic\$D\splitter.obj \ ..\generic\$D\statusbr.obj \ ..\generic\$D\tabg.obj \ + ..\generic\$D\tbarsmpl.obj \ ..\generic\$D\textdlgg.obj \ ..\generic\$D\tipdlg.obj \ - ..\generic\$D\treectrl.obj + ..\generic\$D\tipwin.obj \ + ..\generic\$D\treectlg.obj \ + ..\generic\$D\treelay.obj \ + ..\generic\$D\wizard.obj # ..\generic\$D\gridg.obj \ # ..\generic\$D\notebook.obj \ GENLIBOBJS= \ busyinfo.obj \ + calctrl.obj \ caret.obj \ choicdgg.obj \ colrdlgg.obj \ dcpsg.obj \ + dirctrlg.obj \ + dragimgg.obj \ + fontdlgg.obj \ grid.obj \ + gridctrl.obj \ + gridsel.obj \ helpext.obj \ helphtml.obj \ helpwxht.obj \ @@ -145,48 +173,65 @@ GENLIBOBJS= \ splitter.obj \ statusbr.obj \ tabg.obj \ + tbarsmpl.obj \ textdlgg.obj \ tipdlg.obj \ - treectrl.obj + tipwin.obj \ + treectlg.obj \ + treelay.obj \ + wizard.obj # These are generic things that don't need to be compiled on PM, # but sometimes it's useful to do so for testing purposes. NONESSENTIALOBJS= \ - ..\generic\$D\msgdlgg.obj \ - ..\generic\$D\fontdlgg.obj + ..\generic\$D\msgdlgg.obj COMMONOBJS = \ ..\common\$D\appcmn.obj \ ..\common\$D\choiccmn.obj \ ..\common\$D\clipcmn.obj \ + ..\common\$D\cmdline.obj \ ..\common\$D\cmndata.obj \ ..\common\$D\config.obj \ + ..\common\$D\cshelp.obj \ ..\common\$D\ctrlcmn.obj \ ..\common\$D\ctrlsub.obj \ - ..\common\$D\date.obj \ + ..\common\$D\datetime.obj \ ..\common\$D\datstrm.obj \ +!if "$(WXMAKINGDLL)" != "1" +# don't have an ODBC database ..\common\$D\db.obj \ + ..\common\$D\dbgrid.obj \ ..\common\$D\dbtable.obj \ +!endif ..\common\$D\dcbase.obj \ + ..\common\$D\dircmn.obj \ ..\common\$D\dlgcmn.obj \ + ..\common\$D\dndcmn.obj \ ..\common\$D\dobjcmn.obj \ ..\common\$D\docmdi.obj \ ..\common\$D\docview.obj \ ..\common\$D\dynarray.obj \ ..\common\$D\dynlib.obj \ + ..\common\$D\effects.obj \ + ..\common\$D\encconv.obj \ ..\common\$D\event.obj \ ..\common\$D\extended.obj \ ..\common\$D\ffile.obj \ ..\common\$D\file.obj \ ..\common\$D\fileconf.obj \ ..\common\$D\filefn.obj \ + ..\common\$D\filename.obj \ ..\common\$D\filesys.obj \ ..\common\$D\fontcmn.obj \ + ..\common\$D\fontmap.obj \ ..\common\$D\framecmn.obj \ ..\common\$D\fs_inet.obj \ + ..\common\$D\fs_mem.obj \ ..\common\$D\fs_zip.obj \ ..\common\$D\ftp.obj \ ..\common\$D\gdicmn.obj \ + ..\common\$D\geometry.obj \ ..\common\$D\gifdecod.obj \ ..\common\$D\hash.obj \ ..\common\$D\helpbase.obj \ @@ -199,6 +244,8 @@ COMMONOBJS = \ ..\common\$D\imagpcx.obj \ ..\common\$D\imagpng.obj \ ..\common\$D\imagpnm.obj \ + ..\common\$D\imagtiff.obj \ + ..\common\$D\imagxpm.obj \ ..\common\$D\intl.obj \ ..\common\$D\ipcbase.obj \ ..\common\$D\layout.obj \ @@ -208,16 +255,21 @@ COMMONOBJS = \ ..\common\$D\longlong.obj \ ..\common\$D\matrix.obj \ ..\common\$D\memory.obj \ - ..\common\$D\mimetype.obj \ + ..\common\$D\menucmn.obj \ + ..\common\$D\mimecmn.obj \ ..\common\$D\module.obj \ ..\common\$D\mstream.obj \ ..\common\$D\object.obj \ ..\common\$D\objstrm.obj \ +!if "$(WXMAKINGDLL)" != "1" +# don't have an ODBC database ..\common\$D\odbc.obj \ +!endif ..\common\$D\paper.obj \ ..\common\$D\prntbase.obj \ ..\common\$D\process.obj \ ..\common\$D\protocol.obj \ + ..\common\$D\quantize.obj \ ..\common\$D\resource.obj \ ..\common\$D\sckaddr.obj \ ..\common\$D\sckfile.obj \ @@ -230,12 +282,11 @@ COMMONOBJS = \ ..\common\$D\stream.obj \ ..\common\$D\string.obj \ ..\common\$D\tbarbase.obj \ - ..\common\$D\tbarsmpl.obj \ ..\common\$D\textcmn.obj \ ..\common\$D\textfile.obj \ - ..\common\$D\time.obj \ ..\common\$D\timercmn.obj \ ..\common\$D\tokenzr.obj \ + ..\common\$D\treebase.obj \ ..\common\$D\txtstrm.obj \ ..\common\$D\unzip.obj \ ..\common\$D\url.obj \ @@ -248,6 +299,7 @@ COMMONOBJS = \ ..\common\$D\wincmn.obj \ ..\common\$D\wxchar.obj \ ..\common\$D\wxexpr.obj \ + ..\common\$D\xpmdecod.obj \ ..\common\$D\y_tab.obj \ ..\common\$D\zipstrm.obj \ ..\common\$D\zstream.obj @@ -256,36 +308,49 @@ COMLIBOBJS1 = \ appcmn.obj \ choiccmn.obj \ clipcmn.obj \ + cmdline.obj \ cmndata.obj \ config.obj \ + cshelp.obj \ ctrlcmn.obj \ ctrlsub.obj \ - date.obj \ + datetime.obj \ datstrm.obj \ db.obj \ + dbgrid.obj \ dbtable.obj \ dcbase.obj \ + dircmn.obj \ + dndcmn.obj \ dlgcmn.obj \ dobjcmn.obj \ docmdi.obj \ docview.obj \ dynarray.obj \ dynlib.obj \ + effects.obj \ + encconv.obj \ event.obj \ extended.obj \ ffile.obj \ file.obj \ fileconf.obj \ filefn.obj \ + filename.obj \ filesys.obj \ fontcmn.obj \ + fontmap.obj \ framecmn.obj \ fs_inet.obj \ + fs_mem.obj \ fs_zip.obj \ ftp.obj \ gdicmn.obj \ + geometry.obj \ gifdecod.obj \ - hash.obj \ + hash.obj + +COMLIBOBJS2 = \ helpbase.obj \ http.obj \ imagall.obj \ @@ -296,9 +361,9 @@ COMLIBOBJS1 = \ imagpcx.obj \ imagpng.obj \ imagpnm.obj \ - intl.obj - -COMLIBOBJS2 = \ + imagtiff.obj \ + imagxpm.obj \ + intl.obj \ ipcbase.obj \ layout.obj \ lboxcmn.obj \ @@ -307,7 +372,8 @@ COMLIBOBJS2 = \ longlong.obj \ matrix.obj \ memory.obj \ - mimetype.obj \ + menucmn.obj \ + mimecmn.obj \ module.obj \ mstream.obj \ object.obj \ @@ -317,6 +383,7 @@ COMLIBOBJS2 = \ prntbase.obj \ process.obj \ protocol.obj \ + quantize.obj \ resource.obj \ sckaddr.obj \ sckfile.obj \ @@ -325,30 +392,30 @@ COMLIBOBJS2 = \ serbase.obj \ sizer.obj \ socket.obj \ - strconv.obj \ + strconv.obj + +COMLIBOBJS3 = \ stream.obj \ string.obj \ tbarbase.obj \ - tbarsmpl.obj \ textcmn.obj \ textfile.obj \ - time.obj \ timercmn.obj \ tokenzr.obj \ + treebase.obj \ txtstrm.obj \ unzip.obj \ url.obj \ utilscmn.obj \ valgen.obj \ validate.obj \ - valtext.obj - -COMLIBOBJS3 = \ + valtext.obj \ variant.obj \ wfstream.obj \ wincmn.obj \ wxchar.obj \ wxexpr.obj \ + xpmdecod.obj \ y_tab.obj \ zipstrm.obj \ zstream.obj @@ -376,15 +443,20 @@ OS2OBJS = \ ..\os2\$D\dcprint.obj \ ..\os2\$D\dcscreen.obj \ ..\os2\$D\dialog.obj \ + ..\os2\$D\dir.obj \ ..\os2\$D\dirdlg.obj \ ..\os2\$D\dnd.obj \ ..\os2\$D\filedlg.obj \ ..\os2\$D\font.obj \ ..\os2\$D\fontdlg.obj \ + ..\os2\$D\fontenum.obj \ + ..\os2\$D\fontutil.obj \ ..\os2\$D\frame.obj \ ..\os2\$D\gauge.obj \ + ..\os2\$D\gdiimage.obj \ ..\os2\$D\gdiobj.obj \ ..\os2\$D\gsocket.obj \ + ..\os2\$D\gsockpm.obj \ ..\os2\$D\helpwin.obj \ ..\os2\$D\icon.obj \ ..\os2\$D\iniconf.obj \ @@ -395,6 +467,7 @@ OS2OBJS = \ ..\os2\$D\menu.obj \ ..\os2\$D\menuitem.obj \ ..\os2\$D\metafile.obj \ + ..\os2\$D\mimetype.obj \ ..\os2\$D\minifram.obj \ ..\os2\$D\msgdlg.obj \ ..\os2\$D\nativdlg.obj \ @@ -426,7 +499,8 @@ OS2OBJS = \ ..\os2\$D\utils.obj \ ..\os2\$D\utilsexc.obj \ ..\os2\$D\wave.obj \ - ..\os2\$D\window.obj + ..\os2\$D\window.obj \ + ..\os2\$D\xpmhand.obj OS2LIBOBJS1 = \ accel.obj \ @@ -451,15 +525,20 @@ OS2LIBOBJS1 = \ dcprint.obj \ dcscreen.obj \ dialog.obj \ + dir.obj \ dirdlg.obj \ dnd.obj \ filedlg.obj \ font.obj \ fontdlg.obj \ + fontenum.obj \ + fontutil.obj \ frame.obj \ gauge.obj \ + gdiimage.obj \ gdiobj.obj \ gsocket.obj \ + gsockpm.obj \ helpwin.obj \ icon.obj \ iniconf.obj \ @@ -468,14 +547,15 @@ OS2LIBOBJS1 = \ main.obj \ mdi.obj \ menu.obj \ - menuitem.obj \ + menuitem.obj + +OS2LIBOBJS2 = \ metafile.obj \ + mimetype.obj \ minifram.obj \ msgdlg.obj \ nativdlg.obj \ - notebook.obj - -OS2LIBOBJS2 = \ + notebook.obj \ ownerdrw.obj \ palette.obj \ pen.obj \ @@ -503,9 +583,11 @@ OS2LIBOBJS2 = \ utils.obj \ utilsexc.obj \ wave.obj \ - window.obj + window.obj \ + xpmhand.obj HTMLOBJS = \ + ..\html\$D\helpctrl.obj \ ..\html\$D\helpdata.obj \ ..\html\$D\helpfrm.obj \ ..\html\$D\htmlcell.obj \ @@ -514,18 +596,20 @@ HTMLOBJS = \ ..\html\$D\htmltag.obj \ ..\html\$D\htmlwin.obj \ ..\html\$D\htmprint.obj \ + ..\html\$D\m_dflist.obj \ ..\html\$D\m_fonts.obj \ ..\html\$D\m_hline.obj \ ..\html\$D\m_image.obj \ ..\html\$D\m_layout.obj \ ..\html\$D\m_links.obj \ ..\html\$D\m_list.obj \ + ..\html\$D\m_meta.obj \ ..\html\$D\m_pre.obj \ ..\html\$D\m_tables.obj \ - ..\html\$D\search.obj \ ..\html\$D\winpars.obj HTMLLIBOBJS = \ + helpctrl.obj \ helpdata.obj \ helpfrm.obj \ htmlcell.obj \ @@ -534,22 +618,23 @@ HTMLLIBOBJS = \ htmltag.obj \ htmlwin.obj \ htmprint.obj \ + m_dflist.obj \ m_fonts.obj \ m_hline.obj \ m_image.obj \ m_layout.obj \ m_links.obj \ m_list.obj \ + m_meta.obj \ m_pre.obj \ m_tables.obj \ - search.obj \ winpars.obj # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS) # Normal, static library -all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET) +all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET) dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D @@ -557,55 +642,59 @@ dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D test: $(OS2DIR)\$D\wave.obj test2: ..\common\Debug\config.obj -$D: - md $D - -$(COMMDIR)\$D: - md $(COMMDIR)\$D - -$(OS2DIR)\$D: - md $(OS2DIR)\$D - -$(GENDIR)\$D: - md $(GENDIR)\$D +$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h + icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp -$(HTMLDIR)\$D: - md $(HTMLDIR)\$D +$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h + icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp $(COMLIBOBJS1): copy ..\common\$D\appcmn.obj copy ..\common\$D\choiccmn.obj copy ..\common\$D\clipcmn.obj + copy ..\common\$D\cmdline.obj copy ..\common\$D\cmndata.obj copy ..\common\$D\config.obj + copy ..\common\$D\cshelp.obj copy ..\common\$D\ctrlcmn.obj copy ..\common\$D\ctrlsub.obj - copy ..\common\$D\date.obj + copy ..\common\$D\datetime.obj copy ..\common\$D\datstrm.obj copy ..\common\$D\db.obj + copy ..\common\$D\dbgrid.obj copy ..\common\$D\dbtable.obj copy ..\common\$D\dcbase.obj copy ..\common\$D\dlgcmn.obj + copy ..\common\$D\dircmn.obj + copy ..\common\$D\dndcmn.obj copy ..\common\$D\dobjcmn.obj copy ..\common\$D\docmdi.obj copy ..\common\$D\docview.obj copy ..\common\$D\dynarray.obj copy ..\common\$D\dynlib.obj + copy ..\common\$D\effects.obj + copy ..\common\$D\encconv.obj copy ..\common\$D\event.obj copy ..\common\$D\extended.obj copy ..\common\$D\ffile.obj copy ..\common\$D\file.obj copy ..\common\$D\fileconf.obj copy ..\common\$D\filefn.obj + copy ..\common\$D\filename.obj copy ..\common\$D\filesys.obj copy ..\common\$D\fontcmn.obj + copy ..\common\$D\fontmap.obj copy ..\common\$D\framecmn.obj copy ..\common\$D\fs_inet.obj + copy ..\common\$D\fs_mem.obj copy ..\common\$D\fs_zip.obj copy ..\common\$D\ftp.obj copy ..\common\$D\gdicmn.obj + copy ..\common\$D\geometry.obj copy ..\common\$D\gifdecod.obj copy ..\common\$D\hash.obj + +$(COMLIBOBJS2): copy ..\common\$D\helpbase.obj copy ..\common\$D\http.obj copy ..\common\$D\imagall.obj @@ -616,9 +705,9 @@ $(COMLIBOBJS1): copy ..\common\$D\imagpcx.obj copy ..\common\$D\imagpng.obj copy ..\common\$D\imagpnm.obj + copy ..\common\$D\imagtiff.obj + copy ..\common\$D\imagxpm.obj copy ..\common\$D\intl.obj - -$(COMLIBOBJS2): copy ..\common\$D\ipcbase.obj copy ..\common\$D\layout.obj copy ..\common\$D\lboxcmn.obj @@ -627,7 +716,8 @@ $(COMLIBOBJS2): copy ..\common\$D\longlong.obj copy ..\common\$D\matrix.obj copy ..\common\$D\memory.obj - copy ..\common\$D\mimetype.obj + copy ..\common\$D\menucmn.obj + copy ..\common\$D\mimecmn.obj copy ..\common\$D\module.obj copy ..\common\$D\mstream.obj copy ..\common\$D\object.obj @@ -637,6 +727,7 @@ $(COMLIBOBJS2): copy ..\common\$D\prntbase.obj copy ..\common\$D\process.obj copy ..\common\$D\protocol.obj + copy ..\common\$D\quantize.obj copy ..\common\$D\resource.obj copy ..\common\$D\sckaddr.obj copy ..\common\$D\sckfile.obj @@ -646,15 +737,16 @@ $(COMLIBOBJS2): copy ..\common\$D\sizer.obj copy ..\common\$D\socket.obj copy ..\common\$D\strconv.obj + +$(COMLIBOBJS3): copy ..\common\$D\stream.obj copy ..\common\$D\string.obj copy ..\common\$D\tbarbase.obj - copy ..\common\$D\tbarsmpl.obj copy ..\common\$D\textcmn.obj copy ..\common\$D\textfile.obj - copy ..\common\$D\time.obj copy ..\common\$D\timercmn.obj copy ..\common\$D\tokenzr.obj + copy ..\common\$D\treebase.obj copy ..\common\$D\txtstrm.obj copy ..\common\$D\unzip.obj copy ..\common\$D\url.obj @@ -663,23 +755,28 @@ $(COMLIBOBJS2): copy ..\common\$D\validate.obj copy ..\common\$D\valtext.obj copy ..\common\$D\variant.obj - -$(COMLIBOBJS3): copy ..\common\$D\wfstream.obj copy ..\common\$D\wincmn.obj copy ..\common\$D\wxchar.obj copy ..\common\$D\wxexpr.obj + copy ..\common\$D\xpmdecod.obj copy ..\common\$D\y_tab.obj copy ..\common\$D\zipstrm.obj copy ..\common\$D\zstream.obj $(GENLIBOBJS): copy ..\generic\$D\busyinfo.obj + copy ..\generic\$D\calctrl.obj copy ..\generic\$D\caret.obj copy ..\generic\$D\choicdgg.obj copy ..\generic\$D\colrdlgg.obj + copy ..\generic\$D\dragimgg.obj copy ..\generic\$D\dcpsg.obj + copy ..\generic\$D\dirctrlg.obj + copy ..\generic\$D\fontdlgg.obj copy ..\generic\$D\grid.obj + copy ..\generic\$D\gridctrl.obj + copy ..\generic\$D\gridsel.obj copy ..\generic\$D\helpext.obj copy ..\generic\$D\helphtml.obj copy ..\generic\$D\helpwxht.obj @@ -701,11 +798,16 @@ $(GENLIBOBJS): copy ..\generic\$D\splitter.obj copy ..\generic\$D\statusbr.obj copy ..\generic\$D\tabg.obj + copy ..\generic\$D\tbarsmpl.obj copy ..\generic\$D\textdlgg.obj copy ..\generic\$D\tipdlg.obj - copy ..\generic\$D\treectrl.obj + copy ..\generic\$D\tipwin.obj + copy ..\generic\$D\treectlg.obj + copy ..\generic\$D\treelay.obj + copy ..\generic\$D\wizard.obj $(HTMLLIBOBJS): + copy ..\html\$D\helpctrl.obj copy ..\html\$D\helpdata.obj copy ..\html\$D\helpfrm.obj copy ..\html\$D\htmlcell.obj @@ -714,15 +816,16 @@ $(HTMLLIBOBJS): copy ..\html\$D\htmltag.obj copy ..\html\$D\htmlwin.obj copy ..\html\$D\htmprint.obj + copy ..\html\$D\m_dflist.obj copy ..\html\$D\m_fonts.obj copy ..\html\$D\m_hline.obj copy ..\html\$D\m_image.obj copy ..\html\$D\m_layout.obj copy ..\html\$D\m_links.obj copy ..\html\$D\m_list.obj + copy ..\html\$D\m_meta.obj copy ..\html\$D\m_pre.obj copy ..\html\$D\m_tables.obj - copy ..\html\$D\search.obj copy ..\html\$D\winpars.obj $(OS2LIBOBJS1): @@ -748,15 +851,20 @@ $(OS2LIBOBJS1): copy ..\os2\$D\dcprint.obj copy ..\os2\$D\dcscreen.obj copy ..\os2\$D\dialog.obj + copy ..\os2\$D\dir.obj copy ..\os2\$D\dirdlg.obj copy ..\os2\$D\dnd.obj copy ..\os2\$D\filedlg.obj copy ..\os2\$D\font.obj copy ..\os2\$D\fontdlg.obj + copy ..\os2\$D\fontenum.obj + copy ..\os2\$D\fontutil.obj copy ..\os2\$D\frame.obj copy ..\os2\$D\gauge.obj + copy ..\os2\$D\gdiimage.obj copy ..\os2\$D\gdiobj.obj copy ..\os2\$D\gsocket.obj + copy ..\os2\$D\gsockpm.obj copy ..\os2\$D\helpwin.obj copy ..\os2\$D\icon.obj copy ..\os2\$D\iniconf.obj @@ -766,13 +874,14 @@ $(OS2LIBOBJS1): copy ..\os2\$D\mdi.obj copy ..\os2\$D\menu.obj copy ..\os2\$D\menuitem.obj + +$(OS2LIBOBJS2): copy ..\os2\$D\metafile.obj + copy ..\os2\$D\mimetype.obj copy ..\os2\$D\minifram.obj copy ..\os2\$D\msgdlg.obj copy ..\os2\$D\nativdlg.obj copy ..\os2\$D\notebook.obj - -$(OS2LIBOBJS2): copy ..\os2\$D\ownerdrw.obj copy ..\os2\$D\palette.obj copy ..\os2\$D\pen.obj @@ -801,6 +910,7 @@ $(OS2LIBOBJS2): copy ..\os2\$D\utilsexc.obj copy ..\os2\$D\wave.obj copy ..\os2\$D\window.obj + copy ..\os2\$D\xpmhand.obj # wxWindows library as DLL dll: @@ -838,57 +948,57 @@ pch1: dirs $(DUMMYOBJ) ### Static library $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1) - touch $(WXDIR)\lib\wxcom1.lib - del $(WXDIR)\lib\wxcom1.lib + -touch $(WXDIR)\lib\wxcom1.lib + -del $(WXDIR)\lib\wxcom1.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2) - touch $(WXDIR)\lib\wxcom2.lib - del $(WXDIR)\lib\wxcom2.lib + -touch $(WXDIR)\lib\wxcom2.lib + -del $(WXDIR)\lib\wxcom2.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3) - touch $(WXDIR)\lib\wxcom3.lib - del $(WXDIR)\lib\wxcom3.lib + -touch $(WXDIR)\lib\wxcom3.lib + -del $(WXDIR)\lib\wxcom3.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS) - touch $(WXDIR)\lib\wxgen.lib - del $(WXDIR)\lib\wxgen.lib + -touch $(WXDIR)\lib\wxgen.lib + -del $(WXDIR)\lib\wxgen.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS) - touch $(WXDIR)\lib\wxhtml.lib - del $(WXDIR)\lib\wxhtml.lib + -touch $(WXDIR)\lib\wxhtml.lib + -del $(WXDIR)\lib\wxhtml.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS) - touch $(WXDIR)\lib\wxnones.lib - del $(WXDIR)\lib\wxnones.lib + -touch $(WXDIR)\lib\wxnones.lib + -del $(WXDIR)\lib\wxnones.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1) - touch $(WXDIR)\lib\wxos21.lib - del $(WXDIR)\lib\wxos21.lib + -touch $(WXDIR)\lib\wxos21.lib + -del $(WXDIR)\lib\wxos21.lib ilib $(LIBFLAGS) $@ @<< $**; << $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2) - touch $(WXDIR)\lib\wxos22.lib - del $(WXDIR)\lib\wxos22.lib + -touch $(WXDIR)\lib\wxos22.lib + -del $(WXDIR)\lib\wxos22.lib ilib $(LIBFLAGS) $@ @<< $**; << @@ -905,45 +1015,35 @@ $(WXDIR)\lib\wx.lib: \ $(OS2TEMPTGT1) \ $(OS2TEMPTGT2) \ $(PERIPH_LIBS) - touch $(LIBTARGET) - del $(LIBTARGET) + -touch $(LIBTARGET) + -del $(LIBTARGET) ilib $(LIBFLAGS) $@ @<< $**; << - del $(COMTEMPTGT1) - del $(COMTEMPTGT2) - del $(COMTEMPTGT3) - del $(GENTEMPTGT) - del $(HTMLTEMPTGT) - del $(NONESTEMPTGT) - del $(OS2TEMPTGT1) - del $(OS2TEMPTGT2) + del $(COMTEMPTGT1) + del $(COMTEMPTGT2) + del $(COMTEMPTGT3) + del $(GENTEMPTGT) + del $(HTMLTEMPTGT) + del $(NONESTEMPTGT) + del $(OS2TEMPTGT1) + del $(OS2TEMPTGT2) !else -# Update the import library -$(WXDIR)\lib\wx210.lib: $(OBJECTS) - implib $(WXDIR)\lib\wx210.lib $(WXDIR)\lib\wx210.def - # Update the dynamic link library -$(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx210.lib +$(WXDIR)\lib\wx23.dll: $(OBJECTS) icc @<< /B" $(LINKFLAGS)" /Fe$@ $(LIBS) + $(DUMMYOBJ) $(OBJECTS) - $(WXDIR)\lib\wx210.def + $(WXDIR)\src\os2\wx23.def << + implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def !endif -$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h - icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp - -$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h - icc @<< -$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp -<< - # If taking wxWindows from CVS, setup.h doesn't exist yet. $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak @@ -972,20 +1072,72 @@ $(OBJECTS): $(WXDIR)/include/wx/setup.h $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c << -clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm - -erase $(LIBTARGET) - -erase ..\..\lib\wx200.dll - -erase ..\..\lib\wx200.lib - -erase $(GENDIR)\$D\*.obj - -erase $(COMMDIR)\$D\*.obj - -erase $(COMMDIR)\\y_tab.c - -erase $(COMMDIR)\lex_yy.c - -erase $(OS2DIR)\$D\*.obj - -rmdir $(D) - -rmdir ..\generic\$(D) - -rmdir ..\common\$(D) - -rmdir ..\html\$(D) - -rmdir ..\os2\$(D) +png: + cd $(WXDIR)\src\png + nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) + cd $(WXDIR)\src\os2 + +clean_png: + cd $(WXDIR)\src\png + nmake -f makefile.va clean + cd $(WXDIR)\src\os2 + +zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) + cd $(WXDIR)\src\os2 + +clean_zlib: + cd $(WXDIR)\src\zlib + nmake -f makefile.va clean + cd $(WXDIR)\src\os2 + +jpeg: + cd $(WXDIR)\src\jpeg + nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) + cd $(WXDIR)\src\os2 + +clean_jpeg: + cd $(WXDIR)\src\jpeg + nmake -f makefile.va clean + cd $(WXDIR)\src\os2 + +xpm: + cd $(WXDIR)\src\xpm + nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) + cd $(WXDIR)\src\os2 + +clean_xpm: + cd $(WXDIR)\src\xpm + nmake -f makefile.va clean + cd $(WXDIR)\src\os2 + +tiff: + cd $(WXDIR)\src\tiff + nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) + cd $(WXDIR)\src\os2 + +clean_tiff: + cd $(WXDIR)\src\tiff + nmake -f makefile.va clean + cd $(WXDIR)\src\os2 + +clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff + erase /N $(GENDIR)\$D\*.obj + erase /N $(COMMDIR)\$D\*.obj + erase /N $(HTMLDIR)\$D\*.obj + erase /N $(OS2DIR)\$D\*.obj + erase /N $(COMMDIR)\y_tab.c + erase /N $(COMMDIR)\lex_yy.c + rd $(D) + rd ..\generic\$D + rd ..\common\$D + rd ..\html\$D + rd ..\os2\$D + del $(LIBTARGET) +!if "$(WXMAKINGDLL)" == "1" + erase /N ..\..\lib\wx23.lib +!endif cleanall: clean