Makefile revision 316
546N/A# Makefile for X Consolidation Open Source Xorg driver modules
546N/A#
546N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
546N/A# Use subject to license terms.
546N/A#
546N/A# Permission is hereby granted, free of charge, to any person obtaining a
546N/A# copy of this software and associated documentation files (the
546N/A# "Software"), to deal in the Software without restriction, including
546N/A# without limitation the rights to use, copy, modify, merge, publish,
546N/A# distribute, and/or sell copies of the Software, and to permit persons
546N/A# to whom the Software is furnished to do so, provided that the above
546N/A# copyright notice(s) and this permission notice appear in all copies of
546N/A# the Software and that both the above copyright notice(s) and this
546N/A# permission notice appear in supporting documentation.
546N/A#
546N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
546N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
943N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
546N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
546N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
919N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
919N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
919N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
919N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
919N/A#
546N/A# Except as contained in this notice, the name of a copyright holder
919N/A# shall not be used in advertising or otherwise to promote the sale, use
919N/A# or other dealings in this Software without prior written authorization
919N/A# of the copyright holder.
546N/A#
919N/A# @(#)Makefile 1.8 07/12/03
919N/A#
919N/A###############################################################################
919N/A
919N/AOS_SUBDIRS_common = \
919N/A xf86-input-keyboard \
919N/A xf86-input-mouse \
546N/A xf86-input-void \
546N/A xf86-video-dummy
546N/A
546N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common) \
546N/A xf86-video-wsfb
546N/A
546N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
546N/A xf86-input-acecad \
546N/A xf86-input-calcomp \
546N/A xf86-input-citron \
546N/A xf86-input-digitaledge \
546N/A xf86-input-dmc \
546N/A xf86-input-dynapro \
546N/A xf86-input-elographics \
546N/A xf86-input-fpit \
546N/A xf86-input-hyperpen \
546N/A xf86-input-jamstudio \
546N/A xf86-input-magellan \
546N/A xf86-input-microtouch \
546N/A xf86-input-mutouch \
546N/A xf86-input-palmax \
546N/A xf86-input-penmount \
546N/A xf86-input-spaceorb \
546N/A xf86-input-summa \
546N/A xf86-input-tek4957 \
546N/A xf86-input-vmmouse \
546N/A xf86-video-apm \
546N/A xf86-video-ark \
546N/A xf86-video-ast \
546N/A xf86-video-ati \
546N/A xf86-video-chips \
546N/A xf86-video-cirrus \
546N/A xf86-video-cyrix \
546N/A xf86-video-glint \
546N/A xf86-video-i128 \
546N/A xf86-video-i740 \
546N/A xf86-video-intel \
546N/A xf86-video-mga \
546N/A xf86-video-neomagic \
546N/A xf86-video-nsc \
546N/A xf86-video-nv \
546N/A xf86-video-radeonhd \
546N/A xf86-video-rendition \
546N/A xf86-video-s3 \
546N/A xf86-video-s3virge \
546N/A xf86-video-savage \
546N/A xf86-video-siliconmotion \
546N/A xf86-video-sis \
546N/A xf86-video-tdfx \
546N/A xf86-video-tga \
546N/A xf86-video-trident \
546N/A xf86-video-tseng \
546N/A xf86-video-vesa \
546N/A xf86-video-vga \
546N/A xf86-video-via \
546N/A xf86-video-vmware
546N/A
546N/A
546N/AMACH:sh=uname -p
546N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
546N/A
546N/Aall: install
546N/A
546N/AWorld: clean install
546N/A
546N/Aclean:
546N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
546N/A
546N/Ainstall:
546N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
546N/A
546N/Adownload:
546N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
546N/A
546N/Asubdirs:
546N/A @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
546N/A for i in $(OS_SUBDIRS) ;\
546N/A do \
546N/A (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/driver/$$i..."; \
546N/A $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
546N/A done
546N/A