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