X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/b06af76677cd70912c9c4f381b0baed28b4f89a4..1c7b473b7e64f8b616aba70926f93d37d5269c28:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index d537512..6ab00f3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,6 +24,11 @@ bin_PROGRAMS = xinput AM_CFLAGS = $(XINPUT_CFLAGS) xinput_LDADD = $(XINPUT_LIBS) + +if HAVE_XI2 + xinput2_files = hierarchy.c setcp.c property.c +endif # HAVE_XI2 + xinput_SOURCES = \ buttonmap.c \ feedback.c \ @@ -35,4 +40,6 @@ xinput_SOURCES = \ test.c \ version.c \ xinput.c \ - xinput.h + xinput.h \ + $(xinput2_files) +