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