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