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