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