Makefile revision 919
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# xf86-input-vmmouse Makefile
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater#
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# Use is subject to license terms.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
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:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
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
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# Software.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
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.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Package name used in tarballs
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterMODULE_NAME=xf86-input-vmmouse
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Version number (used in path names)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterMODULE_VERSION=12.6.5
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Checksums for upstream tarball
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntTARBALL_MD5 = ce78e0135b5e34338a1ea98afb933120
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterTARBALL_SHA1 = bf2f1031ccc0096f388272ce93b75572d24548be
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Patches to apply to source after unpacking, in order
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSOURCE_PATCHES = xf86LoaderReqSymLists.patch,-p1
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# vmmouse_client code won't build with Sun compiler
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntMODULE_COMPILER=gcc
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterMODULE_COMPILER_SET=yes
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Man pages to apply Sun footer to & attributes to list
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSUNTOUCHED_MANPAGES=man/*.man
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSUN_PACKAGE=SUNWxorg-server
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_STABILITY=Volatile
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Extra flags to pass to configure script
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# - need to set install locations for HAL config file & probe util/script
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterMODULE_CONFIG_OPTS= \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater --with-hal-bin-dir=/usr/sbin \
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)
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# Libraries/modules to link with
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsMODULE_LD_OPTIONS= mouse_drv.so
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonMODULE_ADD_SOURCE_TARGETS= source_mouse_drv_links
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../Makefile.inc
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updatersource_mouse_drv_links: default_source
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews ln -s $(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/input/mouse_drv.so $(SOURCE_DIR)/src/mouse_drv.so
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater ln -s $(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/input/mouse_drv.so $(SOURCE_DIR)/tools/mouse_drv.so
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater