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