Makefile revision 919
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# xf86-input-vmmouse Makefile
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Use is subject to license terms.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# copy of this software and associated documentation files (the "Software"),
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# to deal in the Software without restriction, including without limitation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# Software is furnished to do so, subject to the following conditions:
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# The above copyright notice and this permission notice (including the next
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# paragraph) shall be included in all copies or substantial portions of the
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Package name used in tarballs
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Version number (used in path names)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Checksums for upstream tarball
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterTARBALL_SHA1 = bf2f1031ccc0096f388272ce93b75572d24548be
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Patches to apply to source after unpacking, in order
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSOURCE_PATCHES = xf86LoaderReqSymLists.patch,-p1
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# vmmouse_client code won't build with Sun compiler
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Man pages to apply Sun footer to & attributes to list
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Extra flags to pass to configure script
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# - need to set install locations for HAL config file & probe util/script
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --with-hal-callouts-dir=/usr/lib/hal$(ARCHLIBSUBDIR) \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor$(ARCHLIBSUBDIR) \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonMODULE_ADD_SOURCE_TARGETS= source_mouse_drv_links
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews ln -s $(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/input/mouse_drv.so $(SOURCE_DIR)/src/mouse_drv.so