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