Makefile revision 455
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd###############################################################################
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
41326e4d330eb9bdf4af7ab021f3ae2cc1fb0146rbowen# Use subject to license terms.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Permission is hereby granted, free of charge, to any person obtaining a
031b91a62d25106ae69d4693475c79618dd5e884fielding# copy of this software and associated documentation files (the
031b91a62d25106ae69d4693475c79618dd5e884fielding# "Software"), to deal in the Software without restriction, including
031b91a62d25106ae69d4693475c79618dd5e884fielding# without limitation the rights to use, copy, modify, merge, publish,
031b91a62d25106ae69d4693475c79618dd5e884fielding# distribute, and/or sell copies of the Software, and to permit persons
031b91a62d25106ae69d4693475c79618dd5e884fielding# to whom the Software is furnished to do so, provided that the above
031b91a62d25106ae69d4693475c79618dd5e884fielding# copyright notice(s) and this permission notice appear in all copies of
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# the Software and that both the above copyright notice(s) and this
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# permission notice appear in supporting documentation.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Except as contained in this notice, the name of a copyright holder
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# shall not be used in advertising or otherwise to promote the sale, use
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# or other dealings in this Software without prior written authorization
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# of the copyright holder.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# @(#)Makefile 1.6 08/03/19
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Package name used in tarballs
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndPROTO_NAME=xproto
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Version number (used in path names)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndVERSION=7.0.12
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Patches to apply to source after unpacking, in order
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndSOURCE_PATCHES= Xos.h-patch Xpoll.h-patch X.h-patch
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd### Include common rulesets
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndinclude ../Makefile.inc
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Extra install for bootstrapping the old monolith
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndinstall_gen:: $(SOURCE_DIR)/Makefile
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd @if [ -d $(PROTODIR)/../xc/include ] ; then \
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd (set -x ; cd $(SOURCE_DIR) ; $(MAKE) $(MFLAGS) -e DESTDIR=$(PROTODIR) xprotodir=/../xc/include install) ;\
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd fi
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd