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