Makefile revision 911
851N/A###############################################################################
851N/A#
851N/A# xf86-input-synaptics Makefile
851N/A#
1088N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
851N/A# Use is subject to license terms.
851N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the
919N/A# "Software"), to deal in the Software without restriction, including
919N/A# without limitation the rights to use, copy, modify, merge, publish,
919N/A# distribute, and/or sell copies of the Software, and to permit persons
919N/A# to whom the Software is furnished to do so, provided that the above
919N/A# copyright notice(s) and this permission notice appear in all copies of
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
919N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
919N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
919N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
919N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
919N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
919N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
851N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
851N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
851N/A#
851N/A# Except as contained in this notice, the name of a copyright holder
851N/A# shall not be used in advertising or otherwise to promote the sale, use
851N/A# or other dealings in this Software without prior written authorization
851N/A# of the copyright holder.
1179N/A#
851N/A#
911N/A
1179N/A# Package name used in tarballs
1179N/AMODULE_NAME=xf86-input-synaptics
911N/A
851N/A# Version number (used in path names)
851N/AMODULE_VERSION=1.2.1
851N/A
851N/A# Checksums for upstream tarball
851N/ATARBALL_MD5 = 29a6f9da5123149e4abc8ff83880ed5c
1179N/ATARBALL_SHA1 = ffdad38384f3dcbf650d1db7e3d75ed46935a2c6
851N/A
851N/A# Man pages to apply Sun footer to & attributes to list
851N/ASUNTOUCHED_MANPAGES=man/*.man
851N/ASUN_PACKAGE=SUNWxorg-server
1088N/AMODULE_STABILITY=Volatile
1088N/A
1088N/A# Extra flags to pass to configure script
1088N/A# - need to set install locations for HAL config file & probe util/script
1088N/AMODULE_CONFIG_OPTS= \
851N/A --with-hal-bin-dir=/usr/sbin \
1097N/A --with-hal-callouts-dir=/usr/lib/hal \
1097N/A --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor \
1097N/A --bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
1097N/A
1097N/A# Libraries/modules to link with
851N/AMODULE_LD_OPTIONS= -lm
851N/A
1088N/A# Extra install rules
1088N/AMODULE_ADD_INSTALL_TARGETS = install_fdi
1088N/A
1088N/A# Fix path for installing headers in proto area
1088N/AMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
1088N/A
1088N/Ainclude ../Makefile.inc
1088N/A
FDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor
install_fdi: $(SOURCE_TARGETS)
mkdir -p $(FDI_DIR)
$(INSTALL_SCRIPT) $(SOURCE_DIR)/fdi/11-x11-synaptics.fdi $(FDI_DIR)/