author Joshua Cranmer <>
Fri, 21 Jun 2013 09:56:27 -0500
changeset 14129 993bb2a45132dc51b6fdc821dee9a0124085e100
parent 12000 00c391e2f48c4eb216f288a999e2f2bd249bb5f2
child 14674 8958f7bad543101e5413557b2eafd59fd445608c
permissions -rw-r--r--
Bug 884824 - Move EXTRA_JS_MODULES and JS_MODULES_PATH to, r=Standard8 CLOSED TREE for the SeaMonkey migration as well.


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

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

# We only want to do the pymake sanity on Windows, other os's can cope
# Ensure invariants between GNU Make and pymake
# Checked here since we want the sane error in a file that
# actually can be found regardless of path-style.
ifeq (_:,$(.PYMAKE)_$(findstring :,$(srcdir)))
$(error Windows-style srcdir being used with GNU make. Did you mean to run $(topsrcdir)/build/pymake/ instead? [see-also:])
ifeq (1_a,$(.PYMAKE)_$(firstword a$(subst /, ,$(srcdir))))
$(error MSYS-style srcdir being used with Pymake. Did you mean to run GNU Make instead? [see-also:    en/Gmake_vs._Pymake])
endif # WINNT