Makefile revision 5253
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
MOZILLA_FTP = http://ftp.mozilla.org/pub/mozilla.org/$(COMPONENT_NAME)/releases/$(COMPONENT_VERSION)
TPNO= 22326
# There are a set of .xpi files (as given in the LANG_LIST definition below)
# that we need. These are available under:
# This downloads the xpis.
cd xpi ; \
done ; )
echo "mk_add_options BUILD_OFFICIAL=1" > .mozconfig ; \
echo "mk_add_options MOZILLA_OFFICIAL=1" >> .mozconfig ; \
echo "ac_add_options --prefix=/usr" >> .mozconfig ; \
echo "ac_add_options --disable-debug" >> .mozconfig ; \
echo "ac_add_options --enable-optimize" >> .mozconfig ; \
echo "ac_add_options --disable-tests" >> .mozconfig ; \
echo "ac_add_options --with-system-libevent" >> .mozconfig ; \
echo "ac_add_options --with-system-zlib" >> .mozconfig ; \
echo "ac_add_options --with-system-bz2" >> .mozconfig ; \
echo "ac_add_options --enable-system-ffi" >> .mozconfig ; \
echo "ac_add_options --enable-system-sqlite" >> .mozconfig ; \
echo "ac_add_options --enable-libxul" >> .mozconfig ; \
echo "ac_add_options --enable-jemalloc" >> .mozconfig ; \
echo "ac_add_options --enable-official-branding" >> .mozconfig ; \
echo "ac_add_options --disable-updater" >> .mozconfig ; \
echo "ac_add_options --enable-update-packaging" >> .mozconfig ; \
echo "ac_add_options --enable-ipc" >> .mozconfig ; \
echo "ac_add_options --with-system-zlib" >> .mozconfig ; \
echo "ac_add_options --with-system-bz2" >> .mozconfig ; \
echo "ac_add_options --enable-gstreamer" >> .mozconfig ; \
echo "ac_add_options --enable-system-pixman" >> .mozconfig ; \
echo "ac_add_options --without-intl-api" >> .mozconfig ; \
echo "ac_add_options --disable-crashreporter" >> .mozconfig ; \
echo "ac_add_options --enable-debug-symbols=no" >> .mozconfig ; \
echo "ac_add_options --enable-calendar" >> .mozconfig ; \
echo "ac_add_options --enable-startup-notification" >> .mozconfig ;
# If the configure options are not explicitly set, then configure fails with:
# invalid host type
# invalid host type
# configure: error: can only configure for one host and one target at a time
$(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103} ;
$(PROTOUSRLIBDIR)/thunderbird-$(COMPONENT_VERSION)/extensions/langpack-$$f@thunderbird.mozilla.org.xpi ; \
done ;
LIB_LIST.i386 =
LIB_LIST.sparc = $(PROTOUSRLIBDIR)/thunderbird-devel-$(COMPONENT_VERSION)/sdk/lib/cpu/sparcv8plus/libnspr_flt4.so
done ;
ASLR_MODE = $(ASLR_ENABLE)
'-e "/\(^TEST-PASS\).*/d" '
install: $(INSTALL_32)
test: $(TEST_32)