Makefile revision 290
1cd2872b696c4bdfb7694da53883d02de3360e12violette###############################################################################
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette#
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# Xfont Makefile
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Use subject to license terms.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Permission is hereby granted, free of charge, to any person obtaining a
1cd2872b696c4bdfb7694da53883d02de3360e12violette# copy of this software and associated documentation files (the
1cd2872b696c4bdfb7694da53883d02de3360e12violette# "Software"), to deal in the Software without restriction, including
1cd2872b696c4bdfb7694da53883d02de3360e12violette# without limitation the rights to use, copy, modify, merge, publish,
1cd2872b696c4bdfb7694da53883d02de3360e12violette# distribute, and/or sell copies of the Software, and to permit persons
1cd2872b696c4bdfb7694da53883d02de3360e12violette# to whom the Software is furnished to do so, provided that the above
328d033cb3289d78d02e947892030adf31659595violette# copyright notice(s) and this permission notice appear in all copies of
1cd2872b696c4bdfb7694da53883d02de3360e12violette# the Software and that both the above copyright notice(s) and this
1cd2872b696c4bdfb7694da53883d02de3360e12violette# permission notice appear in supporting documentation.
054848749d97535e9e1d5da4504079ac684f141bviolette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1cd2872b696c4bdfb7694da53883d02de3360e12violette# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1cd2872b696c4bdfb7694da53883d02de3360e12violette# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1cd2872b696c4bdfb7694da53883d02de3360e12violette# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
054848749d97535e9e1d5da4504079ac684f141bviolette# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
054848749d97535e9e1d5da4504079ac684f141bviolette# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
054848749d97535e9e1d5da4504079ac684f141bviolette# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
1cd2872b696c4bdfb7694da53883d02de3360e12violette# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
1cd2872b696c4bdfb7694da53883d02de3360e12violette# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Except as contained in this notice, the name of a copyright holder
1cd2872b696c4bdfb7694da53883d02de3360e12violette# shall not be used in advertising or otherwise to promote the sale, use
1cd2872b696c4bdfb7694da53883d02de3360e12violette# or other dealings in this Software without prior written authorization
1cd2872b696c4bdfb7694da53883d02de3360e12violette# of the copyright holder.
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette# @(#)Makefile 1.12 07/12/19
1cd2872b696c4bdfb7694da53883d02de3360e12violette#
1cd2872b696c4bdfb7694da53883d02de3360e12violette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Package name used in tarballs
1cd2872b696c4bdfb7694da53883d02de3360e12violetteLIB_MODULE=libXfont
1cd2872b696c4bdfb7694da53883d02de3360e12violette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Version number (used in path names)
c3f0280853296f99f4d9241751093e7be5b6c55evioletteLIB_VERS=1.2.8
c3f0280853296f99f4d9241751093e7be5b6c55eviolette
1cd2872b696c4bdfb7694da53883d02de3360e12violette# Patches to apply to source after unpacking, in order
1cd2872b696c4bdfb7694da53883d02de3360e12violetteSOURCE_PATCHES= \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette 6206898.patch \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette 6640505.patch
# Library name
LIBNAME=Xfont
# Man pages to apply Sun footer to & attributes to list
#SUNTOUCHED_MANPAGES=man/*.man
SUN_PACKAGE=SUNWxorg-server
LIB_STABILITY=Project Private
LIB_MAN_SUFFIX=3Xfont
# Additional configure script options to select the modules we use
LIB_ADD_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
--disable-speedo --enable-fontcache --enable-fc --disable-builtins
# Library built in tree
LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXfont.so.1.0.0
# pkg-config files that need to have -R added
FIX_PC_FILES=xfont.pc.in
# Install in private subdir
LIB_ADD_SUBDIR=$(X11_SERVERLIBS_SUBDIR)
# Find freetype & fontenc libraries in private subdir
# /usr/sfw/lib is left in the runpath as a temporary transition aid until
# all build & test machines have freetype in /usr/lib
LIB_ADD_LD_OPTIONS=-L $(PROTODIR)/usr/lib$(LIBSUBDIR) \
-R /usr/sfw/lib$(LIBSUBDIR) \
-L $(PROTODIR)$(X11_DIR)/lib$(X11_SERVERLIBS_SUBDIR)$(LIBSUBDIR)
# Support font modules like libbitstream.so that libXfont doesn't already know
LIB_ADD_CFLAGS=-DLOADABLEFONTS
# Need to look in $(PROTODIR) for freetype headers
LIB_ADD_CPPFLAGS=-I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/include/freetype2
include ../Makefile.inc