author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Sun, 23 Nov 2014 21:46:46 -0800 | |
changeset 1422 | e9cadc0026d8 |
parent 1379 | cb88e6b8159d |
child 1447 | b26f1451b601 |
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 |
# |
1379
cb88e6b8159d
16395936 x11perf exits with BadWindow error on Solaris 11 TX
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1366
diff
changeset
|
3 |
# Copyright (c) 2006, 2014, 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) |
1339
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1283
diff
changeset
|
37 |
MODULE_DESC = the Mesa 3-D Graphics Libraries |
4f152696e5f2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1283
diff
changeset
|
38 |
ORACLE_TPNO = 9926 |
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 |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
43 |
# PSARC/2013/264 Mesa 9.0.3 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
44 |
MODULE_ARC_CASES += PSARC/2013/264 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
45 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
# Version number (used in path names) |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
47 |
MODULE_VERSION=9.0.3 |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
48 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
49 |
# Checksums for upstream tarball |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
50 |
TARBALL_MD5 = d7515cc5116c72ac63d735655bd63689 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
51 |
TARBALL_SHA1 = c4d88d83d8dbe243e30dc07195888e19ddb1c402 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
52 |
|
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
53 |
# Source tarball |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
54 |
SOURCE_TARBALL_NAME=MesaLib-$(MODULE_VERSION).tar.bz2 |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
55 |
SOURCE_TARBALL_NAME_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
# 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
|
58 |
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
|
59 |
SOURCE_URL_SET=yes |
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
60 |
GIT_URL=$(FDO_GIT_URL)/mesa/mesa |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
61 |
GIT_URL_SET=yes |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
62 |
|
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
63 |
# Directory created by unpacking source |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
64 |
SOURCE_DIRNAME=Mesa-$(MODULE_VERSION) |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
65 |
SOURCE_DIRNAME_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
|
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
# Patches to apply to source after unpacking, in order |
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
SOURCE_PATCHES= \ |
1345
d5dacbb8de2b
16673783 problem in X11/LIBRARIES
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1339
diff
changeset
|
69 |
CVE-2013-1993.patch,-p1 \ |
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
|
70 |
install-pc-dir.patch \ |
1351
9ad483eabd22
16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1345
diff
changeset
|
71 |
solaris-port.patch \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
72 |
mesa9-port.patch |
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
|
73 |
|
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
|
74 |
# File created by running configure script |
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
|
75 |
AUTOCONF_TARGET=$(SOURCE_DIR)/configs/autoconf |
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
|
76 |
AUTOCONF_TARGET_SET=yes |
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
|
77 |
MODULE_ADD_CONFIGURE_TARGETS=set_pc_dir |
967
efbd0ee6805d
6963229 build race conditions and other makefile issues
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
78 |
MODULE_INSTALL_DEPS=set_pc_dir |
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
|
79 |
|
1422
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
80 |
# Regenerate configure after patching configure.ac in mesa9-port.patch |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
81 |
AUTORECONF=yes |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
82 |
|
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
83 |
# delibtoolize does not get along with Mesa 9.0.3 |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
84 |
DELIBTOOLIZE = no |
e9cadc0026d8
19461700 Split source & build subdirectories in X builds
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1379
diff
changeset
|
85 |
|
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_sparc= |
1351
9ad483eabd22
16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1345
diff
changeset
|
87 |
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
|
88 |
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
|
89 |
|
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 |
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
|
91 |
MODULE_CONFIG_OPTS = --with-driver=dri --disable-egl --disable-gallium \ |
1262
b26dab1722a7
7155021 should deliver 32-bit versions of dri drivers
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1196
diff
changeset
|
92 |
--with-dri-driverdir='$(X11_SERVERMODS_DIR)/dri$(ARCHLIBSUBDIR)' \ |
1265
0b5cc5c013e4
7083537 Xorg 1.12 & associated module updates
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1262
diff
changeset
|
93 |
--with-dri-drivers='$(DRI_DRIVER_LIST)' \ |
0b5cc5c013e4
7083537 Xorg 1.12 & associated module updates
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1262
diff
changeset
|
94 |
--with-gallium-drivers= --disable-gallium-llvm |
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
|
95 |
|
1109
720b9420e483
7032292 starting compiz causes a xserver crash with 162
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1097
diff
changeset
|
96 |
# Build mesa with this define (CR 7032292) |
720b9420e483
7032292 starting compiz causes a xserver crash with 162
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1097
diff
changeset
|
97 |
MODULE_CFLAGS = -D__EXTENSIONS__ |
720b9420e483
7032292 starting compiz causes a xserver crash with 162
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1097
diff
changeset
|
98 |
|
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 |
# Override LDFLAGS passed to configure to not include CFLAGS, since that |
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
|
100 |
# breaks building libGLU with Sun Studio C++ compiler |
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
|
101 |
MODULE_CONFIG_ENV = LDFLAGS="$(DEFAULT_CONFIG_LDFLAGS) $(ARCH_FLAGS) $(MODTYPE_LDFLAGS) $(MODULE_CFLAGS) $(MODULE_LDFLAGS)" |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
102 |
|
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
|
103 |
# Add proto area to path to find makedepend |
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 |
MODULE_BUILD_ENV = PATH="$(PROTODIR)/$(X11_BIN_DIR):$(PATH)" |
abc2d94a767e
7042476 Xorg 1.10 & associated module updates [PSARC/2011/214] (fix mesa build)
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1124
diff
changeset
|
105 |
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
|
106 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
107 |
# Need to use GNU Make to build |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
108 |
MODULE_MAKE=$(GNUMAKE) |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
109 |
MODULE_MAKE_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
110 |
|
647
ea4856580883
6808868 Mesa should be compiled with -xspace to reduce binary sizes
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
606
diff
changeset
|
111 |
# To build with gcc, uncomment these lines and comment out the MODULE_CFLAGS |
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
|
112 |
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
|
113 |
MODULE_COMPILER_SET=yes |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
114 |
|
647
ea4856580883
6808868 Mesa should be compiled with -xspace to reduce binary sizes
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
606
diff
changeset
|
115 |
# Tell Sun compiler to not apply optimizations that increase binary sizes |
ea4856580883
6808868 Mesa should be compiled with -xspace to reduce binary sizes
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
606
diff
changeset
|
116 |
# Without this flag, Studio 12 binaries are almost 2x bigger (CR 6808868) |
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
|
117 |
#MODULE_CFLAGS = -xspace |
647
ea4856580883
6808868 Mesa should be compiled with -xspace to reduce binary sizes
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
606
diff
changeset
|
118 |
|
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
|
119 |
# Add include paths and linker paths needed for DRM modules |
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
|
120 |
MODULE_CPPFLAGS = -I$(PROTODIR)/usr/include/libdrm |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
121 |
|
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
|
122 |
MODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \ |
1196
1ce455dae979
7081325 X builds should run check_rtime to ensure binaries are linked well
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1152
diff
changeset
|
123 |
-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) -z ignore |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
124 |
|
1379
cb88e6b8159d
16395936 x11perf exits with BadWindow error on Solaris 11 TX
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1366
diff
changeset
|
125 |
MODULE_LD_OPTIONS += -M $(PWD)/mapfile.externs |
cb88e6b8159d
16395936 x11perf exits with BadWindow error on Solaris 11 TX
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1366
diff
changeset
|
126 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
127 |
# Merge in additional sources from sun-src directory |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
128 |
ADDITIONAL_SOURCE_DIR=sun-src |
98
c21b46ed1efd
6489660 Xorg server 7.2 [PSARC 2007/051]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
129 |
|
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
|
130 |
# 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
|
131 |
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
|
132 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
133 |
### Include common rulesets |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
134 |
include ../Makefile.inc |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
427
diff
changeset
|
135 |
|
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
|
136 |
# Mesa makefiles use a different variable name/method for pkgconfig path |
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
|
137 |
set_pc_dir: $(AUTOCONF_TARGET) |
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
|
138 |
echo 'INSTALL_PC_DIR=$(PKGCONFIG_DIR)' >> $(AUTOCONF_TARGET) |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
139 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
140 |
# Move installed files to mesa subdirs and make links back |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
141 |
LIBRARIES_TO_LINK = libGL.so.1.2.0 libdricore9.0.3.so.1.0.0 libglapi.so.0.0.0 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
142 |
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
|
143 |
|
1351
9ad483eabd22
16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1345
diff
changeset
|
144 |
HEADERS_TO_MOVE = gl.h gl_mangle.h glext.h \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
145 |
glx.h glx_mangle.h glxext.h \ |
1351
9ad483eabd22
16739280 update to Xorg 1.14.1
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1345
diff
changeset
|
146 |
osmesa.h vms_x_fix.h wglext.h wmesa.h |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
147 |
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
|
148 |
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
|
149 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
150 |
# 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
|
151 |
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
|
152 |
|
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
153 |
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
|
154 |
-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
|
155 |
mkdir -p $(PROTODIR)/usr/include/mesa/internal |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
156 |
mkdir -p $(PROTODIR)/system/volatile/opengl/include |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
157 |
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
|
158 |
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
|
159 |
$(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
|
160 |
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
|
161 |
$(PROTODIR)/usr/include/mesa/internal |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
162 |
ln -s ../../mesa/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
|
163 |
$(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
|
164 |
-rm -f $(HEADERS_TO_DIRECT_LINK:%=$(PROTODIR)/usr/include/GL/%) \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
165 |
$(HEADERS_TO_RUNTIME_LINK:%=$(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
|
166 |
ln -s $(HEADERS_TO_DIRECT_LINK:%=../mesa/%) \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
167 |
$(HEADERS_TO_RUNTIME_LINK:%=../../../system/volatile/opengl/include/%) \ |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
168 |
$(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
|
169 |
mkdir -p $(PROTODIR)/usr/lib/GL/$(SUBDIR64) \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
170 |
$(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
|
171 |
-rm -f $(PROTODIR)/usr/lib/GL/64 $(PROTODIR)/usr/lib/mesa/64 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
172 |
ln -s $(SUBDIR64) $(PROTODIR)/usr/lib/GL/64 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
173 |
ln -s $(SUBDIR64) $(PROTODIR)/usr/lib/mesa/64 |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
174 |
-rm -f $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/%) \ |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
175 |
$(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/%) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
176 |
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
|
177 |
$(PROTODIR)/usr/lib/mesa/ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
178 |
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
|
179 |
$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
180 |
-rm -f $(PROTODIR)/usr/lib/mesa/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
181 |
-rm -f $(PROTODIR)/usr/lib/mesa/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
182 |
-rm -f $(PROTODIR)/usr/lib/mesa/libGLU.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
183 |
-rm -f $(PROTODIR)/usr/lib/GL/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
184 |
-rm -f $(PROTODIR)/usr/lib/GL/libGLU.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
185 |
-rm -f $(PROTODIR)/usr/lib/GL/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
186 |
-rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
187 |
-rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLU.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
188 |
-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
189 |
-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
190 |
-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLU.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
191 |
ln -s libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
192 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/mesa/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
193 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/mesa/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
194 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/mesa/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
195 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
196 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/mesa/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
197 |
ln -s libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
198 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
199 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
200 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
201 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
202 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
203 |
rm -f $(PROTODIR)/usr/lib/*libglapi* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
204 |
rm -f $(PROTODIR)/usr/lib/*dricore9.0.3* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
205 |
rm -f $(PROTODIR)/usr/lib/*libGL.* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
206 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libglapi* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
207 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libdricore* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
208 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libGL.* |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
209 |
rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/*.la |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
210 |
rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/$(SUBDIR64)/*.la |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
211 |
(cd $(PROTODIR)/usr/lib/GL; ln -s $(LIBRARIES_TO_LINK:%=../mesa/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
212 |
rm -f $(PROTODIR)/usr/lib/GL/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
213 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/GL/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
214 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/GL/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
215 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/GL/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
216 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
217 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/GL/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
218 |
(cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../../mesa/$(SUBDIR64)/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
219 |
rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
220 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
221 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
222 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
223 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
224 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
225 |
(cd $(PROTODIR)/usr/lib; ln -s $(LIBRARIES_TO_LINK:%=GL/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
226 |
rm -f $(PROTODIR)/usr/lib/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
227 |
ln -s GL/libGL.so.1 $(PROTODIR)/usr/lib/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
228 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
229 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
230 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
231 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
232 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
233 |
(cd $(PROTODIR)/usr/lib/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
234 |
rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
235 |
ln -s ../GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
236 |
ln -s libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
237 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
238 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
239 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
240 |
ln -s libglapi.so.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so |
1152
6cf0f98f6d5f
6979433 several X packages missing dependencies on ogl-select package
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1126
diff
changeset
|
241 |
ln -s ../../../system/volatile/opengl/lib/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
|
242 |
$(PROTODIR)/usr/lib/GL/libGL.so.1 |
1152
6cf0f98f6d5f
6979433 several X packages missing dependencies on ogl-select package
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1126
diff
changeset
|
243 |
ln -s ../../../../system/volatile/opengl/lib/$(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
|
244 |
$(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
245 |
mkdir -p $(PROTODIR)/usr/X11/lib/$(SUBDIR64) \ |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
246 |
$(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
|
247 |
-rm -f $(PROTODIR)/usr/X11/lib/GL $(PROTODIR)/usr/X11/lib/mesa |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
248 |
ln -s ../../lib/GL $(PROTODIR)/usr/X11/lib/GL |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
249 |
ln -s ../../lib/mesa $(PROTODIR)/usr/X11/lib/mesa |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
250 |
-rm -f $(PROTODIR)/usr/X11/lib/64 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
251 |
ln -s $(SUBDIR64) $(PROTODIR)/usr/X11/lib/64 |
1366
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
252 |
(cd $(PROTODIR)/usr/X11/lib; ln -s $(LIBRARIES_TO_LINK:%=GL/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
253 |
rm -f $(PROTODIR)/usr/X11/lib/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
254 |
ln -s ../../lib/GL/libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
255 |
ln -s libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
256 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/X11/lib/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
257 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/X11/lib/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
258 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
259 |
ln -s libglapi.so.0 $(PROTODIR)/usr/X11/lib/libglapi.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
260 |
(cd $(PROTODIR)/usr/X11/lib/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .) |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
261 |
rm -f $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1.2.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
262 |
ln -s ../../../lib/GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
263 |
ln -s libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
264 |
ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libdricore9.0.3.so.1 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
265 |
ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libdricore9.0.3.so |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
266 |
ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libglapi.so.0 |
84a331b516f5
17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
1351
diff
changeset
|
267 |
ln -s 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
|
268 |
-rm -f $(PROTODIR)/usr/X11/include/GL $(PROTODIR)/usr/X11/include/mesa |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
269 |
ln -s ../../include/GL ../../include/mesa $(PROTODIR)/usr/X11/include/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
967
diff
changeset
|
270 |
$(TOP)/open-src/data/ogl-select/mesa_vendor_select root="$(PROTODIR)" |