Makefile revision 851
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig###############################################################################
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# libXi Makefile
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Use is subject to license terms.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Permission is hereby granted, free of charge, to any person obtaining a
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# copy of this software and associated documentation files (the
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# "Software"), to deal in the Software without restriction, including
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# without limitation the rights to use, copy, modify, merge, publish,
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# distribute, and/or sell copies of the Software, and to permit persons
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# to whom the Software is furnished to do so, provided that the above
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# copyright notice(s) and this permission notice appear in all copies of
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# the Software and that both the above copyright notice(s) and this
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# permission notice appear in supporting documentation.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Except as contained in this notice, the name of a copyright holder
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# shall not be used in advertising or otherwise to promote the sale, use
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# or other dealings in this Software without prior written authorization
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# of the copyright holder.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# ident "@(#)Makefile 1.5 09/12/05 SMI"
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig#
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Package name used in tarballs
MODULE_NAME=libXi
# Version number (used in path names)
MODULE_VERSION=1.3
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
man.patch,-p1 \
solaris-abi.patch
# 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