open-src/driver/xf86-video-ast/Makefile
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Mon, 06 Mar 2017 15:06:15 -0800
changeset 1698 442d649bad81
parent 1675 9bd813a73aa0
permissions -rw-r--r--
21767820 Cannot set anymore display resolution to 1280x1024
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
1356
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
     3
# xf86-video-ast - Xorg driver for ASpeed Technologies graphics devices 
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
     4
#  (such as found in some Sun/Oracle server ILOMs)
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
#
1698
442d649bad81 21767820 Cannot set anymore display resolution to 1280x1024
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1675
diff changeset
     6
# Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
#
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# 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
     9
# 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
    10
# 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
    11
# 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
    12
# 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
    13
# 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
    14
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# 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
    16
# 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
    17
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
#
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 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
    20
# 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
    21
# 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
    22
# 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
    23
# 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
    24
# 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
    25
# DEALINGS IN THE SOFTWARE.
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
#
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
#
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 259
diff changeset
    30
MODULE_NAME=xf86-video-ast
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
# Version number (used in path names)
1634
197a4f8b6220 23287368 Update Xorg server to 1.18.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1608
diff changeset
    33
MODULE_VERSION=1.1.5
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@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
1634
197a4f8b6220 23287368 Update Xorg server to 1.18.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1608
diff changeset
    36
TARBALL_MD5   = 4f85febe48d51e53624550a96fc9e9ee
197a4f8b6220 23287368 Update Xorg server to 1.18.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1608
diff changeset
    37
TARBALL_SHA1  = 34a610e506079f32b240335520200457aa72d4c2
197a4f8b6220 23287368 Update Xorg server to 1.18.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1608
diff changeset
    38
TARBALL_SHA256= 1edbbc55d47d3fd71dec99b15c2483e22738c642623a0fb86ef4a81a9067a2de
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 907
diff changeset
    39
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    40
# Patches to apply to source after unpacking, in order
1359
29d137f36350 16027951 Xorg GUI fails to start when installing solaris 11.1
henryzh <henry.zhao@oracle.com>
parents: 1356
diff changeset
    41
SOURCE_PATCHES += sparc-ast.patch,-p1 \
1675
9bd813a73aa0 24696958 Xorg killed due to hardware error
Jay Cotton <Jay.Cotton@Oracle.com>
parents: 1634
diff changeset
    42
		sparc.patch,-p1 \
1362
28d813db4369 16448336 On T3-1 AST graphics causes PCIe bus lockup
Jay Cotton <Jay.Cotton@Oracle.com>
parents: 1359
diff changeset
    43
		16027951.patch,-p1 \
1522
4c440d28e154 20816358 Long delay before graphical desktop appears, X4-2 ILOM console
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1508
diff changeset
    44
		17907916.patch,-p1 \
1580
a9fa89e74bb6 22115519 Transient changes required for implementing 15772728
henryzh <henry.zhao@oracle.com>
parents: 1522
diff changeset
    45
		20816358-disable-DP501.patch,-p1 \
1698
442d649bad81 21767820 Cannot set anymore display resolution to 1280x1024
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1675
diff changeset
    46
		22087975.patch,-p1 \
442d649bad81 21767820 Cannot set anymore display resolution to 1280x1024
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1675
diff changeset
    47
		21767820.patch,-p1
691
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    48
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    49
# Link in additional source files from sun-src directory
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    50
ADDITIONAL_SOURCE_DIR=sun-src
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    51
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    52
# Regenerate Makefile.in's from Makefile.am's after patching them
8fda173e344b 6831193 AST driver does not work on sparc
Charmaine Lee <Charmaine.Lee@Sun.COM>
parents: 612
diff changeset
    53
AUTORECONF=yes
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
1356
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
    55
# Dates to show in Oracle copyright notice in pkg license file
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
    56
# Earliest & latest of the copyrights in the Oracle files in this pkg
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
    57
ORACLE_COPYRIGHT_YEARS = 2009, 2012
73c3eb360de2 16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1333
diff changeset
    58
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
# Man pages to apply Sun footer to & attributes to list
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
#SUNTOUCHED_MANPAGES=man/*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 259
diff changeset
    61
MODULE_STABILITY=Volatile
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
# Libraries/modules to link with
965
c096efd79ce7 6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    64
AST_LIBRARIES_sparc = # nothing extra
c096efd79ce7 6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    65
AST_LIBRARIES_i386 = -lint10 -lpciaccess -lvbe -lvgahw
1508
5023d4d9a642 20508188 xdm core dump: libX11.so.4`append_pending_request
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1438
diff changeset
    66
AST_LIBRARIES = -lfb -lshadow $(AST_LIBRARIES_$(MACH))
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 259
diff changeset
    67
MODULE_LD_OPTIONS= \
1097
243d7ed7a10c 6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 999
diff changeset
    68
	-L$(PROTODIR)$(X11_SERVERMODS_DIR) \
243d7ed7a10c 6991718 Removal of 32-bit X servers [PSARC/2010/382]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 999
diff changeset
    69
	-R$(X11_SERVERMODS_DIR) \
965
c096efd79ce7 6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    70
	$(AST_LIBRARIES)
98
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    71
c21b46ed1efd 6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    72
include ../Makefile.inc