author Mike Hommey <>
Thu, 03 Oct 2013 05:51:19 +0900
changeset 163578 3cf52700118c3660e180bb5af51280fe0c33745b
parent 158515 92ee006ec0a59d93557d8197ad020ed226faa65d
child 164181 cff5a22acb7c81cf373a85a3de08c480999ed550
permissions -rw-r--r--
Bug 921307 - Aggregate dependencies in subdirectories that are still recursed with pseudo derecurse. r=gps

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)
DIST = $(DEPTH)/dist

# 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

ifdef .PYMAKE
include_deps = $(eval -includedeps $(1))
include_deps = $(eval -include $(1))