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