Makefile revision 452
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer###############################################################################
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Xt 1.x Makefile
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer#
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# Use subject to license terms.
0fe15dc8ddddeb39a5cad1f4f4afa25fa074a5d1Evgeny Vereshchagin#
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# Permission is hereby granted, free of charge, to any person obtaining a
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald Hoyer# copy of this software and associated documentation files (the
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer# "Software"), to deal in the Software without restriction, including
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# without limitation the rights to use, copy, modify, merge, publish,
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# distribute, and/or sell copies of the Software, and to permit persons
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# to whom the Software is furnished to do so, provided that the above
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# copyright notice(s) and this permission notice appear in all copies of
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt# the Software and that both the above copyright notice(s) and this
1c36b4a73b876258fbe01fbe9bc9b750b7dcc9ceEvgeny Vereshchagin# permission notice appear in supporting documentation.
c50a4525aa8151b180d5a325e88c5f3812e66c36Martin Pitt#
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Except as contained in this notice, the name of a copyright holder
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# shall not be used in advertising or otherwise to promote the sale, use
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# or other dealings in this Software without prior written authorization
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# of the copyright holder.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# @(#)Makefile 1.5 08/06/30
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier#
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Package name used in tarballs
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLIB_MODULE=libXt
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Version number (used in path names)
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLIB_VERS=1.0.5
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Patches to apply to source after unpacking, in order
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierSOURCE_PATCHES = 6671721.patch abistrings.patch
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier# Regenerate configure script & Makefile.in's after applying patches
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald HoyerAUTORECONF=true
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer# Work around libtool's interference
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald HoyerLIB_ADD_BUILD_DEPS = delibtoolize
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer# Library name (used for specfiles/mapfiles)
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald HoyerLIBNAME=Xt
b6f0c419e38a960873fe68bf8f89bbb0268eed02Harald Hoyer
61fea35e14d84144e6e2122f5cd247f9c7e6245eEvgeny Vereshchagin# Man pages to apply Sun footer to & attributes to list
61fea35e14d84144e6e2122f5cd247f9c7e6245eEvgeny VereshchaginSUNTOUCHED_MANPAGES=man/*.man
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierSUN_PACKAGE=SUNWxwplt
61fea35e14d84144e6e2122f5cd247f9c7e6245eEvgeny VereshchaginLIB_STABILITY=Committed
61fea35e14d84144e6e2122f5cd247f9c7e6245eEvgeny VereshchaginLIB_MAN_SUFFIX=3Xt
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# Library built in tree
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLIB_BUILT=$(SOURCE_DIR)/src/.libs/libXt.so.4.0.0
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier# pkg-config files that need to have -R added
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierFIX_PC_FILES=xt.pc.in
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLIB_ADD_CFLAGS = -DGETVALUES_BUG
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny ChevalierLIB_ADD_CONFIG_OPTS= --with-appdefaultdir=$(X11_DIR)/lib/X11/app-defaults
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalierinclude ../Makefile.inc
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier