author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Tue, 25 Apr 2017 14:08:12 -0700 | |
changeset 1708 | e360d1d26b1d |
parent 1701 | f7c647f02179 |
permissions | -rw-r--r-- |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
1 |
############################################################################### |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
1701
f7c647f02179
25660260 Mesa builds will fail with next update to llvm
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1667
diff
changeset
|
3 |
# 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
|
4 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@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. |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
23 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
24 |
# |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
26 |
# Package name used in tarballs |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
27 |
MODULE_NAME=mesa |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
29 |
# Package metadata |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
30 |
UPSTREAM = The Mesa 3-D Graphics Library |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
31 |
UPSTREAM_URL = http://mesa3d.org/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
32 |
UPSTREAM_SET = yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
33 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
34 |
MODULE_LICENSE = Mesa License (Mixed: MIT, LGPLv2, others) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
35 |
MODULE_LICENSE_SET = yes |
1003
a4d17d6bc179
6980773 X gate needs branding options
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
970
diff
changeset
|
36 |
MODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE) |
1356
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1333
diff
changeset
|
37 |
MODULE_DESC = the Mesa 3-D Graphics Libraries |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
38 |
ORACLE_TPNO = 31745 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
39 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
40 |
# ARC cases that covered this module |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
41 |
# LSARC/2005/109 MESA, Open Source OpenGL clone |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
42 |
MODULE_ARC_CASES = LSARC/2005/109 |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
43 |
# PSARC/2013/264 Mesa 9.0.3 |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
44 |
MODULE_ARC_CASES += PSARC/2013/264 |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1500
diff
changeset
|
45 |
# PSARC/2015/251 Xorg server 1.17 |
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1500
diff
changeset
|
46 |
MODULE_ARC_CASES += PSARC/2015/251 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
47 |
# PSARC/2016/560 Mesa 12 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
48 |
MODULE_ARC_CASES += PSARC/2016/560 |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
49 |
# PSARC/2017/085 Mesa EGL/GLES |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
50 |
MODULE_ARC_CASES += PSARC/2017/085 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
51 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
52 |
# Version number (used in path names) |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
53 |
MODULE_VERSION=12.0.3 |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
54 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
55 |
# Checksums for upstream tarball |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
56 |
TARBALL_MD5 = 60c5f9897ddc38b46f8144c7366e84ad |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
57 |
TARBALL_SHA1 = 3661e2f6b3ff71b7498fa787848959059517e92a |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
58 |
TARBALL_SHA256 = 79abcfab3de30dbd416d1582a3cf6b1be308466231488775f1b7bb43be353602 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
59 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
# Source tarball |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
61 |
SOURCE_TARBALL_NAME=mesa-$(MODULE_VERSION).tar.gz |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
62 |
SOURCE_TARBALL_NAME_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
64 |
# Download site for source |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1042
diff
changeset
|
65 |
SOURCE_URL=ftp://ftp.freedesktop.org/pub/mesa/$(MODULE_VERSION)/$(SOURCE_TARBALL_NAME) |
156
1dec9ce4addc
6551329 X open-src makefiles spawn too many shell commands
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
98
diff
changeset
|
66 |
SOURCE_URL_SET=yes |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
67 |
GIT_URL=$(FDO_GIT_URL)/mesa/mesa |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
68 |
GIT_URL_SET=yes |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
69 |
|
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
70 |
# Directory created by unpacking source |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
71 |
SOURCE_DIRNAME=Mesa-$(MODULE_VERSION) |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
72 |
SOURCE_DIRNAME_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
73 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
74 |
# Patches to apply to source after unpacking, in order |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
75 |
SOURCE_PATCHES += 0001-Can-t-use-restrict-in-C.patch 0002-libglapi.patch |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1500
diff
changeset
|
76 |
CLONE_SRC = yes |
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
77 |
|
1466
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
78 |
# Regenerate configure after patching configure.ac in mesa9-port.patch |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
79 |
AUTORECONF=yes |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
80 |
|
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
81 |
# delibtoolize does not get along with Mesa 9.0.3 |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
82 |
DELIBTOOLIZE = no |
fbd4067be4c6
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1428
diff
changeset
|
83 |
|
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
84 |
DRI_DRIVER_LIST_sparc= |
1333
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1283
diff
changeset
|
85 |
DRI_DRIVER_LIST_i386=i915 i965 radeon r200 |
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
86 |
DRI_DRIVER_LIST= $(DRI_DRIVER_LIST_$(MACH)) swrast |
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
87 |
|
1701
f7c647f02179
25660260 Mesa builds will fail with next update to llvm
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1667
diff
changeset
|
88 |
MODULE_CXXFLAGS += -std=c++11 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
89 |
|
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
90 |
# Command line options to GNU autoconf configure script |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
91 |
|
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
92 |
MODULE_CONFIG_OPTS_32 = --disable-gallium-llvm |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
93 |
MODULE_CONFIG_OPTS_64 = --enable-gallium-llvm --disable-llvm-shared-libs |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
94 |
|
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
95 |
MODULE_CONFIG_OPTS = --enable-shared --with-dri-drivers='$(DRI_DRIVER_LIST)' |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
96 |
MODULE_CONFIG_OPTS += --with-gallium-drivers=swrast |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
97 |
MODULE_CONFIG_OPTS += --with-dri-driverdir='$(X11_SERVERMODS_DIR)/dri$(ARCHLIBSUBDIR)' |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
98 |
MODULE_CONFIG_OPTS += $(MODULE_CONFIG_OPTS_$(BUILD_TYPE)) |
606
068c11b419c9
6582489 X11R7.4: Xorg server 1.5.3, Mesa 7.2, and associated driver updates
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
562
diff
changeset
|
99 |
|
1422
4db080f5236f
17861091 Remove workarounds for old compiler bugs
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1400
diff
changeset
|
100 |
# Build mesa with this define (Bug 15706016) |
1109
720b9420e483
7032292 starting compiz causes a xserver crash with 162
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1097
diff
changeset
|
101 |
MODULE_CFLAGS = -D__EXTENSIONS__ |
720b9420e483
7032292 starting compiz causes a xserver crash with 162
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1097
diff
changeset
|
102 |
|
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
103 |
MODULE_CPPFLAGS = -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS |
1126
abc2d94a767e
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214] (fix mesa build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
104 |
# Add proto area to path to find makedepend |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
105 |
MODULE_BUILD_ENV = PATH="$(PROTODIR)/$(X11_BIN_DIR):/usr/gnu/bin:$(PATH)" |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
106 |
MODULE_BUILD_ENV += LLVM_CONFIG=$(PWD)/llvm-config |
1126
abc2d94a767e
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214] (fix mesa build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
107 |
MODULE_CONFIG_ENV += $(MODULE_BUILD_ENV) |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
108 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
109 |
# Need to use GNU Make to build |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
110 |
MODULE_MAKE=$(GNUMAKE) |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
111 |
MODULE_MAKE_SET=yes |
1592
00ba72e84365
22486490 X gate builds fail with gnu make 4.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1549
diff
changeset
|
112 |
MODULE_MAKEFLAGS = TOP="$(PWD)/$(BUILD_DIR)" |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
113 |
|
1422
4db080f5236f
17861091 Remove workarounds for old compiler bugs
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1400
diff
changeset
|
114 |
# Need to build with gcc |
1089
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1042
diff
changeset
|
115 |
MODULE_COMPILER=gcc |
590b35f0ad83
7012628 Intel Graphics 2009Q4 updates (xf86-video-intel 2.10 & mesa 7.8.2)
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1042
diff
changeset
|
116 |
MODULE_COMPILER_SET=yes |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
117 |
USE_PARFAIT=no |
1428
08d73e56964f
16395936 x11perf exits with BadWindow error on Solaris 11 TX
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1425
diff
changeset
|
118 |
|
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
119 |
MODULE_LD_OPTIONS += -M $(PWD)/mapfile.externs |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
120 |
MODULE_LD_SHARED_OPTIONS_64 = -z nodefs $(ZDISCARD_UNUSED_DEP) -lLLVM -lssp |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
121 |
MODULE_LD_SHARED_OPTIONS = $(MODULE_LD_SHARED_OPTIONS_$(BUILD_TYPE)) |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
122 |
|
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
123 |
MODULE_LDFLAGS += -Wl,-z,rescan-now |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
124 |
|
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:
647
diff
changeset
|
125 |
# pkg-config files that need to have -R added |
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:
647
diff
changeset
|
126 |
FIX_PC_FILES=src/*/*.pc.in src/mesa/drivers/dri/dri.pc.in |
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:
647
diff
changeset
|
127 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
128 |
### Include common rulesets |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
129 |
include ../Makefile.inc |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
130 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
131 |
# Move installed files to mesa subdirs and make links back |
1549
4b5a9782609e
21256857 Update Xorg to the latest community version 1.17.2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1500
diff
changeset
|
132 |
LIBRARIES_TO_LINK = libGL.so.1.2.0 libglapi.so.0.0.0 |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
133 |
|
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
134 |
# Creating these separately here so that we avoid creating /usr/X11/* |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
135 |
# links for these since they are newly delivered. |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
136 |
LIBRARIES_TO_LINK_NEW += libEGL.so.1.0.0 libGLESv1_CM.so.1.1.0 libGLESv2.so.2.0.0 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
137 |
MESA_LIBDIR = $(PROTODIR)/usr/lib/mesa$(ARCHLIBSUBDIR) |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
138 |
|
1333
988018ca2b99
14850206 update to Xorg 1.13.0
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1283
diff
changeset
|
139 |
HEADERS_TO_MOVE = gl.h gl_mangle.h glext.h \ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
140 |
glx.h glx_mangle.h glxext.h \ |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
141 |
osmesa.h wglext.h |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
142 |
|
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
143 |
HEADERS_TO_DIRECT_LINK = osmesa.h |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
144 |
HEADERS_TO_RUNTIME_LINK = gl.h glext.h glx.h glxext.h |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
145 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
146 |
# Run just once after all other install steps are done for both 32/64-bit |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
147 |
install: install_ogl_layout |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
148 |
|
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
149 |
install_ogl_layout: |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
150 |
-rm -rf $(PROTODIR)/usr/include/mesa |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
151 |
mkdir -p $(PROTODIR)/usr/include/mesa/internal |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
152 |
mkdir -p $(PROTODIR)/system/volatile/opengl/include |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
153 |
mkdir -p $(PROTODIR)/system/volatile/opengl/lib/$(SUBDIR64) |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
154 |
mv $(HEADERS_TO_MOVE:%=$(PROTODIR)/usr/include/GL/%) \ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
155 |
$(PROTODIR)/usr/include/mesa |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
156 |
mv $(PROTODIR)/usr/include/GL/internal/dri_interface.h \ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
157 |
$(PROTODIR)/usr/include/mesa/internal |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
158 |
ln -sf ../../mesa/internal/dri_interface.h \ |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
159 |
$(PROTODIR)/usr/include/GL/internal/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
160 |
-rm -f $(HEADERS_TO_DIRECT_LINK:%=$(PROTODIR)/usr/include/GL/%) \ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
161 |
$(HEADERS_TO_RUNTIME_LINK:%=$(PROTODIR)/usr/include/GL/%) |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
162 |
ln -sf $(HEADERS_TO_DIRECT_LINK:%=../mesa/%) \ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
163 |
$(HEADERS_TO_RUNTIME_LINK:%=../../../system/volatile/opengl/include/%) \ |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
164 |
$(PROTODIR)/usr/include/GL |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
165 |
mkdir -p $(PROTODIR)/usr/lib/GL/$(SUBDIR64) \ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
166 |
$(PROTODIR)/usr/lib/mesa/$(SUBDIR64) |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
167 |
-rm -f $(PROTODIR)/usr/lib/GL/64 $(PROTODIR)/usr/lib/mesa/64 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
168 |
ln -sf $(SUBDIR64) $(PROTODIR)/usr/lib/GL/64 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
169 |
ln -sf $(SUBDIR64) $(PROTODIR)/usr/lib/mesa/64 |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
170 |
-rm -f $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/%) \ |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
171 |
$(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/%) |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
172 |
-rm -f $(LIBRARIES_TO_LINK_NEW:%=$(PROTODIR)/usr/lib/mesa/%) \ |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
173 |
$(LIBRARIES_TO_LINK_NEW:%=$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/%) |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
174 |
mv $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/%) \ |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
175 |
$(PROTODIR)/usr/lib/mesa/ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
176 |
mv $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/$(SUBDIR64)/%) \ |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
177 |
$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/ |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
178 |
mv $(LIBRARIES_TO_LINK_NEW:%=$(PROTODIR)/usr/lib/%) \ |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
179 |
$(PROTODIR)/usr/lib/mesa/ |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
180 |
mv $(LIBRARIES_TO_LINK_NEW:%=$(PROTODIR)/usr/lib/$(SUBDIR64)/%) \ |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
181 |
$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
182 |
-rm -f $(PROTODIR)/usr/lib/mesa/libGL.so.1 |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
183 |
-rm -f $(PROTODIR)/usr/lib/mesa/libGL.so |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
184 |
-rm -f $(PROTODIR)/usr/lib/GL/libGL.so.1 |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
185 |
-rm -f $(PROTODIR)/usr/lib/GL/libGL.so |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
186 |
-rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
187 |
-rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
188 |
-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1 |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
189 |
-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
190 |
ln -sf libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
191 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/mesa/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
192 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/mesa/libglapi.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
193 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/libglapi.so.0 |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
194 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/mesa/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
195 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/mesa/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
196 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/mesa/libGLESv1_CM.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
197 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/mesa/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
198 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/mesa/libGLESv2.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
199 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/mesa/libGLESv2.so.2 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
200 |
ln -sf libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
201 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
202 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
203 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
204 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
205 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
206 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
207 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLESv1_CM.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
208 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLESv2.so.2 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
209 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLESv2.so |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
210 |
rm -f $(PROTODIR)/usr/lib/*libGL.* |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
211 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libGL.* |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
212 |
rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/*.la |
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
213 |
rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/$(SUBDIR64)/*.la |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
214 |
(cd $(PROTODIR)/usr/lib/GL; ln -sf $(LIBRARIES_TO_LINK:%=../mesa/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
215 |
rm -f $(PROTODIR)/usr/lib/GL/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
216 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/GL/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
217 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
218 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/GL/libglapi.so |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
219 |
(cd $(PROTODIR)/usr/lib/GL; ln -sf $(LIBRARIES_TO_LINK_NEW:%=../mesa/%) .) |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
220 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/GL/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
221 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/GL/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
222 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/GL/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
223 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/GL/libGLESv1_CM.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
224 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/GL/libGLESv2.so.2 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
225 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/GL/libGLESv2.so |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
226 |
(cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64); ln -sf $(LIBRARIES_TO_LINK:%=../../mesa/$(SUBDIR64)/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
227 |
rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
228 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
229 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
230 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
231 |
(cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64); ln -sf $(LIBRARIES_TO_LINK_NEW:%=../../mesa/$(SUBDIR64)/%) .) |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
232 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
233 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
234 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLESv2.so.2 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
235 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLESv2.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
236 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
237 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLESv1_CM.so |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
238 |
(cd $(PROTODIR)/usr/lib; ln -sf $(LIBRARIES_TO_LINK:%=GL/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
239 |
rm -f $(PROTODIR)/usr/lib/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
240 |
ln -sf GL/libGL.so.1 $(PROTODIR)/usr/lib/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
241 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
242 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
243 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/libglapi.so |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
244 |
(cd $(PROTODIR)/usr/lib; ln -sf $(LIBRARIES_TO_LINK_NEW:%=GL/%) .) |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
245 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
246 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
247 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/libGLESv2.so.2 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
248 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/libGLESv2.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
249 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
250 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/libGLESv1_CM.so |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
251 |
(cd $(PROTODIR)/usr/lib/$(SUBDIR64); ln -sf $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
252 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
253 |
ln -sf ../GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
254 |
ln -sf libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
255 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
256 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so |
1708
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
257 |
(cd $(PROTODIR)/usr/lib/$(SUBDIR64); ln -sf $(LIBRARIES_TO_LINK_NEW:%=../GL/$(SUBDIR64)/%) .) |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
258 |
ln -sf libEGL.so.1.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libEGL.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
259 |
ln -sf libEGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libEGL.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
260 |
ln -sf libGLESv2.so.2.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLESv2.so.2 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
261 |
ln -sf libGLESv2.so.2 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLESv2.so |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
262 |
ln -sf libGLESv1_CM.so.1.1.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLESv1_CM.so.1 |
e360d1d26b1d
25925227 Mesa should deliver EGL and GLES libraries
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1701
diff
changeset
|
263 |
ln -sf libGLESv1_CM.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLESv1_CM.so |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
264 |
ln -sf ../../../system/volatile/opengl/lib/libGL.so.1 \ |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
265 |
$(PROTODIR)/usr/lib/GL/libGL.so.1 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
266 |
ln -sf ../../../../system/volatile/opengl/lib/$(SUBDIR64)/libGL.so.1 \ |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
267 |
$(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
268 |
mkdir -p $(PROTODIR)/usr/X11/lib/$(SUBDIR64) \ |
1391
e266e6d6f657
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1377
diff
changeset
|
269 |
$(PROTODIR)/usr/X11/include |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
270 |
-rm -f $(PROTODIR)/usr/X11/lib/GL $(PROTODIR)/usr/X11/lib/mesa |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
271 |
ln -sf ../../lib/GL $(PROTODIR)/usr/X11/lib/GL |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
272 |
ln -sf ../../lib/mesa $(PROTODIR)/usr/X11/lib/mesa |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
273 |
-rm -f $(PROTODIR)/usr/X11/lib/64 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
274 |
ln -sf $(SUBDIR64) $(PROTODIR)/usr/X11/lib/64 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
275 |
(cd $(PROTODIR)/usr/X11/lib; ln -sf $(LIBRARIES_TO_LINK:%=GL/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
276 |
rm -f $(PROTODIR)/usr/X11/lib/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
277 |
ln -sf ../../lib/GL/libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
278 |
ln -sf libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
279 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
280 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/X11/lib/libglapi.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
281 |
(cd $(PROTODIR)/usr/X11/lib/$(SUBDIR64); ln -sf $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .) |
1400
63a0b5ebd3ac
17312825 GL xscreensaver hacks broken in s12_28
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1391
diff
changeset
|
282 |
rm -f $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1.2.0 |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
283 |
ln -sf ../../../lib/GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
284 |
ln -sf libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
285 |
ln -sf libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libglapi.so.0 |
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
286 |
ln -sf libglapi.so.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libglapi.so |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
287 |
-rm -f $(PROTODIR)/usr/X11/include/GL $(PROTODIR)/usr/X11/include/mesa |
1667
b3cf189da4a2
24811981 Upgrade Mesa to 12.0.3
Jay Cotton <Jay.Cotton@Oracle.com>
parents:
1592
diff
changeset
|
288 |
ln -sf ../../include/GL ../../include/mesa $(PROTODIR)/usr/X11/include/ |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
289 |
$(TOP)/open-src/data/ogl-select/mesa_vendor_select root="$(PROTODIR)" |