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