1659607e0Smrg# Copyright 2005 Adam Jackson. 2659607e0Smrg# 3659607e0Smrg# Permission is hereby granted, free of charge, to any person obtaining a 4659607e0Smrg# copy of this software and associated documentation files (the "Software"), 5659607e0Smrg# to deal in the Software without restriction, including without limitation 6659607e0Smrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7659607e0Smrg# license, and/or sell copies of the Software, and to permit persons to whom 8659607e0Smrg# the Software is furnished to do so, subject to the following conditions: 9659607e0Smrg# 10659607e0Smrg# The above copyright notice and this permission notice (including the next 11659607e0Smrg# paragraph) shall be included in all copies or substantial portions of the 12659607e0Smrg# Software. 13659607e0Smrg# 14659607e0Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15659607e0Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16659607e0Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17659607e0Smrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18659607e0Smrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19659607e0Smrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20659607e0Smrg 21a73597f9SmrgSUBDIRS = include src man 22b73be646SmrgMAINTAINERCLEANFILES = ChangeLog INSTALL 23659607e0Smrg 24a73597f9Smrgpkgconfigdir = $(libdir)/pkgconfig 25a73597f9Smrgpkgconfig_DATA = xorg-mouse.pc 26a73597f9Smrg 27b73be646Smrg.PHONY: ChangeLog INSTALL 28659607e0Smrg 29b73be646SmrgINSTALL: 30b73be646Smrg $(INSTALL_CMD) 316aab59a7Smrg 326aab59a7SmrgChangeLog: 336aab59a7Smrg $(CHANGELOG_CMD) 346aab59a7Smrg 35b73be646Smrgdist-hook: ChangeLog INSTALL 366aab59a7Smrg 37a73597f9Smrg# Provide an sdk location that is writable by this module 38a73597f9SmrgDISTCHECK_CONFIGURE_FLAGS = --with-sdkdir='$${includedir}/xorg' 39a73597f9Smrg 406aab59a7Smrgif LINT 416aab59a7Smrg# Check source code with tools like lint & sparse 426aab59a7Smrglint: 436aab59a7Smrg (cd src && $(MAKE) $(MAKEFLAGS) lint) 446aab59a7Smrgendif LINT 45