Makefile revision 571
6ae232055d4d8a97267517c5e50074c2c819941and# Makefile for X Consolidation Open Source Library modules
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
6ae232055d4d8a97267517c5e50074c2c819941and# Use subject to license terms.
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# Permission is hereby granted, free of charge, to any person obtaining a
6ae232055d4d8a97267517c5e50074c2c819941and# copy of this software and associated documentation files (the
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# "Software"), to deal in the Software without restriction, including
6ae232055d4d8a97267517c5e50074c2c819941and# without limitation the rights to use, copy, modify, merge, publish,
6ae232055d4d8a97267517c5e50074c2c819941and# distribute, and/or sell copies of the Software, and to permit persons
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# to whom the Software is furnished to do so, provided that the above
2e545ce2450a9953665f701bb05350f0d3f26275nd# copyright notice(s) and this permission notice appear in all copies of
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# the Software and that both the above copyright notice(s) and this
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# permission notice appear in supporting documentation.
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
6ae232055d4d8a97267517c5e50074c2c819941and# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
6ae232055d4d8a97267517c5e50074c2c819941and# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
6ae232055d4d8a97267517c5e50074c2c819941and# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
6ae232055d4d8a97267517c5e50074c2c819941and# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
b43f840409794ed298e8634f6284741f193b6c4ftakashi# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
6ae232055d4d8a97267517c5e50074c2c819941and# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6ae232055d4d8a97267517c5e50074c2c819941and#
6ae232055d4d8a97267517c5e50074c2c819941and# Except as contained in this notice, the name of a copyright holder
b43f840409794ed298e8634f6284741f193b6c4ftakashi# shall not be used in advertising or otherwise to promote the sale, use
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# or other dealings in this Software without prior written authorization
6ae232055d4d8a97267517c5e50074c2c819941and# of the copyright holder.
b43f840409794ed298e8634f6284741f193b6c4ftakashi#
b43f840409794ed298e8634f6284741f193b6c4ftakashi# @(#)Makefile 1.26 08/10/24
b43f840409794ed298e8634f6284741f193b6c4ftakashi#
b43f840409794ed298e8634f6284741f193b6c4ftakashi###############################################################################
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and# Order copied from X.Org's util/modular/build.sh:
6ae232055d4d8a97267517c5e50074c2c819941and# the libraries have a dependency order:
6ae232055d4d8a97267517c5e50074c2c819941and# xtrans, Xau, Xdmcp before anything else
e5ce3ac0e9b720c0fa23782e29168a0810697fdetakashi# fontenc before Xfont
6ae232055d4d8a97267517c5e50074c2c819941and# ICE before SM
6ae232055d4d8a97267517c5e50074c2c819941and# X11 before Xext
6ae232055d4d8a97267517c5e50074c2c819941and# (X11 and SM) before Xt
6ae232055d4d8a97267517c5e50074c2c819941and# Xt before Xmu and Xpm and Xtst
6ae232055d4d8a97267517c5e50074c2c819941and# Xext before any other extension library
6ae232055d4d8a97267517c5e50074c2c819941and# Xfixes before Xcomposite
6ae232055d4d8a97267517c5e50074c2c819941and# Xp before XprintUtil before XprintAppUtil
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andOS_SUBDIRS_common = \
6ae232055d4d8a97267517c5e50074c2c819941and freetype \
6ae232055d4d8a97267517c5e50074c2c819941and fontconfig \
6ae232055d4d8a97267517c5e50074c2c819941and libpthread-stubs \
6ae232055d4d8a97267517c5e50074c2c819941and libxtrans \
6ae232055d4d8a97267517c5e50074c2c819941and libXau \
6ae232055d4d8a97267517c5e50074c2c819941and libXdmcp \
6ae232055d4d8a97267517c5e50074c2c819941and libX11 \
6ae232055d4d8a97267517c5e50074c2c819941and libXext \
6ae232055d4d8a97267517c5e50074c2c819941and libfontenc \
6ae232055d4d8a97267517c5e50074c2c819941and libFS \
6ae232055d4d8a97267517c5e50074c2c819941and libICE \
6ae232055d4d8a97267517c5e50074c2c819941and liblbxutil \
6ae232055d4d8a97267517c5e50074c2c819941and libSM \
6ae232055d4d8a97267517c5e50074c2c819941and libXt \
6ae232055d4d8a97267517c5e50074c2c819941and libXmu \
6ae232055d4d8a97267517c5e50074c2c819941and libXpm \
6ae232055d4d8a97267517c5e50074c2c819941and libXp \
6ae232055d4d8a97267517c5e50074c2c819941and libXaw \
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh libXfixes \
6ae232055d4d8a97267517c5e50074c2c819941and libXcomposite \
6ae232055d4d8a97267517c5e50074c2c819941and libXrender \
6ae232055d4d8a97267517c5e50074c2c819941and libXdamage \
6ae232055d4d8a97267517c5e50074c2c819941and libXcursor \
6ae232055d4d8a97267517c5e50074c2c819941and libXevie \
6ae232055d4d8a97267517c5e50074c2c819941and libXfont \
6ae232055d4d8a97267517c5e50074c2c819941and libXft \
6ae232055d4d8a97267517c5e50074c2c819941and libXi \
6ae232055d4d8a97267517c5e50074c2c819941and libXinerama \
6ae232055d4d8a97267517c5e50074c2c819941and libxkbfile \
6ae232055d4d8a97267517c5e50074c2c819941and libxkbui \
6ae232055d4d8a97267517c5e50074c2c819941and libXprintUtil \
6ae232055d4d8a97267517c5e50074c2c819941and libXprintAppUtil \
6ae232055d4d8a97267517c5e50074c2c819941and libXrandr \
6ae232055d4d8a97267517c5e50074c2c819941and libXres \
6ae232055d4d8a97267517c5e50074c2c819941and libXScrnSaver \
6ae232055d4d8a97267517c5e50074c2c819941and libXtsol \
6ae232055d4d8a97267517c5e50074c2c819941and libXtst \
6ae232055d4d8a97267517c5e50074c2c819941and libXv \
6ae232055d4d8a97267517c5e50074c2c819941and libXvMC \
6ae232055d4d8a97267517c5e50074c2c819941and libXxf86misc \
6ae232055d4d8a97267517c5e50074c2c819941and libXxf86vm \
6ae232055d4d8a97267517c5e50074c2c819941and libXlg3d \
6ae232055d4d8a97267517c5e50074c2c819941and hwc
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
6ae232055d4d8a97267517c5e50074c2c819941and libdrm \
6ae232055d4d8a97267517c5e50074c2c819941and mesa
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941andPWD:sh=pwd
6ae232055d4d8a97267517c5e50074c2c819941andTOP=$(PWD)/..
6ae232055d4d8a97267517c5e50074c2c819941and
6ae232055d4d8a97267517c5e50074c2c819941and### Include common definitions
6ae232055d4d8a97267517c5e50074c2c819941andDIRNAME="lib/"
6ae232055d4d8a97267517c5e50074c2c819941andinclude $(TOP)/common/Makefile.subdirs
6ae232055d4d8a97267517c5e50074c2c819941and