Makefile revision 1026
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# Makefile for X Consolidation Open Source Library modules
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# copy of this software and associated documentation files (the "Software"),
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# to deal in the Software without restriction, including without limitation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# the rights to use, copy, modify, merge, publish, distribute, sublicense,
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# Software is furnished to do so, subject to the following conditions:
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# The above copyright notice and this permission notice (including the next
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
8dc5d5e460da15b2481893687cad7e5b72d0314aAutomatic Updater# 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
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# DEALINGS IN THE SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews###############################################################################
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:
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews# 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
b0e8629055a766d4555a005a283c2889a5974945Mark Andrews# (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
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinpixman: libXext libXrender libXinerama libXi libXrandr libXcursor
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinpixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein### Include common definitions