mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
4ebc55f2b3
In order to minimize the amount of breakage, while at the same time making it easier to make backward incompatible changes needed to continue turning libmutter into a capable Wayland compositor, make the libmutter and friends (libmutter-clutter, libmutter-cogl*) parallel installable by adding a version number to the name. This changes various filenames, for example what previously was libmutter.so is now libmutter-0.so (assuming the version for now is 0), and libmutter-clutter-1.0.so is now libmutter-clutter-0.so. The pkg-config filenames and GObject introspection has been renamed to reflect this as well. This enables a downstream compositor rely on a specific version of the libmutter API, while gracefully handling API/ABI changes by having to update to the new version at their own pace. https://bugzilla.gnome.org/show_bug.cgi?id=777317
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
common_ldadd = \
|
|
$(top_builddir)/clutter/libmutter-clutter-@LIBMUTTER_API_VERSION@.la
|
|
|
|
common_sources = \
|
|
cally-examples-util.c \
|
|
cally-examples-util.h
|
|
|
|
AM_CPPFLAGS = \
|
|
-DPREFIXDIR=\"$(libdir)\" \
|
|
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS \
|
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
|
-I$(top_srcdir)/../cogl \
|
|
-I$(top_builddir)/../cogl \
|
|
-I$(top_builddir)/../cogl/cogl \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir)/clutter \
|
|
-I$(top_builddir)/clutter \
|
|
-I$(top_srcdir)/tests/accessibility
|
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
LDADD = $(common_ldadd) $(CLUTTER_LIBS)
|
|
|
|
check_PROGRAMS = \
|
|
cally-atkcomponent-example \
|
|
cally-atkeditabletext-example \
|
|
cally-atkevents-example \
|
|
cally-atktext-example \
|
|
cally-clone-example
|
|
|
|
cally_atkcomponent_example_SOURCES = $(common_sources) cally-atkcomponent-example.c
|
|
cally_atktext_example_SOURCES = $(common_sources) cally-atktext-example.c
|
|
cally_atkevents_example_SOURCES = $(common_sources) cally-atkevents-example.c
|
|
cally_atkeditabletext_example_SOURCES = $(common_sources) cally-atkeditabletext-example.c
|
|
cally_clone_example_SOURCES = $(common_sources) cally-clone-example.c
|
|
|
|
DISTCLEANFILES =
|