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