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