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
31 build/pgo/blueprint/Makefile
32 build/pgo/js-input/Makefile
37 config/expandlibs_config.py
43 if [ ! "$LIBXUL_SDK" ]; then
44 if [ "$STLPORT_SOURCES" ]; then
46 build/stlport/Makefile
47 build/stlport/stl/config/_android.h
51 memory/mozalloc/Makefile
53 mozglue/build/Makefile
55 if [ "$MOZ_MEMORY" ]; then
57 memory/jemalloc/Makefile
61 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
63 other-licenses/android/Makefile
64 other-licenses/skia-npapi/Makefile
65 mozglue/android/Makefile
68 if [ "$MOZ_LINKER" ]; then
70 mozglue/linker/Makefile
75 if [ "$OS_ARCH" = "WINNT" ]; then
78 build/win32/crashinjectdll/Makefile
82 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
86 if [ "$USE_ELF_HACK" ]; then
88 build/unix/elfhack/Makefile
93 if [ "$COMPILER_DEPEND" = "" -a "$MOZ_NATIVE_MAKEDEPEND" = "" ]; then
95 config/mkdepend/Makefile
99 if [ "$ENABLE_MARIONETTE" ]; then
101 testing/marionette/Makefile
102 testing/marionette/components/Makefile
103 testing/marionette/tests/Makefile
107 if [ "$ENABLE_TESTS" ]; then
109 build/autoconf/test/Makefile
110 config/makefiles/test/Makefile
111 config/tests/makefiles/autodeps/Makefile
112 config/tests/src-simple/Makefile
114 if [ ! "$LIBXUL_SDK" ]; then
116 mozglue/tests/Makefile
119 if [ "$_MSC_VER" -a "$OS_TEST" != "x86_64" ]; then
121 build/win32/vmwarerecordinghelper/Makefile
124 if [ "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" ]; then
126 build/unix/test/Makefile
129 if [ "$MOZ_WIDGET_TOOLKIT" = "android" ]; then
131 build/mobile/robocop/Makefile
132 build/mobile/sutagent/android/Makefile
133 build/mobile/sutagent/android/fencp/Makefile
134 build/mobile/sutagent/android/ffxcp/Makefile
135 build/mobile/sutagent/android/watcher/Makefile
140 # Application-specific makefiles
141 if [ -f "${srcdir}/${MOZ_BUILD_APP}/makefiles.sh" ]; then
142 .
"${srcdir}/${MOZ_BUILD_APP}/makefiles.sh"
145 # Extension makefiles
146 for extension
in $MOZ_EXTENSIONS; do
147 if [ -f "${srcdir}/extensions/${extension}/makefiles.sh" ]; then
148 .
"${srcdir}/extensions/${extension}/makefiles.sh"
153 if [ ! "$LIBXUL_SDK" ]; then
154 .
"${srcdir}/toolkit/toolkit-makefiles.sh"
158 .
"${srcdir}/services/makefiles.sh"
160 # Turn off exit on error, since it breaks the rest of configure