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