backout 322578 asdecode and resources (again) due to jaguar fire (again)
|
@ -68,6 +68,13 @@ 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,6 +76,10 @@ 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))
|
||||
|
@ -86,7 +90,6 @@ 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
|
||||
|
@ -94,9 +97,15 @@ libs install:: install-plugin
|
|||
install-plugin: build-plugin
|
||||
$(INSTALL) "$(XCODE_PRODUCT_DIR)/Default Plugin.plugin" $(DIST)/bin/plugins
|
||||
|
||||
build-plugin:
|
||||
resources: $(RESOURCE_FILES)
|
||||
|
||||
build-plugin: resources
|
||||
$(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
|
||||
|
|
Двоичные данные
modules/plugin/samples/default/mac/NullPlugin.rsrc
До Ширина: | Высота: | Размер: 1.8 KiB После Ширина: | Высота: | Размер: 1.9 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 = {
|
||||
|
|
Двоичные данные
plugin/oji/MRJCarbon/plugin/Resources/Dialogs.rsrc
До Ширина: | Высота: | Размер: 1.0 KiB После Ширина: | Высота: | Размер: 1.1 KiB |
|
@ -1,3 +1,15 @@
|
|||
all:
|
||||
@echo These .rsrc files are now distributed as resources in data forks.
|
||||
@echo No further processing is necessary.
|
||||
# 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)
|
||||
|
|
Двоичные данные
plugin/oji/MRJCarbon/plugin/Resources/Strings.rsrc
До Ширина: | Высота: | Размер: 1.5 KiB После Ширина: | Высота: | Размер: 1.6 KiB |
Двоичные данные
plugin/oji/MRJCarbon/plugin/Resources/Version.rsrc
До Ширина: | Высота: | Размер: 668 B После Ширина: | Высота: | Размер: 762 B |