mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 04:10:43 -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
99 lines
2.4 KiB
Makefile
99 lines
2.4 KiB
Makefile
installed_test_metadir = $(datadir)/installed-tests/mutter-clutter
|
|
installed_testdir = $(libexecdir)/installed-tests/mutter-clutter
|
|
include $(top_srcdir)/build/autotools/glib-tap.mk
|
|
|
|
AM_CFLAGS = -g $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
LDADD = $(top_builddir)/../cogl/cogl/libmutter-cogl-@LIBMUTTER_API_VERSION@.la $(top_builddir)/clutter/libmutter-clutter-@LIBMUTTER_API_VERSION@.la $(CLUTTER_LIBS) $(LIBM)
|
|
AM_LDFLAGS = -export-dynamic
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Clutter-Conform\" \
|
|
-I$(top_srcdir)/../cogl \
|
|
-I$(top_builddir)/../cogl \
|
|
-I$(top_builddir)/../cogl/cogl \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir) \
|
|
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
|
$(CLUTTER_DEPRECATED_CFLAGS) \
|
|
$(CLUTTER_DEBUG_CFLAGS)
|
|
|
|
# Basic actor API
|
|
actor_tests = \
|
|
actor-anchors \
|
|
actor-destroy \
|
|
actor-graph \
|
|
actor-invariants \
|
|
actor-iter \
|
|
actor-layout \
|
|
actor-meta \
|
|
actor-offscreen-limit-max-size \
|
|
actor-offscreen-redirect \
|
|
actor-paint-opacity \
|
|
actor-pick \
|
|
actor-shader-effect \
|
|
actor-size \
|
|
$(NULL)
|
|
|
|
# Actor classes
|
|
classes_tests = \
|
|
text \
|
|
$(NULL)
|
|
|
|
# General API
|
|
general_tests = \
|
|
binding-pool \
|
|
color \
|
|
events-touch \
|
|
interval \
|
|
model \
|
|
script-parser \
|
|
units \
|
|
$(NULL)
|
|
|
|
# Test for deprecated functionality
|
|
deprecated_tests = \
|
|
animator \
|
|
behaviours \
|
|
group \
|
|
rectangle \
|
|
texture \
|
|
$(NULL)
|
|
|
|
test_programs = $(actor_tests) $(general_tests) $(classes_tests) $(deprecated_tests)
|
|
|
|
dist_test_data = $(script_ui_files)
|
|
script_ui_files = $(addprefix scripts/,$(script_tests))
|
|
script_tests = \
|
|
test-animator-1.json \
|
|
test-animator-2.json \
|
|
test-animator-3.json \
|
|
test-script-animation.json \
|
|
test-script-child.json \
|
|
test-script-implicit-alpha.json \
|
|
test-script-interval.json \
|
|
test-script-layout-property.json \
|
|
test-script-margin.json \
|
|
test-script-model.json \
|
|
test-script-named-object.json \
|
|
test-script-object-property.json \
|
|
test-script-single.json \
|
|
test-script-timeline-markers.json \
|
|
test-state-1.json
|
|
|
|
TESTS_ENVIRONMENT += G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0
|
|
|
|
# simple rules for generating a Git ignore file for the conformance test suite
|
|
$(srcdir)/.gitignore: Makefile
|
|
$(AM_V_GEN)( echo "/*.trs" ; \
|
|
echo "/*.log" ; \
|
|
echo "/*.test" ; \
|
|
echo "/.gitignore" ; \
|
|
for p in $(test_programs); do \
|
|
echo "/$$p" ; \
|
|
done ) > $(@F)
|
|
|
|
gitignore: $(srcdir)/.gitignore
|
|
|
|
all-am: gitignore
|
|
|
|
DISTCLEANFILES += .gitignore
|