]> diplodocus.org Git - xorg-xinput/blobdiff - src/Makefile.am
Add Peter and Red Hat's copyright notices and licenses to COPYING
[xorg-xinput] / src / Makefile.am
index d537512fb5ac955e958f12ce362118d6a9862017..ba0d325ac5d5b3c6679b2c7404e28136158b4eca 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,9 @@ xinput_SOURCES = \
     setmode.c \
     setptr.c \
     state.c \
+    property.c \
     test.c \
-    version.c \
     xinput.c \
-    xinput.h
+    xinput.h \
+    $(xinput2_files)
+