# Makefile for X Consolidation Open Source Library modules
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
###############################################################################
# Need to install to proto area by default for inter-package dependencies to
# work right.
# the libraries have a dependency order:
# xtrans, Xau, Xdmcp before anything else
# fontenc before Xfont
# ICE before SM
# X11 before Xext
# (X11 and SM) before Xt
# Xt before Xmu and Xpm and Xtst
# Xext before any other extension library, including mesa
# Xfixes before Xcomposite, Xcursor or Xdamage
# libpthread-stubs before libdrm and xcb
# libdrm before mesa
# Dependencies needed for parallel make:
# pixman doesn't need these itself, but its test framework uses gtk,
# which does depend on these
freetype \
libdga \
libdmx \
libdrm \
libXau \
libXdmcp \
libxcb \
libX11 \
libXext \
libFS \
libICE \
libSM \
libXt \
libXmu \
libXpm \
libXp \
libXaw \
libXevie \
libXfont \
libXft \
libXi \
libXres \
libXtst \
libXv \
libXvMC \
mesa \
libepoxy \
libglu \
freeglut \
pixman \
OBSOLETE_SUBDIRS = \
DPS \
hwc \
libXaw4 \
libXaw5 \
libXlg3d \
### Include common definitions