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