Makefile revision 851
48N/A###############################################################################
48N/A#
48N/A# Xfont Makefile
48N/A#
750N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
750N/A# Use is subject to license terms.
48N/A#
48N/A# Permission is hereby granted, free of charge, to any person obtaining a
48N/A# copy of this software and associated documentation files (the
48N/A# "Software"), to deal in the Software without restriction, including
48N/A# without limitation the rights to use, copy, modify, merge, publish,
48N/A# distribute, and/or sell copies of the Software, and to permit persons
48N/A# to whom the Software is furnished to do so, provided that the above
48N/A# copyright notice(s) and this permission notice appear in all copies of
48N/A# the Software and that both the above copyright notice(s) and this
48N/A# permission notice appear in supporting documentation.
48N/A#
48N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
48N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
48N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
48N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
48N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
48N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
48N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
48N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
48N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
48N/A#
48N/A# Except as contained in this notice, the name of a copyright holder
48N/A# shall not be used in advertising or otherwise to promote the sale, use
48N/A# or other dealings in this Software without prior written authorization
48N/A# of the copyright holder.
48N/A#
851N/A# ident "@(#)Makefile 1.20 09/12/05 SMI"
48N/A#
48N/A
70N/A# Package name used in tarballs
493N/AMODULE_NAME=libXfont
48N/A
48N/A# Version number (used in path names)
851N/AMODULE_VERSION=1.4.1
48N/A
48N/A# Patches to apply to source after unpacking, in order
48N/ASOURCE_PATCHES= \
48N/A ps-fonts.patch \
70N/A htons-inline.patch
48N/A
48N/A# Library name
48N/ALIBNAME=Xfont
48N/A
70N/A# Man pages to apply Sun footer to & attributes to list
493N/A#SUNTOUCHED_MANPAGES=man/*.man
70N/ASUN_PACKAGE=SUNWxorg-server
493N/AMODULE_STABILITY=Project Private
48N/ALIB_MAN_SUFFIX=3Xfont
70N/A
48N/A# Additional configure script options to select the modules we use
70N/AMODULE_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
493N/A --disable-speedo --enable-fontcache --enable-fc --enable-builtins \
493N/A --with-bzip2
70N/A
70N/A# pkg-config files that need to have -R added
70N/AFIX_PC_FILES=xfont.pc.in
70N/A
70N/A# Install in private subdir
48N/AMODULE_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