322578 Support ppc<->x86 cross builds for Mac OS X. Remove asdecode. r=josh sr=pink. This will break the build on Mac OS X 10.2 ("Jaguar"), and it's not going to be fixed. See bug 299214.

git-svn-id: svn://10.0.0.236/trunk@189927 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark%moxienet.com
2006-02-14 03:42:42 +00:00
parent e84d9756e0
commit 8c9c8808e3
10 changed files with 11 additions and 39 deletions

View File

@@ -349,7 +349,7 @@
};
F5E0C34D036A12DF01A96660 = {
isa = PBXFileReference;
path = _NullPlugin.rsrc;
path = NullPlugin.rsrc;
refType = 2;
};
F5E0C34E036A12DF01A96660 = {

View File

@@ -343,7 +343,7 @@
F5E0C34D036A12DF01A96660 = {
isa = PBXFileReference;
lastKnownFileType = file;
path = _NullPlugin.rsrc;
path = NullPlugin.rsrc;
refType = 2;
sourceTree = SOURCE_ROOT;
};

View File

@@ -76,10 +76,6 @@ PACKAGE_FILE = npnul.pkg
unexport CC CXX
# decodes resource files from AppleSingle to Resource Manager format.
ASDECODE = $(DIST)/bin/asdecode
RESOURCE_FILES = _NullPlugin.rsrc
# for objdir builds, copy the project, and symlink the sources
ABS_topsrcdir := $(shell cd $(topsrcdir); pwd)
ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
@@ -90,6 +86,7 @@ export::
ln -fs $(srcdir)/NullPlugin.cpp
ln -fs $(srcdir)/npmac.cpp
ln -fs $(srcdir)/Info-*.plist .
ln -fs $(srcdir)/NullPlugin.rsrc
endif
libs install:: install-plugin
@@ -97,15 +94,9 @@ libs install:: install-plugin
install-plugin: build-plugin
$(INSTALL) "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin" $(DIST)/bin/plugins
resources: $(RESOURCE_FILES)
build-plugin: resources
build-plugin:
$(PBBUILD) $(PROJECT_ARG) -target $(TARGET) -buildstyle $(BUILDSTYLE) $(PBBUILD_ARG)
echo -n NSPLMOSS > "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin/Contents/PkgInfo"
_%.rsrc: %.rsrc
$(ASDECODE) $< $@
clean clobber distclean::
rm -f $(RESOURCE_FILES)
rm -rf build

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB