AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
+# Before making a release, the LIBINPUT_LT_VERSION string should be
+# modified.
+# The string is of the form C:R:A.
+# - If interfaces have been changed or added, but binary compatibility has
+# been preserved, change to C+1:0:A+1
+# - If binary compatibility has been broken (eg removed or changed interfaces)
+# change to C+1:0:0
+# - If the interface is the same as the previous version, change to C:R+1:A
+LIBINPUT_LT_VERSION=0:0:0
+AC_SUBST(LIBINPUT_LT_VERSION)
+
AM_SILENT_RULES([yes])
# Check for programs
$(LIBEVDEV_CFLAGS) \
$(GCC_CFLAGS)
+libinput_la_LDFLAGS = -version-info $(LIBINPUT_LT_VERSION)
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libinput.pc