hwcomposer-egl.pc: link with hybris-hardware

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Don't use the android/ prefix in #includes
Ensure all Makefile.am have -I$(top_srcdir)/include/android to avoid android/ prefix in #includes

Signed-off-by: David Greaves <david@dgreaves.com>
Modify extract headers.sh to take optional args for pkgconfig and version:

extract-headers.sh ANDROID_ROOT HEADERPATH [--version MAJOR.MINOR.PATCH.[PATCH2].[PATCH3]] [--pkgconfigpath <installed header path>]
--version and --pkgconfigpath can be shortened to -v and -p
A pkgconfig android-headers.pc file is now dropped in the HEADERPATH for relocation by packagers. This .pc works with the removal of android/ prefix from headers

Signed-off-by: David Greaves <david@dgreaves.com>
extract-headers.sh: better support for packagers

* Add Makefile so we only need to extract the headers one, but
  be able to install it in different locations.

* Replace -p|--pkgincludedir with make install option, PREFIX

* Place all headers in HEADER_DIR/src and support files under HEADER_DIR
  This makes it easy for make install to just cp -r src/* dest-dir

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
make with-android-headers optional

If with-android-headers is not specified, try to find it
with pkg-config.

Then, extract Android versions from android-version.h but take
ANDROID_HEADERS_CFLAGS into account.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
replace -I/include/android with ANDROID_HEADERS_CFLAGS

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>