Makefile revision 705
235N/A# Makefile for X Consolidation Open Source Library modules
235N/A#
822N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
822N/A# Use subject to license terms.
822N/A#
235N/A# Permission is hereby granted, free of charge, to any person obtaining a
1339N/A# copy of this software and associated documentation files (the
235N/A# "Software"), to deal in the Software without restriction, including
235N/A# without limitation the rights to use, copy, modify, merge, publish,
919N/A# distribute, and/or sell copies of the Software, and to permit persons
919N/A# to whom the Software is furnished to do so, provided that the above
919N/A# copyright notice(s) and this permission notice appear in all copies of
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
919N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
919N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
919N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
919N/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#
919N/A# Except as contained in this notice, the name of a copyright holder
235N/A# shall not be used in advertising or otherwise to promote the sale, use
235N/A# or other dealings in this Software without prior written authorization
235N/A# of the copyright holder.
822N/A#
235N/A# @(#)Makefile 1.28 09/01/14
970N/A#
970N/A###############################################################################
970N/A
970N/A# Order copied from X.Org's util/modular/build.sh:
970N/A# the libraries have a dependency order:
970N/A# xtrans, Xau, Xdmcp before anything else
970N/A# fontenc before Xfont
1003N/A# ICE before SM
1339N/A# X11 before Xext
1360N/A# (X11 and SM) before Xt
970N/A# Xt before Xmu and Xpm and Xtst
235N/A# Xext before any other extension library, including mesa
1252N/A# Xfixes before Xcomposite
235N/A# Xp before XprintUtil before XprintAppUtil
911N/A# libpthread-stubs before libdrm (and in the future, before xcb)
1252N/A# libdrm before mesa
1252N/A
911N/AOS_SUBDIRS_common = \
235N/A freetype \
493N/A fontconfig \
493N/A libpthread-stubs \
235N/A libxtrans \
235N/A libXau \
235N/A libXdmcp \
235N/A libX11 \
822N/A libXext \
235N/A libfontenc \
1124N/A libFS \
1124N/A libICE \
1124N/A liblbxutil \
235N/A libpciaccess \
1252N/A libSM \
235N/A libXt \
235N/A libXmu \
235N/A libXpm \
1351N/A libXp \
1276N/A libXaw \
1276N/A libXfixes \
1351N/A libXcomposite \
1276N/A libXrender \
1276N/A libXdamage \
1276N/A libXcursor \
1276N/A libXevie \
1329N/A libXfont \
1276N/A libXft \
1276N/A libXi \
1276N/A libXinerama \
1276N/A libxkbfile \
1276N/A libxkbui \
235N/A libXprintUtil \
1124N/A libXprintAppUtil \
1124N/A libXrandr \
1124N/A libXres \
970N/A libXScrnSaver \
970N/A libXtsol \
970N/A libXtst \
970N/A libXv \
970N/A libXvMC \
970N/A libXxf86misc \
970N/A libXxf86vm \
947N/A libXlg3d \
235N/A pixman \
247N/A hwc
947N/A
235N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
247N/A
947N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
947N/A libdrm \
970N/A mesa
970N/A
947N/APWD:sh=pwd
947N/ATOP=$(PWD)/..
947N/A
947N/A### Include common definitions
947N/ADIRNAME="lib/"
947N/Ainclude $(TOP)/common/Makefile.subdirs
235N/A