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