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