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