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