X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/e3b705dc15d07bbb478ced6b54a5e0553d978113..09b075863708e43b9c1202dd052f36d5f865f571:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 39580a5..ba0d325 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,17 +24,22 @@ bin_PROGRAMS = xinput AM_CFLAGS = $(XINPUT_CFLAGS) xinput_LDADD = $(XINPUT_LIBS) + +if HAVE_XI2 +xinput2_files = hierarchy.c setcp.c test_xi2.c +endif + xinput_SOURCES = \ buttonmap.c \ feedback.c \ - hierarchy.c \ list.c \ setint.c \ - setcp.c \ setmode.c \ setptr.c \ state.c \ + property.c \ test.c \ - version.c \ xinput.c \ - xinput.h + xinput.h \ + $(xinput2_files) +