Makefile revision 911
d657c51f14601d0235434ffb78cf6ac0f27cc83cLennart Poettering###############################################################################
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering#
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# libXi Makefile
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering#
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# Use is subject to license terms.
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering#
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# Permission is hereby granted, free of charge, to any person obtaining a
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# copy of this software and associated documentation files (the
9fa2f41077b2d76685058836f602f38715b5eef3Kay Sievers# "Software"), to deal in the Software without restriction, including
9fa2f41077b2d76685058836f602f38715b5eef3Kay Sievers# without limitation the rights to use, copy, modify, merge, publish,
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# distribute, and/or sell copies of the Software, and to permit persons
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# to whom the Software is furnished to do so, provided that the above
9fa2f41077b2d76685058836f602f38715b5eef3Kay Sievers# copyright notice(s) and this permission notice appear in all copies of
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# the Software and that both the above copyright notice(s) and this
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# permission notice appear in supporting documentation.
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering#
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# Except as contained in this notice, the name of a copyright holder
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# shall not be used in advertising or otherwise to promote the sale, use
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart Poettering# or other dealings in this Software without prior written authorization
673eab9bf0d2d79a72f3d7c430807b8786de7ee3Lennart Poettering# of the copyright holder.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering#
952d1536f4d7b64cfe938a569402434decffe4cdKay Sievers#
b67f541f130cd4c55da0b74af5fcbb4daeca1937Lennart Poettering
b67f541f130cd4c55da0b74af5fcbb4daeca1937Lennart Poettering# Package name used in tarballs
85424725d1870e2c218e3e2d53971f7e5dc3f0aeKay SieversMODULE_NAME=libXi
85424725d1870e2c218e3e2d53971f7e5dc3f0aeKay Sievers
673eab9bf0d2d79a72f3d7c430807b8786de7ee3Lennart Poettering# Version number (used in path names)
31cee6f634ce07aa2c3514a506f93830f91f14a5Lennart PoetteringMODULE_VERSION=1.3
e946948eff517e895b287d0fd8c6d069ab9bbbb9Jesper Larsen
23aedd029452b65c11b6eb838e44f60be1c66814Kay Sievers# Checksums for upstream tarball
23aedd029452b65c11b6eb838e44f60be1c66814Kay SieversTARBALL_MD5 = 8df4ece9bd1efb02c28acb2b6f485e09
23aedd029452b65c11b6eb838e44f60be1c66814Kay SieversTARBALL_SHA1 = 7685f2881ce40b13028d9409eedbb9cf1ed0d8ef
23aedd029452b65c11b6eb838e44f60be1c66814Kay Sievers
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers# Patches to apply to source after unpacking, in order
d28315e4aff91560ed4c2fc9f876ec8bfc559f2dJan EngelhardtSOURCE_PATCHES = \
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers man.patch,-p1 \
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers solaris-abi.patch
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers# Need to autoreconf after patching man/Makefile.am in man.patch
41938693e76c32161d2b3b83253ce996468cbf9bKay SieversAUTORECONF = yes
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
06d461ee6f3da6650e6d023d7828455752d70b0bShawn Landden# Library name (used for specfiles/mapfiles)
5d31974e44b8fa163f859d8467a3667ed52056d0Kay SieversLIBNAME=Xi
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers# Man pages to apply Sun footer to & attributes to list
f28cbd0382ca53baa99803bbc907a469fbf68128Kay SieversSUNTOUCHED_MANPAGES=man/*.man
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversSUN_PACKAGE=SUNWxwplt
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversMODULE_STABILITY=Committed
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversLIB_MAN_SUFFIX=3Xi
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers# Use specfile to make mapfile & link with it
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversMODULE_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversMODULE_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers# pkg-config files that need to have -R added
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay SieversFIX_PC_FILES=xi.pc.in
713bc0cfa477ca1df8769041cb3dbc83c10eace2Kay Sievers
a5c724b25b2930ecb4a64bb4d9b8619a1354afedKay Sievers# Need to use GNU Make to build
a5c724b25b2930ecb4a64bb4d9b8619a1354afedKay SieversMODULE_MAKE=$(GNUMAKE)
a5c724b25b2930ecb4a64bb4d9b8619a1354afedKay SieversMODULE_MAKE_SET=yes
a5c724b25b2930ecb4a64bb4d9b8619a1354afedKay SieversMODULE_MAKEFLAGS=-j 1
13468826f2457cae45a79649e122deadb9dc9774Mike Gilbert
13468826f2457cae45a79649e122deadb9dc9774Mike Gilbertinclude ../Makefile.inc
13468826f2457cae45a79649e122deadb9dc9774Mike Gilbert