Makefile revision 1196
c40265eba0c99708887d68e67901924065ba2514Brian Wellington###############################################################################
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# xf86-input-synaptics Makefile
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# to deal in the Software without restriction, including without limitation
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and/or sell copies of the Software, and to permit persons to whom the
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# Software is furnished to do so, subject to the following conditions:
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# The above copyright notice and this permission notice (including the next
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# DEALINGS IN THE SOFTWARE.
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews# Package name used in tarballs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Version number (used in path names)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Checksums for upstream tarball
48cbc7cd1eb8e7620dce2b5cda587bbd3a459d59Tinderbox UserTARBALL_SHA1 = e41201476f4bc8658291808d2d6ef2e0535179ae
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Man pages to apply Sun footer to & attributes to list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Extra flags to pass to configure script
7208386cd37a2092c70eddf80cf29519b16c4c80Mark AndrewsMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews# Override linker flags for programs
7208386cd37a2092c70eddf80cf29519b16c4c80Mark AndrewsPROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
7208386cd37a2092c70eddf80cf29519b16c4c80Mark AndrewsMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Extra install rules
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Fix path for installing headers in proto area
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Install xorg-synaptics.pc to /usr/share since it defines the architecture
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# independent header files in /usr/include and not any library flags
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor