Makefile revision 1273
493N/A# Makefile for X Consolidation Open Source Library modules
0N/A#
1316N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/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:
0N/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.
0N/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.
0N/A#
0N/A#
0N/A###############################################################################
0N/A
0N/A# Need to install to proto area by default for inter-package dependencies to
0N/A# work right.
970N/Adefault_target: install
970N/A
970N/A# Order copied from X.Org's util/modular/build.sh:
0N/A# the libraries have a dependency order:
0N/A# xtrans, Xau, Xdmcp before anything else
0N/A# fontenc before Xfont
0N/A# ICE before SM
970N/A# X11 before Xext
493N/A# (X11 and SM) before Xt
970N/A# Xt before Xmu and Xpm and Xtst
0N/A# Xext before any other extension library, including mesa
1003N/A# Xfixes before Xcomposite, Xcursor or Xdamage
1003N/A# libpthread-stubs before libdrm and xcb
1003N/A# libdrm before mesa
1003N/A
1003N/A# Dependencies needed for parallel make:
1003N/ADPS: libX11 libXt
1003N/Afontconfig: freetype
970N/Alibdga: libX11
970N/Alibdmx: libX11 libXext
0N/Alibdrm: libpthread-stubs
970N/Alibxcb: libpthread-stubs
970N/Axcb-util: libxcb
731N/Axcb-util-image: libxcb xcb-util
970N/Axcb-util-keysyms: libxcb
970N/Axcb-util-renderutil: libxcb
970N/Axcb-util-wm: libxcb
970N/AlibFS: libxtrans
561N/AlibICE: libxtrans
493N/AlibSM: libxtrans libICE
970N/AlibX11: libxtrans libXau libXdmcp libxcb
970N/AlibXaw: libX11 libXt libXmu libXpm
970N/AlibXaw4: libX11 libXt libXmu
970N/AlibXaw5: libX11 libXt libXmu
970N/AlibXcomposite: libX11 libXext libXfixes
0N/AlibXcursor: libX11 libXfixes libXrender
0N/AlibXdamage: libXfixes
0N/AlibXevie: libX11 libXext
970N/AlibXext: libX11 libXau
970N/AlibXfixes: libX11 libXext
970N/AlibXfont: libxtrans freetype libfontenc
0N/AlibXft: freetype fontconfig libXrender libX11
1316N/AlibXi: libX11 libXext
1219N/AlibXinerama: libX11 libXext
1316N/AlibXmu: libX11 libXt libXext
0N/AlibXp: libX11 libXext
1219N/AlibXpm: libX11 libXt
1219N/AlibXrandr: libX11 libXext libXrender
29N/AlibXrender: libX11 libXext
0N/AlibXres: libX11 libXext
1219N/AlibXScrnSaver: libX11 libXext
970N/AlibXt: libX11 libSM libICE
970N/AlibXtsol: libX11 libXext
970N/AlibXtst: libX11 libXext
970N/AlibXv: libX11 libXext
970N/AlibXvMC: libX11 libXext
970N/AlibXxf86misc: libX11 libXext
970N/AlibXxf86vm: libX11 libXext
970N/Alibxkbfile: libX11
970N/Amesa: libdrm libX11 libXext libXdamage libXfixes libXxf86vm
970N/Afreeglut: mesa
1219N/A
970N/A# pixman doesn't need these itself, but its test framework uses gtk,
970N/A# which does depend on these
1130N/Apixman: libXext libXrender libXinerama libXi libXrandr libXcursor
1219N/Apixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
1130N/A
1130N/AOS_SUBDIRS_common = \
970N/A DPS \
970N/A freetype \
493N/A 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 \
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