build on Xcode 2.1 which uses per-build configuration build directories. b=296900 r=josh r=cls r=bsmedberg a=bsmedberg

This commit is contained in:
joshmoz%gmail.com 2005-06-08 02:50:56 +00:00
Родитель b525135e04
Коммит 624f8ca62a
2 изменённых файлов: 7 добавлений и 4 удалений

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

@ -743,6 +743,12 @@ ifeq (2,$(MOZ_OPTIMIZE))
PBBUILD_SETTINGS += GCC_MODEL_TUNING= OPTIMIZATION_CFLAGS="$(MOZ_OPTIMIZE_FLAGS)"
endif # MOZ_OPTIMIZE=2
endif # MOZ_OPTIMIZE
ifneq (,$(findstring xcodebuild,$(PBBUILD)))
# Tell Xcode 2.1 to put its build products where earlier versions of Xcode
# and Project Builder did. This gets set when using earlier Xcodes as well,
# but "build" is the default in that case.
PBBUILD_SETTINGS += TARGET_BUILD_DIR=build BUILT_PRODUCTS_DIR=build
endif # PBBUILD contains "xcodebuild"
endif # OS_ARCH=Darwin

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

@ -92,19 +92,16 @@ export::
ln -fs $(srcdir)/Info-*.plist .
endif
all:: build-plugin
libs install:: install-plugin
install-plugin: build-plugin
$(INSTALL) "build/Default Plugin.plugin" $(DIST)/bin/plugins
$(INSTALL) "build/DefaultPlugin.build/Default Plugin.build/PkgInfo" "$(DIST)/bin/plugins/Default Plugin.plugin/Contents"
resources: $(RESOURCE_FILES)
build-plugin: resources
$(PBBUILD) $(PROJECT_ARG) -target $(TARGET) -buildstyle $(BUILDSTYLE) $(PBBUILD_ARG)
echo -n NSPLMOSS > "build/DefaultPlugin.build/Default Plugin.build/PkgInfo"
echo -n NSPLMOSS > "build/Default Plugin.plugin/Contents/PkgInfo"
_%.rsrc: %.rsrc
$(ASDECODE) $< $@