Makefile revision 347
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Makefile for X Consolidation Open Source Application modules
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Use subject to license terms.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# copy of this software and associated documentation files (the
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# "Software"), to deal in the Software without restriction, including
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# without limitation the rights to use, copy, modify, merge, publish,
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# distribute, and/or sell copies of the Software, and to permit persons
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# to whom the Software is furnished to do so, provided that the above
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# copyright notice(s) and this permission notice appear in all copies of
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# the Software and that both the above copyright notice(s) and this
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# permission notice appear in supporting documentation.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# Except as contained in this notice, the name of a copyright holder
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# shall not be used in advertising or otherwise to promote the sale, use
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# or other dealings in this Software without prior written authorization
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# of the copyright holder.
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson# @(#)Makefile 1.35 08/02/29
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson###############################################################################
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson $(MAKE) $(MFLAGS) subdirs OS_TARGET=install
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson $(MAKE) $(MFLAGS) subdirs OS_TARGET=download
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
4848fe4ad2c0ba6e2e69e4a2617727f8556d79a0Andreas Gustafsson (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/app/$$i..."; \