author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Thu, 21 Oct 2010 14:40:25 -0700 | |
changeset 1018 | baa7bc85407b |
parent 999 | c88b52baf4f4 |
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 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
3 |
# xf86-video-vesa Makefile |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
943
294f64612d23
6948254 Mass update of X gate sources to Oracle copyright format
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
5 |
# Copyright (c) 2006, 2010, 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:
411
diff
changeset
|
29 |
MODULE_NAME=xf86-video-vesa |
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) |
999
c88b52baf4f4
6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
32 |
MODULE_VERSION=2.3.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:
907
diff
changeset
|
34 |
# Checksums for upstream tarball |
999
c88b52baf4f4
6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
35 |
TARBALL_MD5 = 07fa32958aff9b463dd3af5481ef6626 |
c88b52baf4f4
6977519 Mass minor update to X upstream releases [August 2010 edition]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
36 |
TARBALL_SHA1 = 4689b7c295d7a8d7326302dafecb812739617134 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
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 |
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
493
diff
changeset
|
39 |
SOURCE_PATCHES = vesa_xorg72.patch |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
40 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
41 |
# 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
|
42 |
SUNTOUCHED_MANPAGES=man/*.man |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
411
diff
changeset
|
43 |
MODULE_STABILITY=Volatile |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
44 |
|
768
96c938e84747
6867761 Xorg driver did not work well with new Intel build-in video card
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
705
diff
changeset
|
45 |
MODULE_COMPILER=gcc |
96c938e84747
6867761 Xorg driver did not work well with new Intel build-in video card
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
705
diff
changeset
|
46 |
MODULE_COMPILER_SET=yes |
96c938e84747
6867761 Xorg driver did not work well with new Intel build-in video card
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
705
diff
changeset
|
47 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
48 |
# Libraries/modules to link with |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
411
diff
changeset
|
49 |
MODULE_LD_OPTIONS= \ |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
411
diff
changeset
|
50 |
-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \ |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \ |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
411
diff
changeset
|
52 |
-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \ |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
53 |
-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \ |
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
|
54 |
-lfb -lpciaccess -lshadow -lvbe |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
55 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
include ../Makefile.inc |
1018
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
57 |
|
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
58 |
# Additional files to install |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
59 |
CONFDIR = /usr/lib/X11 |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
60 |
CONFFILE = xorg.conf.vesa |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
61 |
|
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
62 |
install: $(PROTODIR)$(CONFDIR)/$(CONFFILE) |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
63 |
|
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
64 |
$(PROTODIR)$(CONFDIR)/$(CONFFILE): $(PROTODIR)$(CONFDIR) $(CONFFILE) |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
65 |
$(INSTALL_SCRIPT) -c -m 0444 $(CONFFILE) $@ |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
66 |
|
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
67 |
$(PROTODIR)$(CONFDIR): |
baa7bc85407b
6935429 xorg.conf.vesa should be delivered with X server [PSARC/2010/161]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
68 |
mkdir -p $@ |