Makefile revision 98
749N/A###############################################################################
749N/A#
749N/A# Xfont Makefile
749N/A#
749N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
749N/A# Use subject to license terms.
749N/A#
749N/A# Permission is hereby granted, free of charge, to any person obtaining a
749N/A# copy of this software and associated documentation files (the
749N/A# "Software"), to deal in the Software without restriction, including
749N/A# without limitation the rights to use, copy, modify, merge, publish,
749N/A# distribute, and/or sell copies of the Software, and to permit persons
749N/A# to whom the Software is furnished to do so, provided that the above
749N/A# copyright notice(s) and this permission notice appear in all copies of
749N/A# the Software and that both the above copyright notice(s) and this
749N/A# permission notice appear in supporting documentation.
749N/A#
749N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
749N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
749N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
749N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
749N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
749N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
749N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
749N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
749N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
749N/A#
749N/A# Except as contained in this notice, the name of a copyright holder
749N/A# shall not be used in advertising or otherwise to promote the sale, use
749N/A# or other dealings in this Software without prior written authorization
749N/A# of the copyright holder.
749N/A#
749N/A# @(#)Makefile 1.5 07/01/31
749N/A#
749N/A
749N/A# Package name used in tarballs
749N/ALIB_MODULE=libXfont
749N/A
749N/A# Version number (used in path names)
749N/ALIB_VERS=1.2.7
749N/A
749N/A# Patches to apply to source after unpacking, in order
749N/ASOURCE_PATCHES=6206898.patch
749N/A
749N/A# Library name
749N/ALIBNAME=Xfont
749N/A
# 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 --enable-type1 --enable-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
LIB_ADD_LD_OPTIONS=-L $(PROTODIR)/usr/sfw/lib$(LIBSUBDIR) \
-L $(PROTODIR)$(X11_DIR)/lib$(X11_SERVERLIBS_SUBDIR)$(LIBSUBDIR)
include ../Makefile.inc
# Merge in additional sources from closed-src directory
#source_gen:: $(LNDIR)
# if [ -d closed-src ] ; then \
# mkdir -p $(SOURCE_DIR)/src/bitstream/module ; \
# (cd $(SOURCE_DIR)/src/bitstream && \
# $(LNDIR) $(TOP)/../closed-src/xc/lib/font/bitstream) ; \
# (cd $(SOURCE_DIR)/src/bitstream/module && \
# xmkmf $(TOP)/../xc) ; \
# perl -i.bak -p -e 's%SUBDIRS=%SUBDIRS=bitstream/module%' \
# $(SOURCE_DIR)/src/Makefile.am ; \
# fi
# (cd $(SOURCE_DIR) && $(LNDIR) ../../closed-src) ; \
# perl -i.bak -p -e 's%AC_OUTPUT\(\[Makefile%AC_OUTPUT([Makefile src/bitstream/Makefile%' $(SOURCE_DIR)/configure.ac ; \
# (cd $(SOURCE_DIR) && ACLOCAL="aclocal -I /usr/share/aclocal" autoreconf -v) \