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