author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Tue, 15 Mar 2011 09:30:26 -0700 | |
changeset 1089 | 590b35f0ad83 |
parent 970 | 272328fe1b4a |
child 1097 | 243d7ed7a10c |
permissions | -rw-r--r-- |
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 |
# |
199
616975bd244f
6580728 Upgrade Xorg Intel video driver to xf86-video-intel-2.1.0
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
191
diff
changeset
|
3 |
# xf86-video-intel Makefile |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
5 |
# Copyright (c) 2006, 2011, 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
|
6 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@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. |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
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 |
# Package name used in tarballs |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
29 |
MODULE_NAME=xf86-video-intel |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
# Version number (used in path names) |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
32 |
MODULE_VERSION=2.10.0 |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@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:
910
diff
changeset
|
34 |
# Checksums for upstream tarball |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
35 |
TARBALL_MD5 = 78309d4f04dd8ae6585d120377042741 |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
36 |
TARBALL_SHA1 = 1683eddf89ed88f109cb2fe46284e3f8f304a0d9 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
910
diff
changeset
|
37 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
38 |
# Patches to apply to source after unpacking, in order |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
39 |
SOURCE_PATCHES= \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
40 |
xserver-1.9-list.h.patch \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
41 |
xserver-1.9-abi.patch \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
42 |
build-dri.patch \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
43 |
libraries.patch \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
44 |
pad.patch sandybridge.patch |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
# 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
|
47 |
SUNTOUCHED_MANPAGES=man/*.man |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
48 |
MODULE_STABILITY=Volatile |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
49 |
|
705
24ca414edbff
6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
671
diff
changeset
|
50 |
# Intel driver doesn't work on some chipsets if built with Sun compiler |
24ca414edbff
6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
671
diff
changeset
|
51 |
MODULE_COMPILER=gcc |
24ca414edbff
6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
671
diff
changeset
|
52 |
MODULE_COMPILER_SET=yes |
24ca414edbff
6826940 Xorg server 1.6.1, Mesa 7.4.1, and associated module upgrades [PSARC 2009/292]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
671
diff
changeset
|
53 |
|
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
578
diff
changeset
|
54 |
# Extra flags to pass to configure script |
965
c096efd79ce7
6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
957
diff
changeset
|
55 |
# --libdir is needed to set path for XvMC libraries |
c096efd79ce7
6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
957
diff
changeset
|
56 |
MODULE_CONFIG_OPTS=--enable-dri --libdir='$(X11_LIB_DIR)$(ARCHLIBSUBDIR)' |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
|
965
c096efd79ce7
6962789 Fix a number of library runpath and unneededed linking issues in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
957
diff
changeset
|
58 |
# Library paths at build time |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
59 |
MODULE_LD_OPTIONS= \ |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
60 |
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \ |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
965
diff
changeset
|
61 |
-L$(PROTODIR)$(MESA_XSERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \ |
957
c2f4cfc53173
6955153 RPATH and RUNPATH violations in xorg package
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
956
diff
changeset
|
62 |
-L$(PROTODIR)$(X11_SERVERMODS_DIR)/extensions$(SERVERMOD_subdir) \ |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \ |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
64 |
-L$(PROTODIR)$(X11_LIB_DIR)$(ARCHLIBSUBDIR) \ |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
970
diff
changeset
|
65 |
-M $(PWD)/mapfile.externs |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
|
199
616975bd244f
6580728 Upgrade Xorg Intel video driver to xf86-video-intel-2.1.0
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
191
diff
changeset
|
67 |
# Need to regenerate configure & Makefile.in's after patching |
616975bd244f
6580728 Upgrade Xorg Intel video driver to xf86-video-intel-2.1.0
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
191
diff
changeset
|
68 |
# configure.ac & Makefile.am's in libraries.patch & build-dri.patch |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
69 |
AUTORECONF=yes |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
70 |
|
910
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
71 |
# Additional install rules beyond what upstream installs |
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
72 |
MODULE_ADD_INSTALL_TARGETS=install_docs |
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
73 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
74 |
include ../Makefile.inc |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
75 |
|
910
0a08683bf637
6928500 Race conditions in parallel make break X nightly builds
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
76 |
install_docs: $(INSTALL_DEPS) |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
77 |
mkdir -p $(PROTODIR)$(X11_DOC_DIR) |
199
616975bd244f
6580728 Upgrade Xorg Intel video driver to xf86-video-intel-2.1.0
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
191
diff
changeset
|
78 |
cp -p $(SOURCE_DIR)/README $(PROTODIR)$(X11_DOC_DIR)/README.intel |