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