build: Make cogl.h not conditional on driver defines
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 18 Nov 2009 17:35:07 +0000 (17:35 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 18 Nov 2009 17:49:21 +0000 (17:49 +0000)
commit5f28c8b654094e27112426c206cf8294428515f9
treeeb2c55d699a63c5b1a372c559fe5c79012b00408
parentb869e87c86b73a8c09c5f509955a120978da7604
build: Make cogl.h not conditional on driver defines

The main COGL header cogl.h is currently created at configure time
because it conditionally includes the driver-dependent defines. This
sometimes leads to a stale cogl.h with old definitions which can
break the build until you clean out the whole tree and start from
scratch.

We can generate a stable cogl-defines.h at build time from the
equivalent driver-dependent header and let cogl.h include that
file instead.
.gitignore
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl.h [moved from clutter/cogl/cogl/cogl.h.in with 99% similarity]
configure.ac