Makefile revision 1652
###############################################################################
#
# Fontconfig - Font configuration and customization library
#
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
# Package metadata
# pkg(5) name we deliver the files in (override default)
# Package classification (override default)
# ARC cases that covered this module
# LSARC/2003/273 fontconfig library
# PSARC/2004/752 X Consolidation conversion to SMF
# LSARC/2007/532 fc-match
# LSARC/2008/140 fontconfig 2.5.0
# PSARC/2010/162 fontconfig 2.8.0
# PSARC/2015/035 Moving fontconfig utilities to LP64 by default
# PSARC/2015/527 Fontconfig 2.11.94
# Package metadata
ORACLE_TPNO = 30873
# Version number (used in path names)
# Checksums for upstream tarball
# Download site for source
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = \
6447517.patch,-p1 \
7026635.patch,-p1 \
# Man pages to apply Sun footer to & attributes to list
# Override specific attributes for specific man pages
# API docs are in doc/*.3
# Command docs are in per-command dirs
SUNTOUCH_MAN_FLAGS_CMDS = -p $(MODULE_BIN_DIR)/
# pkg-config files to update
# Don't include path to freetype headers in our proto area in the *.pc files.
# The 'Requires: freetype' will handle the right -I flags for us.
MODULE_FIX_PC_FLAGS += -e 's| \@FREETYPE_CFLAGS\@||g;'
BINSUBDIR_32 = $(SUBDIR32)
BINSUBDIR_64 = $(SUBDIR64)
# Additional command line options to GNU autoconf configure script
--bindir='$${exec_prefix}/bin/$(BINSUBDIR)' \
# Need to use GNU Make to build
# Paths to find libraries
# Override linker flags for programs
# 22507047 libfontconfig should not need a libpthread dependency
# Upstream uses ac_pthread.m4 which insists on using -mt & -lpthread on Solaris
# despite them not being necessary any more
# Include common rulesets
# Path to install fc-cache SMF files and the RBAC files they use
-rm -f $@
ln -s $(BINSUBDIR_64)/${@F} $@
mkdir $@
# Additional targets to install beyond the default_install,
# run just once, not per bitwidth
$(FONTCONFIG_RBAC_AUTH) \