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