allmakefiles.sh
author Philip Chee <philip.chee@gmail.com>
Tue, 04 Sep 2012 12:12:30 +0800
changeset 12988 48aaa163f60071018cc9e8f63ac4c36b578a0b0e
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 13207 493c0d246a5ead3bbfda7fee2827223db343e99f
permissions -rwxr-xr-x
Bug 787903 Plugin check pref set to mozilla.com instead of mozilla.org causing a useless redirect and making it vulnerable to improper redirects in mozilla.com (Port Bug 752161) r=IanN, a=IanN

#! /bin/sh
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# allmakefiles.sh - List of all makefiles.
#   Appends the list of makefiles to the variable, MAKEFILES.
#   There is no need to rerun autoconf after adding makefiles.
#   You only need to run configure.

MAKEFILES=""

# add_makefiles - Shell function to add makefiles to MAKEFILES
add_makefiles() {
  MAKEFILES="$MAKEFILES $*"
}

if [ "$srcdir" = "" ]; then
  srcdir=.
fi

#
# Common makefiles used by everyone
#
add_makefiles "
Makefile
config/autoconf.mk
"

if [ "$MOZ_LDAP_XPCOM" ]; then
  . "${srcdir}/ldap/makefiles.sh"
fi

if [ "$MOZ_MORK" ]; then
  . "${srcdir}/db/makefiles.sh"
fi

if [ "$MOZ_COMPOSER" ]; then
  . "${srcdir}/editor/ui/makefiles.sh"
fi

. "${srcdir}/mailnews/makefiles.sh"

if [ "$MOZ_CALENDAR" ]; then
  . "${srcdir}/calendar/shared_makefiles.sh"
  . "${srcdir}/calendar/lightning/makefiles.sh"
fi

#
# Application-specific makefiles
#
if test -f "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"; then
  . "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
fi