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