Makefile revision 963
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin###############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# xtrans 1.x Makefile
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Permission is hereby granted, free of charge, to any person obtaining a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# copy of this software and associated documentation files (the "Software"),
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# to deal in the Software without restriction, including without limitation
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# the rights to use, copy, modify, merge, publish, distribute, sublicense,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and/or sell copies of the Software, and to permit persons to whom the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Software is furnished to do so, subject to the following conditions:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The above copyright notice and this permission notice (including the next
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# paragraph) shall be included in all copies or substantial portions of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Software.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# DEALINGS IN THE SOFTWARE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# IMPORTANT NOTE: xtrans is not really a library, but shared source code
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# compiled into other modules at build time.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Package name used in tarballs
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMODULE_NAME=xtrans
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Version number (used in path names)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMODULE_VERSION=1.2.5
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Checksums for upstream tarball
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTARBALL_MD5 = 2d1e57e82acc5f21797e92341415af2f
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinTARBALL_SHA1 = e8c4ce58b42d05e613fe535319a7d7f45f30f3e9
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Patches to apply to source after unpacking, in order
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSOURCE_PATCHES = inetv6.patch \
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin tsol-unix-domain.patch
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Library name (used for specfiles/mapfiles)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLIBNAME=xtrans
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Man pages to apply Sun footer to & attributes to list
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# - Xtrans has none
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Because xtrans is not a real library, don't need 64-bit build,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and the pkg-config file goes into share directory
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_TYPES=32
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBUILD_TYPES_SET=yes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinMODULE_PKGCONFIG_DIR_SET=yes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../Makefile.inc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Clean up old 64-bit builds from before we stopped building them
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean: clean_64
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean_64:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin -rm -rf $(BUILD_DIR_64) build_64
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin