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