Makefile revision 1445
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra###############################################################################
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# xf86-input-synaptics driver for Synaptics & compatible touchpads
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Permission is hereby granted, free of charge, to any person obtaining a
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# copy of this software and associated documentation files (the "Software"),
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# to deal in the Software without restriction, including without limitation
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# the rights to use, copy, modify, merge, publish, distribute, sublicense,
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# and/or sell copies of the Software, and to permit persons to whom the
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Software is furnished to do so, subject to the following conditions:
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# The above copyright notice and this permission notice (including the next
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# paragraph) shall be included in all copies or substantial portions of the
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# DEALINGS IN THE SOFTWARE.
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Package name used in tarballs
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Version number (used in path names)
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Checksums for upstream tarball
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraTARBALL_SHA1 = 6c18b4858bd4322922f8a8ce612c552845949fa7
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraTARBALL_SHA256= 14e7d54f81c2a2503f8acbe5e265dc336a0f2b30d007657d7afbeff979821c11
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Patches to apply to source after unpacking, in order
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Man pages to apply Sun footer to & attributes to list
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Extra flags to pass to configure script
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Extra flags to link driver, but not utility programs with
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraDRIVER_LD_FLAGS = $(DEFAULT_MODTYPE_LD_OPTIONS) -lm
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraMODULE_CONFIG_OPTS += XORG_LIBS="$(DRIVER_LD_FLAGS)"
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Override linker flags for programs
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraPROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Extra install rules
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Fix path for installing headers in proto area
a31d4503481b752a9ea058cce3d9b025d040a87cTilo MitraMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Regenerate configure after patching configure.ac
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# Install xorg-synaptics.pc to /usr/share since it defines the architecture
a31d4503481b752a9ea058cce3d9b025d040a87cTilo Mitra# independent header files in /usr/include and not any library flags