Makefile revision 963
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington###############################################################################
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews#
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# xtrans 1.x Makefile
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews#
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# copy of this software and associated documentation files (the "Software"),
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# to deal in the Software without restriction, including without limitation
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and/or sell copies of the Software, and to permit persons to whom the
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# Software is furnished to do so, subject to the following conditions:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
01bf5871f8861eb805dd8ca79bdb9b0b9e4e6a5eMark Andrews# The above copyright notice and this permission notice (including the next
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# paragraph) shall be included in all copies or substantial portions of the
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Software.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# IMPORTANT NOTE: xtrans is not really a library, but shared source code
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# compiled into other modules at build time.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Package name used in tarballs
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark AndrewsMODULE_NAME=xtrans
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Version number (used in path names)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsMODULE_VERSION=1.2.5
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Checksums for upstream tarball
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsTARBALL_MD5 = 2d1e57e82acc5f21797e92341415af2f
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark AndrewsTARBALL_SHA1 = e8c4ce58b42d05e613fe535319a7d7f45f30f3e9
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Patches to apply to source after unpacking, in order
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark AndrewsSOURCE_PATCHES = inetv6.patch \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews tsol-unix-domain.patch
ede29aeb412c5448ab9a2028763ae08e7887ca74Mark Andrews
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark Andrews# Library name (used for specfiles/mapfiles)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsLIBNAME=xtrans
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# - Xtrans has none
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Because xtrans is not a real library, don't need 64-bit build,
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# and the pkg-config file goes into share directory
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark AndrewsBUILD_TYPES=32
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonBUILD_TYPES_SET=yes
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark AndrewsMODULE_PKGCONFIG_DIR_SET=yes
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrewsinclude ../Makefile.inc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Clean up old 64-bit builds from before we stopped building them
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsclean: clean_64
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrews
e086341ea57e618a60c9f166b95daee1fab71b3bMark Andrewsclean_64:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -rm -rf $(BUILD_DIR_64) build_64
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews