Makefile.am revision 9418810d
1d075918cSmrg# Copyright 2008 VMware, Inc. 2d075918cSmrg# 3d075918cSmrg# Permission is hereby granted, free of charge, to any person obtaining a 4d075918cSmrg# copy of this software and associated documentation files (the "Software"), 5d075918cSmrg# to deal in the Software without restriction, including without limitation 6d075918cSmrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7d075918cSmrg# license, and/or sell copies of the Software, and to permit persons to whom 8d075918cSmrg# the Software is furnished to do so, subject to the following conditions: 9d075918cSmrg# 10d075918cSmrg# The above copyright notice and this permission notice (including the next 11d075918cSmrg# paragraph) shall be included in all copies or substantial portions of the 12d075918cSmrg# Software. 13d075918cSmrg# 14d075918cSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15d075918cSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16d075918cSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17d075918cSmrg# VMWARE, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18d075918cSmrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19d075918cSmrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20d075918cSmrg 21d075918cSmrgbin_PROGRAMS = @DRIVER_NAME@_detect 22d075918cSmrg 23d075918cSmrgINCLUDES = -I$(top_srcdir)/shared 24d075918cSmrg 25d075918cSmrg@DRIVER_NAME@_detect_SOURCES = vmmouse_detect.c 26d075918cSmrg@DRIVER_NAME@_detect_LDADD = $(top_builddir)/shared/lib@DRIVER_NAME@.la 27d075918cSmrg 28d075918cSmrgcalloutsdir=$(HAL_CALLOUTS_DIR) 29d075918cSmrgcallouts_SCRIPTS = hal-probe-vmmouse 30d075918cSmrg 319418810dSmrghal-probe-vmmouse: hal-probe-vmmouse.in 32d075918cSmrg sed -e 's|__BIN_PREFIX__|$(bindir)|g' \ 33d075918cSmrg -e 's|__HAL_BIN_PREFIX__|$(HAL_BIN_DIR)|g' \ 349418810dSmrg < $< > $@ 35d075918cSmrg 36d075918cSmrgEXTRA_DIST = hal-probe-vmmouse.in 37d075918cSmrg 38d075918cSmrgCLEANFILES = hal-probe-vmmouse 399418810dSmrg 409418810dSmrgif HAS_XORG_CONF_DIR 419418810dSmrg 429418810dSmrgconfdir=$(XORG_CONF_DIR) 439418810dSmrgdist_conf_DATA = 50-vmmouse.conf 449418810dSmrg 459418810dSmrgendif 469418810dSmrg 479418810dSmrgif HAS_UDEV_RULES_DIR 489418810dSmrg 499418810dSmrgudevdir=$(UDEV_RULES_DIR) 509418810dSmrgudev_DATA = 69-xorg-vmmouse.rules 519418810dSmrg 529418810dSmrg$(udev_DATA): $(udev_DATA).in 539418810dSmrg sed -e 's|__BIN_PREFIX__|$(bindir)|g' < $< > $@ 549418810dSmrg 559418810dSmrgEXTRA_DIST += $(udev_DATA).in 569418810dSmrgCLEANFILES += $(udev_DATA) 579418810dSmrg 589418810dSmrgendif # HAS_UDEV_RULES_DIR 59