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