open-src/app/xscope/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 23 Mar 2011 11:22:28 -0700
changeset 1095 f3ae5df34b0b
parent 1068 0dc26c96a5af
child 1276 52f85727ce94
permissions -rw-r--r--
7030089 X fd_sets use too many fd's in 64-bit mode
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
     1
###############################################################################
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
     2
#
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
     3
# xscope 1.x Makefile
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
     4
#
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
     5
# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
     6
#
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@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.
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    25
#
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    26
#
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    27
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    28
# Package name used in tarballs
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    29
MODULE_NAME=xscope
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    30
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    32
MODULE_VERSION=1.3
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@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: 804
diff changeset
    34
# Checksums for upstream tarball
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    35
TARBALL_MD5  = 4198c875ebc4808b73fa5468e009f14b
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    36
TARBALL_SHA1 = 228773993bf1e5b4b4a772205e550e81f41e8fd9
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 804
diff changeset
    37
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    38
# Patches to apply to source after unpacking, in order
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    39
SOURCE_PATCHES = COPYING.patch,-p1
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    40
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    41
# pkg(5) name we deliver the files in (override default)
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    42
MODULE_PKGNAME=x11/diagnostic/$(MODULE_NAME)
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    43
MODULE_PKGNAME_SET=yes
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    44
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    45
# ARC cases that covered this module
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    46
# LSARC/2009/549 xscope 1.2
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    47
MODULE_ARC_CASES = LSARC/2009/549
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    48
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    49
# Man pages to apply Sun footer to & attributes to list
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    50
SUNTOUCHED_MANPAGES=*.man
804
8b5a839f2fdb 6890333 Upgrade xscope from 1.1 to 1.2 [LSARC/2009/549]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 539
diff changeset
    51
MODULE_STABILITY=Volatile
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    52
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    53
# Compatibility links from /usr/X11/bin to /usr/bin
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    54
MODULE_X11_BINCOMPAT_LINKS = xscope
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    55
1095
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    56
# Since xscope allocates a 32k buffer for FD_SETSIZE file descriptors,
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    57
# we want far fewer than the 1024 default in 32-bit builds or the 
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    58
# 65536 default in 64-bit builds - working to make this dynamic upstream.
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    59
FD_SETSIZE=256
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    60
FD_SETSIZE_SET=yes
f3ae5df34b0b 7030089 X fd_sets use too many fd's in 64-bit mode
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    61
539
d95b1caa9271 6750121 Update xscope to open source version
Stuart Kreitman <Stuart.Kreitman@Sun.COM>
parents:
diff changeset
    62
include ../Makefile.inc