|
|
|
@ -11,8 +11,6 @@ DISTCLEANFILES =
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
BUILT_SOURCES =
|
|
|
|
|
|
|
|
|
|
lib_LTLIBRARIES =
|
|
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
|
-DCLUTTER_PREFIX=\""$(prefix)"\" \
|
|
|
|
|
-DCLUTTER_LIBDIR=\""$(libdir)"\" \
|
|
|
|
@ -39,7 +37,7 @@ AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
|
INTROSPECTION_GIRS =
|
|
|
|
|
|
|
|
|
|
# the base include path for headers
|
|
|
|
|
clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
|
|
|
|
|
clutter_base_includedir = $(includedir)/mutter/clutter-$(CLUTTER_API_VERSION)
|
|
|
|
|
clutter_includedir = $(clutter_base_includedir)/clutter
|
|
|
|
|
clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
|
|
|
|
|
|
|
|
|
@ -355,7 +353,7 @@ EXTRA_DIST += clutter-version.h.in clutter-version.h
|
|
|
|
|
# key symbol update script
|
|
|
|
|
EXTRA_DIST += clutter-keysyms-update.pl
|
|
|
|
|
|
|
|
|
|
pc_files += clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
pc_files += mutter-clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
|
|
# in order to be compatible with Clutter < 1.10, when we shipped a single
|
|
|
|
|
# shared library whose name was determined by the single backend it
|
|
|
|
@ -431,10 +429,10 @@ x11_introspection = $(x11_source_c) $(x11_source_h)
|
|
|
|
|
clutterx11_includedir = $(clutter_includedir)/x11
|
|
|
|
|
clutterx11_include_HEADERS = $(x11_source_h)
|
|
|
|
|
|
|
|
|
|
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
mutter-clutter-x11-$(CLUTTER_API_VERSION).pc: mutter-clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
|
|
pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
pc_files += mutter-clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
|
|
# Shared cogl backend files
|
|
|
|
|
cogl_source_h =
|
|
|
|
@ -454,12 +452,6 @@ backend_source_c += $(cogl_source_c)
|
|
|
|
|
backend_source_h_priv += $(cogl_source_h_priv)
|
|
|
|
|
backend_source_c_priv += $(cogl_source_c_priv)
|
|
|
|
|
|
|
|
|
|
# pkg-config file for the cogl meta-backend
|
|
|
|
|
clutter-cogl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
|
|
pc_files += clutter-cogl-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
|
|
backend_source_h += $(glx_source_h)
|
|
|
|
|
backend_source_c += $(glx_source_c)
|
|
|
|
|
|
|
|
|
@ -503,11 +495,6 @@ backend_source_c += \
|
|
|
|
|
wayland_compositor_includedir = $(clutter_includedir)/wayland
|
|
|
|
|
wayland_compositor_include_HEADERS = $(wayland_compositor_source_h)
|
|
|
|
|
|
|
|
|
|
clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
|
|
pc_files += clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
|
|
backend_source_h += $(egl_source_h)
|
|
|
|
|
backend_source_c += $(egl_source_c)
|
|
|
|
|
backend_source_h_priv += $(egl_source_h_priv)
|
|
|
|
@ -515,11 +502,6 @@ backend_source_h_priv += $(egl_source_h_priv)
|
|
|
|
|
clutteregl_includedir = $(clutter_includedir)/egl
|
|
|
|
|
clutteregl_include_HEADERS = $(egl_source_h)
|
|
|
|
|
|
|
|
|
|
clutter-egl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
|
|
pc_files += clutter-egl-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
|
|
# cally
|
|
|
|
|
cally_sources_h = \
|
|
|
|
|
cally/cally-actor.h \
|
|
|
|
@ -556,9 +538,6 @@ cally_sources_private = \
|
|
|
|
|
cally_includedir = $(clutter_base_includedir)/cally
|
|
|
|
|
cally_include_HEADERS = $(cally_sources_h)
|
|
|
|
|
|
|
|
|
|
pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
EXTRA_DIST += cally/cally.pc.in
|
|
|
|
|
|
|
|
|
|
# general build rules:
|
|
|
|
|
# you should not need to modify anything below this point
|
|
|
|
|
|
|
|
|
@ -582,11 +561,12 @@ nodist_clutter_include_HEADERS = clutter-config.h $(built_source_h)
|
|
|
|
|
|
|
|
|
|
clutter_deprecated_HEADERS = $(deprecated_h)
|
|
|
|
|
|
|
|
|
|
lib_LTLIBRARIES += libclutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
mutterlibdir = $(libdir)/mutter
|
|
|
|
|
mutterlib_LTLIBRARIES = libmutter-clutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
|
|
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_LIBADD = $(LIBM) $(CLUTTER_LIBS)
|
|
|
|
|
libmutter_clutter_@CLUTTER_API_VERSION@_la_LIBADD = $(LIBM) $(CLUTTER_LIBS)
|
|
|
|
|
|
|
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
|
libmutter_clutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
|
$(backend_source_c) \
|
|
|
|
|
$(backend_source_h) \
|
|
|
|
|
$(backend_source_c_priv) \
|
|
|
|
@ -604,32 +584,32 @@ libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
|
$(cally_sources_private) \
|
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
nodist_libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
|
nodist_libmutter_clutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
|
$(backend_source_built) \
|
|
|
|
|
$(built_source_c) \
|
|
|
|
|
$(built_source_h)
|
|
|
|
|
|
|
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
|
|
|
|
libmutter_clutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
|
|
|
|
$(CLUTTER_LINK_FLAGS) \
|
|
|
|
|
$(CLUTTER_LT_LDFLAGS) \
|
|
|
|
|
-export-dynamic \
|
|
|
|
|
-rpath $(libdir) \
|
|
|
|
|
-rpath $(mutterlibdir) \
|
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
|
|
install-exec-local:
|
|
|
|
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
|
|
|
|
test -z "$(mutterlibdir)" || $(MKDIR_P) "$(DESTDIR)$(mutterlibdir)"
|
|
|
|
|
for lib in `echo $(compat_libs)`; do \
|
|
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
|
(cd $(DESTDIR)$(mutterlibdir) && \
|
|
|
|
|
rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \
|
|
|
|
|
) ; \
|
|
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
|
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
|
|
|
|
|
{ rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
|
|
|
|
|
(cd $(DESTDIR)$(mutterlibdir) && \
|
|
|
|
|
{ ln -s -f libmutter-clutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
|
|
|
|
|
{ rm -f $$lib.0 && ln -s libmutter-clutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
|
|
|
|
|
} \
|
|
|
|
|
) ; \
|
|
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
|
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib || \
|
|
|
|
|
{ rm -f $$lib && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib; }; \
|
|
|
|
|
(cd $(DESTDIR)$(mutterlibdir) && \
|
|
|
|
|
{ ln -s -f libmutter-clutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib || \
|
|
|
|
|
{ rm -f $$lib && ln -s libmutter-clutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib; }; \
|
|
|
|
|
} \
|
|
|
|
|
) ; \
|
|
|
|
|
done
|
|
|
|
@ -637,11 +617,11 @@ install-exec-local:
|
|
|
|
|
# gobject-introspection rules
|
|
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
|
|
|
|
|
Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_API_VERSION@.la Makefile
|
|
|
|
|
Clutter-@CLUTTER_API_VERSION@.gir: libmutter-clutter-@CLUTTER_API_VERSION@.la Makefile
|
|
|
|
|
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libmutter-clutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
|
|
|
|
|
$(clutter_include_HEADERS) \
|
|
|
|
|
$(clutter_deprecated_HEADERS) \
|
|
|
|
@ -662,7 +642,7 @@ Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libmutter-clutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(AM_CPPFLAGS) $(CLUTTER_CFLAGS)
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
|
|
@ -677,7 +657,7 @@ ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = ClutterX11
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libmutter-clutter-@CLUTTER_API_VERSION@.la
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(AM_CPPFLAGS) $(CLUTTER_CFLAGS)
|
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
|
|
@ -690,10 +670,10 @@ INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
|
girdir = $(mutterlibdir)
|
|
|
|
|
gir_DATA = $(INTROSPECTION_GIRS)
|
|
|
|
|
|
|
|
|
|
typelibdir = $(libdir)/girepository-1.0
|
|
|
|
|
typelibdir = $(mutterlibdir)
|
|
|
|
|
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
|
|
|
|
|
|
|
|
|
CLEANFILES += $(gir_DATA) $(typelib_DATA)
|
|
|
|
|