Makefile revision 705
671242f350d172e106580348e24bab66b0d7e6a5vboxsync###############################################################################
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Xfont Makefile
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Use subject to license terms.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Permission is hereby granted, free of charge, to any person obtaining a
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# copy of this software and associated documentation files (the
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# "Software"), to deal in the Software without restriction, including
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# without limitation the rights to use, copy, modify, merge, publish,
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# distribute, and/or sell copies of the Software, and to permit persons
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# to whom the Software is furnished to do so, provided that the above
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# copyright notice(s) and this permission notice appear in all copies of
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# the Software and that both the above copyright notice(s) and this
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# permission notice appear in supporting documentation.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Except as contained in this notice, the name of a copyright holder
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# shall not be used in advertising or otherwise to promote the sale, use
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# or other dealings in this Software without prior written authorization
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# of the copyright holder.
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# @(#)Makefile 1.18 09/05/15
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Package name used in tarballs
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Version number (used in path names)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Patches to apply to source after unpacking, in order
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Library name
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Man pages to apply Sun footer to & attributes to list
671242f350d172e106580348e24bab66b0d7e6a5vboxsync#SUNTOUCHED_MANPAGES=man/*.man
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Additional configure script options to select the modules we use
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncMODULE_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
671242f350d172e106580348e24bab66b0d7e6a5vboxsync --disable-speedo --enable-fontcache --enable-fc --enable-builtins \
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# pkg-config files that need to have -R added
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Install in private subdir
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Need to link with libfontenc in server private directory
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncMODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# Need to find libfontenc & libfreetype in matching directory when used
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# in alternate root environments, like during OS install
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# We use sfw/lib to find libfreetype (via the compatibility link) and not
671242f350d172e106580348e24bab66b0d7e6a5vboxsync# libc, which may be incompatible with the running system during Live Upgrade
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncMODULE_LD_OPTIONS= -R $$ORIGIN -R $$ORIGIN/$(FREETYPE_RELATIVE_PATH)
671242f350d172e106580348e24bab66b0d7e6a5vboxsyncMODULE_BUILD_32_FLAGS= FREETYPE_RELATIVE_PATH=../../../../sfw/lib