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