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