Makefile revision 1143
0N/A# Makefile for X Consolidation Open Source Library modules
0N/A#
0N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
0N/A# copy of this software and associated documentation files (the "Software"),
0N/A# to deal in the Software without restriction, including without limitation
0N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0N/A# and/or sell copies of the Software, and to permit persons to whom the
0N/A# Software is furnished to do so, subject to the following conditions:
0N/A#
0N/A# The above copyright notice and this permission notice (including the next
0N/A# paragraph) shall be included in all copies or substantial portions of the
0N/A# Software.
0N/A#
0N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0N/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.
0N/Adefault_target: install
0N/A
0N/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
41N/A# X11 before Xext
0N/A# (X11 and SM) before Xt
129N/A# Xt before Xmu and Xpm and Xtst
129N/A# Xext before any other extension library, including mesa
129N/A# Xfixes before Xcomposite, Xcursor or Xdamage
88N/A# libpthread-stubs before libdrm and xcb
88N/A# libdrm before mesa
88N/A
88N/A# Dependencies needed for parallel make:
0N/ADPS: libX11 libXt
0N/Afontconfig: freetype
50N/Alibdga: libX11
50N/Alibdmx: libX11 libXext
50N/Alibdrm: libpthread-stubs
50N/Alibxcb: libpthread-stubs
50N/Axcb-util: libxcb
50N/Axcb-util-image: libxcb xcb-util
0N/Axcb-util-keysyms: libxcb
50N/Axcb-util-renderutil: libxcb
0N/Axcb-util-wm: libxcb
0N/AlibFS: libxtrans
189N/AlibICE: libxtrans
189N/AlibSM: libxtrans libICE
189N/AlibX11: libxtrans libXau libXdmcp libxcb
189N/AlibXaw: libX11 libXt libXmu libXpm
189N/AlibXaw4: libX11 libXt libXmu
189N/AlibXaw5: libX11 libXt libXmu
189N/AlibXcomposite: libX11 libXext libXfixes
189N/AlibXcursor: libX11 libXfixes libXrender
189N/AlibXdamage: libXfixes
189N/AlibXevie: libX11 libXext
0N/AlibXext: libX11 libXau
0N/AlibXfixes: libX11 libXext
0N/AlibXfont: libxtrans freetype libfontenc
189N/AlibXft: freetype fontconfig libXrender libX11
189N/AlibXi: libX11 libXext
189N/AlibXinerama: libX11 libXext
189N/AlibXmu: libX11 libXt libXext
189N/AlibXp: libX11 libXext
0N/AlibXpm: libX11 libXt
189N/AlibXrandr: libX11 libXext libXrender
189N/AlibXrender: libX11 libXext
189N/AlibXres: libX11 libXext
189N/AlibXScrnSaver: libX11 libXext
0N/AlibXt: libX11 libSM libICE
170N/AlibXtsol: libX11 libXext
170N/AlibXtst: libX11 libXext
170N/AlibXv: libX11 libXext
170N/AlibXvMC: libX11 libXext
0N/AlibXxf86misc: libX11 libXext
0N/AlibXxf86vm: libX11 libXext
0N/Alibxkbfile: libX11
0N/Amesa: libdrm libX11 libXext
0N/Afreeglut: mesa
0N/A
0N/A# pixman doesn't need these itself, but its test framework uses gtk,
0N/A# which does depend on these
0N/Apixman: libXext libXrender libXinerama libXi libXrandr libXcursor
0N/Apixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
0N/A
0N/AOS_SUBDIRS_common = \
0N/A DPS \
0N/A freetype \
0N/A fontconfig \
0N/A libdga \
0N/A libdmx \
0N/A libdrm \
0N/A libowconfig \
0N/A libpthread-stubs \
50N/A libxtrans \
9N/A libXau \
50N/A libXdmcp \
50N/A libxcb \
50N/A xcb-util \
50N/A xcb-util-image \
170N/A xcb-util-keysyms \
50N/A xcb-util-renderutil \
50N/A xcb-util-wm \
189N/A libX11 \
189N/A libXext \
189N/A libfontenc \
189N/A libFS \
189N/A libICE \
0N/A liblbxutil \
0N/A libpciaccess \
0N/A libSM \
0N/A libXt \
0N/A libXmu \
0N/A libXpm \
0N/A libXp \
0N/A libXaw \
0N/A libXaw4 \
169N/A libXaw5 \
0N/A libXfixes \
66N/A 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