Makefile revision 1607
###############################################################################
#
# xterm - terminal emulator for X
#
#
# 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
# pkg(5) name we deliver the files in (override default)
# resize goes into a separate package so it can be installed in zones without
# X, but which you login to from a resizable GUI terminal window.
# Package classification (override default)
# ARC cases that covered this module
# PSARC/2015/308 xterm 318
# Package metadata
ORACLE_TPNO = 23284
# Version number (used in path names)
MODULE_VERSION=320
# Checksums for upstream tarball
# Source tarball
# Source tarball
# Patches to apply to source after unpacking, in order
# Man pages to apply Sun footer to & attributes to list
# Fix man page footers to not say "Last changed: X Window System"
MODULE_SUNTOUCH_MAN_FLAGS = -r '{__vendorversion__, $(XVENDORVERS)}'
# Override specific attributes for specific man pages
SUNTOUCH_MAN_FLAGS_resize = -o '{Availability, $(RESIZE_PKGNAME)}'
# xterm's configure script will set _XOPEN_SOURCE to the old XPG5 version
# if we don't override it with a newer version (700 for S12, 600 for S11)
# Paths to find Xft/fontconfig/freetype headers libraries at build time
# and run time
FT_LIBS= \
# Override the flags xterm's configure script generates, since it incorrectly
# adds -R flags pointing to the build proto area, which are not wanted.
# Additional flags to pass to configure script
# Sort-of emulate automake silent rules - run make configure V=1 to see
# full compiler flags
MODULE_CONFIG_OPTS_VERBOSE_0 = --disable-echo
MODULE_CONFIG_OPTS_VERBOSE_1 = --enable-echo
# Tell configure where to find luit binary
# xterm's configure script checks for $CC having extra flags & breaks if it
# does, so we need to force CC to be set to just the compiler, and pass the
# rest of the flags via CFLAGS & CPPFLAGS
# Install documentation of xterm control sequences for packaging
# Install desktop file to allow starting xterm from GNOME menu
mkdir -p $(@D)
# Metadata for separate package for resize
mkdir -p $@