]> diplodocus.org Git - xorg-xinput/blobdiff - src/Makefile.am
Require inputproto 1.9.99.12
[xorg-xinput] / src / Makefile.am
index d537512fb5ac955e958f12ce362118d6a9862017..a6dedb7662604e086ee5b0062f085b5d7a4224c0 100644 (file)
@@ -24,6 +24,11 @@ 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 \
@@ -32,7 +37,10 @@ xinput_SOURCES = \
     setmode.c \
     setptr.c \
     state.c \
+    property.c \
     test.c \
     version.c \
     xinput.c \
-    xinput.h
+    xinput.h \
+    $(xinput2_files)
+