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