mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 14:22:13 +00:00
7705469d2b
The per driver implementations of cogl-shader.c had become almost identical we now have a single cogl/cogl-shader.c instead.
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
NULL =
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(srcdir) \
|
|
-I$(srcdir)/../.. \
|
|
-I$(srcdir)/../../.. \
|
|
-I$(srcdir)/../../winsys \
|
|
-I../.. \
|
|
-I../../.. \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DG_LOG_DOMAIN=\"Cogl-Driver\" \
|
|
-DCLUTTER_COMPILATION
|
|
|
|
noinst_LTLIBRARIES = libclutter-cogl-driver.la
|
|
libclutter_cogl_driver_la_CPPFLAGS = \
|
|
$(CLUTTER_CFLAGS) \
|
|
$(COGL_DEBUG_CFLAGS) \
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
|
$(MAINTAINER_CFLAGS)
|
|
libclutter_cogl_driver_la_SOURCES = \
|
|
cogl.c \
|
|
cogl-texture-driver.c \
|
|
cogl-context-driver.c \
|
|
cogl-context-driver.h \
|
|
cogl-gles2-wrapper.h \
|
|
cogl-program.h \
|
|
cogl-program.c \
|
|
cogl-feature-functions.h
|
|
|
|
if USE_GLES2_WRAPPER
|
|
libclutter_cogl_driver_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 = \
|
|
stringify.sh \
|
|
cogl-fixed-vertex-shader.glsl \
|
|
cogl-fixed-fragment-shader.glsl
|
|
|
|
BUILT_SOURCES = \
|
|
cogl-fixed-vertex-shader.h \
|
|
cogl-fixed-vertex-shader.c \
|
|
cogl-fixed-fragment-shader.h \
|
|
cogl-fixed-fragment-shader.c
|
|
|
|
%.h: $(srcdir)/%.glsl
|
|
/bin/sh $(srcdir)/stringify.sh -h $< > $@
|
|
%.c: $(srcdir)/%.glsl
|
|
/bin/sh $(srcdir)/stringify.sh $< > $@
|
|
|