Makefile revision 943
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend###############################################################################
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd# Xfont Makefile
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Permission is hereby granted, free of charge, to any person obtaining a
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# copy of this software and associated documentation files (the "Software"),
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# to deal in the Software without restriction, including without limitation
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# the rights to use, copy, modify, merge, publish, distribute, sublicense,
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# and/or sell copies of the Software, and to permit persons to whom the
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Software is furnished to do so, subject to the following conditions:
2e545ce2450a9953665f701bb05350f0d3f26275nd# The above copyright notice and this permission notice (including the next
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# paragraph) shall be included in all copies or substantial portions of the
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# DEALINGS IN THE SOFTWARE.
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# Package name used in tarballs
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Version number (used in path names)
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# Checksums for upstream tarball
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Patches to apply to source after unpacking, in order
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Library name
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Man pages to apply Sun footer to & attributes to list
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend#SUNTOUCHED_MANPAGES=man/*.man
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Additional configure script options to select the modules we use
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedoohMODULE_CONFIG_OPTS= --enable-freetype --disable-type1 --disable-cid \
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend --disable-speedo --enable-fontcache --enable-fc --enable-builtins \
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# pkg-config files that need to have -R added
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Install in private subdir
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Need to link with libfontenc in server private directory
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aendMODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Need to find libfontenc & libfreetype in matching directory when used
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# in alternate root environments, like during OS install
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# We use sfw/lib to find libfreetype (via the compatibility link) and not
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# libc, which may be incompatible with the running system during Live Upgrade
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aendMODULE_LD_OPTIONS= -R $$ORIGIN -R $$ORIGIN/$(FREETYPE_RELATIVE_PATH)
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aendMODULE_BUILD_32_FLAGS= FREETYPE_RELATIVE_PATH=../../../../sfw/lib
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aendMODULE_BUILD_64_FLAGS= FREETYPE_RELATIVE_PATH=../../../../../sfw/lib$(ARCHLIBSUBDIR)
38dd0bd0209a7e29ea44e66bfc3bec8edc03e9aend# Link with version mapfile