Makefile revision 967
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw###############################################################################
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# xf86-input-synaptics Makefile
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Permission is hereby granted, free of charge, to any person obtaining a
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# copy of this software and associated documentation files (the "Software"),
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# to deal in the Software without restriction, including without limitation
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# the rights to use, copy, modify, merge, publish, distribute, sublicense,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and/or sell copies of the Software, and to permit persons to whom the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Software is furnished to do so, subject to the following conditions:
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The above copyright notice and this permission notice (including the next
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# paragraph) shall be included in all copies or substantial portions of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Software.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
12b65585e720714b31036daaa2b30eb76014048eGordon Ross# DEALINGS IN THE SOFTWARE.
12b65585e720714b31036daaa2b30eb76014048eGordon Ross#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Package name used in tarballs
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE_NAME=xf86-input-synaptics
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Version number (used in path names)
b819cea2f73f98c5662230cc9affc8cc84f77fcfGordon RossMODULE_VERSION=1.2.1
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Checksums for upstream tarball
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwTARBALL_MD5 = 29a6f9da5123149e4abc8ff83880ed5c
6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2easTARBALL_SHA1 = ffdad38384f3dcbf650d1db7e3d75ed46935a2c6
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Man pages to apply Sun footer to & attributes to list
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwSUNTOUCHED_MANPAGES=man/*.man
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesSUN_PACKAGE=SUNWxorg-server
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United StatesMODULE_STABILITY=Volatile
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
7f667e74610492ddbce8ce60f52ece95d2401949jose borrego# Extra flags to pass to configure script
9fb67ea305c66b6a297583b9b0db6796b0dfe497afshin salek ardakani - Sun Microsystems - Irvine United States# - need to set install locations for HAL config file & probe util/script
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE_CONFIG_OPTS= \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw --with-hal-bin-dir=/usr/sbin \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw --with-hal-callouts-dir=/usr/lib/hal \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw --bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Libraries/modules to link with
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE_LD_OPTIONS= -lm
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Extra install rules
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE_ADD_INSTALL_TARGETS = install_fdi
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Fix path for installing headers in proto area
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinclude ../Makefile.inc
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwinstall_fdi: $(SOURCE_TARGETS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw mkdir -p $(FDI_DIR)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/fdi/11-x11-synaptics.fdi \
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw $(FDI_DIR)/
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw