367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Makefile for X Consolidation Open Source Library modules
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Permission is hereby granted, free of charge, to any person obtaining a
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# copy of this software and associated documentation files (the "Software"),
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# to deal in the Software without restriction, including without limitation
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# the rights to use, copy, modify, merge, publish, distribute, sublicense,
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# and/or sell copies of the Software, and to permit persons to whom the
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Software is furnished to do so, subject to the following conditions:
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# The above copyright notice and this permission notice (including the next
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# paragraph) shall be included in all copies or substantial portions of the
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# DEALINGS IN THE SOFTWARE.
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes###############################################################################
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Need to install to proto area by default for inter-package dependencies to
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# work right.
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# the libraries have a dependency order:
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# xtrans, Xau, Xdmcp before anything else
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# fontenc before Xfont
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# ICE before SM
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# X11 before Xext
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# (X11 and SM) before Xt
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Xt before Xmu and Xpm and Xtst
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Xext before any other extension library, including mesa
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Xfixes before Xcomposite, Xcursor or Xdamage
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# libpthread-stubs before libdrm and xcb
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# libdrm before mesa
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# Dependencies needed for parallel make:
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholesxcb-util-cursor: libxcb xcb-util-renderutil xcb-util-image
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholesmesa: libdrm libX11 libXext libXdamage libXfixes libXxf86vm
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# pixman doesn't need these itself, but its test framework uses gtk,
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes# which does depend on these
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholespixman: libXext libXrender libXinerama libXi libXrandr libXcursor
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholespixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
367d146f245f3b1c9f77c18e6ec591b52e0b344cbnicholes### Include common definitions