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