2012-06-20 00:00:48 -07:00
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)
2013-10-11 09:47:55 -07:00
DIST = $( DEPTH) /dist
2012-06-20 00:00:48 -07:00
# 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)
2013-10-15 16:57:00 -07:00
# We only want to do the pymake sanity on Windows, other os's can cope
2012-06-20 00:00:48 -07:00
i f e q ( $( HOST_OS_ARCH ) , W I N N T )
2013-10-15 16:57:00 -07:00
# 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/make.py instead? [see-also : https ://developer .mozilla .org /en /Gmake_vs ._Pymake ])
2012-06-20 00:00:48 -07:00
e n d i f
2013-10-15 16:57:00 -07:00
i f e q ( 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 : https ://developer .mozilla .org / en /Gmake_vs ._Pymake ])
2012-06-20 00:00:48 -07:00
e n d i f
e n d i f # WINNT
2013-08-19 17:15:43 -07:00
i f d e f . P Y M A K E
include_deps = $( eval -includedeps $( 1) )
e l s e
include_deps = $( eval -include $( 1) )
e n d i f