278N/A###############################################################################
278N/A#
1276N/A# libXmu - miscellaneous utility functions based on libX11 & libXt
278N/A#
1436N/A# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
278N/A#
278N/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.
278N/A#
278N/A#
278N/A
278N/A# Package name used in tarballs
493N/AMODULE_NAME=libXmu
278N/A
278N/A# Version number (used in path names)
1370N/AMODULE_VERSION=1.1.2
278N/A
911N/A# Checksums for upstream tarball
1370N/ATARBALL_MD5 = 41d92ab627dfa06568076043f3e089e4
1370N/ATARBALL_SHA1 = 7e6aeef726743d21aa272c424e7d7996e92599eb
1370N/ATARBALL_SHA256= 756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b
911N/A
278N/A# Patches to apply to source after unpacking, in order
1276N/ASOURCE_PATCHES += solaris-abi.patch
278N/A
278N/A# Library name (used for specfiles/mapfiles)
278N/ALIBNAME=Xmu
278N/A
278N/A# Man pages to apply Sun footer to & attributes to list
1402N/ASUNTOUCHED_MANPAGES= man/*.3*
493N/AMODULE_STABILITY=Committed
1402N/AMODULE_PKGCONFIG_MAN=xmu
1402N/AMODULE_PKGCONFIG_MAN_SET=yes
969N/ALIB_MAN_SUFFIX=3xmu
278N/A
1436N/A# Dates to show in Oracle copyright notice in pkg license file
1436N/A# Earliest & latest of the copyrights in the Oracle files in this pkg
1436N/AORACLE_COPYRIGHT_YEARS = 1994, 2015
1436N/A
970N/A# ARC cases that covered this module
970N/A# PSARC/2005/192 Update libXmu to X11R6.8 version
970N/AMODULE_ARC_CASES = PSARC/2005/192
970N/A# PSARC/2008/036 libXmuu
970N/AMODULE_ARC_CASES += PSARC/2008/036
970N/A
970N/A# Additional pkg(5) package name used for libxmuu package
970N/AXMUU_PKGNAME=$(MODULE_PKGNAME:libxmu=libxmuu)
970N/A
910N/A# Merge in additional sources from sun-src directory
910N/AADDITIONAL_SOURCE_DIR=sun-src
278N/A
1436N/A# sun-src/src/VisGamma.c requires libX11 private headers for _Xcms functions
1436N/AMODULE_CPPFLAGS += -I $(TOOLS_DIR)$(X11_INCLUDES_DIR)/X11/xcms
1436N/A
278N/A# pkg-config files that need to have -R added
278N/AFIX_PC_FILES=xmu.pc.in xmuu.pc.in
278N/A
278N/A# Command line options to GNU autoconf configure script
493N/AMODULE_CONFIG_OPTS = --with-lint --enable-lint-library
278N/A
1196N/A# configure adds -lsocket -lnsl to both libraries, but libXmu only needs
1196N/A# -lnsl and libXmuu doesn't need either one.
1196N/AMODULE_LD_OPTIONS = -z ignore
1196N/A
278N/A# Work around libtool brokenness that adds -R `pwd` to libXmu build
935N/ADELIBTOOLIZE=yes
278N/A
354N/A# Regenerate Makefile.in's from Makefile.am's after patching them
493N/AAUTORECONF=yes
278N/A
910N/A# Additional rules beyond what upstream provides
910N/AMODULE_ADD_INSTALL_TARGETS=install_solaris_exts
278N/A
970N/A# Compatibility links from /usr/X11/lib to /usr/lib
970N/AMODULE_X11_LIBCOMPAT_LINKS = libXmu.so libXmu.so.4 libXmuu.so libXmuu.so.1
970N/A
910N/Ainclude ../Makefile.inc
278N/A
278N/A# Additional files we need to install
278N/ACP = cp -pf
969N/AMANDIR = $(PROTODIR)$(X11_MAN_DIR)/man3xmu
278N/A
910N/Ainstall_solaris_exts: $(INSTALL_DEPS)
851N/A mkdir -p $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xmu $(MANDIR) \
851N/A $(PROTODIR)$(X11_LIB_DIR)$(ARCHLIBSUBDIR)
278N/A $(CP) $(SOURCE_DIR)/include/X11/Xmu/XmuSolaris.h \
278N/A $(SOURCE_DIR)/include/X11/Xmu/WhitePoint.h \
851N/A $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xmu
1402N/A $(CP) $(SOURCE_DIR)/man/*.3xmu $(MANDIR)
970N/A
970N/A# Metadata for libxmuu package
970N/ALIBXMUU_PKG_METADATA_DIR = $(PROTOMETA)/x11-library-libxmuu
970N/ALIBXMUU_PKG_ATTRDATA_FILE = $(LIBXMUU_PKG_METADATA_DIR)/$(ATTRDATA_FILE_NAME)
970N/ALIBXMUU_PKG_LICENSE_FILE = $(LIBXMUU_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME)
970N/ALIBXMUU_METADATA_TARGETS = \
970N/A $(LIBXMUU_PKG_METADATA_DIR) \
970N/A $(LIBXMUU_PKG_ATTRDATA_FILE) \
970N/A $(LIBXMUU_PKG_LICENSE_FILE)
970N/A
1436N/A# Added Solaris files are only in libXmu, not libXmuu
1436N/A$(LIBXMUU_PKG_LICENSE_FILE) := ORACLE_COPYRIGHT_YEARS =
1436N/A
970N/Ainstall_metadata: $(LIBXMUU_METADATA_TARGETS)
970N/A
970N/A$(LIBXMUU_PKG_METADATA_DIR):
970N/A mkdir -p $@
970N/A
970N/A$(LIBXMUU_PKG_ATTRDATA_FILE) $(LIBXMUU_PKG_LICENSE_FILE): $(LIBXMUU_PKG_METADATA_DIR)