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