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.

This commit is contained in:
mark%moxienet.com 2006-02-14 03:42:42 +00:00
Родитель c0887f9e1d
Коммит 969400b8c5
10 изменённых файлов: 11 добавлений и 39 удалений

Просмотреть файл

@ -68,13 +68,6 @@ TARGETS += elf-dynstr-gc
endif
endif
ifeq ($(OS_ARCH), Darwin)
# XXX Setting CPP_PROG_LINK is ugly, but it works (it makes nsinstall
# link with $(CXX)). asdecode should really be in its own directory.
CPP_PROG_LINK = 1
SIMPLE_PROGRAMS += asdecode
endif
# IMPORTANT: Disable NSBUILDROOT for this directory only, otherwise we have
# a recursive rule for finding nsinstall and the Perl scripts.
ifdef NSBUILDROOT

Просмотреть файл

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

Просмотреть файл

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

Просмотреть файл

@ -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

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.9 KiB

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Просмотреть файл

@ -406,14 +406,14 @@
};
F59D146D02AC308301000104 = {
isa = PBXFileReference;
name = _Dialogs.rsrc;
path = Resources/_Dialogs.rsrc;
name = Dialogs.rsrc;
path = Resources/Dialogs.rsrc;
refType = 2;
};
F59D146E02AC308301000104 = {
isa = PBXFileReference;
name = _Strings.rsrc;
path = Resources/_Strings.rsrc;
name = Strings.rsrc;
path = Resources/Strings.rsrc;
refType = 2;
};
F59D146F02AC308301000104 = {

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.1 KiB

После

Ширина:  |  Высота:  |  Размер: 1.0 KiB

Просмотреть файл

@ -1,15 +1,3 @@
# decodes resource files from AppleSingle to Resource Manager format.
ASDECODE = ../../../../../dist/bin/asdecode
RESOURCE_FILES = _Dialogs.rsrc _Strings.rsrc
all: $(RESOURCE_FILES)
_Dialogs.rsrc: Dialogs.rsrc
$(ASDECODE) Dialogs.rsrc _Dialogs.rsrc
_Strings.rsrc: Strings.rsrc
$(ASDECODE) Strings.rsrc _Strings.rsrc
clean:
rm -f $(RESOURCE_FILES)
all:
@echo These .rsrc files are now distributed as resources in data forks.
@echo No further processing is necessary.

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 1.6 KiB

После

Ширина:  |  Высота:  |  Размер: 1.5 KiB

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 762 B

После

Ширина:  |  Высота:  |  Размер: 668 B