Makefile revision 1590
98N/A# Makefile for X Consolidation Open Source Library modules
98N/A#
1600N/A# Copyright (c) 2007, 2015, 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
1123N/A# libpthread-stubs before libdrm and xcb
606N/A# libdrm before mesa
354N/A
810N/A# Dependencies needed for parallel make:
810N/Afontconfig: freetype
830N/Alibdga: libX11
1026N/Alibdmx: libX11 libXext
810N/Alibdrm: libpthread-stubs
1029N/Alibxcb: libpthread-stubs
1123N/Axcb-util: libxcb
1123N/Axcb-util-image: libxcb xcb-util
1123N/Axcb-util-keysyms: libxcb
1123N/Axcb-util-renderutil: libxcb
1123N/Axcb-util-wm: libxcb
1565N/Axcb-util-cursor: libxcb xcb-util-renderutil xcb-util-image
1565N/Axcb-util-errors: libxcb
810N/AlibFS: libxtrans
810N/AlibICE: libxtrans
810N/AlibSM: libxtrans libICE
1123N/AlibX11: libxtrans libXau libXdmcp libxcb
810N/AlibXaw: libX11 libXt libXmu libXpm
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
810N/AlibXtst: libX11 libXext
810N/AlibXv: libX11 libXext
1450N/AlibXvMC: libX11 libXext libXv
810N/AlibXxf86misc: libX11 libXext
810N/AlibXxf86vm: libX11 libXext
810N/Alibxkbfile: libX11
1246N/Amesa: libdrm libX11 libXext libXdamage libXfixes libXxf86vm
1391N/Alibglu: mesa
1479N/Afreeglut: mesa libglu
1570N/Alibepoxy: mesa
1602N/A
1620N/A# pixman doesn't need these itself, but its test framework uses gtk,
810N/A# which does depend on these
851N/Apixman: libXext libXrender libXinerama libXi libXrandr libXcursor
851N/Apixman: libXcomposite libXdamage libXfixes libX11 freetype fontconfig
851N/A
851N/AOS_SUBDIRS_common = \
851N/A freetype \
98N/A fontconfig \
98N/A libdga \
98N/A libdmx \
830N/A libdrm \
1026N/A libpthread-stubs \
851N/A libxtrans \
571N/A libXau \
98N/A libXdmcp \
98N/A libxcb \
98N/A xcb-util \
1029N/A xcb-util-cursor \
1123N/A xcb-util-errors \
1565N/A xcb-util-image \
1565N/A xcb-util-keysyms \
1123N/A xcb-util-renderutil \
1123N/A xcb-util-wm \
1123N/A libX11 \
1123N/A libXext \
341N/A libfontenc \
366N/A libFS \
354N/A libICE \
425N/A liblbxutil \
325N/A libpciaccess \
577N/A libSM \
325N/A libXt \
354N/A libXmu \
278N/A libXpm \
98N/A libXp \
543N/A libXaw \
98N/A libXfixes \
98N/A libXcomposite \
151N/A libXrender \
137N/A libXdamage \
153N/A libXcursor \
210N/A libXevie \
366N/A libXfont \
98N/A libXft \
179N/A libXi \
269N/A libXinerama \
126N/A libxkbfile \
98N/A libXrandr \
98N/A libXres \
287N/A libXScrnSaver \
366N/A libXtst \
123N/A libXv \
98N/A libXvMC \
98N/A libXxf86misc \
98N/A libXxf86vm \
98N/A mesa \
851N/A libepoxy \
1570N/A libglu \
1391N/A freeglut \
1029N/A pixman \
1549N/A libxshmfence \
1549N/A libXpresent
1602N/A
1620N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
1620N/A
98N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
98N/A
98N/AOBSOLETE_SUBDIRS = \
851N/A DPS \
98N/A hwc \
744N/A libowconfig \
1525N/A libXaw4 \
1138N/A libXaw5 \
1600N/A libXlg3d \
1507N/A libXprintUtil \
1506N/A libXprintAppUtil \
1506N/A libXtsol
747N/A
744N/APWD:sh=pwd
1584N/ATOP=$(PWD)/../..
1584N/A
744N/A### Include common definitions
493N/ADIRNAME="lib/"
967N/Ainclude $(TOP)/open-src/common/Makefile.subdirs
98N/A
493N/A