author Wan-Teh Chang <>
Thu, 25 Jul 2013 10:03:09 -0700
changeset 152318 7ecaf40de72f976cce658b64d2da8265f4ce2331
parent 101908 6984dace6afb50340fc5fcb112b1e85df9a25041
child 156080 a08feefbb8c3bc926d4fe1ea169cda11b564ed8b
permissions -rw-r--r--
Bug 888273: Update NSPR to NSPR_4_10_1_BETA1 to pick up the bug fix.


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