Makefile revision 919
705N/A###############################################################################
705N/A#
911N/A# Xfont Makefile
742N/A#
705N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
705N/A# Use is subject to license terms.
919N/A#
919N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
705N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
705N/A# DEALINGS IN THE SOFTWARE.
705N/A#
705N/A#
705N/A
705N/A# Package name used in tarballs
742N/AMODULE_NAME=libXfont
705N/A
911N/A# Version number (used in path names)
911N/AMODULE_VERSION=1.4.1
911N/A
911N/A# Checksums for upstream tarball
705N/ATARBALL_MD5 = 4f2bed2a2be82e90a51a24bb3a22cdf0
705N/ATARBALL_SHA1 = f8dc669760975b41885143f828b54164224c8a31
705N/A
705N/A# Patches to apply to source after unpacking, in order
705N/ASOURCE_PATCHES= \
ps-fonts.patch \
htons-inline.patch
# Library name
LIBNAME=Xfont
# Man pages to apply Sun footer to & attributes to list
#SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWxorg-server
MODULE_STABILITY=Project Private
LIB_MAN_SUFFIX=3Xfont
# Additional configure script options to select the modules we use
MODULE_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
--disable-speedo --enable-fontcache --enable-fc --enable-builtins \
--with-bzip2
# pkg-config files that need to have -R added
FIX_PC_FILES=xfont.pc.in
# Install in private subdir
MODULE_ADD_LIB_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
# Need to link with libfontenc in server private directory
MODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
# Need to find libfontenc & libfreetype in matching directory when used
# in alternate root environments, like during OS install
# We use sfw/lib to find libfreetype (via the compatibility link) and not
# libc, which may be incompatible with the running system during Live Upgrade
MODULE_LD_OPTIONS= -R $$ORIGIN -R $$ORIGIN/$(FREETYPE_RELATIVE_PATH)
MODULE_BUILD_32_FLAGS= FREETYPE_RELATIVE_PATH=../../../../sfw/lib
MODULE_BUILD_64_FLAGS= FREETYPE_RELATIVE_PATH=../../../../../sfw/lib$(ARCHLIBSUBDIR)
# Link with version mapfile
MODULE_LD_OPTIONS += -M $(PWD)/mapfile-vers
include ../Makefile.inc