Makefile revision 1281
4778ff543a041ac356d6e661cc9b66c3fafa2092Adam Moore###############################################################################
2c5ce90c334a2d0f18474e85c93b424b6ec9daaaAdam Moore# xf86-input-synaptics Makefile
2c5ce90c334a2d0f18474e85c93b424b6ec9daaaAdam Moore# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
4778ff543a041ac356d6e661cc9b66c3fafa2092Adam Moore# Permission is hereby granted, free of charge, to any person obtaining a
dbe7d1d8fcb85b219fa0d9ab081b7724c651e63dAdam Moore# copy of this software and associated documentation files (the "Software"),
dbe7d1d8fcb85b219fa0d9ab081b7724c651e63dAdam Moore# to deal in the Software without restriction, including without limitation
e125e48e3547df3d96d6f2b0e1cf71c9a12a86b5Adam Moore# the rights to use, copy, modify, merge, publish, distribute, sublicense,
e125e48e3547df3d96d6f2b0e1cf71c9a12a86b5Adam Moore# and/or sell copies of the Software, and to permit persons to whom the
e125e48e3547df3d96d6f2b0e1cf71c9a12a86b5Adam Moore# Software is furnished to do so, subject to the following conditions:
dbe7d1d8fcb85b219fa0d9ab081b7724c651e63dAdam Moore# The above copyright notice and this permission notice (including the next
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# paragraph) shall be included in all copies or substantial portions of the
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam Moore# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# DEALINGS IN THE SOFTWARE.
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam Moore# Package name used in tarballs
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# Version number (used in path names)
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# Checksums for upstream tarball
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam MooreTARBALL_SHA1 = adb8e28a8aced2ff660a4058d35b8656ffdf46ce
0670af1110de6616e0c87818a4ddbd048bc07b97Adam MooreTARBALL_SHA256= d76f631e8e851ab631f9fde4ec2585be6702c5a28e2a951c9ad9545baf0fb0e2
0670af1110de6616e0c87818a4ddbd048bc07b97Adam Moore# Patches to apply to source after unpacking, in order
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam Moore# Man pages to apply Sun footer to & attributes to list
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam Moore# Extra flags to pass to configure script
701dfa296d4afcfc9da4c68aaa58369782ca12f4Adam MooreMODULE_CONFIG_OPTS= --bindir=$(X11_SERVERLIBS_DIR)
7fe7b305509bbc3a3b6fc04bc7f03ed345ed8daaAdam Moore# Override linker flags for programs
6e1414a3787add08f9e6457d3d872d980d614862Adam MoorePROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(SYN_PROG_LDFLAGS)")
6e1414a3787add08f9e6457d3d872d980d614862Adam MooreMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
bf8188e114b371f65f4bf67ce831bc687ce17e4eAdam Moore# Extra install rules
57fe6dcf945efb6f89119a961654a9b0914ddc5cAdam Moore# Fix path for installing headers in proto area
b701c311ef82111da645c974b7f65d58152447f3Adam MooreMODULE_INSTALL_MAKEFLAGS = sdkdir='$(XORG_SDK_INCLUDES_DIR)'
57fe6dcf945efb6f89119a961654a9b0914ddc5cAdam Moore# Regenerate configure after patching configure.ac
4275b99a8df46fa4dc6836fb581845ebd8857e39Adam Moore# Install xorg-synaptics.pc to /usr/share since it defines the architecture
f2af787d8d8c17b679458bd58b44846f12b94904Adam Moore# independent header files in /usr/include and not any library flags