]> diplodocus.org Git - xorg-xinput/blobdiff - src/Makefile.am
xinput 1.5.0
[xorg-xinput] / src / Makefile.am
index 39580a5876d89e72b49a0a1837d1bb8d32849083..ba0d325ac5d5b3c6679b2c7404e28136158b4eca 100644 (file)
@@ -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)
+