Makefile.am revision 5b944e2a
1b1297603Smrg# 
2b1297603Smrg#  Copyright 2007 Peter Hutterer <peter@cs.unisa.edu.au>
3b1297603Smrg# 
4b1297603Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
5b1297603Smrg#  documentation for any purpose is hereby granted without fee, provided that
6b1297603Smrg#  the above copyright notice appear in all copies and that both that
7b1297603Smrg#  copyright notice and this permission notice appear in supporting
8b1297603Smrg#  documentation, and that the name of the author not be used in
9b1297603Smrg#  advertising or publicity pertaining to distribution of the software without
10b1297603Smrg#  specific, written prior permission.  The author makes no
11b1297603Smrg#  representations about the suitability of this software for any purpose.  It
12b1297603Smrg#  is provided "as is" without express or implied warranty.
13b1297603Smrg# 
14b1297603Smrg#  THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15b1297603Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16b1297603Smrg#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17b1297603Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18b1297603Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19b1297603Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20b1297603Smrg#  PERFORMANCE OF THIS SOFTWARE.
21b1297603Smrg
22b1297603Smrgbin_PROGRAMS = xinput
23b1297603Smrg
245b944e2aSmrgAM_CFLAGS = $(XINPUT_CFLAGS)
255b944e2aSmrgxinput_LDADD = $(XINPUT_LIBS)
265b944e2aSmrg
275b944e2aSmrg
285b944e2aSmrgif HAVE_XI2
295b944e2aSmrg    xinput2_files = hierarchy.c setcp.c
305b944e2aSmrgendif # HAVE_XI2
31b1297603Smrg
32b1297603Smrgxinput_SOURCES = \
33b1297603Smrg    buttonmap.c \
34b1297603Smrg    feedback.c \
35b1297603Smrg    list.c \
36b1297603Smrg    setint.c \
37b1297603Smrg    setmode.c \
38b1297603Smrg    setptr.c \
39b1297603Smrg    state.c \
405b944e2aSmrg    property.c \
41b1297603Smrg    test.c \
42b1297603Smrg    version.c \
43b1297603Smrg    xinput.c \
445b944e2aSmrg    xinput.h \
455b944e2aSmrg    $(xinput2_files)
465b944e2aSmrg
47