egl/gbm: Implement EGL_EXT_buffer_age

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
automake: Convert Gallium target and winsys
gallium: Add common automake include file

v2: Matt Turner <mattst88@gmail.com>
    Remove ARCH_FLAGS/OPT_FLAGS

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    Add -I$(top_srcdir)/include to GALLIUM_CFLAGS
r300g: Use gallium automake include file

[mattst88] v2: Remove ARCH_FLAGS/OPT_FLAGS
r300g: Build a libtool archive
r300g: Link ralloc.c and register_allocate.c into separate library
radeon/winsys: Convert to automake
trace: Convert to automake
libgallium: Convert to automake
r600g: Use gallium automake include file
i915g: Convert to automake
i915/winsys/drm: Convert to automake
i915/winsys/sw: Convert to automake
rbug: Convert to automake
llvmpipe: Convert to automake
softpipe: Convert to automake
svga: Convert to automake
nouveau: Convert to automake
nv30: Convert to automake
nv50: Convert to automake