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