X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/610a6ee998c5c10a3dcad672f6e1e4b44d3f8929..d1f9b2061171dcf095398af34de10dc4ff26dfb6:/src/os2/makefile.va diff --git a/src/os2/makefile.va b/src/os2/makefile.va index e6ac4346cf..1bd843ce90 100644 --- a/src/os2/makefile.va +++ b/src/os2/makefile.va @@ -96,11 +96,15 @@ $(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\dragimgg.obj \ + ..\generic\$D\fontdlgg.obj \ ..\generic\$D\grid.obj \ + ..\generic\$D\gridsel.obj \ ..\generic\$D\helpext.obj \ ..\generic\$D\helphtml.obj \ ..\generic\$D\helpwxht.obj \ @@ -111,6 +115,7 @@ GENERICOBJS= \ ..\generic\$D\logg.obj \ ..\generic\$D\numdlgg.obj \ ..\generic\$D\panelg.obj \ + ..\generic\$D\plot.obj \ ..\generic\$D\printps.obj \ ..\generic\$D\prntdlgg.obj \ ..\generic\$D\progdlgg.obj \ @@ -122,20 +127,27 @@ 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\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 \ + dragimgg.obj \ + fontdlgg.obj \ grid.obj \ + gridsel.obj \ helpext.obj \ helphtml.obj \ helpwxht.obj \ @@ -146,6 +158,7 @@ GENLIBOBJS= \ logg.obj \ numdlgg.obj \ panelg.obj \ + plot.obj \ printps.obj \ prntdlgg.obj \ progdlgg.obj \ @@ -157,36 +170,43 @@ GENLIBOBJS= \ splitter.obj \ statusbr.obj \ tabg.obj \ + tbarsmpl.obj \ textdlgg.obj \ tipdlg.obj \ - treectrl.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\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\dbtable.obj \ +!endif ..\common\$D\dcbase.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\encconv.obj \ ..\common\$D\event.obj \ ..\common\$D\extended.obj \ ..\common\$D\ffile.obj \ @@ -195,11 +215,14 @@ COMMONOBJS = \ ..\common\$D\filefn.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 \ @@ -212,6 +235,7 @@ COMMONOBJS = \ ..\common\$D\imagpcx.obj \ ..\common\$D\imagpng.obj \ ..\common\$D\imagpnm.obj \ + ..\common\$D\imagtiff.obj \ ..\common\$D\intl.obj \ ..\common\$D\ipcbase.obj \ ..\common\$D\layout.obj \ @@ -222,15 +246,20 @@ COMMONOBJS = \ ..\common\$D\matrix.obj \ ..\common\$D\memory.obj \ ..\common\$D\menucmn.obj \ - ..\common\$D\mimetype.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 \ @@ -245,9 +274,9 @@ COMMONOBJS = \ ..\common\$D\tbarbase.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 \ @@ -268,22 +297,24 @@ COMLIBOBJS1 = \ appcmn.obj \ choiccmn.obj \ clipcmn.obj \ + cmdline.obj \ cmndata.obj \ config.obj \ ctrlcmn.obj \ ctrlsub.obj \ - date.obj \ datetime.obj \ datstrm.obj \ db.obj \ dbtable.obj \ dcbase.obj \ + dndcmn.obj \ dlgcmn.obj \ dobjcmn.obj \ docmdi.obj \ docview.obj \ dynarray.obj \ dynlib.obj \ + encconv.obj \ event.obj \ extended.obj \ ffile.obj \ @@ -292,25 +323,29 @@ COMLIBOBJS1 = \ filefn.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 \ helpbase.obj \ http.obj \ imagall.obj \ imagbmp.obj \ - image.obj \ + image.obj + +COMLIBOBJS2 = \ imaggif.obj \ imagjpeg.obj \ imagpcx.obj \ imagpng.obj \ - imagpnm.obj - -COMLIBOBJS2 = \ + imagpnm.obj \ + imagtiff.obj \ intl.obj \ ipcbase.obj \ layout.obj \ @@ -321,15 +356,17 @@ COMLIBOBJS2 = \ matrix.obj \ memory.obj \ menucmn.obj \ - mimetype.obj \ + mimecmn.obj \ module.obj \ mstream.obj \ object.obj \ objstrm.obj \ + odbc.obj \ paper.obj \ prntbase.obj \ process.obj \ protocol.obj \ + quantize.obj \ resource.obj \ sckaddr.obj \ sckfile.obj \ @@ -344,17 +381,17 @@ COMLIBOBJS2 = \ tbarbase.obj \ textcmn.obj \ textfile.obj \ - time.obj \ - timercmn.obj \ + timercmn.obj + +COMLIBOBJS3 = \ tokenzr.obj \ + treebase.obj \ txtstrm.obj \ unzip.obj \ url.obj \ utilscmn.obj \ valgen.obj \ - validate.obj - -COMLIBOBJS3 = \ + validate.obj \ valtext.obj \ variant.obj \ wfstream.obj \ @@ -393,6 +430,8 @@ OS2OBJS = \ ..\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\gdiobj.obj \ @@ -408,6 +447,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 \ @@ -469,6 +509,8 @@ OS2LIBOBJS1 = \ filedlg.obj \ font.obj \ fontdlg.obj \ + fontenum.obj \ + fontutil.obj \ frame.obj \ gauge.obj \ gdiimage.obj \ @@ -484,11 +526,12 @@ OS2LIBOBJS1 = \ menu.obj \ menuitem.obj \ metafile.obj \ - minifram.obj \ - msgdlg.obj \ - nativdlg.obj + mimetype.obj OS2LIBOBJS2 = \ + minifram.obj \ + msgdlg.obj \ + nativdlg.obj \ notebook.obj \ ownerdrw.obj \ palette.obj \ @@ -529,12 +572,14 @@ 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\winpars.obj @@ -549,12 +594,14 @@ 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 \ winpars.obj @@ -563,7 +610,7 @@ HTMLLIBOBJS = \ OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS) # Normal, static library -all: $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET) +all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET) dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D @@ -571,26 +618,34 @@ dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D test: $(OS2DIR)\$D\wave.obj test2: ..\common\Debug\config.obj +$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 /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\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\dbtable.obj copy ..\common\$D\dcbase.obj copy ..\common\$D\dlgcmn.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\encconv.obj copy ..\common\$D\event.obj copy ..\common\$D\extended.obj copy ..\common\$D\ffile.obj @@ -599,11 +654,14 @@ $(COMLIBOBJS1): copy ..\common\$D\filefn.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 copy ..\common\$D\helpbase.obj @@ -611,13 +669,14 @@ $(COMLIBOBJS1): copy ..\common\$D\imagall.obj copy ..\common\$D\imagbmp.obj copy ..\common\$D\image.obj + +$(COMLIBOBJS2): copy ..\common\$D\imaggif.obj copy ..\common\$D\imagjpeg.obj copy ..\common\$D\imagpcx.obj copy ..\common\$D\imagpng.obj copy ..\common\$D\imagpnm.obj - -$(COMLIBOBJS2): + copy ..\common\$D\imagtiff.obj copy ..\common\$D\intl.obj copy ..\common\$D\ipcbase.obj copy ..\common\$D\layout.obj @@ -628,15 +687,17 @@ $(COMLIBOBJS2): copy ..\common\$D\matrix.obj copy ..\common\$D\memory.obj copy ..\common\$D\menucmn.obj - copy ..\common\$D\mimetype.obj + copy ..\common\$D\mimecmn.obj copy ..\common\$D\module.obj copy ..\common\$D\mstream.obj copy ..\common\$D\object.obj copy ..\common\$D\objstrm.obj + copy ..\common\$D\odbc.obj copy ..\common\$D\paper.obj 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 @@ -651,17 +712,17 @@ $(COMLIBOBJS2): copy ..\common\$D\tbarbase.obj copy ..\common\$D\textcmn.obj copy ..\common\$D\textfile.obj - copy ..\common\$D\time.obj copy ..\common\$D\timercmn.obj + +$(COMLIBOBJS3): 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 copy ..\common\$D\utilscmn.obj copy ..\common\$D\valgen.obj copy ..\common\$D\validate.obj - -$(COMLIBOBJS3): copy ..\common\$D\valtext.obj copy ..\common\$D\variant.obj copy ..\common\$D\wfstream.obj @@ -674,11 +735,15 @@ $(COMLIBOBJS3): $(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\fontdlgg.obj copy ..\generic\$D\grid.obj + copy ..\generic\$D\gridsel.obj copy ..\generic\$D\helpext.obj copy ..\generic\$D\helphtml.obj copy ..\generic\$D\helpwxht.obj @@ -689,6 +754,7 @@ $(GENLIBOBJS): copy ..\generic\$D\logg.obj copy ..\generic\$D\numdlgg.obj copy ..\generic\$D\panelg.obj + copy ..\generic\$D\plot.obj copy ..\generic\$D\printps.obj copy ..\generic\$D\prntdlgg.obj copy ..\generic\$D\progdlgg.obj @@ -700,9 +766,12 @@ $(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\treectlg.obj + copy ..\generic\$D\treelay.obj + copy ..\generic\$D\wizard.obj $(HTMLLIBOBJS): copy ..\html\$D\helpctrl.obj @@ -714,12 +783,14 @@ $(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\winpars.obj @@ -752,6 +823,8 @@ $(OS2LIBOBJS1): 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 @@ -767,11 +840,12 @@ $(OS2LIBOBJS1): copy ..\os2\$D\menu.obj copy ..\os2\$D\menuitem.obj copy ..\os2\$D\metafile.obj + copy ..\os2\$D\mimetype.obj + +$(OS2LIBOBJS2): copy ..\os2\$D\minifram.obj copy ..\os2\$D\msgdlg.obj copy ..\os2\$D\nativdlg.obj - -$(OS2LIBOBJS2): copy ..\os2\$D\notebook.obj copy ..\os2\$D\ownerdrw.obj copy ..\os2\$D\palette.obj @@ -910,40 +984,30 @@ $(WXDIR)\lib\wx.lib: \ 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\wx22.dll: $(OBJECTS) icc @<< /B" $(LINKFLAGS)" /Fe$@ $(LIBS) + $(DUMMYOBJ) $(OBJECTS) - $(WXDIR)\lib\wx210.def + $(WXDIR)\lib\wx22.def << + implib $(WXDIR)\lib\wx22.lib $(WXDIR)\lib\wx22.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 @@ -1012,20 +1076,32 @@ clean_xpm: nmake -f makefile.va clean cd $(WXDIR)\src\os2 -clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm - del $(LIBTARGET) - erase /N ..\..\lib\wx200.dll - erase /N ..\..\lib\wx200.lib +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 $(COMMDIR)\\y_tab.c - erase /N $(COMMDIR)\lex_yy.c + 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) + rd ..\generic\$D + rd ..\common\$D + rd ..\html\$D + rd ..\os2\$D + del $(LIBTARGET) +!if "$(WXMAKINGDLL)" == "1" + erase /N ..\..\lib\wx22.lib +!endif cleanall: clean