Makefile revision 970
280a8a0544b4aeb52414d20e8c6e6c5b1108562eTinderbox User###############################################################################
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# xtrans 1.x Makefile
5affecff6e148a8e124d03f5dbac0da11e30dcc5Tinderbox User#
19558a04decde0e7261d489d92d04ad88104217bTinderbox User# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
2fee8782a6fd57d86a67949092ab9197111af390Evan Hunt#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
969eaf7df8ac651946f76b6631ff5db568c11ef6Tinderbox User# copy of this software and associated documentation files (the "Software"),
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# to deal in the Software without restriction, including without limitation
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
f4ee48be3994797a8332b86c101db4d7b54799ceTinderbox User# and/or sell copies of the Software, and to permit persons to whom the
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User# Software is furnished to do so, subject to the following conditions:
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The above copyright notice and this permission notice (including the next
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# paragraph) shall be included in all copies or substantial portions of the
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# Software.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b91d11bfcc30b96f2c80f3a76d12e3dcc8597a68Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# IMPORTANT NOTE: xtrans is not really a library, but shared source code
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# compiled into other modules at build time.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews# Package name used in tarballs
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan HuntMODULE_NAME=xtrans
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Package classification (override default)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsMODULE_PKGCLASS=Development/X11
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark AndrewsMODULE_PKGCLASS_SET=yes
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Version number (used in path names)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserMODULE_VERSION=1.2.5
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Checksums for upstream tarball
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark AndrewsTARBALL_MD5 = 2d1e57e82acc5f21797e92341415af2f
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan HuntTARBALL_SHA1 = e8c4ce58b42d05e613fe535319a7d7f45f30f3e9
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# Patches to apply to source after unpacking, in order
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsSOURCE_PATCHES = inetv6.patch \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt tsol-unix-domain.patch
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Library name (used for specfiles/mapfiles)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntLIBNAME=xtrans
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Man pages to apply Sun footer to & attributes to list
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# - Xtrans has none
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Because xtrans is not a real library, don't need 64-bit build,
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# and the pkg-config file goes into share directory
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntBUILD_TYPES=32
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsBUILD_TYPES_SET=yes
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsMODULE_PKGCONFIG_DIR_SET=yes
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updaterinclude ../Makefile.inc
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt# Clean up old 64-bit builds from before we stopped building them
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsclean: clean_64
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterclean_64:
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -rm -rf $(BUILD_DIR_64) build_64
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews