Makefile revision 919
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter###############################################################################
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# xf86-input-vmmouse Makefile
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Use is subject to license terms.
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Permission is hereby granted, free of charge, to any person obtaining a
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# copy of this software and associated documentation files (the "Software"),
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# to deal in the Software without restriction, including without limitation
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# the rights to use, copy, modify, merge, publish, distribute, sublicense,
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# and/or sell copies of the Software, and to permit persons to whom the
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Software is furnished to do so, subject to the following conditions:
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# The above copyright notice and this permission notice (including the next
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# paragraph) shall be included in all copies or substantial portions of the
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# DEALINGS IN THE SOFTWARE.
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Package name used in tarballs
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Version number (used in path names)
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Checksums for upstream tarball
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterTARBALL_SHA1 = bf2f1031ccc0096f388272ce93b75572d24548be
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Patches to apply to source after unpacking, in order
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# vmmouse_client code won't build with Sun compiler
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Man pages to apply Sun footer to & attributes to list
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# Extra flags to pass to configure script
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter# - need to set install locations for HAL config file & probe util/script
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter --with-hal-callouts-dir=/usr/lib/hal$(ARCHLIBSUBDIR) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor$(ARCHLIBSUBDIR) \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef WalterMODULE_ADD_SOURCE_TARGETS= source_mouse_drv_links
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter ln -s $(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/input/mouse_drv.so $(SOURCE_DIR)/src/mouse_drv.so