3
# These are used for cross-compiling and for saving the configure script
4
# from having to guess our platform (since we know it already)
5
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
7
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
8
DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
9
DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
11
DISTRIB_VERSION_MAJOR := $(shell lsb_release -s -r | cut -d '.' -f 1)
12
DISTRIB_VERSION_MINOR := $(shell lsb_release -s -r | cut -d '.' -f 2)
13
DISTRIB_CODENAME := $(shell lsb_release -s -c)
16
MOZ_PKG_NAME := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
17
# The binary name to use (derived from the package name by default)
18
MOZ_APP_NAME := $(MOZ_PKG_NAME)