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