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