open-src/lib/libXt/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 05 May 2010 14:06:42 -0700
changeset 947 ef9da9d336f5
parent 946 c4381a29a60a
child 963 7a4fced80e83
permissions -rw-r--r--
6950022 X man page cleanups
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     3
# Xt 1.x Makefile
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
935
f812f9863e75 6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 919
diff changeset
     5
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     6
#
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
# Permission is hereby granted, free of charge, to any person obtaining a
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     8
# copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     9
# to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    11
# and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    12
# Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    13
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    14
# The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    16
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    17
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    24
# DEALINGS IN THE SOFTWARE.
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
#
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
#
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 452
diff changeset
    29
MODULE_NAME=libXt
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
946
c4381a29a60a 6949653 Mass minor update to X.Org upstream release [April 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 935
diff changeset
    32
MODULE_VERSION=1.0.8
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    33
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    34
# Checksums for upstream tarball
946
c4381a29a60a 6949653 Mass minor update to X.Org upstream release [April 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 935
diff changeset
    35
TARBALL_MD5  = fb7d2aa5b24cd5fe9b238a26d88030e7
c4381a29a60a 6949653 Mass minor update to X.Org upstream release [April 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 935
diff changeset
    36
TARBALL_SHA1 = d5e3dfba90a12169771399b3e2ccae07243489c9
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    37
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    38
# Patches to apply to source after unpacking, in order
761
9a43833314f0 6867643 X.Org mass minor app & lib module update: July 2009
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 565
diff changeset
    39
SOURCE_PATCHES = 6671721.patch
354
c5722f7db2ea 6671721 Update libXt to opensrc verion 1.0.5 from X.org [build fixes]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 351
diff changeset
    40
c5722f7db2ea 6671721 Update libXt to opensrc verion 1.0.5 from X.org [build fixes]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 351
diff changeset
    41
# Regenerate configure script & Makefile.in's after applying patches
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 452
diff changeset
    42
AUTORECONF=yes
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    43
442
b06fb0b94957 6683217 libXt missing SUNW_1.1 and SUNWprivate versions
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 354
diff changeset
    44
# Work around libtool's interference
935
f812f9863e75 6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 919
diff changeset
    45
DELIBTOOLIZE=yes
442
b06fb0b94957 6683217 libXt missing SUNW_1.1 and SUNWprivate versions
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 354
diff changeset
    46
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    47
# Library name (used for specfiles/mapfiles)
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    48
LIBNAME=Xt
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    49
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    50
# Man pages to apply Sun footer to & attributes to list
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    51
SUNTOUCHED_MANPAGES=man/*.man
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    52
SUN_PACKAGE=SUNWxwplt
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 452
diff changeset
    53
MODULE_STABILITY=Committed
947
ef9da9d336f5 6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 946
diff changeset
    54
MODULE_MTLEVEL=See XtToolkitThreadInitialize(3Xt)
ef9da9d336f5 6950022 X man page cleanups
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 946
diff changeset
    55
MODULE_MTLEVEL_SET=yes
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    56
LIB_MAN_SUFFIX=3Xt
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    57
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 452
diff changeset
    58
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    59
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    60
# pkg-config files that need to have -R added
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    61
FIX_PC_FILES=xt.pc.in
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    62
565
3251a94e3c6e 6748586 libXt changes means performance tool no longer works correctly
Jay Cotton <Jay.Cotton@Sun.COM>
parents: 493
diff changeset
    63
# the xinline option is here to fix bug 6748586, No Hands lib
3251a94e3c6e 6748586 libXt changes means performance tool no longer works correctly
Jay Cotton <Jay.Cotton@Sun.COM>
parents: 493
diff changeset
    64
# needs to interpose on these functions, and if they are inline
3251a94e3c6e 6748586 libXt changes means performance tool no longer works correctly
Jay Cotton <Jay.Cotton@Sun.COM>
parents: 493
diff changeset
    65
# then the loader can't find them.  It complains silently.
3251a94e3c6e 6748586 libXt changes means performance tool no longer works correctly
Jay Cotton <Jay.Cotton@Sun.COM>
parents: 493
diff changeset
    66
MODULE_CFLAGS = -DGETVALUES_BUG -xinline=no%_XtAppCreateShell,no%XtAppNextEvent,no%XtAppProcessEvent
452
bc52a8f117fe 6714140 libXt should be built with GETVALUES_BUG defined
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents: 442
diff changeset
    67
351
3e3bd6053a4e 6671721 Update libXt to opensrc verion 1.0.5 from X.org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    68
include ../Makefile.inc