forked from mozilla/releases-comm-central
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
96 lines (73 loc) · 2.67 KB
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# 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/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
ifndef .PYMAKE
ifeq (,$(MAKE_VERSION))
$(error GNU Make is required)
endif
ifeq (,$(filter-out 3.78 3.79,$(MAKE_VERSION)))
$(error GNU Make 3.80 or higher is required)
endif
endif
include $(DEPTH)/config/autoconf.mk
default::
ifdef COMPILE_ENVIRONMENT
include $(topsrcdir)/$(MOZ_BUILD_APP)/build.mk
endif
include $(topsrcdir)/config/config.mk
default alldep all:: $(topsrcdir)/configure config.status
$(topsrcdir)/configure: $(topsrcdir)/configure.in
@echo "STOP! configure.in has changed, and your configure is out of date."
@echo "Please rerun autoconf and configure."
@echo "To ignore this message, touch 'configure' in the source directory."
@exit 1
config.status: $(topsrcdir)/configure
@echo "STOP! configure has changed and needs to be run in this build directory."
@echo "Please rerun configure."
@echo "To ignore this message, touch 'config.status' in the build directory."
@exit 1
default export libs clean realclean distclean alldep \
maybe_clobber_profiledbuild uploadsymbols all:: $(SUBMAKEFILES)
$(MAKE) -C mozilla $@
ifdef ENABLE_TESTS
check mochitest reftest crashtest xpcshell-tests:: $(SUBMAKEFILES)
$(MAKE) -C mozilla $@
mochitest-% :: $(SUBMAKEFILES)
$(MAKE) -C mozilla $@
check-sync-dirs::
@$(PYTHON) $(topsrcdir)/mozilla/js/src/config/check-sync-dirs.py \
$(topsrcdir)/build $(topsrcdir)/mozilla/build
check:: check-sync-dirs
ifndef MOZ_THUNDERBIRD
package-tests:: $(SUBMAKEFILES)
$(MAKE) -C mozilla $@
endif
endif
# http://bugzilla.mozilla.org/show_bug.cgi?id=450485
MAKE_SYM_STORE_PATH=dist/bin
ifeq ($(OS_ARCH),Darwin)
ifdef UNIVERSAL_BINARY
MAKE_SYM_STORE_PATH=dist/universal
endif
endif
include $(topsrcdir)/mozilla/toolkit/mozapps/installer/package-name.mk
ifeq ($(OS_ARCH),WINNT)
# PDB files don't get moved to dist, so we need to scan the whole objdir
MAKE_SYM_STORE_PATH=..
endif
buildsymbols :: $(SUBMAKEFILES)
$(MAKE) -C mozilla MAKE_SYM_STORE_PATH=$(MAKE_SYM_STORE_PATH) SYM_STORE_SOURCE_DIRS="$(topsrcdir)/mozilla/extensions/inspector $(topsrcdir)/ldap/sdks $(topsrcdir)/mozilla $(topsrcdir)" $@
include $(topsrcdir)/config/rules.mk
# defined in (mozilla/.../)package-name.mk
export MOZ_SOURCE_STAMP
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
dependencies.beos config/autoconf.mk \
unallmakefiles comm-config.h \
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
distclean::
cat unallmakefiles | $(XARGS) rm -f
rm -f $(DIST_GARBAGE)