Makefile revision 911
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews###############################################################################
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# lbxutil 1.x Makefile
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Use is subject to license terms.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# copy of this software and associated documentation files (the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# "Software"), to deal in the Software without restriction, including
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# without limitation the rights to use, copy, modify, merge, publish,
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# distribute, and/or sell copies of the Software, and to permit persons
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# to whom the Software is furnished to do so, provided that the above
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# copyright notice(s) and this permission notice appear in all copies of
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# the Software and that both the above copyright notice(s) and this
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# permission notice appear in supporting documentation.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Except as contained in this notice, the name of a copyright holder
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# shall not be used in advertising or otherwise to promote the sale, use
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# or other dealings in this Software without prior written authorization
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# of the copyright holder.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Package name used in tarballs
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsMODULE_NAME=liblbxutil
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Version number (used in path names)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsMODULE_VERSION=1.1.0
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Checksums for upstream tarball
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsTARBALL_MD5 = 273329a78c2e9ea189ac416c7fde94a1
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsTARBALL_SHA1 = 99616bab0ca0afeaa9c0a19222091b1ff4f18680
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# Patches to apply to source after unpacking, in order
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsSOURCE_PATCHES =
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Library name (used for specfiles/mapfiles)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsLIBNAME=lbxutil
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Man pages to apply Sun footer to & attributes to list
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#SUN_PACKAGE=SUNWxwplt
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#LIB_STABILITY=Committed
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews#LIB_MAN_SUFFIX=3lbxutil
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Only need 32-bit since we only ship lbxproxy as 32-bit
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsBUILD_TYPES=32
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsBUILD_TYPES_SET=yes
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# pkg-config files that need to have -R added
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsFIX_PC_FILES=lbxutil.pc.in
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Install in private subdir for use by lbxproxy
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsMODULE_ADD_LIB_SUBDIR=/X11/lbxproxy
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Link with mapfile to allow referring to symbols defined in callers
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark AndrewsMODULE_LD_OPTIONS = -M $(PWD)/mapfile-externs
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinclude ../Makefile.inc
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Clean up old 64-bit builds from before we stopped building them
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsclean: clean_64
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews