Makefile revision 7209
# 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. # See the License for the specific language governing permissions # and limitations under the License. # When distributing Covered Code, include this CDDL HEADER in each # 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] # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. # parfait is a bit unhappy (22527218) # gcc 5.3 can't compile this version of firefox yet, so keep using 4.9 for now. # There are a set of .xpi files (as given in the LANG_LIST definition below) # that we need. These are available under: # We could download and unpack them individually, but instead I've created # a compressed tarball of them, and made that available locally for download. # collide due to different files with identical .xpi names. # Alignment issues on sparc: do not publish until resolved. # /usr/gnu/bin needed to pick up the GNU version of tail and readelf. 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 --enable-official-branding" >>
$(MOZCONFIG) ; \
echo "ac_add_options --disable-updater" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-debug-symbols=no" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-update-packaging" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-update-channel=esr" >>
$(MOZCONFIG) ; \
echo "ac_add_options --disable-tests" >>
$(MOZCONFIG) ; \
echo "ac_add_options --with-system-zlib" >>
$(MOZCONFIG) ; \
echo "ac_add_options --with-system-bz2" >>
$(MOZCONFIG) ; \
echo "ac_add_options --with-system-libevent" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-system-ffi" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-jemalloc" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-xinerama" >>
$(MOZCONFIG) ; \
echo "ac_add_options --disable-crashreporter" >>
$(MOZCONFIG) ; \
echo "ac_add_options --disable-pulseaudio" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-gstreamer" >>
$(MOZCONFIG) ; \
echo "ac_add_options --with-intl-api" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-system-libffi" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-system-sqlite" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-ipc" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-system-pixman" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-startup-notification" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-dtrace" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-replace-malloc" >>
$(MOZCONFIG) ;
# Currently, GCC 4.9 incorrectly forces all 32-bit compilation to use lf64(7) # If the configure options are not explicitly set, then configure fails with: # configure: warning: CC=/usr/gcc/4.8/bin/gcc: invalid host type # configure: warning: CXX=/usr/gcc/4.8/bin/g++: invalid host type # configure: error: can only configure for one host and one target at a time # Run gmake download-xpis to download a tarball for xpi locally. # The resulting archive should be uploaded to userland internal archive. @
echo "downloading firefox xpis" '-e "/^PASSED ALL/,/Failed:/p" ' \