Makefile revision 1422
729N/A###############################################################################
729N/A#
1356N/A# X Toolkit Intrinsics library (libXt)
729N/A#
1352N/A# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
729N/A#
729N/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.
729N/A#
729N/A#
729N/A
729N/A# Package name used in tarballs
729N/AMODULE_NAME=libXt
729N/A
729N/A# pkg(5) name we deliver the files in (override default)
1408N/AMODULE_PKGNAME=x11/library/toolkit/libxt
729N/AMODULE_PKGNAME_SET=yes
911N/A
1408N/A# Version number (used in path names)
1408N/AMODULE_VERSION=1.1.4
1408N/A
911N/A# Checksums for upstream tarball
729N/ATARBALL_MD5 = 03149823ae57bb02d0cec90d5b97d56c
1352N/ATARBALL_SHA1 = 0111c316d83fb7e830c517128150094cb0a48ae7
1352N/ATARBALL_SHA256= 843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57
1068N/A
729N/A# Patches to apply to source after unpacking, in order
1068N/ASOURCE_PATCHES = 6671721.patch,-p1
729N/A
729N/A# Regenerate configure script & Makefile.in's after patching in 6671721.patch
970N/AAUTORECONF=yes
970N/A
970N/A# Work around libtool's interference
970N/ADELIBTOOLIZE=yes
1356N/A
1356N/A# Library name (used for specfiles/mapfiles)
1356N/ALIBNAME=Xt
1356N/A
1356N/A# ARC cases that covered this module
1356N/A# PSARC/1997/141 Sym links needed in /usr/lib for SPARC ABI compliance
1356N/AMODULE_ARC_CASES = PSARC/1997/141
970N/A# PSARC/2012/151 libXt 1.1 [XtAsprintf()]
970N/AMODULE_ARC_CASES += PSARC/2012/151
970N/A
970N/A# Man pages to apply Sun footer to & attributes to list
970N/ASUNTOUCHED_MANPAGES=man/*.man
970N/AMODULE_STABILITY=Committed
729N/AMODULE_MTLEVEL=See XtToolkitThreadInitialize(3XT)
729N/AMODULE_MTLEVEL_SET=yes
729N/ALIB_MAN_SUFFIX=3xt
729N/A
851N/A# pkg-config files that need to have -R added
729N/AFIX_PC_FILES=xt.pc.in
729N/A
729N/A# the xinline option is here to fix bug 15508570, No Hands lib
729N/A# needs to interpose on these functions, and if they are inline
1425N/A# then the loader can't find them. It complains silently.
851N/AMODULE_CFLAGS = -DGETVALUES_BUG \
729N/A -xinline=no%_XtAppCreateShell,no%XtAppNextEvent,no%XtAppProcessEvent
970N/A
970N/A# Extra links to libXt for compatibility with SVID / SPARC ABI / etc.
970N/AEXTRA_LINKS = libXt.so.5
729N/AMODULE_ADD_INSTALL_TARGETS = install_extra_links
729N/A
851N/A# Compatibility links from /usr/X11/lib to /usr/lib
729N/AMODULE_X11_LIBCOMPAT_LINKS = libXt.so libXt.so.4 $(EXTRA_LINKS)
729N/A
729N/Ainclude ../Makefile.inc
980N/A
729N/A# Install additional links to libXt that we include in our packages
851N/AEXTRA_PROTO_LINKS = $(EXTRA_LINKS:%=$(PROTODIR)$(MODULE_PREFIX)/lib$(ARCHLIBSUBDIR)/%)
980N/A
980N/A$(EXTRA_PROTO_LINKS): $(INSTALL_DEPS)
851N/A @rm -f $@
851N/A ln -s libXt.so.4 $@
851N/A
947N/Ainstall_extra_links: $(EXTRA_PROTO_LINKS)
963N/A