Makefile revision 969
98N/A###############################################################################
98N/A#
98N/A# xf86-input-vmmouse Makefile
98N/A#
606N/A# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
769N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the "Software"),
98N/A# to deal in the Software without restriction, including without limitation
98N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
98N/A# and/or sell copies of the Software, and to permit persons to whom the
98N/A# Software is furnished to do so, subject to the following conditions:
98N/A#
98N/A# The above copyright notice and this permission notice (including the next
98N/A# paragraph) shall be included in all copies or substantial portions of the
98N/A# Software.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
98N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
98N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
98N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
98N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
98N/A# DEALINGS IN THE SOFTWARE.
98N/A#
98N/A#
98N/A
98N/A# Package name used in tarballs
98N/AMODULE_NAME=xf86-input-vmmouse
98N/A
98N/A# Version number (used in path names)
98N/AMODULE_VERSION=12.6.5
813N/A
98N/A# Checksums for upstream tarball
98N/ATARBALL_MD5 = ce78e0135b5e34338a1ea98afb933120
98N/ATARBALL_SHA1 = bf2f1031ccc0096f388272ce93b75572d24548be
493N/A
98N/A# Patches to apply to source after unpacking, in order
98N/ASOURCE_PATCHES = xf86LoaderReqSymLists.patch,-p1
606N/A
98N/A# vmmouse_client code won't build with Sun compiler
98N/AMODULE_COMPILER=gcc
606N/AMODULE_COMPILER_SET=yes
606N/A
695N/A# Man pages to apply Sun footer to & attributes to list
705N/ASUNTOUCHED_MANPAGES=man/*.man
813N/ASUN_PACKAGE=SUNWxorg-server
813N/AMODULE_STABILITY=Volatile
606N/A
98N/A# Extra flags to pass to configure script
98N/A# - need to set install locations for HAL config file & probe util/script
493N/AMODULE_CONFIG_OPTS= \
493N/A --with-hal-bin-dir=/usr/sbin \
98N/A --with-hal-callouts-dir=/usr/lib/hal$(ARCHLIBSUBDIR) \
98N/A --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor$(ARCHLIBSUBDIR) \
--bindir=$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
# Additional install steps to run
MODULE_ADD_INSTALL_TARGETS_64 = uninstall-hal-files
MODULE_ADD_INSTALL_TARGETS = $(MODULE_ADD_INSTALL_TARGETS_$(BUILD_TYPE))
include ../Makefile.inc
uninstall-hal-files: default_install
(cd $(SOURCE_DIR)/tools ; \
$(BUILD_ENV) $(MODULE_MAKE) $(MAKEFLAGS) $(DEFAULT_INSTALL_MAKEFLAGS) \
uninstall)
(cd $(SOURCE_DIR)/fdi ; \
$(BUILD_ENV) $(MODULE_MAKE) $(MAKEFLAGS) $(DEFAULT_INSTALL_MAKEFLAGS) \
uninstall)