X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/e3b705dc15d07bbb478ced6b54a5e0553d978113..7f046c957d4529249bcb69b35f6513411f6efcf5:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 39580a5..6ab00f3 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 property.c +endif # HAVE_XI2 + xinput_SOURCES = \ buttonmap.c \ feedback.c \ - hierarchy.c \ list.c \ setint.c \ - setcp.c \ setmode.c \ setptr.c \ state.c \ test.c \ version.c \ xinput.c \ - xinput.h + xinput.h \ + $(xinput2_files) +