Makefile revision 935
89a126810703c666309310d0f3189e9834d70b5bTimo Sirainen###############################################################################
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Xt 1.x Makefile
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# copy of this software and associated documentation files (the "Software"),
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# to deal in the Software without restriction, including without limitation
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Software is furnished to do so, subject to the following conditions:
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# The above copyright notice and this permission notice (including the next
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# paragraph) shall be included in all copies or substantial portions of the
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# Software.
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# DEALINGS IN THE SOFTWARE.
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen#
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# Package name used in tarballs
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo SirainenMODULE_NAME=libXt
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen
f16c114c20bbd7d292d93415d1e56c8dd6abd3e7Timo Sirainen# Version number (used in path names)
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenMODULE_VERSION=1.0.7
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Checksums for upstream tarball
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo SirainenTARBALL_MD5 = 96f3c93434a93186d178b60d4a262496
16f816d3f3c32ae3351834253f52ddd0212bcbf3Timo SirainenTARBALL_SHA1 = 3c285b9c04a393dec1cc3d60cf5582d798eb3272
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# Patches to apply to source after unpacking, in order
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenSOURCE_PATCHES = 6671721.patch
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen# Regenerate configure script & Makefile.in's after applying patches
84e1634acc701d14e358e27f1beff5ad74f5004aTimo SirainenAUTORECONF=yes
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# Work around libtool's interference
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenDELIBTOOLIZE=yes
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
022412398e56a8f31ef111cfd7271498d64af9a9Timo Sirainen# Library name (used for specfiles/mapfiles)
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo SirainenLIBNAME=Xt
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
9aa52288a4b53186d81b0ec9afa7d9e0a8ee8753Timo Sirainen# Man pages to apply Sun footer to & attributes to list
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenSUNTOUCHED_MANPAGES=man/*.man
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834Timo SirainenSUN_PACKAGE=SUNWxwplt
e06c0b65c16ccce69bbee009ead14d7d3d17a256Timo SirainenMODULE_STABILITY=Committed
7a6b45405fb1544ac476e6eb1402a70cc1ddcdcfTimo SirainenLIB_MAN_SUFFIX=3Xt
e05ea8311ae16687295048e88ca205dfe29fbcbfTimo Sirainen
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbeTimo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# pkg-config files that need to have -R added
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo SirainenFIX_PC_FILES=xt.pc.in
f7d43647acc6dc80064c8c4cacf5bf86f754c530Timo Sirainen
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# the xinline option is here to fix bug 6748586, No Hands lib
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# needs to interpose on these functions, and if they are inline
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen# then the loader can't find them. It complains silently.
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo SirainenMODULE_CFLAGS = -DGETVALUES_BUG -xinline=no%_XtAppCreateShell,no%XtAppNextEvent,no%XtAppProcessEvent
98c1cf256927e254f0c092acd2ddcd7ea50bd009Timo Sirainen
a2637488c8d514ec1ac3914811deee814f9761b3Timo Siraineninclude ../Makefile.inc
a2637488c8d514ec1ac3914811deee814f9761b3Timo Sirainen