Makefile revision 851
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Makefile for X Consolidation Open Source Xorg driver modules
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Use is subject to license terms.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Permission is hereby granted, free of charge, to any person obtaining a
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# copy of this software and associated documentation files (the
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# "Software"), to deal in the Software without restriction, including
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# without limitation the rights to use, copy, modify, merge, publish,
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# distribute, and/or sell copies of the Software, and to permit persons
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# to whom the Software is furnished to do so, provided that the above
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# copyright notice(s) and this permission notice appear in all copies of
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# the Software and that both the above copyright notice(s) and this
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# permission notice appear in supporting documentation.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Except as contained in this notice, the name of a copyright holder
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# shall not be used in advertising or otherwise to promote the sale, use
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# or other dealings in this Software without prior written authorization
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# of the copyright holder.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# ident "@(#)Makefile 1.16 09/12/05 SMI"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster#
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster###############################################################################
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterOS_SUBDIRS_common = \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-keyboard \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-mouse \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-void \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-ast \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-dummy
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterOS_SUBDIRS_sparc = $(OS_SUBDIRS_common) \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-wsfb
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-acecad \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-synaptics \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-vmmouse \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-hotkey \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-apm \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-ark \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-ati \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-chips \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-cirrus \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-glint \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-i128 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-i740 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-intel \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-mach64 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-mga \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-neomagic \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-nv \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-openchrome \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-radeonhd \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-rendition \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-r128 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-s3 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-s3virge \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-savage \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-siliconmotion \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-sis \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-tdfx \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-tga \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-trident \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-tseng \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-vesa \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-vmware
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Subdirs we used to build, but now just need to clean up
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterOBSOLETE_SUBDIRS = \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-calcomp \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-citron \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-digitaledge \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-dmc \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-dynapro \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-elographics \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-fpit \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-hyperpen \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-jamstudio \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-magellan \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-microtouch \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-mutouch \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-palmax \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-penmount \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-spaceorb \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-summa \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-input-tek4957 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-cyrix \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-i810 \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-nsc \
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster xf86-video-vga \
xf86-video-via
PWD:sh=pwd
TOP=$(PWD)/..
### Include common definitions
DIRNAME="driver/"
include $(TOP)/common/Makefile.subdirs
# Dependencies between modules
xf86-input-vmmouse: xf86-input-mouse