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
17 # add_makefiles - Shell function to add makefiles to MAKEFILES
19 MAKEFILES
="$MAKEFILES $*"
22 if [ "$srcdir" = "" ]; then
26 # Common makefiles used by everyone
32 build/pgo/blueprint/Makefile
33 build/pgo/js-input/Makefile
38 config/expandlibs_config.py
44 if [ "$MOZ_WEBAPP_RUNTIME" ]; then
50 if [ ! "$LIBXUL_SDK" ]; then
51 if [ "$STLPORT_SOURCES" ]; then
53 build/stlport/Makefile
54 build/stlport/stl/config/_android.h
58 memory/mozalloc/Makefile
60 mozglue/build/Makefile
62 if [ "$MOZ_JEMALLOC" -a -z "$MOZ_NATIVE_JEMALLOC" ]; then
64 memory/jemalloc/Makefile
67 if [ "$MOZ_MEMORY" ]; then
69 memory/mozjemalloc/Makefile
73 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
75 other-licenses/android/Makefile
76 other-licenses/skia-npapi/Makefile
77 mozglue/android/Makefile
80 if [ "$MOZ_LINKER" ]; then
82 mozglue/linker/Makefile
87 if [ "$OS_ARCH" = "WINNT" ]; then
90 build/win32/crashinjectdll/Makefile
94 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
98 if [ "$STDCXX_COMPAT" ]; then
100 build/unix/stdc++compat/Makefile
103 if [ "$USE_ELF_HACK" ]; then
105 build/unix/elfhack/Makefile
110 if [ "$ENABLE_MARIONETTE" ]; then
112 testing/marionette/Makefile
113 testing/marionette/components/Makefile
117 if [ "$ENABLE_TESTS" ]; then
119 config/makefiles/test/Makefile
120 config/tests/makefiles/autodeps/Makefile
121 config/tests/src-simple/Makefile
124 if [ ! "$LIBXUL_SDK" ]; then
126 mozglue/tests/Makefile
129 if [ "$_MSC_VER" -a "$OS_TEST" != "x86_64" ]; then
131 build/win32/vmwarerecordinghelper/Makefile
134 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
136 build/unix/test/Makefile
139 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
141 build/mobile/robocop/Makefile
142 build/mobile/sutagent/android/Makefile
143 build/mobile/sutagent/android/fencp/Makefile
144 build/mobile/sutagent/android/ffxcp/Makefile
145 build/mobile/sutagent/android/watcher/Makefile
150 # Application-specific makefiles
151 if [ -f "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh" ]; then
152 .
"${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
155 # Extension makefiles
156 for extension
in $MOZ_EXTENSIONS; do
157 if [ -f "${srcdir}/extensions/${extension}/makefiles.sh" ]; then
158 .
"${srcdir}/extensions/${extension}/makefiles.sh"
163 if [ ! "$LIBXUL_SDK" ]; then
164 .
"${srcdir}/toolkit/toolkit-makefiles.sh"
168 .
"${srcdir}/services/makefiles.sh"
170 # Turn off exit on error, since it breaks the rest of configure