Makefile revision 911
433N/A# Makefile for X Consolidation Open Source Library modules
433N/A#
433N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
433N/A# Use is subject to license terms.
1422N/A#
433N/A# Permission is hereby granted, free of charge, to any person obtaining a
433N/A# copy of this software and associated documentation files (the
919N/A# "Software"), to deal in the Software without restriction, including
919N/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.
433N/A#
433N/A# Except as contained in this notice, the name of a copyright holder
433N/A# shall not be used in advertising or otherwise to promote the sale, use
433N/A# or other dealings in this Software without prior written authorization
493N/A# of the copyright holder.
433N/A#
970N/A#
970N/A###############################################################################
970N/A
970N/A# Need to install to proto area by default for inter-package dependencies to
970N/A# work right.
970N/Adefault_target: install
970N/A
970N/A# Order copied from X.Org's util/modular/build.sh:
433N/A# the libraries have a dependency order:
1370N/A# xtrans, Xau, Xdmcp before anything else
433N/A# fontenc before Xfont
911N/A# ICE before SM
1370N/A# X11 before Xext
1370N/A# (X11 and SM) before Xt
1370N/A# Xt before Xmu and Xpm and Xtst
911N/A# Xext before any other extension library, including mesa
433N/A# Xfixes before Xcomposite, Xcursor or Xdamage
1276N/A# libpthread-stubs before libdrm (and in the future, before xcb)
433N/A# libdrm before mesa
433N/A
1276N/A# Dependencies needed for parallel make:
493N/ADPS: libX11 libXt
433N/Afontconfig: freetype
851N/Alibdga: libX11
433N/Alibdrm: libpthread-stubs
970N/AlibFS: libxtrans
970N/AlibICE: libxtrans
970N/AlibSM: libxtrans libICE
433N/AlibX11: libxtrans libXau libXdmcp
433N/AlibXaw: libX11 libXt libXmu libXpm
1370N/AlibXaw4: libX11 libXt libXmu
851N/AlibXaw5: libX11 libXt libXmu
1422N/AlibXcomposite: libX11 libXext libXfixes
433N/AlibXcursor: libX11 libXfixes libXrender
libXdamage: libXfixes
libXevie: libX11 libXext
libXext: libX11 libXau
libXfixes: libX11 libXext
libXfont: libxtrans freetype libfontenc
libXft: freetype fontconfig libXrender libX11
libXi: libX11 libXext
libXinerama: libX11 libXext
libXmu: libX11 libXt libXext
libXp: libX11 libXext
libXpm: libX11 libXt
libXrandr: libX11 libXext libXrender
libXrender: libX11 libXext
libXres: libX11 libXext
libXScrnSaver: libX11 libXext
libXt: libX11 libSM
libXtsol: libX11 libXext
libXtst: libX11 libXext
libXv: libX11 libXext
libXvMC: libX11 libXext
libXxf86misc: libX11 libXext
libXxf86vm: libX11 libXext
libxkbfile: libX11
mesa: libdrm libX11 libXext
# pixman doesn't need these itself, but its test framework uses gtk,
# which does depend on these
pixman: libXext libXrender libXinerama libXi libXrandr libXcursor
pixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
OS_SUBDIRS_common = \
DPS \
freetype \
fontconfig \
libdga \
libdrm \
libowconfig \
libpthread-stubs \
libxtrans \
libXau \
libXdmcp \
libX11 \
libXext \
libfontenc \
libFS \
libICE \
liblbxutil \
libpciaccess \
libSM \
libXt \
libXmu \
libXpm \
libXp \
libXaw \
libXaw4 \
libXaw5 \
libXfixes \
libXcomposite \
libXrender \
libXdamage \
libXcursor \
libXevie \
libXfont \
libXft \
libXi \
libXinerama \
libxkbfile \
libXrandr \
libXres \
libXScrnSaver \
libXtsol \
libXtst \
libXv \
libXvMC \
libXxf86misc \
libXxf86vm \
mesa \
pixman \
hwc
OS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
OS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
OBSOLETE_SUBDIRS = \
libXlg3d \
libXprintUtil \
libXprintAppUtil
PWD:sh=pwd
TOP=$(PWD)/..
### Include common definitions
DIRNAME="lib/"
include $(TOP)/common/Makefile.subdirs