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