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