Fix for bug #92322, changes for Carbon/Mac OS X, r=peterl, sr=sfraser.

git-svn-id: svn://10.0.0.236/trunk@103900 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 2001-09-27 00:29:39 +00:00
parent a9b69df28b
commit f0c25d3bd0
3 changed files with 9 additions and 1 deletions

View File

@ -1881,6 +1881,9 @@ sub BuildPluginsProjects()
StartBuildModule("plugins");
# $C becomes a component of target names for selecting either the Carbon or non-Carbon target of a project
my($C) = $main::options{carbon} ? "Carbon" : "";
# as a temporary measure, make sure that the folder "MacOS Support:JNIHeaders" exists,
# before we attempt to build the MRJ plugin. This will allow a gradual transition.
if ( -e GetCodeWarriorRelativePath("MacOS Support:JNIHeaders"))
@ -1917,7 +1920,7 @@ sub BuildPluginsProjects()
my($plugin_path) = ":mozilla:modules:plugin:samples:default:mac:";
my($plugin_dist) = GetBinDirectory() . "Plug-ins:";
BuildProject($plugin_path . "NullPlugin.mcp", "NullPluginPPC");
BuildProject($plugin_path . "NullPlugin.mcp", "NullPluginPPC$C");
MakeAlias($plugin_path . "Default Plug-in", $plugin_dist);
EndBuildModule("plugins");

View File

@ -25,6 +25,11 @@
#include "npapi.h"
#endif
#include <Icons.h>
#include <Resources.h>
#include <Processes.h>
#include <Script.h>
#include <TextUtils.h>
#include <string.h>
#include <ctype.h>