Makefile revision 797
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Makefile for X Consolidation Open Source bits
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Use subject to license terms.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Permission is hereby granted, free of charge, to any person obtaining a
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# copy of this software and associated documentation files (the
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# "Software"), to deal in the Software without restriction, including
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# without limitation the rights to use, copy, modify, merge, publish,
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# distribute, and/or sell copies of the Software, and to permit persons
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# to whom the Software is furnished to do so, provided that the above
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# copyright notice(s) and this permission notice appear in all copies of
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# the Software and that both the above copyright notice(s) and this
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# permission notice appear in supporting documentation.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
489b7c4ab76ae8df137fbfcc2214f7baa52883a0Raymond Chen# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Except as contained in this notice, the name of a copyright holder
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amore# shall not be used in advertising or otherwise to promote the sale, use
e2c88f0c2610f16de7b639746b40dea5f3e2256eGarrett D'Amore# or other dealings in this Software without prior written authorization
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# of the copyright holder.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# @(#)Makefile 1.22 08/08/08
d73ae94e59c019f5cc3221ee0a0012d02091b40egc###############################################################################
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Modules have to be built in a specific order for dependencies to be
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# handled properly
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Some specific notes:
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# - app/rgb depends on the rgb.h header installed by the xserver, so has to
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# be built after xserver
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# - util/util-macros must be first, since any module that does autoreconf
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# requires it
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# - data/xbitmaps must be before app, as some applications depend on the
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# bitmaps installed, but the rest of data depends on applications like
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# xcursorgen for processing, so must come later
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# Need to install to proto area by default for inter-package dependencies to
d73ae94e59c019f5cc3221ee0a0012d02091b40egc# work right.
d73ae94e59c019f5cc3221ee0a0012d02091b40egc### Include common definitions