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