Kaydet (Commit) 5ee24ae9 authored tarafından Jack Jansen's avatar Jack Jansen

Weaklink most toolbox modules, improving backward compatibility. Modules will no…

Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.
üst 29ac3cb7
...@@ -132,11 +132,13 @@ def genallprojects(force=0): ...@@ -132,11 +132,13 @@ def genallprojects(force=0):
# bgen-generated Toolbox modules # bgen-generated Toolbox modules
genpluginproject("carbon", "_AE", outputdir="::Lib:Carbon") genpluginproject("carbon", "_AE", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_AE", libraries=["ObjectSupportLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_AE", libraries=["ObjectSupportLib"],
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_App", libraries=["CarbonAccessors.o", "AppearanceLib"], genpluginproject("ppc", "_App", libraries=["CarbonAccessors.o", "AppearanceLib"],
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_App", outputdir="::Lib:Carbon") genpluginproject("carbon", "_App", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Cm", libraries=["QuickTimeLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_Cm", libraries=["QuickTimeLib"],
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Cm", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Cm", outputdir="::Lib:Carbon")
# XXX can't work properly because we need to set a custom fragment initializer # XXX can't work properly because we need to set a custom fragment initializer
#genpluginproject("carbon", "_CG", #genpluginproject("carbon", "_CG",
...@@ -150,29 +152,40 @@ def genallprojects(force=0): ...@@ -150,29 +152,40 @@ def genallprojects(force=0):
genpluginproject("ppc", "_Dlg", libraries=["CarbonAccessors.o", "DialogsLib", "AppearanceLib"], genpluginproject("ppc", "_Dlg", libraries=["CarbonAccessors.o", "DialogsLib", "AppearanceLib"],
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Drag", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Drag", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Drag", libraries=["DragLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_Drag", libraries=["DragLib"],
genpluginproject("all", "_Evt", outputdir="::Lib:Carbon") libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Fm", outputdir="::Lib:Carbon") genpluginproject("all", "_Evt",
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Fm",
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Help", outputdir="::Lib:Carbon") genpluginproject("ppc", "_Help", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_Icn", libraries=["IconServicesLib"],
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Icn", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Icn", outputdir="::Lib:Carbon")
genpluginproject("all", "_List", outputdir="::Lib:Carbon") genpluginproject("all", "_List", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Menu", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Menu", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Menu", libraries=["CarbonAccessors.o", "MenusLib", "ContextualMenu", "AppearanceLib"], genpluginproject("ppc", "_Menu", libraries=["CarbonAccessors.o", "MenusLib", "ContextualMenu", "AppearanceLib"],
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Qd", outputdir="::Lib:Carbon") genpluginproject("all", "_Qd",
genpluginproject("ppc", "_Qt", libraries=["QuickTimeLib"], outputdir="::Lib:Carbon") stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Qt", outputdir="::Lib:Carbon") genpluginproject("ppc", "_Qt", libraries=["QuickTimeLib"],
genpluginproject("all", "_Qdoffs", outputdir="::Lib:Carbon") libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Qt",
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Qdoffs",
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Res", genpluginproject("all", "_Res",
stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon") stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("all", "_Scrap", outputdir="::Lib:Carbon") genpluginproject("all", "_Scrap", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Snd", libraries=["CarbonAccessors.o", "SoundLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_Snd", libraries=["CarbonAccessors.o", "SoundLib"], outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Snd", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Snd", outputdir="::Lib:Carbon")
genpluginproject("all", "_Sndihooks", sources=[":snd:_Sndihooks.c"], outputdir="::Lib:Carbon") genpluginproject("all", "_Sndihooks", sources=[":snd:_Sndihooks.c"], outputdir="::Lib:Carbon")
genpluginproject("ppc", "_TE", libraries=["CarbonAccessors.o", "DragLib"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_TE", libraries=["CarbonAccessors.o", "DragLib"],
stdlibraryflags="Debug, WeakImport",
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_TE", outputdir="::Lib:Carbon") genpluginproject("carbon", "_TE", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Mlte", libraries=["Textension"], outputdir="::Lib:Carbon") genpluginproject("ppc", "_Mlte", libraries=["Textension"],
libraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Mlte", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Mlte", outputdir="::Lib:Carbon")
genpluginproject("carbon", "_Win", outputdir="::Lib:Carbon") genpluginproject("carbon", "_Win", outputdir="::Lib:Carbon")
genpluginproject("ppc", "_Win", libraries=["CarbonAccessors.o", "WindowsLib", "AppearanceLib"], genpluginproject("ppc", "_Win", libraries=["CarbonAccessors.o", "WindowsLib", "AppearanceLib"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment