Makefile revision 280
7033N/A# Makefile for X Consolidation Open Source Application modules
7033N/A#
7033N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7033N/A# Use subject to license terms.
7033N/A#
7033N/A# Permission is hereby granted, free of charge, to any person obtaining a
7033N/A# copy of this software and associated documentation files (the
7033N/A# "Software"), to deal in the Software without restriction, including
7033N/A# without limitation the rights to use, copy, modify, merge, publish,
7033N/A# distribute, and/or sell copies of the Software, and to permit persons
7033N/A# to whom the Software is furnished to do so, provided that the above
7033N/A# copyright notice(s) and this permission notice appear in all copies of
7033N/A# the Software and that both the above copyright notice(s) and this
7033N/A# permission notice appear in supporting documentation.
7033N/A#
7033N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7033N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7033N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
7033N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
7033N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
7033N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
7033N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
7033N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
7033N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7033N/A#
7033N/A# Except as contained in this notice, the name of a copyright holder
7033N/A# shall not be used in advertising or otherwise to promote the sale, use
7033N/A# or other dealings in this Software without prior written authorization
7033N/A# of the copyright holder.
7033N/A#
7033N/A# @(#)Makefile 1.14 08/01/17
7033N/A#
7033N/A###############################################################################
7033N/A
7033N/AOS_SUBDIRS_common = \
7033N/A constype \
7033N/A mesa-demos \
7033N/A mkfontscale \
7033N/A xcursorgen \
7033N/A xdpyinfo \
7033N/A xgamma \
7033N/A xkbcomp \
7033N/A xkill \
7033N/A xpm \
7033N/A xrandr \
7033N/A xrefresh \
7033N/A xset \
7033N/A xsetroot \
7033N/A xvidtune \
7033N/A xvinfo \
7033N/A xwininfo \
7033N/A xscreensaver
7033N/A
7033N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
7033N/A
7033N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
7033N/A
7033N/AMACH:sh=uname -p
7033N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
7033N/A
7033N/Aall:
7033N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
7033N/A
7033N/AWorld: clean all
7033N/A
7033N/Aclean:
7033N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
7033N/A
7033N/Ainstall:
7033N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
7033N/A
7033N/Adownload:
7033N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
7033N/A
7033N/Asubdirs:
7033N/A @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
7033N/A for i in $(OS_SUBDIRS) ;\
7033N/A do \
7033N/A (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
7033N/A $(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
7033N/A done
7033N/A