build/macosx/js-icc-flight.mk
author Phil Ringnalda <philringnalda@gmail.com>
Sat, 13 Jun 2009 11:53:38 -0700
changeset 29200 ee3149258d6402bf71e29dc0032f1ea46303d3ce
parent 13232 395b42a9c5d938614534957690c0f6aa4c7d9002
child 82719 9e94c7b5290f0c3591ba1182eeeadc65b5a318c9
permissions -rw-r--r--
Bug 495021 - CAPS unconditionally builds tests, r=shaver

OBJDIR_ICC = $(MOZ_OBJDIR)/js-icc
OBJDIR_X86 = $(MOZ_OBJDIR)/i386

include $(OBJDIR_X86)/config/autoconf.mk
include $(TOPSRCDIR)/config/config.mk

ifdef MOZ_DEBUG
DBGTAG = Debug
else
DBGTAG =
endif

# Just copy the icc-produced libmozjs.dylib over
postflight_all:
	echo "Postflight: copying libmozjs.dylib..."
	$(INSTALL) $(OBJDIR_ICC)/dist/bin/libmozjs.dylib $(OBJDIR_X86)/dist/$(MOZ_APP_DISPLAYNAME)$(DBGTAG).app/Contents/MacOS/