Makefile revision 5525
667N/A# The contents of this file are subject to the terms of the 667N/A# Common Development and Distribution License (the "License"). 667N/A# You may not use this file except in compliance with the License. 667N/A# See the License for the specific language governing permissions 667N/A# and limitations under the License. 667N/A# When distributing Covered Code, include this CDDL HEADER in each 667N/A# If applicable, add the following below this CDDL HEADER, with the 667N/A# fields enclosed by brackets "[]" replaced with your own identifying 667N/A# information: Portions Copyright [yyyy] [name of copyright owner] 667N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 667N/A# parfait is a bit unhappy (22527218) 667N/A# There are a set of .xpi files (as given in the LANG_LIST definition below) 3996N/A# that we need. These are available under: 3996N/A# 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. # Firefox and Thunderbird share the same firefox*.patch patches. Copy these # patches from the Firefox patches directory, except for patches 42 and 46, # which don't get applied in Thunderbird. # Depends on libsmbclient but samba is on the do-not-publish list, so this echo "mk_add_options BUILD_OFFICIAL=1" >
$(MOZCONFIG) ; \
echo "mk_add_options MOZILLA_OFFICIAL=1" >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-application=mail" >>
$(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 --with-rpath="\\\\\\$$\\$$ORIGIN"' >>
$(MOZCONFIG) ; \
echo "ac_add_options --enable-startup-notification" >>
$(MOZCONFIG) ;
# 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/gcc: invalid host type # configure: error: can only configure for one host and one target at a time # Path to lightning extension directory '-e "/\(^TEST-PASS\).*/d" '