Makefile revision 910
98N/A# Makefile for X Consolidation Open Source Library modules
98N/A#
98N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
98N/A# Use is subject to license terms.
98N/A#
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
98N/A# copy of this software and associated documentation files (the
98N/A# "Software"), to deal in the Software without restriction, including
98N/A# without limitation the rights to use, copy, modify, merge, publish,
98N/A# distribute, and/or sell copies of the Software, and to permit persons
98N/A# to whom the Software is furnished to do so, provided that the above
98N/A# copyright notice(s) and this permission notice appear in all copies of
98N/A# the Software and that both the above copyright notice(s) and this
98N/A# permission notice appear in supporting documentation.
98N/A#
98N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
98N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
98N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
98N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
98N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
98N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
98N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
98N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
98N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
98N/A#
98N/A# Except as contained in this notice, the name of a copyright holder
98N/A# shall not be used in advertising or otherwise to promote the sale, use
98N/A# or other dealings in this Software without prior written authorization
98N/A# of the copyright holder.
98N/A#
210N/A#
98N/A###############################################################################
98N/A
98N/A# Need to install to proto area by default for inter-package dependencies to
98N/A# work right.
98N/Adefault_target: install
98N/A
98N/A# Order copied from X.Org's util/modular/build.sh:
98N/A# the libraries have a dependency order:
98N/A# xtrans, Xau, Xdmcp before anything else
98N/A# fontenc before Xfont
98N/A# ICE before SM
98N/A# X11 before Xext
98N/A# (X11 and SM) before Xt
151N/A# Xt before Xmu and Xpm and Xtst
137N/A# Xext before any other extension library, including mesa
153N/A# Xfixes before Xcomposite, Xcursor or Xdamage
210N/A# libpthread-stubs before libdrm (and in the future, before xcb)
98N/A# libdrm before mesa
179N/A
126N/A# Dependencies needed for parallel make:
98N/ADPS: libX11 libXt
98N/Afontconfig: freetype
98N/Alibdga: libX11
123N/Alibdrm: libpthread-stubs
98N/AlibFS: libxtrans
98N/AlibICE: libxtrans
98N/AlibSM: libxtrans libICE
98N/AlibX11: libxtrans libXau libXdmcp
98N/AlibXaw: libX11 libXt libXmu libXpm
98N/AlibXaw4: libX11 libXt libXmu
98N/AlibXaw5: libX11 libXt libXmu
98N/AlibXcomposite: libX11 libXext libXfixes
98N/AlibXcursor: libX11 libXfixes libXrender
98N/AlibXdamage: libXfixes
98N/AlibXevie: libX11 libXext
98N/AlibXext: libX11 libXau
156N/AlibXfixes: libX11 libXext
156N/AlibXfont: libxtrans freetype libfontenc
98N/AlibXft: freetype fontconfig libXrender libX11
98N/AlibXi: libX11 libXext
98N/AlibXinerama: libX11 libXext
98N/AlibXmu: libX11 libXt libXext
98N/AlibXp: libX11 libXext
98N/AlibXpm: libX11 libXt
98N/AlibXrandr: libX11 libXext libXrender
98N/AlibXrender: libX11 libXext
98N/AlibXres: libX11 libXext
98N/AlibXScrnSaver: libX11 libXext
98N/AlibXt: libX11 libSM
98N/AlibXtsol: libX11 libXext
98N/AlibXtst: libX11 libXext
98N/AlibXv: libX11 libXext
98N/AlibXvMC: libX11 libXext
98N/AlibXxf86misc: libX11 libXext
98N/AlibXxf86vm: libX11 libXext
98N/Alibxkbfile: libX11
98N/Amesa: libdrm libX11 libXext
98N/A
98N/A# pixman doesn't need these itself, but its test framework uses gtk,
98N/A# 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