Makefile revision 967
f18faf3f3e5def85fdfff681617d227703ace2adek# Makefile for X Consolidation Open Source Library modules
f18faf3f3e5def85fdfff681617d227703ace2adek#
f18faf3f3e5def85fdfff681617d227703ace2adek# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
f18faf3f3e5def85fdfff681617d227703ace2adek#
f18faf3f3e5def85fdfff681617d227703ace2adek# Permission is hereby granted, free of charge, to any person obtaining a
f18faf3f3e5def85fdfff681617d227703ace2adek# copy of this software and associated documentation files (the "Software"),
f18faf3f3e5def85fdfff681617d227703ace2adek# to deal in the Software without restriction, including without limitation
f18faf3f3e5def85fdfff681617d227703ace2adek# the rights to use, copy, modify, merge, publish, distribute, sublicense,
f18faf3f3e5def85fdfff681617d227703ace2adek# and/or sell copies of the Software, and to permit persons to whom the
f18faf3f3e5def85fdfff681617d227703ace2adek# Software is furnished to do so, subject to the following conditions:
f18faf3f3e5def85fdfff681617d227703ace2adek#
f18faf3f3e5def85fdfff681617d227703ace2adek# The above copyright notice and this permission notice (including the next
f18faf3f3e5def85fdfff681617d227703ace2adek# paragraph) shall be included in all copies or substantial portions of the
f18faf3f3e5def85fdfff681617d227703ace2adek# Software.
f18faf3f3e5def85fdfff681617d227703ace2adek#
f18faf3f3e5def85fdfff681617d227703ace2adek# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f18faf3f3e5def85fdfff681617d227703ace2adek# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f18faf3f3e5def85fdfff681617d227703ace2adek# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f18faf3f3e5def85fdfff681617d227703ace2adek# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
f18faf3f3e5def85fdfff681617d227703ace2adek# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
f18faf3f3e5def85fdfff681617d227703ace2adek# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
f18faf3f3e5def85fdfff681617d227703ace2adek# DEALINGS IN THE SOFTWARE.
f18faf3f3e5def85fdfff681617d227703ace2adek#
f18faf3f3e5def85fdfff681617d227703ace2adek#
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew Ahrens###############################################################################
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew Ahrens
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew Ahrens# Need to install to proto area by default for inter-package dependencies to
f18faf3f3e5def85fdfff681617d227703ace2adek# work right.
f18faf3f3e5def85fdfff681617d227703ace2adekdefault_target: install
f18faf3f3e5def85fdfff681617d227703ace2adek
f18faf3f3e5def85fdfff681617d227703ace2adek# Order copied from X.Org's util/modular/build.sh:
f18faf3f3e5def85fdfff681617d227703ace2adek# the libraries have a dependency order:
f18faf3f3e5def85fdfff681617d227703ace2adek# xtrans, Xau, Xdmcp before anything else
f18faf3f3e5def85fdfff681617d227703ace2adek# fontenc before Xfont
f18faf3f3e5def85fdfff681617d227703ace2adek# ICE before SM
f18faf3f3e5def85fdfff681617d227703ace2adek# X11 before Xext
f18faf3f3e5def85fdfff681617d227703ace2adek# (X11 and SM) before Xt
f18faf3f3e5def85fdfff681617d227703ace2adek# Xt before Xmu and Xpm and Xtst
f18faf3f3e5def85fdfff681617d227703ace2adek# Xext before any other extension library, including mesa
f18faf3f3e5def85fdfff681617d227703ace2adek# Xfixes before Xcomposite, Xcursor or Xdamage
f18faf3f3e5def85fdfff681617d227703ace2adek# libpthread-stubs before libdrm (and in the future, before xcb)
f18faf3f3e5def85fdfff681617d227703ace2adek# libdrm before mesa
f18faf3f3e5def85fdfff681617d227703ace2adek
f18faf3f3e5def85fdfff681617d227703ace2adek# Dependencies needed for parallel make:
f18faf3f3e5def85fdfff681617d227703ace2adekDPS: libX11 libXt
f18faf3f3e5def85fdfff681617d227703ace2adekfontconfig: freetype
f18faf3f3e5def85fdfff681617d227703ace2adeklibdga: libX11
f18faf3f3e5def85fdfff681617d227703ace2adeklibdrm: libpthread-stubs
f18faf3f3e5def85fdfff681617d227703ace2adeklibFS: libxtrans
f18faf3f3e5def85fdfff681617d227703ace2adeklibICE: libxtrans
f18faf3f3e5def85fdfff681617d227703ace2adeklibSM: libxtrans libICE
f18faf3f3e5def85fdfff681617d227703ace2adeklibX11: libxtrans libXau libXdmcp
f18faf3f3e5def85fdfff681617d227703ace2adeklibXaw: libX11 libXt libXmu libXpm
f18faf3f3e5def85fdfff681617d227703ace2adeklibXaw4: libX11 libXt libXmu
f18faf3f3e5def85fdfff681617d227703ace2adeklibXaw5: libX11 libXt libXmu
f18faf3f3e5def85fdfff681617d227703ace2adeklibXcomposite: libX11 libXext libXfixes
f18faf3f3e5def85fdfff681617d227703ace2adeklibXcursor: libX11 libXfixes libXrender
f18faf3f3e5def85fdfff681617d227703ace2adeklibXdamage: libXfixes
f18faf3f3e5def85fdfff681617d227703ace2adeklibXevie: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXext: libX11 libXau
3b2aab18808792cbd248a12f1edf139b89833c13Matthew AhrenslibXfixes: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXfont: libxtrans freetype libfontenc
f18faf3f3e5def85fdfff681617d227703ace2adeklibXft: freetype fontconfig libXrender libX11
f18faf3f3e5def85fdfff681617d227703ace2adeklibXi: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXinerama: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXmu: libX11 libXt libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXp: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXpm: libX11 libXt
3b2aab18808792cbd248a12f1edf139b89833c13Matthew AhrenslibXrandr: libX11 libXext libXrender
f18faf3f3e5def85fdfff681617d227703ace2adeklibXrender: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXres: libX11 libXext
3b2aab18808792cbd248a12f1edf139b89833c13Matthew AhrenslibXScrnSaver: libX11 libXext
3b2aab18808792cbd248a12f1edf139b89833c13Matthew AhrenslibXt: libX11 libSM
f18faf3f3e5def85fdfff681617d227703ace2adeklibXtsol: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXtst: libX11 libXext
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew AhrenslibXv: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXvMC: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXxf86misc: libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adeklibXxf86vm: libX11 libXext
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrenslibxkbfile: libX11
3b2aab18808792cbd248a12f1edf139b89833c13Matthew Ahrensmesa: libdrm libX11 libXext
f18faf3f3e5def85fdfff681617d227703ace2adek
f18faf3f3e5def85fdfff681617d227703ace2adek# pixman doesn't need these itself, but its test framework uses gtk,
f18faf3f3e5def85fdfff681617d227703ace2adek# which does depend on these
f18faf3f3e5def85fdfff681617d227703ace2adekpixman: libXext libXrender libXinerama libXi libXrandr libXcursor
f18faf3f3e5def85fdfff681617d227703ace2adekpixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
f18faf3f3e5def85fdfff681617d227703ace2adek
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)/open-src/common/Makefile.subdirs