config/baseconfig.mk
author Mark Banner <bugzilla@standard8.plus.com>
Mon, 03 Feb 2014 20:15:24 +0000
changeset 16836 4d564c1d9df635e9f1a664b6a76178a0e859641c
parent 16749 a5d2ef578b5e5b8003d265b6b3ff063ba82e27ae
child 20405 2e3af17556ad0513080a4cb9e47d6b4a091cf70c
permissions -rw-r--r--
Added tag RELEASE_BASE_20140203 for changeset 874f4107c0fd a=releasemerge ba=releasemerge DONTBUILD CLOSED TREE

includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
MOZILLA_SRCDIR = $(topsrcdir)/mozilla
MOZDEPTH = $(DEPTH)/mozilla
DIST = $(MOZDEPTH)/dist

# We do magic with OBJ_SUFFIX in config.mk, the following ensures we don't
# manually use it before config.mk inclusion
_OBJ_SUFFIX := $(OBJ_SUFFIX)
OBJ_SUFFIX = $(error config/config.mk needs to be included before using OBJ_SUFFIX)

ifeq ($(HOST_OS_ARCH),WINNT)
# We only support building with pymake or a specially built gnu make.
ifndef .PYMAKE
ifeq (,$(filter mozmake%,$(notdir $(MAKE))))
$(error Only building with pymake or mozmake is supported.)
endif
endif
ifeq (a,$(firstword a$(subst /, ,$(srcdir))))
$(error MSYS-style srcdir are not supported for Windows builds.)
endif
endif # WINNT