Makefile revision 919
486N/A###############################################################################
486N/A#
486N/A# Xfont Makefile
486N/A#
943N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
486N/A# Use is subject to license terms.
486N/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
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
486N/A# DEALINGS IN THE SOFTWARE.
486N/A#
486N/A#
486N/A
493N/A# Package name used in tarballs
486N/AMODULE_NAME=libXfont
970N/A
970N/A# Version number (used in path names)
970N/AMODULE_VERSION=1.4.1
970N/A
970N/A# Checksums for upstream tarball
970N/ATARBALL_MD5 = 4f2bed2a2be82e90a51a24bb3a22cdf0
970N/ATARBALL_SHA1 = f8dc669760975b41885143f828b54164224c8a31
970N/A
486N/A# Patches to apply to source after unpacking, in order
493N/ASOURCE_PATCHES= \
486N/A ps-fonts.patch \
911N/A htons-inline.patch
911N/A
911N/A# Library name
911N/ALIBNAME=Xfont
486N/A
486N/A# Man pages to apply Sun footer to & attributes to list
486N/A#SUNTOUCHED_MANPAGES=man/*.man
486N/ASUN_PACKAGE=SUNWxorg-server
486N/AMODULE_STABILITY=Project Private
493N/ALIB_MAN_SUFFIX=3Xfont
486N/A
970N/A# Additional configure script options to select the modules we use
970N/AMODULE_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
970N/A --disable-speedo --enable-fontcache --enable-fc --enable-builtins \
486N/A --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