1b85037dbSmrg#  Copyright 2005 Adam Jackson.
2b85037dbSmrg#
3b85037dbSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
4b85037dbSmrg#  copy of this software and associated documentation files (the "Software"),
5b85037dbSmrg#  to deal in the Software without restriction, including without limitation
6b85037dbSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7b85037dbSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
8b85037dbSmrg#  the Software is furnished to do so, subject to the following conditions:
9b85037dbSmrg#
10b85037dbSmrg#  The above copyright notice and this permission notice (including the next
11b85037dbSmrg#  paragraph) shall be included in all copies or substantial portions of the
12b85037dbSmrg#  Software.
13b85037dbSmrg#
14b85037dbSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15b85037dbSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16b85037dbSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17b85037dbSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18b85037dbSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19b85037dbSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20b85037dbSmrg
2128515619Smrg# During distcheck, system locations (as provided by pkg-config) may
2228515619Smrg# not be writable; provide instead relative locations.
2328515619SmrgDISTCHECK_CONFIGURE_FLAGS = \
2428515619Smrg	--with-sdkdir='$${includedir}/xorg' \
2528515619Smrg	--with-xorg-conf-dir='$${datadir}/X11/xorg.conf.d'
2628515619Smrg
2728515619SmrgSUBDIRS = include src man tools conf test
28b85037dbSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
29b85037dbSmrg
30b85037dbSmrgpkgconfigdir = $(libdir)/pkgconfig
31b85037dbSmrgpkgconfig_DATA = xorg-synaptics.pc
32b85037dbSmrg
33b85037dbSmrg.PHONY: ChangeLog INSTALL
34b85037dbSmrg
35b85037dbSmrgINSTALL:
36b85037dbSmrg	$(INSTALL_CMD)
37b85037dbSmrg
38b85037dbSmrgChangeLog:
39b85037dbSmrg	$(CHANGELOG_CMD)
40b85037dbSmrg
41b85037dbSmrgdist-hook: ChangeLog INSTALL
42