Makefile revision 48
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Makefile for X Consolidation Open Source bits
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Use subject to license terms.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Permission is hereby granted, free of charge, to any person obtaining a
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# copy of this software and associated documentation files (the
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# "Software"), to deal in the Software without restriction, including
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# without limitation the rights to use, copy, modify, merge, publish,
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# distribute, and/or sell copies of the Software, and to permit persons
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# to whom the Software is furnished to do so, provided that the above
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# copyright notice(s) and this permission notice appear in all copies of
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# the Software and that both the above copyright notice(s) and this
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# permission notice appear in supporting documentation.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Except as contained in this notice, the name of a copyright holder
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# shall not be used in advertising or otherwise to promote the sale, use
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# or other dealings in this Software without prior written authorization
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# of the copyright holder.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# @(#)Makefile 1.6 06/08/14
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson###############################################################################
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Modules in this makefile are divided into 2 sections - those that need to
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# be built before the X11 monolithic tree (because X depends on them) and
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# those that need to be build after the X11 monolithic tree (because they
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# depend on X).
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# Need to install to proto area by default for inter-package dependencies to
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson# work right.
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=all OS_SUBDIRS=BEFOREX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=all OS_SUBDIRS=AFTERX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean OS_SUBDIRS=BEFOREX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=clean OS_SUBDIRS=AFTERX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=install OS_SUBDIRS=BEFOREX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=install OS_SUBDIRS=AFTERX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=BEFOREX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson $(MAKE) $(MFLAGS) subdirs OS_TARGET=download OS_SUBDIRS=AFTERX
7eea693d6b672899726e75993fddc4e95b52647fMark Johnson (cd $$i ; echo "## making" $(OS_TARGET) "in open-src/$$i..."; \