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