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