Makefile revision 911
10139N/A# Makefile for X Consolidation Open Source Library modules
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
12158N/A# Use is subject to license terms.
10139N/A#
10139N/A# Permission is hereby granted, free of charge, to any person obtaining a
10139N/A# copy of this software and associated documentation files (the
10139N/A# "Software"), to deal in the Software without restriction, including
10139N/A# without limitation the rights to use, copy, modify, merge, publish,
10139N/A# distribute, and/or sell copies of the Software, and to permit persons
10139N/A# to whom the Software is furnished to do so, provided that the above
10139N/A# copyright notice(s) and this permission notice appear in all copies of
10139N/A# the Software and that both the above copyright notice(s) and this
13327N/A# permission notice appear in supporting documentation.
10139N/A#
10139N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
10139N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
10139N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
10139N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
13327N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
10142N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
12132N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
12132N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
10142N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
12773N/A#
12773N/A# Except as contained in this notice, the name of a copyright holder
12773N/A# shall not be used in advertising or otherwise to promote the sale, use
10139N/A# or other dealings in this Software without prior written authorization
12107N/A# of the copyright holder.
10139N/A#
10139N/A#
10139N/A###############################################################################
12796N/A
10139N/A# Need to install to proto area by default for inter-package dependencies to
10139N/A# work right.
10139N/Adefault_target: install
10139N/A
10139N/A# Order copied from X.Org's util/modular/build.sh:
10139N/A# the libraries have a dependency order:
10139N/A# xtrans, Xau, Xdmcp before anything else
12107N/A# fontenc before Xfont
11438N/A# ICE before SM
12107N/A# X11 before Xext
10139N/A# (X11 and SM) before Xt
11419N/A# Xt before Xmu and Xpm and Xtst
12131N/A# Xext before any other extension library, including mesa
11419N/A# Xfixes before Xcomposite, Xcursor or Xdamage
12174N/A# libpthread-stubs before libdrm (and in the future, before xcb)
11419N/A# libdrm before mesa
11419N/A
11419N/A# Dependencies needed for parallel make:
11438N/ADPS: libX11 libXt
12107N/Afontconfig: freetype
11981N/Alibdga: libX11
12127N/Alibdrm: libpthread-stubs
13048N/AlibFS: libxtrans
12987N/AlibICE: libxtrans
13329N/AlibSM: libxtrans libICE
13329N/AlibX11: libxtrans libXau libXdmcp
10139N/AlibXaw: libX11 libXt libXmu libXpm
10139N/AlibXaw4: libX11 libXt libXmu
10139N/AlibXaw5: libX11 libXt libXmu
10139N/AlibXcomposite: libX11 libXext libXfixes
10139N/AlibXcursor: libX11 libXfixes libXrender
10139N/AlibXdamage: libXfixes
10139N/AlibXevie: libX11 libXext
10139N/AlibXext: libX11 libXau
10139N/AlibXfixes: libX11 libXext
10139N/AlibXfont: libxtrans freetype libfontenc
10139N/AlibXft: freetype fontconfig libXrender libX11
10139N/AlibXi: libX11 libXext
10139N/AlibXinerama: libX11 libXext
10139N/AlibXmu: libX11 libXt libXext
10139N/AlibXp: libX11 libXext
10139N/AlibXpm: libX11 libXt
10139N/AlibXrandr: libX11 libXext libXrender
10139N/AlibXrender: libX11 libXext
10139N/AlibXres: libX11 libXext
10139N/AlibXScrnSaver: libX11 libXext
10139N/AlibXt: libX11 libSM
10139N/AlibXtsol: libX11 libXext
10139N/AlibXtst: libX11 libXext
10139N/AlibXv: libX11 libXext
10139N/AlibXvMC: libX11 libXext
10139N/AlibXxf86misc: libX11 libXext
10139N/AlibXxf86vm: libX11 libXext
10139N/Alibxkbfile: libX11
10139N/Amesa: libdrm libX11 libXext
10139N/A
10139N/A# pixman doesn't need these itself, but its test framework uses gtk,
10139N/A# which does depend on these
10139N/Apixman: libXext libXrender libXinerama libXi libXrandr libXcursor
10139N/Apixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
10139N/A
10139N/AOS_SUBDIRS_common = \
10139N/A DPS \
10139N/A freetype \
10139N/A fontconfig \
10139N/A libdga \
10139N/A libdrm \
10139N/A libowconfig \
10139N/A libpthread-stubs \
10139N/A libxtrans \
10139N/A libXau \
10139N/A libXdmcp \
10139N/A libX11 \
10139N/A libXext \
10139N/A libfontenc \
10139N/A libFS \
10139N/A libICE \
10139N/A liblbxutil \
10139N/A libpciaccess \
10139N/A libSM \
10139N/A libXt \
10139N/A libXmu \
10139N/A libXpm \
10139N/A libXp \
10139N/A libXaw \
10139N/A libXaw4 \
10139N/A libXaw5 \
10139N/A libXfixes \
10139N/A libXcomposite \
10139N/A libXrender \
10139N/A libXdamage \
10139N/A libXcursor \
10139N/A libXevie \
10139N/A libXfont \
10139N/A libXft \
10139N/A libXi \
10139N/A libXinerama \
10142N/A libxkbfile \
10139N/A libXrandr \
10139N/A libXres \
12176N/A libXScrnSaver \
10139N/A libXtsol \
12796N/A libXtst \
12125N/A libXv \
10139N/A libXvMC \
10139N/A libXxf86misc \
12886N/A libXxf86vm \
12886N/A mesa \
11855N/A pixman \
12886N/A hwc
11855N/A
11855N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
11855N/A
11855N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
13329N/A
12127N/AOBSOLETE_SUBDIRS = \
12987N/A libXlg3d \
13329N/A libXprintUtil \
10139N/A libXprintAppUtil
10139N/A
10139N/APWD:sh=pwd
10139N/ATOP=$(PWD)/..
10139N/A
10142N/A### Include common definitions
10139N/ADIRNAME="lib/"
10139N/Ainclude $(TOP)/common/Makefile.subdirs
10139N/A
10139N/A