Makefile revision 911
481N/A###############################################################################
481N/A#
1339N/A# libXi Makefile
481N/A#
481N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the
919N/A# "Software"), to deal in the Software without restriction, including
919N/A# without limitation the rights to use, copy, modify, merge, publish,
919N/A# distribute, and/or sell copies of the Software, and to permit persons
919N/A# to whom the Software is furnished to do so, provided that the above
919N/A# copyright notice(s) and this permission notice appear in all copies of
919N/A# the Software and that both the above copyright notice(s) and this
919N/A# permission notice appear in supporting documentation.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
919N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
919N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
919N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
919N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
481N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
481N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
481N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
493N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
493N/A#
481N/A# Except as contained in this notice, the name of a copyright holder
970N/A# shall not be used in advertising or otherwise to promote the sale, use
970N/A# or other dealings in this Software without prior written authorization
970N/A# of the copyright holder.
970N/A#
1339N/A#
1339N/A
1339N/A# Package name used in tarballs
481N/AMODULE_NAME=libXi
1370N/A
481N/A# Version number (used in path names)
911N/AMODULE_VERSION=1.3
1370N/A
1370N/A# Checksums for upstream tarball
1370N/ATARBALL_MD5 = 8df4ece9bd1efb02c28acb2b6f485e09
911N/ATARBALL_SHA1 = 7685f2881ce40b13028d9409eedbb9cf1ed0d8ef
481N/A
481N/A# Patches to apply to source after unpacking, in order
481N/ASOURCE_PATCHES = \
481N/A man.patch,-p1 \
493N/A solaris-abi.patch
481N/A
481N/A# Need to autoreconf after patching man/Makefile.am in man.patch
AUTORECONF = yes
# Library name (used for specfiles/mapfiles)
LIBNAME=Xi
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWxwplt
MODULE_STABILITY=Committed
LIB_MAN_SUFFIX=3Xi
# Use specfile to make mapfile & link with it
MODULE_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
MODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
# pkg-config files that need to have -R added
FIX_PC_FILES=xi.pc.in
# Need to use GNU Make to build
MODULE_MAKE=$(GNUMAKE)
MODULE_MAKE_SET=yes
MODULE_MAKEFLAGS=-j 1
include ../Makefile.inc