Makefile revision 1370
456N/A# Makefile for X Consolidation Open Source Library modules
456N/A#
456N/A# Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
456N/A#
943N/A# Permission is hereby granted, free of charge, to any person obtaining a
456N/A# copy of this software and associated documentation files (the "Software"),
456N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
919N/A#
919N/A#
456N/A###############################################################################
456N/A
456N/A# Need to install to proto area by default for inter-package dependencies to
456N/A# work right.
493N/Adefault_target: install
456N/A
970N/A# Order copied from X.Org's util/modular/build.sh:
970N/A# the libraries have a dependency order:
970N/A# xtrans, Xau, Xdmcp before anything else
970N/A# fontenc before Xfont
970N/A# ICE before SM
970N/A# X11 before Xext
970N/A# (X11 and SM) before Xt
970N/A# Xt before Xmu and Xpm and Xtst
456N/A# Xext before any other extension library, including mesa
851N/A# Xfixes before Xcomposite, Xcursor or Xdamage
456N/A# libpthread-stubs before libdrm and xcb
911N/A# libdrm before mesa
911N/A
911N/A# Dependencies needed for parallel make:
911N/ADPS: libX11 libXt
456N/Afontconfig: freetype
456N/Alibdga: libX11
456N/Alibdmx: libX11 libXext
456N/Alibdrm: libpthread-stubs
456N/Alibxcb: libpthread-stubs
970N/Axcb-util: libxcb
970N/Axcb-util-image: libxcb xcb-util
970N/Axcb-util-keysyms: libxcb
970N/Axcb-util-renderutil: libxcb
456N/Axcb-util-wm: libxcb
456N/AlibFS: libxtrans
libICE: libxtrans
libSM: libxtrans libICE
libX11: libxtrans libXau libXdmcp libxcb
libXaw: libX11 libXt libXmu libXpm
libXaw4: libX11 libXt libXmu
libXaw5: libX11 libXt libXmu
libXcomposite: libX11 libXext libXfixes
libXcursor: libX11 libXfixes libXrender
libXdamage: libXfixes
libXevie: libX11 libXext
libXext: libX11 libXau
libXfixes: libX11 libXext
libXfont: libxtrans freetype libfontenc
libXft: freetype fontconfig libXrender libX11
libXi: libX11 libXext
libXinerama: libX11 libXext
libXmu: libX11 libXt libXext
libXp: libX11 libXext
libXpm: libX11 libXt
libXrandr: libX11 libXext libXrender
libXrender: libX11 libXext
libXres: libX11 libXext
libXScrnSaver: libX11 libXext
libXt: libX11 libSM libICE
libXtsol: libX11 libXext
libXtst: libX11 libXext
libXv: libX11 libXext
libXvMC: libX11 libXext
libXxf86misc: libX11 libXext
libXxf86vm: libX11 libXext
libxkbfile: libX11
mesa: libdrm libX11 libXext libXdamage libXfixes libXxf86vm
libglu: mesa
freeglut: mesa
# pixman doesn't need these itself, but its test framework uses gtk,
# which does depend on these
pixman: libXext libXrender libXinerama libXi libXrandr libXcursor
pixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
OS_SUBDIRS_common = \
DPS \
freetype \
fontconfig \
libdga \
libdmx \
libdrm \
libowconfig \
libpthread-stubs \
libxtrans \
libXau \
libXdmcp \
libxcb \
xcb-util \
xcb-util-image \
xcb-util-keysyms \
xcb-util-renderutil \
xcb-util-wm \
libX11 \
libXext \
libfontenc \
libFS \
libICE \
liblbxutil \
libpciaccess \
libSM \
libXt \
libXmu \
libXpm \
libXp \
libXaw \
libXaw4 \
libXaw5 \
libXfixes \
libXcomposite \
libXrender \
libXdamage \
libXcursor \
libXevie \
libXfont \
libXft \
libXi \
libXinerama \
libxkbfile \
libXrandr \
libXres \
libXScrnSaver \
libXtsol \
libXtst \
libXv \
libXvMC \
libXxf86misc \
libXxf86vm \
mesa \
libglu \
freeglut \
pixman
OS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
OS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
OBSOLETE_SUBDIRS = \
hwc \
libXlg3d \
libXprintUtil \
libXprintAppUtil
PWD:sh=pwd
TOP=$(PWD)/../..
### Include common definitions
DIRNAME="lib/"
include $(TOP)/open-src/common/Makefile.subdirs