Makefile revision 400
493N/A# Makefile for X Consolidation Open Source Application modules
0N/A#
1130N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
0N/A# Use subject to license terms.
0N/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
919N/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
0N/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
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
0N/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
919N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
919N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
0N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
0N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0N/A#
0N/A# Except as contained in this notice, the name of a copyright holder
0N/A# shall not be used in advertising or otherwise to promote the sale, use
0N/A# or other dealings in this Software without prior written authorization
970N/A# of the copyright holder.
970N/A#
970N/A# @(#)Makefile 1.40 08/04/11
0N/A#
0N/A###############################################################################
0N/A
0N/A# Dependency ordering:
970N/A# rss-glx needs to come after xscreensaver
493N/A
970N/AOS_SUBDIRS_common = \
0N/A appres \
1003N/A bitmap \
1003N/A constype \
1003N/A editres \
1003N/A iceauth \
1003N/A listres \
1003N/A luit \
1003N/A mesa-demos \
970N/A mkfontscale \
970N/A oclock \
0N/A setxkbmap \
970N/A twm \
970N/A viewres \
731N/A x11perf \
970N/A xauth \
970N/A xcalc \
970N/A xclipboard \
970N/A xcmsdb \
561N/A xconsole \
493N/A xcursorgen \
970N/A xdpyinfo \
970N/A xev \
970N/A xfd \
970N/A xfwp \
970N/A xgamma \
0N/A xgc \
0N/A xhost \
0N/A xkbcomp \
970N/A xkill \
970N/A xlogo \
970N/A xlsatoms \
0N/A xlsclients \
970N/A xmag \
970N/A xmodmap \
970N/A xpm \
1057N/A xprop \
0N/A xrandr \
970N/A xrdb \
970N/A xrefresh \
493N/A xset \
970N/A xsetroot \
29N/A xstdcmap \
0N/A xvidtune \
970N/A xvinfo \
970N/A xwd \
970N/A xwininfo \
970N/A xwud \
970N/A xscreensaver \
970N/A rss-glx
970N/A
970N/AOS_SUBDIRS_sparc = $(OS_SUBDIRS_common)
970N/A
970N/AOS_SUBDIRS_i386 = $(OS_SUBDIRS_common)
970N/A
970N/AMACH:sh=uname -p
970N/AOS_SUBDIRS=$(OS_SUBDIRS_$(MACH))
970N/A
1130N/Aall:
1130N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=all
1130N/A
1130N/AWorld: clean all
970N/A
970N/Aclean:
493N/A $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
install:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=install
download:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=download
source:
$(MAKE) $(MFLAGS) subdirs OS_TARGET=source
subdirs:
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(OS_SUBDIRS) ;\
do \
(cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \
$(MAKE) $(MFLAGS) CDEBUGFLAGS="$(CDEBUGFLAGS)" $(OS_TARGET)); \
done