351N/A###############################################################################
351N/A#
1276N/A# X Toolkit Intrinsics library (libXt)
351N/A#
1610N/A# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
351N/A#
351N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
351N/A#
351N/A#
351N/A
351N/A# Package name used in tarballs
493N/AMODULE_NAME=libXt
351N/A
970N/A# pkg(5) name we deliver the files in (override default)
977N/AMODULE_PKGNAME=x11/library/toolkit/libxt
970N/AMODULE_PKGNAME_SET=yes
970N/A
351N/A# Version number (used in path names)
1634N/AMODULE_VERSION=1.1.5
351N/A
911N/A# Checksums for upstream tarball
1634N/ATARBALL_MD5 = 8f5b5576fbabba29a05f3ca2226f74d3
1634N/ATARBALL_SHA1 = c79e2c4f7de5259a2ade458817a139b66a043d59
1634N/ATARBALL_SHA256= 46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a
911N/A
351N/A# Patches to apply to source after unpacking, in order
1276N/ASOURCE_PATCHES = 6671721.patch,-p1
1513N/ASOURCE_PATCHES += xt.pc.patch,-p1
354N/A
1408N/A# Regenerate configure script & Makefile.in's after patching in 6671721.patch
493N/AAUTORECONF=yes
351N/A
442N/A# Work around libtool's interference
935N/ADELIBTOOLIZE=yes
442N/A
351N/A# Library name (used for specfiles/mapfiles)
351N/ALIBNAME=Xt
351N/A
970N/A# ARC cases that covered this module
970N/A# PSARC/1997/141 Sym links needed in /usr/lib for SPARC ABI compliance
970N/AMODULE_ARC_CASES = PSARC/1997/141
1276N/A# PSARC/2012/151 libXt 1.1 [XtAsprintf()]
1276N/AMODULE_ARC_CASES += PSARC/2012/151
970N/A
351N/A# Man pages to apply Sun footer to & attributes to list
351N/ASUNTOUCHED_MANPAGES=man/*.man
493N/AMODULE_STABILITY=Committed
969N/AMODULE_MTLEVEL=See XtToolkitThreadInitialize(3XT)
947N/AMODULE_MTLEVEL_SET=yes
969N/ALIB_MAN_SUFFIX=3xt
351N/A
351N/A# pkg-config files that need to have -R added
351N/AFIX_PC_FILES=xt.pc.in
351N/A
1515N/AMODULE_CPPFLAGS = -DGETVALUES_BUG -DNO_ALLOCA
1515N/A
1422N/A# the xinline option is here to fix bug 15508570, No Hands lib
565N/A# needs to interpose on these functions, and if they are inline
565N/A# then the loader can't find them. It complains silently.
1515N/AMODULE_CFLAGS = \
1422N/A -xinline=no%_XtAppCreateShell,no%XtAppNextEvent,no%XtAppProcessEvent
452N/A
970N/A# Extra links to libXt for compatibility with SVID / SPARC ABI / etc.
970N/AEXTRA_LINKS = libXt.so.5
963N/AMODULE_ADD_INSTALL_TARGETS = install_extra_links
963N/A
970N/A# Compatibility links from /usr/X11/lib to /usr/lib
970N/AMODULE_X11_LIBCOMPAT_LINKS = libXt.so libXt.so.4 $(EXTRA_LINKS)
970N/A
351N/Ainclude ../Makefile.inc
963N/A
970N/A# Install additional links to libXt that we include in our packages
1610N/AEXTRA_PROTO_LINKS = $(EXTRA_LINKS:%=$(PROTODIR)$(MODULE_FULLARCH_LIB_DIR)/%)
963N/A
963N/A$(EXTRA_PROTO_LINKS): $(INSTALL_DEPS)
963N/A @rm -f $@
963N/A ln -s libXt.so.4 $@
963N/A
963N/Ainstall_extra_links: $(EXTRA_PROTO_LINKS)