1ed6184dfSmrg#  Copyright 2005 Adam Jackson.
2ed6184dfSmrg#
3ed6184dfSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
4ed6184dfSmrg#  copy of this software and associated documentation files (the "Software"),
5ed6184dfSmrg#  to deal in the Software without restriction, including without limitation
6ed6184dfSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7ed6184dfSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
8ed6184dfSmrg#  the Software is furnished to do so, subject to the following conditions:
9ed6184dfSmrg#
10ed6184dfSmrg#  The above copyright notice and this permission notice (including the next
11ed6184dfSmrg#  paragraph) shall be included in all copies or substantial portions of the
12ed6184dfSmrg#  Software.
13ed6184dfSmrg#
14ed6184dfSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15ed6184dfSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16ed6184dfSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17ed6184dfSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18ed6184dfSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19ed6184dfSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20ed6184dfSmrg
21ed6184dfSmrg# this is obnoxious:
22ed6184dfSmrg# -module lets us name the module exactly how we want
23ed6184dfSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24ed6184dfSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
25ed6184dfSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26ed6184dfSmrg
27ed6184dfSmrginclude $(top_srcdir)/manpages.am
28ed6184dfSmrg
29ed6184dfSmrgAM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) $(CWARNFLAGS)
30ed6184dfSmrg
31ed6184dfSmrgAM_CPPFLAGS = $(XORG_INCS)
32ed6184dfSmrg
33ed6184dfSmrginputtest_drv_la_LTLIBRARIES = inputtest_drv.la
34ed6184dfSmrginputtest_drv_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
35ed6184dfSmrginputtest_drv_ladir = @moduledir@/input
36ed6184dfSmrg
37ed6184dfSmrginputtest_drv_la_SOURCES = xf86-input-inputtest.c xf86-input-inputtest-protocol.h
38ed6184dfSmrg
39ed6184dfSmrgsdk_HEADERS = xf86-input-inputtest-protocol.h
40ed6184dfSmrg
41ed6184dfSmrgdrivermandir = $(DRIVER_MAN_DIR)
42ed6184dfSmrgdriverman_PRE = inputtestdrv.man
43ed6184dfSmrgdriverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
44ed6184dfSmrg
45ed6184dfSmrgEXTRA_DIST = inputtestdrv.man
46ed6184dfSmrg
47ed6184dfSmrgCLEANFILES = $(driverman_DATA)
48ed6184dfSmrg
49