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