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