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