Makefile revision 1351
749N/A###############################################################################
749N/A#
749N/A# xf86-input-vmmouse Makefile
749N/A#
749N/A# Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
749N/A#
749N/A# Permission is hereby granted, free of charge, to any person obtaining a
749N/A# copy of this software and associated documentation files (the "Software"),
749N/A# to deal in the Software without restriction, including without limitation
749N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
749N/A# and/or sell copies of the Software, and to permit persons to whom the
749N/A# Software is furnished to do so, subject to the following conditions:
749N/A#
749N/A# The above copyright notice and this permission notice (including the next
749N/A# paragraph) shall be included in all copies or substantial portions of the
749N/A# Software.
749N/A#
749N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
749N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
749N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
749N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
749N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
749N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
749N/A# DEALINGS IN THE SOFTWARE.
749N/A#
749N/A#
749N/A
749N/A# Package name used in tarballs
749N/AMODULE_NAME=xf86-input-vmmouse
749N/A
749N/A# Version number (used in path names)
749N/AMODULE_VERSION=13.0.0
749N/A
749N/A# Checksums for upstream tarball
749N/ATARBALL_MD5 = 34f9f64ee6a1a51fc8266a9af24e1e07
749N/ATARBALL_SHA1 = 0fa67d2ca9b2b26d32b93cc030fc3ea28964fe81
749N/ATARBALL_SHA256= 04cfb60366008d4db815c550d8fb8d0a4270c75fa7a20fa3bddc9ecbd355612c
749N/A
749N/A# Patches to apply to source after unpacking, in order
749N/ASOURCE_PATCHES = libraries.patch,-p1
749N/A
749N/A# Regenerate configure after patching src/Makefile.am in libraries.patch
749N/AAUTORECONF=yes
749N/A
749N/A# vmmouse_client code won't build with Sun compiler
749N/AMODULE_COMPILER=gcc
749N/AMODULE_COMPILER_SET=yes
749N/A
749N/A# Need to use GNU Make to build due to Sun make bug 6474905
749N/AMODULE_MAKE=$(GNUMAKE)
749N/AMODULE_MAKE_SET=yes
749N/A
749N/A# Man pages to apply Sun footer to & attributes to list
749N/ASUNTOUCHED_MANPAGES=man/*.man
749N/AMODULE_STABILITY=Volatile
749N/A
749N/A# Extra flags to pass to configure script
749N/A# - need to set install locations for HAL config file & probe util/script
749N/AMODULE_CONFIG_OPTS= \
749N/A --with-hal-bin-dir=/usr/sbin \
749N/A --with-hal-callouts-dir=/usr/lib/hal \
749N/A --with-hal-fdi-dir=/etc/hal/fdi/policy/10osvendor \
749N/A --bindir=$(X11_SERVERLIBS_DIR)
749N/A
749N/A# Extra flags to link driver, but not utility programs with
749N/ADRIVER_LD_FLAGS = $(DEFAULT_MODTYPE_LD_OPTIONS)
749N/AMODULE_CONFIG_OPTS += XORG_LIBS="$(DRIVER_LD_FLAGS)"
749N/AUSE_DEFAULT_MODTYPE_LD_OPTIONS = no
749N/A
749N/A# Override linker flags for programs
749N/AVMM_PROG_LDFLAGS=$(PROG_LDFLAGS) ../shared/libvmmouse.a
749N/APROGRAM_VARS = vmmouse_detect
749N/APROGRAM_MAKEFLAGS = $(PROGRAM_VARS:%=%_LDADD="$(VMM_PROG_LDFLAGS)")
749N/AMODULE_BUILD_MAKEFLAGS = AM_MAKEFLAGS='$(PROGRAM_MAKEFLAGS)'
749N/A
749N/Ainclude ../Makefile.inc
749N/A