build: Start moving to a non-recursive layout
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 13 Sep 2010 10:30:30 +0000 (11:30 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 29 Sep 2010 13:40:15 +0000 (14:40 +0100)
commit8dd8fbdbdf940258ff6b5ce616534bf8f8fd356a
tree727acfe49b25e85184af64981699931fdecc5ce0
parent27aebb5c9d4a39e3f8e252b40cbf664d9981bbeb
build: Start moving to a non-recursive layout

        *** WARNING: THIS COMMIT CHANGES THE BUILD ***

Do not recurse into the backend directories to build private, internal
libraries.

We only recurse from clutter/ into the cogl sub-directory; from there,
we don't recurse any further. All the backend-specific code in Cogl and
Clutter is compiled conditionally depending on the macros defined by the
configure script.

We still recurse from the top-level directory into doc, clutter and
tests, because gtk-doc and tests do not deal nicely with non-recursive
layouts.

This change makes Clutter compile slightly faster, and cleans up the
build system, especially when dealing with introspection data.

Ideally, we also want to make Cogl part of the top-level build, so that
we can finally drop the sed trick to change the shared library from the
GIR before compiling it.

Currently disabled:

  ‣ OSX backend
  ‣ Fruity backend

Currently enabled but untested:

  ‣ EGL backend
  ‣ Windows backend
45 files changed:
.gitignore
Makefile.am
autogen.sh
build/Makefile.am
build/stringify.sh [moved from clutter/cogl/cogl/driver/gles/stringify.sh with 100% similarity]
clutter/Makefile.am
clutter/cally/Makefile.am [deleted file]
clutter/cally/cally.pc.in
clutter/clutter.pc.in [moved from clutter.pc.in with 100% similarity]
clutter/cogl/cogl/Makefile.am
clutter/cogl/cogl/cogl-context.h
clutter/cogl/cogl/cogl-material-arbfp.c
clutter/cogl/cogl/cogl-material-fixed.c
clutter/cogl/cogl/cogl-material-glsl.c
clutter/cogl/cogl/cogl-material-opengl.c
clutter/cogl/cogl/driver/gl/Makefile.am [deleted file]
clutter/cogl/cogl/driver/gl/cogl-context-driver-gl.c [moved from clutter/cogl/cogl/driver/gl/cogl-context-driver.c with 96% similarity]
clutter/cogl/cogl/driver/gl/cogl-context-driver-gl.h [moved from clutter/cogl/cogl/driver/gl/cogl-context-driver.h with 97% similarity]
clutter/cogl/cogl/driver/gl/cogl-feature-functions-gl.h [moved from clutter/cogl/cogl/driver/gl/cogl-feature-functions.h with 100% similarity]
clutter/cogl/cogl/driver/gl/cogl-gl.c [moved from clutter/cogl/cogl/driver/gl/cogl.c with 98% similarity]
clutter/cogl/cogl/driver/gl/cogl-program-gl.c [moved from clutter/cogl/cogl/driver/gl/cogl-program.c with 99% similarity]
clutter/cogl/cogl/driver/gl/cogl-program-gl.h [moved from clutter/cogl/cogl/driver/gl/cogl-program.h with 100% similarity]
clutter/cogl/cogl/driver/gl/cogl-texture-driver-gl.c [moved from clutter/cogl/cogl/driver/gl/cogl-texture-driver.c with 100% similarity]
clutter/cogl/cogl/driver/gles/Makefile.am [deleted file]
clutter/cogl/cogl/driver/gles/cogl-context-driver-gles.c [moved from clutter/cogl/cogl/driver/gles/cogl-context-driver.c with 96% similarity]
clutter/cogl/cogl/driver/gles/cogl-context-driver-gles.h [moved from clutter/cogl/cogl/driver/gles/cogl-context-driver.h with 97% similarity]
clutter/cogl/cogl/driver/gles/cogl-feature-functions-gles.h [moved from clutter/cogl/cogl/driver/gles/cogl-feature-functions.h with 100% similarity]
clutter/cogl/cogl/driver/gles/cogl-gles.c [moved from clutter/cogl/cogl/driver/gles/cogl.c with 98% similarity]
clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.c
clutter/cogl/cogl/driver/gles/cogl-gles2-wrapper.h
clutter/cogl/cogl/driver/gles/cogl-program-gles.c [moved from clutter/cogl/cogl/driver/gles/cogl-program.c with 99% similarity]
clutter/cogl/cogl/driver/gles/cogl-program-gles.h [moved from clutter/cogl/cogl/driver/gles/cogl-program.h with 100% similarity]
clutter/cogl/cogl/driver/gles/cogl-texture-driver-gles.c [moved from clutter/cogl/cogl/driver/gles/cogl-texture-driver.c with 100% similarity]
clutter/egl/Makefile.am [deleted file]
clutter/glx/Makefile.am [deleted file]
clutter/json/Makefile.am [deleted file]
clutter/win32/Makefile.am [deleted file]
clutter/win32/clutter-win32.pc.in [deleted file]
clutter/x11/Makefile.am [deleted file]
clutter/x11/clutter-backend-x11.c
clutter/x11/clutter-x11-enum-types.c.in [deleted file]
clutter/x11/clutter-x11-enum-types.h.in [deleted file]
clutter/x11/clutter-x11.h
clutter/x11/clutter-x11.pc.in [deleted file]
configure.ac