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