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