2012-06-20 07:00:48 +00: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 16:47:55 +00:00
|
|
|
DIST = $(DEPTH)/dist
|
2012-06-20 07:00:48 +00: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)
|
|
|
|
|
|
|
|
ifeq ($(HOST_OS_ARCH),WINNT)
|
2013-10-15 23:34:18 +00:00
|
|
|
# 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.)
|
2012-06-20 07:00:48 +00:00
|
|
|
endif
|
2013-10-15 23:34:18 +00:00
|
|
|
endif
|
|
|
|
ifeq (a,$(firstword a$(subst /, ,$(srcdir))))
|
|
|
|
$(error MSYS-style srcdir are not supported for Windows builds.)
|
2012-06-20 07:00:48 +00:00
|
|
|
endif
|
|
|
|
endif # WINNT
|
2013-08-20 00:15:43 +00:00
|
|
|
|
|
|
|
ifdef .PYMAKE
|
|
|
|
include_deps = $(eval -includedeps $(1))
|
|
|
|
else
|
|
|
|
include_deps = $(eval -include $(1))
|
|
|
|
endif
|