1
0
Fork 0
mutter-performance-source/clutter/x11/Makefile.am
Emmanuele Bassi a32eca26b6 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1212 - Allow only a single include file for Clutter

	* clutter/*.h: Only allow including clutter.h in third
	party code.

	* clutter/cogl/cogl-color.h:
	* clutter/cogl/cogl-fixed.h:
	* clutter/cogl/cogl.h.in: Only allow including cogl.h in
	third party code.

	* clutter/cogl/common/Makefile.am:
	* clutter/cogl/gl/Makefile.am:
	* clutter/cogl/gles/Makefile.am:
	* clutter/eglnative/Makefile.am:
	* clutter/eglx/Makefile.am:
	* clutter/fruity/Makefile.am:
	* clutter/glx/Makefile.am:
	* clutter/glx/clutter-glx.h:
	* clutter/osx/Makefile.am:
	* clutter/pango/Makefile.am:
	* clutter/sdl/Makefile.am:
	* clutter/win32/Makefile.am:
	* clutter/x11/Makefile.am: Fix build environment.

	* clutter/x11/clutter-x11-texture-pixmap.h:
	* clutter/x11/clutter-x11.h: Fix inclusion rules.

	* tests/test-pixmap.c: Fix inclusion of GdkPixbuf header.

	* README: Update release notes.
2008-10-30 17:04:34 +00:00

72 lines
2 KiB
Makefile

INCLUDES = \
-DG_LOG_DOMAIN=\"ClutterX11\" \
-DCLUTTER_COMPILATION \
-I$(top_srcdir) \
-I$(top_srcdir)/clutter \
-I$(top_builddir)/clutter \
$(CLUTTER_CFLAGS) \
$(CLUTTER_DEBUG_CFLAGS) \
$(GCC_FLAGS)
LDADD = $(CLUTTER_LIBS)
source_h = \
clutter-x11-texture-pixmap.h \
clutter-x11.h
BUILT_SOURCES = clutter-x11-enum-types.h clutter-x11-enum-types.c
clutter-x11-enum-types.h: stamp-clutter-x11-enum-types.h
@true
stamp-clutter-x11-enum-types.h: $(source_h) Makefile
( $(GLIB_MKENUMS) \
--template $(srcdir)/clutter-x11-enum-types.h.in \
$(source_h) ) >> xgen-ceth && \
(cmp xgen-ceth clutter-x11-enum-types.h || cp xgen-ceth clutter-x11-enum-types.h ) && \
rm -f xgen-ceth && \
echo timestamp > $(@F)
clutter-x11-enum-types.c: clutter-x11-enum-types.h
( $(GLIB_MKENUMS) \
--template $(srcdir)/clutter-x11-enum-types.c.in \
$(source_h) ) >> xgen-cetc && \
cp xgen-cetc clutter-x11-enum-types.c && \
rm -f xgen-cetc
noinst_LTLIBRARIES = libclutter-x11.la
libclutter_x11_la_SOURCES = \
clutter-backend-x11.h \
clutter-backend-x11.c \
clutter-event-x11.c \
clutter-stage-x11.h \
clutter-stage-x11.c \
clutter-x11-enum-types.h \
clutter-x11-enum-types.c \
clutter-x11-texture-pixmap.h \
clutter-x11-texture-pixmap.c \
clutter-x11.h
libclutter_x11_includedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/clutter/x11
libclutter_x11_include_HEADERS = \
clutter-x11.h \
clutter-x11-enum-types.h \
clutter-x11-texture-pixmap.h
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-x11.pc
@cp -f $< $(@F)
pkgconfig_DATA = clutter-x11-@CLUTTER_API_VERSION@.pc
pkgconfigdir = $(libdir)/pkgconfig
CLEANFILES = clutter-x11-$(CLUTTER_API_VERSION).pc
DISTCLEANFILES = \
stamp-clutter-x11-enum-types.h \
clutter-x11-enum-types.h \
clutter-x11-enum-types.c
EXTRA_DIST = \
clutter-x11.pc.in \
clutter-x11-enum-types.h.in \
clutter-x11-enum-types.c.in