Makefile revision 156
264N/A# Makefile for X Consolidation Open Source Library modules
264N/A#
264N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
264N/A# Use subject to license terms.
264N/A#
264N/A# Permission is hereby granted, free of charge, to any person obtaining a
264N/A# copy of this software and associated documentation files (the
264N/A# "Software"), to deal in the Software without restriction, including
264N/A# without limitation the rights to use, copy, modify, merge, publish,
264N/A# distribute, and/or sell copies of the Software, and to permit persons
264N/A# to whom the Software is furnished to do so, provided that the above
264N/A# copyright notice(s) and this permission notice appear in all copies of
264N/A# the Software and that both the above copyright notice(s) and this
264N/A# permission notice appear in supporting documentation.
264N/A#
264N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
264N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
264N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
264N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
264N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
264N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
264N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
5396N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
264N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
814N/A#
5220N/A# Except as contained in this notice, the name of a copyright holder
5135N/A# shall not be used in advertising or otherwise to promote the sale, use
4431N/A# or other dealings in this Software without prior written authorization
4431N/A# of the copyright holder.
5135N/A#
3817N/A# @(#)Makefile 1.7 07/05/15
4431N/A#
4431N/A###############################################################################
4431N/A
4431N/AOS_SUBDIRS_common = \
4431N/A freetype \
4431N/A fontconfig \
3817N/A libxtrans \
3817N/A libXau \
4270N/A libXdmcp \
4270N/A libfontenc \
4270N/A libXpm \
264N/A libXaw \
5396N/A libXfixes \
5396N/A libXcomposite \
5396N/A libXrender \
264N/A libXdamage \
264N/A libXfont \
264N/A Xft \
5396N/A libXinerama \
1258N/A libxkbfile \
264N/A libxkbui \
3817N/A libXrandr \
264N/A libXtst \
4431N/A libXv \
4431N/A libXvMC \
4431N/A libXxf86misc \
4431N/A libXxf86vm \
4431N/A libXlg3d
264N/A
4431N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
4431N/A
4431N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common) \
4431N/A libdrm \
5174N/A mesa
5174N/A
5174N/AMACH:sh=uname -p
5174N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
3817N/A
264N/Aall:
4431N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
264N/A
4431N/AWorld: clean all
4431N/A
264N/Aclean:
4431N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
4431N/A
5135N/Ainstall:
4431N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
5135N/A
4431N/Adownload:
4431N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
4375N/A
4431N/Asubdirs:
4431N/A @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
4431N/A for i in $(OS_SUBDIRS) ;\
4431N/A do \
4431N/A (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/lib/$$i..."; \
4431N/A $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
4431N/A done
4431N/A