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