Bug 752461 - Hide click-to-play overlays when choosing "never activate plugins.....
[gecko.git] / allmakefiles.sh
blob09161e50a0cfca4a227fd46ee6e4495a986a0b72
1 #! /bin/sh
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 # You can obtain one at http://mozilla.org/MPL/2.0/.
7 # allmakefiles.sh - List of all makefiles.
8 # Appends the list of makefiles to the variable, MAKEFILES.
9 # There is no need to rerun autoconf after adding makefiles.
10 # You only need to run configure.
12 # Turn on exit on error
13 set -o errexit
15 MAKEFILES=""
17 # add_makefiles - Shell function to add makefiles to MAKEFILES
18 add_makefiles() {
19 MAKEFILES="$MAKEFILES $*"
22 if [ "$srcdir" = "" ]; then
23 srcdir=.
26 # Common makefiles used by everyone
27 add_makefiles "
28 Makefile
29 build/Makefile
30 build/pgo/Makefile
31 build/pgo/blueprint/Makefile
32 build/pgo/js-input/Makefile
33 config/Makefile
34 config/autoconf.mk
35 config/nspr/Makefile
36 config/doxygen.cfg
37 config/expandlibs_config.py
38 mfbt/Makefile
39 probes/Makefile
40 extensions/Makefile
43 if [ "$MOZ_WEBAPP_RUNTIME" ]; then
44 add_makefiles "
45 webapprt/Makefile
49 if [ ! "$LIBXUL_SDK" ]; then
50 if [ "$STLPORT_SOURCES" ]; then
51 add_makefiles "
52 build/stlport/Makefile
53 build/stlport/stl/config/_android.h
56 add_makefiles "
57 memory/mozalloc/Makefile
58 mozglue/Makefile
59 mozglue/build/Makefile
61 if [ "$MOZ_MEMORY" ]; then
62 add_makefiles "
63 memory/jemalloc/Makefile
64 memory/build/Makefile
67 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
68 add_makefiles "
69 other-licenses/android/Makefile
70 other-licenses/skia-npapi/Makefile
71 mozglue/android/Makefile
74 if [ "$MOZ_LINKER" ]; then
75 add_makefiles "
76 mozglue/linker/Makefile
81 if [ "$OS_ARCH" = "WINNT" ]; then
82 add_makefiles "
83 build/win32/Makefile
84 build/win32/crashinjectdll/Makefile
88 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
89 add_makefiles "
90 build/unix/Makefile
92 if [ "$STDCXX_COMPAT" ]; then
93 add_makefiles "
94 build/unix/stdc++compat/Makefile
97 if [ "$USE_ELF_HACK" ]; then
98 add_makefiles "
99 build/unix/elfhack/Makefile
104 if [ "$COMPILER_DEPEND" = "" -a "$MOZ_NATIVE_MAKEDEPEND" = "" ]; then
105 add_makefiles "
106 config/mkdepend/Makefile
110 if [ "$ENABLE_MARIONETTE" ]; then
111 add_makefiles "
112 testing/marionette/Makefile
113 testing/marionette/components/Makefile
114 testing/marionette/tests/Makefile
118 if [ "$ENABLE_TESTS" ]; then
119 add_makefiles "
120 build/autoconf/test/Makefile
121 config/makefiles/test/Makefile
122 config/tests/makefiles/autodeps/Makefile
123 config/tests/src-simple/Makefile
125 if [ ! "$LIBXUL_SDK" ]; then
126 add_makefiles "
127 mozglue/tests/Makefile
130 if [ "$_MSC_VER" -a "$OS_TEST" != "x86_64" ]; then
131 add_makefiles "
132 build/win32/vmwarerecordinghelper/Makefile
135 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
136 add_makefiles "
137 build/unix/test/Makefile
140 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
141 add_makefiles "
142 build/mobile/robocop/Makefile
143 build/mobile/sutagent/android/Makefile
144 build/mobile/sutagent/android/fencp/Makefile
145 build/mobile/sutagent/android/ffxcp/Makefile
146 build/mobile/sutagent/android/watcher/Makefile
151 # Application-specific makefiles
152 if [ -f "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh" ]; then
153 . "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
156 # Extension makefiles
157 for extension in $MOZ_EXTENSIONS; do
158 if [ -f "${srcdir}/extensions/${extension}/makefiles.sh" ]; then
159 . "${srcdir}/extensions/${extension}/makefiles.sh"
161 done
163 # Toolkit makefiles
164 if [ ! "$LIBXUL_SDK" ]; then
165 . "${srcdir}/toolkit/toolkit-makefiles.sh"
168 # Services makefiles
169 . "${srcdir}/services/makefiles.sh"
171 # Turn off exit on error, since it breaks the rest of configure
172 set +o errexit