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