Makefile revision 1634
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen###############################################################################
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# xf86-input-synaptics driver for Synaptics & compatible touchpads
fd3994922cf234a59a83500933a0ac8f132c308dTimo Sirainen# Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# copy of this software and associated documentation files (the "Software"),
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# to deal in the Software without restriction, including without limitation
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Software is furnished to do so, subject to the following conditions:
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# The above copyright notice and this permission notice (including the next
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# paragraph) shall be included in all copies or substantial portions of the
1b33e848e84e6f74aa0e3339c32fa96bc15102a2Timo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1b33e848e84e6f74aa0e3339c32fa96bc15102a2Timo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
57fc30eb8669d1a564372a2ca9842da4f118663fTimo Sirainen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
50e20db49f29917fe9adcf1b56b11badf28bd0e4Timo Sirainen# DEALINGS IN THE SOFTWARE.
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Package name used in tarballs
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Version number (used in path names)
822ae9061773d9ac1246c35d3c47cc0f49cee3abTimo Sirainen# Checksums for upstream tarball
4b94ae3dcbace4781b64e87aea00ec0bc03a0d8aTimo SirainenTARBALL_SHA1 = aaeb19837e63f3c82dc202ece0abff20f98ceb1a
4b94ae3dcbace4781b64e87aea00ec0bc03a0d8aTimo SirainenTARBALL_SHA256= d39f100c74f3673778b53f17bab7690161925e25dd998a15dd8cc69b52e83f01
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Patches to apply to source after unpacking, in order
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Man pages to apply Sun footer to & attributes to list
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Extra flags to pass to configure script
a64adf62fa33f2463a86f990217b0c9078531a40Timo SirainenMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Extra flags to link with
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Extra install rules
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Fix path for installing headers in proto area and in xorg-synaptics.pc
61618d4c58080570f689614fec204ae14e90cef2Timo SirainenMODULE_CONFIG_OPTS += --with-sdkdir='$(XORG_SDK_INCLUDES_DIR)'
61618d4c58080570f689614fec204ae14e90cef2Timo SirainenMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
61618d4c58080570f689614fec204ae14e90cef2Timo Sirainen# Install xorg-synaptics.pc to /usr/share since it defines the architecture
50e20db49f29917fe9adcf1b56b11badf28bd0e4Timo Sirainen# independent header files in /usr/include and not any library flags
f69f7373151940308b18a9e16f9cf3dc56d4184eTimo SirainenFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor