Makefile revision 747
530N/A###############################################################################
530N/A#
530N/A# Xext 1.x Makefile
530N/A#
530N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
530N/A# Use subject to license terms.
530N/A#
530N/A# Permission is hereby granted, free of charge, to any person obtaining a
530N/A# copy of this software and associated documentation files (the
530N/A# "Software"), to deal in the Software without restriction, including
530N/A# without limitation the rights to use, copy, modify, merge, publish,
530N/A# distribute, and/or sell copies of the Software, and to permit persons
530N/A# to whom the Software is furnished to do so, provided that the above
530N/A# copyright notice(s) and this permission notice appear in all copies of
530N/A# the Software and that both the above copyright notice(s) and this
530N/A# permission notice appear in supporting documentation.
530N/A#
530N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
530N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
530N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
530N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
530N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
530N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
530N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
530N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
530N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
530N/A#
530N/A# Except as contained in this notice, the name of a copyright holder
530N/A# shall not be used in advertising or otherwise to promote the sale, use
530N/A# or other dealings in this Software without prior written authorization
530N/A# of the copyright holder.
530N/A#
530N/A# @(#)Makefile 1.2 08/08/08
530N/A#
530N/A
530N/A# Package name used in tarballs
530N/AMODULE_NAME=libXext
530N/A
530N/A# Version number (used in path names)
530N/AMODULE_VERSION=1.0.4
530N/A
530N/A# Patches to apply to source after unpacking, in order
530N/ASOURCE_PATCHES = \
530N/A shm.patch \
530N/A sun-exts.patch
530N/A
530N/A# Library name (used for specfiles/mapfiles)
530N/ALIBNAME=Xext
530N/A
530N/A# Man pages to apply Sun footer to & attributes to list
530N/ASUNTOUCHED_MANPAGES=man/*.man
530N/ASUN_PACKAGE=SUNWxwplt
530N/AMODULE_STABILITY=Committed
530N/ALIB_MAN_SUFFIX=3Xext
530N/A
530N/A
530N/A
# 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