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