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