Makefile revision 1281
90N/A###############################################################################
4466N/A#
4466N/A# xf86-input-synaptics Makefile
90N/A#
90N/A# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
90N/A#
90N/A# Permission is hereby granted, free of charge, to any person obtaining a
4466N/A# copy of this software and associated documentation files (the "Software"),
90N/A# to deal in the Software without restriction, including without limitation
90N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
90N/A# and/or sell copies of the Software, and to permit persons to whom the
90N/A# Software is furnished to do so, subject to the following conditions:
90N/A#
90N/A# The above copyright notice and this permission notice (including the next
90N/A# paragraph) shall be included in all copies or substantial portions of the
90N/A# Software.
90N/A#
90N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2296N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
90N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
90N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
90N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
90N/A# DEALINGS IN THE SOFTWARE.
90N/A#
4466N/A#
90N/A
90N/A# Package name used in tarballs
90N/AMODULE_NAME=xf86-input-synaptics
90N/A
90N/A# Version number (used in path names)
90N/AMODULE_VERSION=1.5.99.903
90N/A
90N/A# Checksums for upstream tarball
90N/ATARBALL_MD5 = 56f125403497c55e0c88130b90c1c7b2
90N/ATARBALL_SHA1 = adb8e28a8aced2ff660a4058d35b8656ffdf46ce
90N/ATARBALL_SHA256= d76f631e8e851ab631f9fde4ec2585be6702c5a28e2a951c9ad9545baf0fb0e2
90N/A
90N/A# Patches to apply to source after unpacking, in order
90N/ASOURCE_PATCHES= 7164323.patch
90N/A
90N/A# Man pages to apply Sun footer to & attributes to list
90N/ASUNTOUCHED_MANPAGES=man/*.man
90N/AMODULE_STABILITY=Volatile
90N/A
90N/A# Extra flags to pass to configure script
90N/AMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
90N/A
90N/A# Libraries/modules to link with
90N/AMODULE_LD_OPTIONS= -z ignore -lm
90N/A
90N/A# Override linker flags for programs
90N/ASYN_PROG_LDFLAGS=$(MAPFILES_FOR_PROGS)
90N/APROGRAM_VARS = synclient syndaemon
4466N/APROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
4466N/AMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
4466N/A
4466N/A# Extra install rules
90N/AMODULE_ADD_INSTALL_TARGETS = install_fdi
90N/A
90N/A# Fix path for installing headers in proto area
90N/AMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
90N/A
90N/A# Regenerate configure after patching configure.ac
90N/AAUTORECONF=yes
90N/A
90N/A# Install xorg-synaptics.pc to /usr/share since it defines the architecture
90N/A# independent header files in /usr/include and not any library flags
90N/AMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
90N/AMODULE_PKGCONFIG_DIR_SET=yes
90N/A
90N/Ainclude ../Makefile.inc
90N/A
90N/AFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor
90N/A
90N/A$(FDI_DIR):
90N/A mkdir -p $(FDI_DIR)
90N/A
90N/Ainstall_fdi: $(SOURCE_TARGETS) $(FDI_DIR)
90N/A $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/conf/11-x11-synaptics.fdi \
$(FDI_DIR)/