10309d3b3Smrg# Copyright © 2007 Peter Hutterer
20309d3b3Smrg# Copyright © 2009 Red Hat, Inc.
30309d3b3Smrg#
40309d3b3Smrg# Permission is hereby granted, free of charge, to any person obtaining a
50309d3b3Smrg# copy of this software and associated documentation files (the "Software"),
60309d3b3Smrg# to deal in the Software without restriction, including without limitation
70309d3b3Smrg# the rights to use, copy, modify, merge, publish, distribute, sublicense,
80309d3b3Smrg# and/or sell copies of the Software, and to permit persons to whom the
90309d3b3Smrg# Software is furnished to do so, subject to the following conditions:
100309d3b3Smrg#
110309d3b3Smrg# The above copyright notice and this permission notice (including the next
120309d3b3Smrg# paragraph) shall be included in all copies or substantial portions of the
130309d3b3Smrg# Software.
140309d3b3Smrg#
150309d3b3Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
160309d3b3Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
170309d3b3Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
180309d3b3Smrg# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
190309d3b3Smrg# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
200309d3b3Smrg# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
210309d3b3Smrg# DEALINGS IN THE SOFTWARE.
22b1297603Smrg
23b1297603Smrgbin_PROGRAMS = xinput
24b1297603Smrg
255b944e2aSmrgAM_CFLAGS = $(XINPUT_CFLAGS)
265b944e2aSmrgxinput_LDADD = $(XINPUT_LIBS)
275b944e2aSmrg
285b944e2aSmrg
295b944e2aSmrgif HAVE_XI2
300309d3b3Smrgxinput2_files = hierarchy.c setcp.c test_xi2.c transform.c
3153719b08Smrgendif
32b1297603Smrg
33b1297603Smrgxinput_SOURCES = \
34b1297603Smrg    buttonmap.c \
35b1297603Smrg    feedback.c \
36b1297603Smrg    list.c \
37b1297603Smrg    setint.c \
38b1297603Smrg    setmode.c \
39b1297603Smrg    setptr.c \
40b1297603Smrg    state.c \
415b944e2aSmrg    property.c \
42b1297603Smrg    test.c \
43b1297603Smrg    xinput.c \
445b944e2aSmrg    xinput.h \
455b944e2aSmrg    $(xinput2_files)
465b944e2aSmrg
47