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