Makefile revision 493
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync###############################################################################
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Xext 1.x Makefile
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Use subject to license terms.
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Permission is hereby granted, free of charge, to any person obtaining a
5395d415168ae1b063240e1ee881bd028f37a60dvboxsync# copy of this software and associated documentation files (the
5395d415168ae1b063240e1ee881bd028f37a60dvboxsync# "Software"), to deal in the Software without restriction, including
5395d415168ae1b063240e1ee881bd028f37a60dvboxsync# without limitation the rights to use, copy, modify, merge, publish,
5395d415168ae1b063240e1ee881bd028f37a60dvboxsync# distribute, and/or sell copies of the Software, and to permit persons
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# to whom the Software is furnished to do so, provided that the above
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# copyright notice(s) and this permission notice appear in all copies of
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# the Software and that both the above copyright notice(s) and this
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# permission notice appear in supporting documentation.
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Except as contained in this notice, the name of a copyright holder
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# shall not be used in advertising or otherwise to promote the sale, use
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# or other dealings in this Software without prior written authorization
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# of the copyright holder.
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# @(#)Makefile 1.2 08/08/08
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync#
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Package name used in tarballs
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncMODULE_NAME=libXext
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Version number (used in path names)
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncMODULE_VERSION=1.0.4
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Patches to apply to source after unpacking, in order
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncSOURCE_PATCHES = \
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync shm.patch \
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync sun-exts.patch
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Library name (used for specfiles/mapfiles)
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncLIBNAME=Xext
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Man pages to apply Sun footer to & attributes to list
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncSUNTOUCHED_MANPAGES=man/*.man
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncSUN_PACKAGE=SUNWxwplt
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncMODULE_STABILITY=Committed
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncLIB_MAN_SUFFIX=3Xext
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# pkg-config files that need to have -R added
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncFIX_PC_FILES=xext.pc.in
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Enable Solaris-specific code
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncMODULE_CPPFLAGS = -DSUNSOFT
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Link with version mapfile and libraries that contain sources that used
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# to be in libXext
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Regenerate Makefile.in's from Makefile.am's after patching them
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncAUTORECONF=yes
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync# Merge in additional sources from sun-src directory
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncADDITIONAL_SOURCE_DIR=sun-src
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync### Rules specific to this directory:
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncDESTDIR=$(PROTODIR)
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncINSTDIR=$(DESTDIR)$(X11_INCLUDES_DIR)/X11/extensions
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncinstall_gen::
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync mkdir -p $(INSTDIR)
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync cp -pf sun-src/include/X11/extensions/*.h $(INSTDIR)/
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsyncinclude ../Makefile.inc
2e848e79ccf2e4285250a0af98ddb9eb28864878vboxsync