installdir = $(libdir)/$(MOZ_APP_NAME) ifeq (.,$(DEPTH)) DIST = dist else DIST = $(DEPTH)/dist endif ABS_DIST = $(topobjdir)/dist
_OBJ_SUFFIX := $(OBJ_SUFFIX) OBJ_SUFFIX = $(error config/config.mk needs to be included before using OBJ_SUFFIX)
ifeq ($(HOST_OS_ARCH),WINNT)
ifdef .PYMAKE $(error Pymake is no longer supported. Please upgrade to MozillaBuild 1.9 or newer and build with 'mach' or 'mozmake') endif
ifeq (a,$(firstword a$(subst /, ,$(abspath .)))) $(error MSYS make is not supported) endif
ifneq (4.0-,$(firstword $(sort 4.0- $(MAKE_VERSION)))) $(error Make version too old. Only versions strictly greater than 4.0 are supported.) endif
ifdef INCLUDED_AUTOCONF_MK ifeq (a,$(firstword a$(subst /, ,$(srcdir)))) $(error MSYS-style srcdir are not supported for Windows builds.) endif endif endif # WINNT
ifndef INCLUDED_AUTOCONF_MK default:: else TIERS := $(if $(MOZ_ARTIFACT_BUILDS),artifact )pre-export export $(if $(COMPILE_ENVIRONMENT),compile )misc libs tools$(if $(filter check recurse_check,$(MAKECMDGOALS)), check) endif
ifdef MOZILLA_SRCDIR MOZILLA_DIR = $(MOZILLA_SRCDIR) else MOZILLA_DIR = $(topsrcdir) endif