open-src/app/xpr/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Mon, 29 Aug 2011 11:22:46 -0700
changeset 1196 1ce455dae979
parent 977 46c5e46c27fb
permissions -rw-r--r--
7081325 X builds should run check_rtime to ensure binaries are linked well
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     2
#
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 475
diff changeset
     3
# xpr Makefile
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     4
#
1196
1ce455dae979 7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 977
diff changeset
     5
# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     6
#
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@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.
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    25
#
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    26
#
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    27
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@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: 475
diff changeset
    29
MODULE_NAME=xpr
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    30
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    31
# pkg(5) name we deliver the files in (override default)
977
46c5e46c27fb 6967081 X package names need adjusting
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    32
MODULE_PKGNAME=x11/x11-window-dump
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    33
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
    34
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    35
# Version number (used in path names)
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 515
diff changeset
    36
MODULE_VERSION=1.0.3
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    37
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    38
# Checksums for upstream tarball
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    39
TARBALL_MD5  = 1c2c540d240def3ea65ff2030f059f8a
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    40
TARBALL_SHA1 = 9dbd0ff136b612285e00d92d0c7675a4207b1c4a
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    41
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    43
SOURCE_PATCHES = 6724753.patch
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    44
1196
1ce455dae979 7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 977
diff changeset
    45
# Allow linker to skip linking to libm if compiler inlined all math functions
1ce455dae979 7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 977
diff changeset
    46
MODULE_LDFLAGS = -z ignore
1ce455dae979 7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 977
diff changeset
    47
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    48
# Man pages to apply Sun footer to & attributes to list
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    49
SUNTOUCHED_MANPAGES=*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 475
diff changeset
    50
MODULE_STABILITY=Committed
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    51
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    52
# 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
    53
# PSARC/2002/435 xpr Paper Size Option
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    54
MODULE_ARC_CASES = PSARC/2002/435
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    55
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    56
# 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
    57
MODULE_X11_BINCOMPAT_LINKS = xpr xdpr
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    58
475
054a8ab64c3a 6724753 replace xpr with open source version from x.org
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    59
include ../Makefile.inc