Makefile revision 761
bb5e3b2f129cc39517b925419c22f69a378ec023eh###############################################################################
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Xft 2.x Makefile
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Use is subject to license terms.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Permission is hereby granted, free of charge, to any person obtaining a
bb5e3b2f129cc39517b925419c22f69a378ec023eh# copy of this software and associated documentation files (the
bb5e3b2f129cc39517b925419c22f69a378ec023eh# "Software"), to deal in the Software without restriction, including
bb5e3b2f129cc39517b925419c22f69a378ec023eh# without limitation the rights to use, copy, modify, merge, publish,
bb5e3b2f129cc39517b925419c22f69a378ec023eh# distribute, and/or sell copies of the Software, and to permit persons
bb5e3b2f129cc39517b925419c22f69a378ec023eh# to whom the Software is furnished to do so, provided that the above
bb5e3b2f129cc39517b925419c22f69a378ec023eh# copyright notice(s) and this permission notice appear in all copies of
bb5e3b2f129cc39517b925419c22f69a378ec023eh# the Software and that both the above copyright notice(s) and this
bb5e3b2f129cc39517b925419c22f69a378ec023eh# permission notice appear in supporting documentation.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
bb5e3b2f129cc39517b925419c22f69a378ec023eh# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
bb5e3b2f129cc39517b925419c22f69a378ec023eh# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
bb5e3b2f129cc39517b925419c22f69a378ec023eh# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
bb5e3b2f129cc39517b925419c22f69a378ec023eh# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
bb5e3b2f129cc39517b925419c22f69a378ec023eh# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
bb5e3b2f129cc39517b925419c22f69a378ec023eh# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
bb5e3b2f129cc39517b925419c22f69a378ec023eh# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
bb5e3b2f129cc39517b925419c22f69a378ec023eh# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Except as contained in this notice, the name of a copyright holder
bb5e3b2f129cc39517b925419c22f69a378ec023eh# shall not be used in advertising or otherwise to promote the sale, use
bb5e3b2f129cc39517b925419c22f69a378ec023eh# or other dealings in this Software without prior written authorization
bb5e3b2f129cc39517b925419c22f69a378ec023eh# of the copyright holder.
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh# @(#)Makefile 1.15 09/07/31
bb5e3b2f129cc39517b925419c22f69a378ec023eh#
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Package name used in tarballs
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_NAME=libXft
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Version number (used in path names)
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_VERSION=2.1.13
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Patches to apply to source after unpacking, in order
bb5e3b2f129cc39517b925419c22f69a378ec023ehSOURCE_PATCHES = \
bb5e3b2f129cc39517b925419c22f69a378ec023eh xftcore-6261221.patch \
bb5e3b2f129cc39517b925419c22f69a378ec023eh xft.hint.patch
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Library name (used for specfiles/mapfiles)
bb5e3b2f129cc39517b925419c22f69a378ec023ehLIBNAME=Xft
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Man pages to apply Sun footer to & attributes to list
bb5e3b2f129cc39517b925419c22f69a378ec023ehSUNTOUCHED_MANPAGES=man/Xft.3.in man/Xft.3
bb5e3b2f129cc39517b925419c22f69a378ec023ehSUN_PACKAGE=SUNWxwxft
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_STABILITY=Volatile
bb5e3b2f129cc39517b925419c22f69a378ec023ehLIB_MAN_SUFFIX=3
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Paths to find libraries at build time (LD_LIBRARY_PATH)
bb5e3b2f129cc39517b925419c22f69a378ec023eh# and run time (LD_RUN_PATH) and freetype-config binary at build time (PATH)
bb5e3b2f129cc39517b925419c22f69a378ec023ehBUILD_ENV = LD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(LIBSUBDIR):$(PROTODIR)/usr/openwin/lib$(LIBSUBDIR):/usr/sfw/lib$(LIBSUBDIR) LD_RUN_PATH=/usr/sfw/lib$(LIBSUBDIR) PATH=$(PROTODIR)/usr/bin$(LIBSUBDIR):$(PATH)
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_LD_OPTIONS= -L$(PROTODIR)/usr/lib$(LIBSUBDIR)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_MAKEFLAGS = bindir=$(XFT_prefix)/bin$(ARCHLIBSUBDIR)
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_CPPFLAGS = -DFT_CONFIG_ADD_FULL_HINTING
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# Mapfile used to control which symbols are exported
bb5e3b2f129cc39517b925419c22f69a378ec023ehXFT_MAPFILE=$(PWD)/mapfile.scope
bb5e3b2f129cc39517b925419c22f69a378ec023ehMODULE_LD_OPTIONS += -M$(XFT_MAPFILE) -lX11
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh# pkg-config files that need to have -R added
bb5e3b2f129cc39517b925419c22f69a378ec023ehFIX_PC_FILES=xft.pc.in
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023ehinclude ../Makefile.inc
bb5e3b2f129cc39517b925419c22f69a378ec023eh
bb5e3b2f129cc39517b925419c22f69a378ec023eh