Makefile revision 1568
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues###############################################################################
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# libXmu - miscellaneous utility functions based on libX11 & libXt
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# Permission is hereby granted, free of charge, to any person obtaining a
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# copy of this software and associated documentation files (the "Software"),
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# to deal in the Software without restriction, including without limitation
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# the rights to use, copy, modify, merge, publish, distribute, sublicense,
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# and/or sell copies of the Software, and to permit persons to whom the
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# Software is furnished to do so, subject to the following conditions:
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# The above copyright notice and this permission notice (including the next
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# paragraph) shall be included in all copies or substantial portions of the
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0c01694a499e247c324a0618c2caad7fa7db449dJucaBlues# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBlues# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
ff89c21c3b425d442921d3ec4ff1eb7752ec5cd5JucaBlues# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# DEALINGS IN THE SOFTWARE.
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# Package name used in tarballs
a82a5be5088ca396af8816d7faf8515a35e4efc2JucaBlues# Version number (used in path names)
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# Checksums for upstream tarball
22f081b4206e716c03c4ba740b499f20a568b163JucaBluesTARBALL_SHA1 = 7e6aeef726743d21aa272c424e7d7996e92599eb
22f081b4206e716c03c4ba740b499f20a568b163JucaBluesTARBALL_SHA256= 756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b
22f081b4206e716c03c4ba740b499f20a568b163JucaBlues# Patches to apply to source after unpacking, in order
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# Library name (used for specfiles/mapfiles)
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# Man pages to apply Sun footer to & attributes to list
a82a5be5088ca396af8816d7faf8515a35e4efc2JucaBlues# Dates to show in Oracle copyright notice in pkg license file
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# Earliest & latest of the copyrights in the Oracle files in this pkg
a7b2d0eab58019b3222f3e9bce409d03a1d99400JucaBlues# ARC cases that covered this module
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# PSARC/2005/192 Update libXmu to X11R6.8 version
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# PSARC/2008/036 libXmuu
815dc8cd4a3e73c0140640c566be6ec2732d9b14JucaBlues# Additional pkg(5) package name used for libxmuu package
d4c33c0ce4469babf6bd589aeeb7d0988f8daaccJucaBlues# Merge in additional sources from sun-src directory
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBlues# sun-src/src/VisGamma.c requires libX11 private headers for _Xcms functions
d4c33c0ce4469babf6bd589aeeb7d0988f8daaccJucaBluesMODULE_CPPFLAGS += -I $(TOOLS_DIR)$(X11_INCLUDES_DIR)/X11/xcms
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBlues# pkg-config files that need to have -R added
d4c33c0ce4469babf6bd589aeeb7d0988f8daaccJucaBlues# Command line options to GNU autoconf configure script
d4c33c0ce4469babf6bd589aeeb7d0988f8daaccJucaBluesMODULE_CONFIG_OPTS = --with-lint --enable-lint-library
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues# Work around libtool brokenness that adds -R `pwd` to libXmu build
f7e41b7712fefd7e5ba9e44ba0e27a71e37b5076JucaBlues# Regenerate Makefile.in's from Makefile.am's after patching them
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues# Additional rules beyond what upstream provides
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBlues# Compatibility links from /usr/X11/lib to /usr/lib
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBluesMODULE_X11_LIBCOMPAT_LINKS = libXmu.so libXmu.so.4 libXmuu.so libXmuu.so.1
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues# Additional files we need to install
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues mkdir -p $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xmu $(MANDIR) \
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues $(CP) $(SOURCE_DIR)/include/X11/Xmu/XmuSolaris.h \
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBlues# Metadata for libxmuu package
1210afd6bcef4b0705235923ff2f5dd48d328b3bJucaBluesLIBXMUU_PKG_METADATA_DIR = $(PROTOMETA)/x11-library-libxmuu
f7e41b7712fefd7e5ba9e44ba0e27a71e37b5076JucaBluesLIBXMUU_PKG_ATTRDATA_FILE = $(LIBXMUU_PKG_METADATA_DIR)/$(ATTRDATA_FILE_NAME)
f7e41b7712fefd7e5ba9e44ba0e27a71e37b5076JucaBluesLIBXMUU_PKG_LICENSE_FILE = $(LIBXMUU_PKG_METADATA_DIR)/$(LICENSE_FILE_NAME)
a6a96a7b597a4385f4a48fd5b6514b870a0f7dc4JucaBlues$(LIBXMUU_PKG_LICENSE_FILE) := MODULE_DESC = $(MODTYPE_DESC:Xmu=Xmuu)
6fd67bd386767141cc557108237de0a257300516JucaBlues# Added Solaris files are only in libXmu, not libXmuu
6fd67bd386767141cc557108237de0a257300516JucaBlues$(LIBXMUU_PKG_LICENSE_FILE) := ORACLE_COPYRIGHT_YEARS =