Makefile revision 1043
98N/A# Makefile for X Consolidation Open Source Library modules
98N/A#
967N/A# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/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:
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.
98N/A#
98N/A#
98N/A###############################################################################
98N/A
810N/A# Need to install to proto area by default for inter-package dependencies to
810N/A# work right.
810N/Adefault_target: install
810N/A
354N/A# Order copied from X.Org's util/modular/build.sh:
354N/A# the libraries have a dependency order:
354N/A# xtrans, Xau, Xdmcp before anything else
354N/A# fontenc before Xfont
354N/A# ICE before SM
354N/A# X11 before Xext
354N/A# (X11 and SM) before Xt
354N/A# Xt before Xmu and Xpm and Xtst
606N/A# Xext before any other extension library, including mesa
810N/A# Xfixes before Xcomposite, Xcursor or Xdamage
606N/A# libpthread-stubs before libdrm (and in the future, before xcb)
606N/A# libdrm before mesa
354N/A
810N/A# Dependencies needed for parallel make:
824N/ADPS: libX11 libXt
810N/Afontconfig: freetype
830N/Alibdga: libX11
1026N/Alibdmx: libX11 libXext
810N/Alibdrm: libpthread-stubs
1029N/Alibxcb: libpthread-stubs
1029N/Axcbutil: libxcb
810N/AlibFS: libxtrans
810N/AlibICE: libxtrans
810N/AlibSM: libxtrans libICE
1032N/AlibX11: libxtrans libXau libXdmcp libxcb xcbutil
810N/AlibXaw: libX11 libXt libXmu libXpm
851N/AlibXaw4: libX11 libXt libXmu
851N/AlibXaw5: libX11 libXt libXmu
810N/AlibXcomposite: libX11 libXext libXfixes
810N/AlibXcursor: libX11 libXfixes libXrender
810N/AlibXdamage: libXfixes
810N/AlibXevie: libX11 libXext
810N/AlibXext: libX11 libXau
851N/AlibXfixes: libX11 libXext
810N/AlibXfont: libxtrans freetype libfontenc
851N/AlibXft: freetype fontconfig libXrender libX11
810N/AlibXi: libX11 libXext
810N/AlibXinerama: libX11 libXext
810N/AlibXmu: libX11 libXt libXext
810N/AlibXp: libX11 libXext
810N/AlibXpm: libX11 libXt
810N/AlibXrandr: libX11 libXext libXrender
851N/AlibXrender: libX11 libXext
810N/AlibXres: libX11 libXext
851N/AlibXScrnSaver: libX11 libXext
1010N/AlibXt: libX11 libSM libICE
851N/AlibXtsol: libX11 libXext
810N/AlibXtst: libX11 libXext
810N/AlibXv: libX11 libXext
810N/AlibXvMC: libX11 libXext
810N/AlibXxf86misc: libX11 libXext
810N/AlibXxf86vm: libX11 libXext
810N/Alibxkbfile: libX11
810N/Amesa: libdrm libX11 libXext
1029N/Afreeglut: mesa
810N/A
851N/A# pixman doesn't need these itself, but its test framework uses gtk,
851N/A# which does depend on these
851N/Apixman: libXext libXrender libXinerama libXi libXrandr libXcursor
851N/Apixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
851N/A
98N/AOS_SUBDIRS_common = \
824N/A DPS \
98N/A freetype \
98N/A fontconfig \
830N/A libdga \
1026N/A libdmx \
851N/A libdrm \
824N/A libowconfig \
571N/A libpthread-stubs \
98N/A libxtrans \
98N/A libXau \
98N/A libXdmcp \
1029N/A libxcb \
1029N/A xcbutil \
341N/A libX11 \
366N/A libXext \
354N/A libfontenc \
425N/A libFS \
325N/A libICE \
456N/A liblbxutil \
577N/A libpciaccess \
325N/A libSM \
354N/A libXt \
278N/A libXmu \
98N/A libXpm \
543N/A libXp \
98N/A libXaw \
749N/A libXaw4 \
749N/A libXaw5 \
98N/A libXfixes \
151N/A libXcomposite \
137N/A libXrender \
153N/A libXdamage \
210N/A libXcursor \
366N/A libXevie \
98N/A libXfont \
179N/A libXft \
269N/A libXi \
126N/A libXinerama \
98N/A libxkbfile \
98N/A libXrandr \
287N/A libXres \
366N/A libXScrnSaver \
499N/A libXtsol \
123N/A libXtst \
98N/A libXv \
98N/A libXvMC \
98N/A libXxf86misc \
98N/A libXxf86vm \
851N/A mesa \
1029N/A freeglut \
577N/A pixman \
498N/A hwc
98N/A
98N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
98N/A
851N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
98N/A
744N/AOBSOLETE_SUBDIRS = \
747N/A libXlg3d \
744N/A libXprintUtil \
744N/A libXprintAppUtil
744N/A
493N/APWD:sh=pwd
967N/ATOP=$(PWD)/../..
98N/A
493N/A### Include common definitions
493N/ADIRNAME="lib/"
967N/Ainclude $(TOP)/open-src/common/Makefile.subdirs
810N/A