added xpt_link tool to the Mac build (if build{xptlink}=1)

This commit is contained in:
jj%netscape.com 2000-08-02 22:10:54 +00:00
parent 6cda25b372
commit 5609e588e4
3 changed files with 16 additions and 0 deletions

View File

@ -67,6 +67,8 @@ $build{apprunner} = 0;
$build{resources} = 0;
$build{jars} = 0;
$build{xptlink} = 0;
$options{transformiix} = 0;
$options{mathml} = 0;
$options{svg} = 0;

View File

@ -100,6 +100,8 @@ $build{apprunner} = 0;
$build{resources} = 0;
$build{jars} = 0;
$build{xptlink} = 0;
$options{transformiix} = 0;
$options{mathml} = 0;
$options{svg} = 0;

View File

@ -1821,6 +1821,18 @@ sub BuildIDLProjects()
BuildIDLProject(":mozilla:extensions:xmlextras:macbuild:xmlextrasIDL.mcp", "xmlextras");
}
# xpt_link MPW tool, needed for merging xpt files (release build)
if ($main::build{xptlink})
{
my($codewarrior_msl) = getCodeWarriorPath("MSL:MSL_C:MSL_MacOS:");
if ( ! -e $codewarrior_msl . "Lib:PPC:MSL C.PPC MPW(NL).Lib") {
print("MSL PPC MPW Lib not found... Let's build it.\n");
BuildProject($codewarrior_msl . "Project:PPC:MSL C.PPC MPW.mcp", "MSL C.PPC MPW");
}
BuildOneProject(":mozilla:xpcom:typelib:xpidl:macbuild:xpidl.mcp", "xpt_link", 0, 0, 0);
}
print("--- IDL projects complete ----\n");
}