open-src/app/xmag/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 19 Aug 2015 13:48:41 -0700
changeset 1484 bc8922b8e1d2
parent 1447 b26f1451b601
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
#
1339
4f152696e5f2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1196
diff changeset
     3
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     4
#
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     5
# 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
     6
# 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
     7
# 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
     8
# 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
     9
# 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
    10
# 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
    11
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    12
# 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
    13
# 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
    14
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    16
# 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
    17
# 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
    18
# 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
    19
# 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
    20
# 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
    21
# 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
    22
# DEALINGS IN THE SOFTWARE.
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    23
#
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    24
#
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 293
diff changeset
    27
MODULE_NAME=xmag
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
1339
4f152696e5f2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1196
diff changeset
    29
# Package metadata
4f152696e5f2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1196
diff changeset
    30
MODULE_DESC = the xmag screen magnification utility
4f152696e5f2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1196
diff changeset
    31
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
# Version number (used in path names)
1351
9ad483eabd22 16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1339
diff changeset
    33
MODULE_VERSION=1.0.5
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    34
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    35
# Checksums for upstream tarball
1351
9ad483eabd22 16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1339
diff changeset
    36
TARBALL_MD5  = 280b81cb09d1903aa868a058d90128ad
9ad483eabd22 16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1339
diff changeset
    37
TARBALL_SHA1 = a5055999e61bd03d7741e534a776d9e1388a8cc8
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
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    39
# Patches to apply to source after unpacking, in order
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    40
SOURCE_PATCHES = 
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    41
1196
1ce455dae979 7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1068
diff changeset
    42
# Allow linker to skip linking to libm if compiler inlined all math functions
1447
b26f1451b601 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1351
diff changeset
    43
MODULE_LDFLAGS = $(ZDISCARD_UNUSED_DEP)
293
e848b36488ae 6653913 Replace xmag, xcalc with the opensrc version from X.Org [build fix]
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents: 290
diff changeset
    44
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    45
# Man pages to apply Sun footer to & attributes to list
1351
9ad483eabd22 16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1339
diff changeset
    46
SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 293
diff changeset
    47
MODULE_STABILITY=Committed
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    48
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    49
# 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
    50
MODULE_X11_BINCOMPAT_LINKS = xmag
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    51
290
016d87bea02c 6653913 Replace xmag, xcalc with the opensrc version from X.Org
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    52
include ../Makefile.inc