Makefile revision 969
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User###############################################################################
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User# Xaw Makefile
f536382c59dd492a14667b753816d920f9981f1cTinderbox User#
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User#
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# Permission is hereby granted, free of charge, to any person obtaining a
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# copy of this software and associated documentation files (the "Software"),
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User# to deal in the Software without restriction, including without limitation
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# and/or sell copies of the Software, and to permit persons to whom the
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# Software is furnished to do so, subject to the following conditions:
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# The above copyright notice and this permission notice (including the next
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# paragraph) shall be included in all copies or substantial portions of the
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# Software.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User# 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
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# DEALINGS IN THE SOFTWARE.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Package name used in tarballs
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserMODULE_NAME=libXaw
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Version number (used in path names)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsMODULE_VERSION=1.0.7
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Checksums for upstream tarball
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsTARBALL_MD5 = 815e74de989ccda684e2baf8d12cf519
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserTARBALL_SHA1 = 0e5effe33c4c44d960132e3dd50370134a28f8b2
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Patches to apply to source after unpacking, in order
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSOURCE_PATCHES=
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Library name
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox UserLIBNAME=Xaw
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Library man pages to apply Sun footer to & attributes to list
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox UserSUNTOUCHED_MANPAGES=man/*.man
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox UserSUN_PACKAGE=SUNWxwplt
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntMODULE_STABILITY=Uncommitted
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLIB_MAN_SUFFIX=3xaw
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Link with version mapfile
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# pkg-config files that need to have -R added
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntFIX_PC_FILES=xaw7.pc.in
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Additional arguments to pass to configure
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# We only ship libXaw.so.7, since we don't need to maintain binary
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# compatibility with the libXaw.so.6 version we never shipped, and never
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# started shipping the now-dropped-by-X.Org libXaw.so.8 (Xaw + Xprint)
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterMODULE_CONFIG_OPTS= --disable-xaw6
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsinclude ../Makefile.inc
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Remove existing Xaw headers from proto area before build to avoid conflicts
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterclean: clean_old_headers
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsclean_old_headers:
16f6050f29b6b0422cee858e609f65e474e70ef2Tinderbox User rm -rf $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xaw
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews