mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -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
36 lines
1012 B
Makefile
36 lines
1012 B
Makefile
common_ldadd = \
|
|
$(top_builddir)/clutter/libmutter-clutter-@LIBMUTTER_API_VERSION@.la \
|
|
$(top_builddir)/../cogl/cogl/libmutter-cogl-@LIBMUTTER_API_VERSION@.la
|
|
|
|
|
|
check_PROGRAMS = \
|
|
test-text \
|
|
test-picking \
|
|
test-text-perf \
|
|
test-random-text \
|
|
test-cogl-perf
|
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
|
|
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
|
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS \
|
|
-DTESTS_DATA_DIR=\""$(top_srcdir)/tests/data/"\" \
|
|
-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
|
|
|
|
LDADD = $(common_ldadd) $(CLUTTER_LIBS) $(LIBM)
|
|
|
|
test_text_SOURCES = test-text.c
|
|
test_picking_SOURCES = test-picking.c
|
|
test_text_perf_SOURCES = test-text-perf.c
|
|
test_random_text_SOURCES = test-random-text.c
|
|
test_cogl_perf_SOURCES = test-cogl-perf.c
|