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