2009-05-03 08:11:13 -06:00
|
|
|
# Copyright 2008 VMware, Inc.
|
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
# copy of this software and associated documentation files (the "Software"),
|
|
|
|
# to deal in the Software without restriction, including without limitation
|
|
|
|
# on the rights to use, copy, modify, merge, publish, distribute, sub
|
|
|
|
# license, and/or sell copies of the Software, and to permit persons to whom
|
|
|
|
# the Software is furnished to do so, subject to the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice (including the next
|
|
|
|
# paragraph) shall be included in all copies or substantial portions of the
|
|
|
|
# Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
# VMWARE, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|
|
|
bin_PROGRAMS = @DRIVER_NAME@_detect
|
|
|
|
|
2010-08-22 06:11:57 -06:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/shared $(XORG_CFLAGS)
|
2009-05-03 08:11:13 -06:00
|
|
|
|
|
|
|
@DRIVER_NAME@_detect_SOURCES = vmmouse_detect.c
|
|
|
|
@DRIVER_NAME@_detect_LDADD = $(top_builddir)/shared/lib@DRIVER_NAME@.la
|
|
|
|
|
|
|
|
calloutsdir=$(HAL_CALLOUTS_DIR)
|
|
|
|
callouts_SCRIPTS = hal-probe-vmmouse
|
|
|
|
|
2010-05-24 02:51:42 -06:00
|
|
|
hal-probe-vmmouse: hal-probe-vmmouse.in
|
2010-08-22 06:11:57 -06:00
|
|
|
$(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' \
|
2009-05-03 08:11:13 -06:00
|
|
|
-e 's|__HAL_BIN_PREFIX__|$(HAL_BIN_DIR)|g' \
|
2010-05-24 02:51:42 -06:00
|
|
|
< $< > $@
|
2009-05-03 08:11:13 -06:00
|
|
|
|
|
|
|
CLEANFILES = hal-probe-vmmouse
|
2010-05-24 02:51:42 -06:00
|
|
|
|
|
|
|
if HAS_XORG_CONF_DIR
|
|
|
|
|
|
|
|
confdir=$(XORG_CONF_DIR)
|
|
|
|
dist_conf_DATA = 50-vmmouse.conf
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAS_UDEV_RULES_DIR
|
|
|
|
|
|
|
|
udevdir=$(UDEV_RULES_DIR)
|
|
|
|
udev_DATA = 69-xorg-vmmouse.rules
|
|
|
|
|
|
|
|
$(udev_DATA): $(udev_DATA).in
|
2011-04-25 08:10:23 -06:00
|
|
|
$(AM_V_GEN)$(SED) -e 's|__BIN_PREFIX__|$(bindir)|g' < $< > $@
|
2010-05-24 02:51:42 -06:00
|
|
|
|
|
|
|
CLEANFILES += $(udev_DATA)
|
|
|
|
|
|
|
|
endif # HAS_UDEV_RULES_DIR
|
2010-08-22 06:11:57 -06:00
|
|
|
|
|
|
|
EXTRA_DIST = $(udev_DATA).in hal-probe-vmmouse.in
|