Makefile revision 1445
70N/A###############################################################################
70N/A#
967N/A# xf86-input-synaptics driver for Synaptics & compatible touchpads
70N/A#
70N/A# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/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
70N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
70N/A# DEALINGS IN THE SOFTWARE.
70N/A#
70N/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)
98N/AMODULE_VERSION=1.7.8
551N/A
321N/A# Checksums for upstream tarball
321N/ATARBALL_MD5 = 4279611b096e17865912c6f91b86a648
550N/ATARBALL_SHA1 = 6c18b4858bd4322922f8a8ce612c552845949fa7
550N/ATARBALL_SHA256= 14e7d54f81c2a2503f8acbe5e265dc336a0f2b30d007657d7afbeff979821c11
213N/A
649N/A# Patches to apply to source after unpacking, in order
304N/ASOURCE_PATCHES= libraries.patch,-p1
530N/A
425N/A# Man pages to apply Sun footer to & attributes to list
425N/ASUNTOUCHED_MANPAGES=man/*.man
325N/AMODULE_STABILITY=Volatile
493N/A
536N/A# Extra flags to pass to configure script
456N/AMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
320N/A
332N/A# Extra flags to link driver, but not utility programs with
501N/ADRIVER_LD_FLAGS = $(DEFAULT_MODTYPE_LD_OPTIONS) -lm
231N/AMODULE_CONFIG_OPTS += XORG_LIBS="$(DRIVER_LD_FLAGS)"
550N/AUSE_DEFAULT_MODTYPE_LD_OPTIONS = no
347N/A
532N/A# Override linker flags for programs
525N/ASYN_PROG_LDFLAGS=$(MAPFILES_FOR_PROGS)
463N/APROGRAM_VARS = synclient syndaemon
493N/APROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
425N/AMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
493N/A
791N/A# Extra install rules
472N/AMODULE_ADD_INSTALL_TARGETS = install_fdi
324N/A
347N/A# Fix path for installing headers in proto area
310N/AMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
316N/A
474N/A# Regenerate configure after patching configure.ac
290N/AAUTORECONF=yes
332N/A
464N/A# Install xorg-synaptics.pc to /usr/share since it defines the architecture
332N/A# independent header files in /usr/include and not any library flags
509N/AMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
835N/AMODULE_PKGCONFIG_DIR_SET=yes
835N/A
332N/Ainclude ../Makefile.inc
210N/A
493N/AFDI_DIR=$(PROTODIR)/etc/hal/fdi/policy/10osvendor
792N/A
128N/A$(FDI_DIR):
414N/A mkdir -p $(FDI_DIR)
484N/A
326N/Ainstall_fdi: $(SOURCE_TARGETS) $(FDI_DIR)
493N/A $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/conf/11-x11-synaptics.fdi \
335N/A $(FDI_DIR)/
493N/A