Makefile revision 1352
1029N/A###############################################################################
1029N/A#
1339N/A# xf86-input-mouse 1.x Makefile
1029N/A#
1339N/A# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
1029N/A#
1029N/A# Permission is hereby granted, free of charge, to any person obtaining a
1123N/A# copy of this software and associated documentation files (the "Software"),
1123N/A# to deal in the Software without restriction, including without limitation
1123N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1123N/A# and/or sell copies of the Software, and to permit persons to whom the
1123N/A# Software is furnished to do so, subject to the following conditions:
1123N/A#
1123N/A# The above copyright notice and this permission notice (including the next
1123N/A# paragraph) shall be included in all copies or substantial portions of the
1123N/A# Software.
1123N/A#
1123N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1123N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1123N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1123N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1123N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1123N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1123N/A# DEALINGS IN THE SOFTWARE.
1029N/A#
1029N/A#
1029N/A
1029N/A# Package name used in tarballs
1029N/AMODULE_NAME=xf86-input-mouse
1029N/A
1351N/A# Version number (used in path names)
1029N/AMODULE_VERSION=1.9.0
1029N/A
1351N/A# Checksums for upstream tarball
1351N/ATARBALL_MD5 = 36b5b92000c4644f648b58a535e4ee73
1029N/ATARBALL_SHA1 = 5f9e5f450100252efa4f8b074fbb262c42811d46
1029N/ATARBALL_SHA256 = 5d601e4bae53d5e9ead4ecd700f1beb5aeaf78b79e634c4aa381a9ce00276488
1029N/A
1123N/A# Patches to apply to source after unpacking, in order
1029N/ASOURCE_PATCHES = \
1339N/A 6892799.patch,-p1 \
1123N/A 15798251.patch,-p1
1123N/A
1360N/A# Man pages to apply Sun footer to & attributes to list
1360N/ASUNTOUCHED_MANPAGES=man/*.man
1029N/AMODULE_STABILITY=Volatile
1029N/A
1123N/A# Libraries/modules to link with
1029N/AMODULE_LD_OPTIONS= -ldevinfo -lm
1029N/A
1029N/A# Additional install rules beyond what upstream installs
1029N/AMODULE_ADD_INSTALL_TARGETS=install_docs
1029N/A
1029N/A# Install xorg-mouse.pc to /usr/share
1029N/AMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
1029N/AMODULE_PKGCONFIG_DIR_SET=yes
1123N/A
1029N/AMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
1029N/A
1029N/Ainclude ../Makefile.inc
1029N/A
install_docs: $(PROTODIR)$(X11_DOC_DIR)/README.mouse
$(SOURCE_DIR)/README: $(INSTALL_DEPS)
$(PROTODIR)$(X11_DOC_DIR):
mkdir -p $(PROTODIR)$(X11_DOC_DIR)
$(PROTODIR)$(X11_DOC_DIR)/README.mouse: $(PROTODIR)$(X11_DOC_DIR) $(SOURCE_DIR)/README
$(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/README $@