Makefile revision 1281
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff###############################################################################
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# xf86-input-synaptics Makefile
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
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 "Software"),
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# to deal in the Software without restriction, including without limitation
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# the rights to use, copy, modify, merge, publish, distribute, sublicense,
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# and/or sell copies of the Software, and to permit persons to whom the
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# Software is furnished to do so, subject to the following conditions:
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# The above copyright notice and this permission notice (including the next
d3498432822fb487e58f8f72bb5f880dd8307d7dMichael Sawyer# paragraph) shall be included in all copies or substantial portions of the
95be83b467e2384d414693982318a5c06cccf1d7Andreas Gustafsson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
f9354808d122036e66e9f007a4bb12d4aa936aaeAndreas Gustafsson# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
b1d234eb75e2804e09d89178a76df39c321db51bBrian Wellington# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
b1d234eb75e2804e09d89178a76df39c321db51bBrian Wellington# DEALINGS IN THE SOFTWARE.
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# Package name used in tarballs
58007c5fde59b756174280d26916eb27f593e6ccBob Halley# Version number (used in path names)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Checksums for upstream tarball
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffTARBALL_SHA1 = adb8e28a8aced2ff660a4058d35b8656ffdf46ce
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffTARBALL_SHA256= d76f631e8e851ab631f9fde4ec2585be6702c5a28e2a951c9ad9545baf0fb0e2
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Patches to apply to source after unpacking, in order
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas Gustafsson# Man pages to apply Sun footer to & attributes to list
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Extra flags to pass to configure script
58007c5fde59b756174280d26916eb27f593e6ccBob HalleyMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# Override linker flags for programs
7e4d75a5daeaaf8a7f559f9bd7fbf540184e235cMark AndrewsPROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
353dcaf1cc77d122d9b4b750bbbfc4c96b4b292bAndreas GustafssonMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# Extra install rules
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# Fix path for installing headers in proto area
615f17d0171dd807c6803b25a255a8ea2051fbd4David LawrenceMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
615f17d0171dd807c6803b25a255a8ea2051fbd4David Lawrence# Regenerate configure after patching configure.ac
582952026017aee8b5fb8ada625165c579f7807bDavid Lawrence# Install xorg-synaptics.pc to /usr/share since it defines the architecture
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael Graff# independent header files in /usr/include and not any library flags
5a0ffa97751ef1ff29d1bf9d7f332eeb9f8edc21Michael GraffFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor