mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
90f4b1d492
Bug 1219 - Clean up cogl.h * clutter/cogl/cogl.h.in: * clutter/cogl/cogl-offscreen.h: * clutter/cogl/cogl-path.h: * clutter/cogl/cogl-shader.h: * clutter/cogl/cogl-texture.h: * clutter/cogl/cogl-types.h: Split up the massive cogl.h file into sub-header for each section of the API. * clutter/cogl/gl/*: * clutter/cogl/gles/*: Update the GL and GLES implementations of COGL to cope with the new header structure. * doc/reference/cogl/Makefile.am: Fix symbol retrieval.
78 lines
2.3 KiB
Makefile
78 lines
2.3 KiB
Makefile
libclutterincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
|
|
libclutterinclude_HEADERS = \
|
|
$(top_builddir)/clutter/cogl/cogl.h \
|
|
$(top_builddir)/clutter/cogl/cogl-defines-gles.h \
|
|
$(top_builddir)/clutter/cogl/cogl-color.h \
|
|
$(top_builddir)/clutter/cogl/cogl-fixed.h \
|
|
$(top_builddir)/clutter/cogl/cogl-offscreen.h \
|
|
$(top_builddir)/clutter/cogl/cogl-path.h \
|
|
$(top_builddir)/clutter/cogl/cogl-shader.h \
|
|
$(top_builddir)/clutter/cogl/cogl-texture.h \
|
|
$(top_builddir)/clutter/cogl/cogl-types.h
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/clutter \
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
-I$(top_srcdir)/clutter/cogl/common \
|
|
-I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \
|
|
-I$(top_builddir)/clutter \
|
|
-I$(top_builddir)/clutter/cogl \
|
|
-DCLUTTER_COMPILATION \
|
|
$(CLUTTER_CFLAGS) \
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
|
$(GCC_FLAGS)
|
|
|
|
LDADD = $(CLUTTER_LIBS)
|
|
|
|
noinst_LTLIBRARIES = libclutter-cogl.la
|
|
|
|
libclutter_cogl_la_SOURCES = \
|
|
$(top_builddir)/clutter/cogl/cogl.h \
|
|
$(top_builddir)/clutter/cogl/cogl-defines-gles.h \
|
|
$(top_builddir)/clutter/cogl/cogl-color.h \
|
|
$(top_builddir)/clutter/cogl/cogl-fixed.h \
|
|
$(top_builddir)/clutter/cogl/cogl-offscreen.h \
|
|
$(top_builddir)/clutter/cogl/cogl-path.h \
|
|
$(top_builddir)/clutter/cogl/cogl-shader.h \
|
|
$(top_builddir)/clutter/cogl/cogl-texture.h \
|
|
$(top_builddir)/clutter/cogl/cogl-types.h
|
|
cogl-internal.h \
|
|
cogl-texture-private.h \
|
|
cogl-fbo.h \
|
|
cogl-context.h \
|
|
cogl.c \
|
|
cogl-primitives.c \
|
|
cogl-texture.c \
|
|
cogl-fbo.c \
|
|
cogl-context.c \
|
|
cogl-gles2-wrapper.h \
|
|
cogl-program.h \
|
|
cogl-program.c \
|
|
cogl-shader-private.h \
|
|
cogl-shader.c
|
|
|
|
if USE_GLES2_WRAPPER
|
|
libclutter_cogl_la_SOURCES += \
|
|
cogl-gles2-wrapper.c \
|
|
cogl-fixed-vertex-shader.h \
|
|
cogl-fixed-vertex-shader.c \
|
|
cogl-fixed-fragment-shader.h \
|
|
cogl-fixed-fragment-shader.c
|
|
endif
|
|
|
|
EXTRA_DIST = cogl-defines.h.in \
|
|
stringify.sh \
|
|
cogl-fixed-vertex-shader.glsl \
|
|
cogl-fixed-fragment-shader.glsl
|
|
|
|
libclutter_cogl_la_LIBADD = $(top_builddir)/clutter/cogl/common/libclutter-cogl-common.la
|
|
|
|
.glsl.h :
|
|
/bin/sh $(top_srcdir)/clutter/cogl/gles/stringify.sh -h $<
|
|
|
|
.glsl.c :
|
|
/bin/sh $(top_srcdir)/clutter/cogl/gles/stringify.sh $<
|
|
|
|
cogl-gles2-wrapper.lo : cogl-fixed-vertex-shader.h cogl-fixed-fragment-shader.h
|