Makefile revision 969
278N/A###############################################################################
278N/A#
278N/A# Xmu 1.x Makefile
278N/A#
935N/A# Copyright (c) 2008, 2010, 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)
851N/AMODULE_VERSION=1.0.5
278N/A
911N/A# Checksums for upstream tarball
911N/ATARBALL_MD5 = fc4d66be7a1a1eb474954728415e46d6
911N/ATARBALL_SHA1 = e7ff5960f2374852b941f909cdbdeafe7d29322f
911N/A
278N/A# Patches to apply to source after unpacking, in order
278N/ASOURCE_PATCHES = \
278N/A bitmap-path.patch \
278N/A 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
278N/A#SUNTOUCHED_MANPAGES= no man pages in upstream package
278N/ASUN_PACKAGE=SUNWxwplt
493N/AMODULE_STABILITY=Committed
969N/ALIB_MAN_SUFFIX=3xmu
278N/A
910N/A# Merge in additional sources from sun-src directory
910N/AADDITIONAL_SOURCE_DIR=sun-src
278N/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
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
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
969N/A $(CP) $(ADDITIONAL_SOURCE_DIR)/*.3xmu $(MANDIR)