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