Makefile revision 173
153N/A###############################################################################
153N/A#
153N/A# Xft 2.x Makefile
153N/A#
911N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
851N/A# Use subject to license terms.
153N/A#
153N/A# Permission is hereby granted, free of charge, to any person obtaining a
153N/A# copy of this software and associated documentation files (the
153N/A# "Software"), to deal in the Software without restriction, including
153N/A# without limitation the rights to use, copy, modify, merge, publish,
153N/A# distribute, and/or sell copies of the Software, and to permit persons
153N/A# to whom the Software is furnished to do so, provided that the above
153N/A# copyright notice(s) and this permission notice appear in all copies of
153N/A# the Software and that both the above copyright notice(s) and this
153N/A# permission notice appear in supporting documentation.
153N/A#
153N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
153N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
153N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
153N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
153N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
153N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
153N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
153N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
153N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
153N/A#
153N/A# Except as contained in this notice, the name of a copyright holder
153N/A# shall not be used in advertising or otherwise to promote the sale, use
153N/A# or other dealings in this Software without prior written authorization
153N/A# of the copyright holder.
153N/A#
153N/A# @(#)Makefile 1.8 07/06/13
153N/A#
153N/A
493N/APWD:sh=pwd
153N/ATOP=$(PWD)/../..
153N/A
851N/A# Package name used in tarballs
153N/ALIB_MODULE=libXft
911N/A
911N/A# Version number (used in path names)
911N/ALIB_VERS=2.1.12
911N/A
153N/A# Patches to apply to source after unpacking, in order
153N/ASOURCE_PATCHES = \
153N/A xftcore-6261221.patch \
153N/A cjk-embolden.patch \
153N/A xft.hint.patch
153N/A
153N/A# Library name (used for specfiles/mapfiles)
153N/ALIBNAME=Xft
153N/A
493N/A# Man pages to apply Sun footer to & attributes to list
153N/ASUNTOUCHED_MANPAGES=man/Xft.3.in man/Xft.3
153N/ASUN_PACKAGE=SUNWxwxft
493N/ALIB_STABILITY=Volatile
153N/ALIB_MAN_SUFFIX=3
153N/A
153N/A# Command line options to GNU autoconf configure script
153N/ALIB_ADD_CONFIG_OPTS = --mandir=$(X11_DIR)/share/man
153N/A
493N/A# Paths to find libraries at build time (LD_LIBRARY_PATH)
153N/A# and run time (LD_RUN_PATH) and freetype-config binary at build time (PATH)
153N/ALIBPATHS = LD_LIBRARY_PATH=$(PROTODIR)/usr/sfw/lib$(LIBSUBDIR):$(PROTODIR)/usr/openwin/lib$(LIBSUBDIR):/usr/sfw/lib$(LIBSUBDIR) LD_RUN_PATH=/usr/sfw/lib$(LIBSUBDIR) PATH=$(PROTODIR)/usr/sfw/bin$(LIBSUBDIR):$(PATH)
LIB_ADD_MAKEFLAGS = bindir=$(XFT_prefix)/bin$(ARCHLIBSUBDIR)
# Include Paths - need headers for fontconfig & freetype from build area
LIB_ADD_CFLAGS = -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/sfw/include
# Library built in tree
LIB_BUILT=$(BUILD_DIR)/.libs/libXft.so.2
# Mapfile used to control which symbols are exported
XFT_MAPFILE=$(PWD)/mapfile.scope
LIB_ADD_LD_OPTIONS=-M$(XFT_MAPFILE)
# pkg-config files that need to have -R added
FIX_PC_FILES=xft.pc.in
include ../Makefile.inc