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