2007-11-15 09:45:27 -05:00
|
|
|
INCLUDES = \
|
2008-10-30 13:04:34 -04:00
|
|
|
-DG_LOG_DOMAIN=\"ClutterX11\" \
|
|
|
|
-DCLUTTER_COMPILATION \
|
|
|
|
-I$(top_srcdir) \
|
2008-04-25 09:37:36 -04:00
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_builddir)/clutter \
|
2008-10-30 13:04:34 -04:00
|
|
|
$(CLUTTER_CFLAGS) \
|
|
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
2007-11-15 09:45:27 -05:00
|
|
|
$(GCC_FLAGS)
|
|
|
|
|
|
|
|
LDADD = $(CLUTTER_LIBS)
|
|
|
|
|
2008-06-30 11:03:42 -04:00
|
|
|
source_h = \
|
2009-02-19 12:02:12 -05:00
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11-texture-pixmap.h \
|
|
|
|
$(top_srcdir)/clutter/x11/clutter-x11.h
|
2008-06-30 11:03:42 -04:00
|
|
|
|
|
|
|
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
|
2009-02-19 09:57:43 -05:00
|
|
|
$(QUIET_GEN)( $(GLIB_MKENUMS) \
|
2008-06-30 11:03:42 -04:00
|
|
|
--template $(srcdir)/clutter-x11-enum-types.h.in \
|
|
|
|
$(source_h) ) >> xgen-ceth && \
|
2009-02-19 09:57:43 -05:00
|
|
|
(cmp -s xgen-ceth clutter-x11-enum-types.h || cp xgen-ceth clutter-x11-enum-types.h ) && \
|
2008-06-30 11:03:42 -04:00
|
|
|
rm -f xgen-ceth && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
clutter-x11-enum-types.c: clutter-x11-enum-types.h
|
2009-02-19 09:57:43 -05:00
|
|
|
$(QUIET_GEN)( $(GLIB_MKENUMS) \
|
2008-06-30 11:03:42 -04:00
|
|
|
--template $(srcdir)/clutter-x11-enum-types.c.in \
|
|
|
|
$(source_h) ) >> xgen-cetc && \
|
|
|
|
cp xgen-cetc clutter-x11-enum-types.c && \
|
|
|
|
rm -f xgen-cetc
|
|
|
|
|
2007-11-15 09:45:27 -05:00
|
|
|
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 \
|
2008-06-30 11:03:42 -04:00
|
|
|
clutter-x11-enum-types.h \
|
|
|
|
clutter-x11-enum-types.c \
|
2008-02-20 07:43:54 -05:00
|
|
|
clutter-x11-texture-pixmap.h \
|
|
|
|
clutter-x11-texture-pixmap.c \
|
2007-11-15 09:45:27 -05:00
|
|
|
clutter-x11.h
|
2008-01-23 06:08:39 -05:00
|
|
|
|
2008-06-30 11:03:42 -04:00
|
|
|
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
|
|
|
|
|
2008-01-25 14:48:26 -05:00
|
|
|
CLEANFILES = clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
2008-07-03 13:07:51 -04:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
stamp-clutter-x11-enum-types.h \
|
|
|
|
clutter-x11-enum-types.h \
|
|
|
|
clutter-x11-enum-types.c
|
2008-06-30 11:03:42 -04:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
clutter-x11.pc.in \
|
|
|
|
clutter-x11-enum-types.h.in \
|
|
|
|
clutter-x11-enum-types.c.in
|