open-src/lib/libglu/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 26 Apr 2017 14:52:19 -0700
changeset 1710 a9aea92d6fb5
parent 1630 fedd05237f45
permissions -rw-r--r--
Added tag s12_123 for changeset 11297414509c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     1
###############################################################################
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     2
#
1630
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1479
diff changeset
     3
# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     4
#
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     5
# Permission is hereby granted, free of charge, to any person obtaining a
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     6
# copy of this software and associated documentation files (the "Software"),
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     7
# to deal in the Software without restriction, including without limitation
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     8
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
     9
# and/or sell copies of the Software, and to permit persons to whom the
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    10
# Software is furnished to do so, subject to the following conditions:
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    11
#
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    12
# The above copyright notice and this permission notice (including the next
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    13
# paragraph) shall be included in all copies or substantial portions of the
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    14
# Software.
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    15
#
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    16
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    17
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    18
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    19
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    20
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    21
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    22
# DEALINGS IN THE SOFTWARE.
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    23
#
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    24
#
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    25
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    26
# Package name used in tarballs
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    27
MODULE_NAME=glu
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    28
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    29
# Package metadata
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    30
UPSTREAM	= The Mesa 3-D Graphics Library
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    31
UPSTREAM_URL	= http://mesa3d.org/
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    32
UPSTREAM_SET	= yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    33
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    34
MODULE_LICENSE          = Mesa License (Mixed: MIT, LGPLv2, others)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    35
MODULE_LICENSE_SET      = yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    36
MODULE_LICENSE_PREPEND	= $(GPL_CHOICE_FILE)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    37
MODULE_DESC		= the Mesa 3-D Graphics Libraries
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    38
ORACLE_TPNO		= 9926
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    39
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    40
# ARC cases that covered this module
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    41
# LSARC/2005/109 MESA, Open Source OpenGL clone
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    42
MODULE_ARC_CASES = LSARC/2005/109
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    43
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    44
# Version number (used in path names)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    45
MODULE_VERSION=9.0.0
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    46
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    47
# Checksums for upstream tarball
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    48
TARBALL_MD5  = be9249132ff49275461cf92039083030
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    49
TARBALL_SHA1 = c2814bbaf1e60e28a75ec80f4646047c0da742bd
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    50
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    51
# Download site for source
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    52
SOURCE_URL=ftp://ftp.freedesktop.org/pub/mesa/glu/$(SOURCE_TARBALL_NAME)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    53
SOURCE_URL_SET=yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    54
GIT_URL=$(FDO_GIT_URL)/mesa/glu
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    55
GIT_URL_SET=yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    56
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    57
# Patches to apply to source after unpacking, in order
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    58
SOURCE_PATCHES=
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    59
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    60
# Use -KPIC instead of -Kpic because we have too many symbols on SPARC
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    61
DELIBTOOLIZE_FLAGS_sparc = -P
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    62
DELIBTOOLIZE_FLAGS_i386 = 
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    63
DELIBTOOLIZE_FLAGS = $(DELIBTOOLIZE_FLAGS_$(MACH))
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    64
1418
536e3ec8f101 17768989 pkg-config adds unnecessary runpaths to default locations for X11 libraries
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1391
diff changeset
    65
# pkg-config files to update
536e3ec8f101 17768989 pkg-config adds unnecessary runpaths to default locations for X11 libraries
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1391
diff changeset
    66
FIX_PC_FILES=glu.pc.in
536e3ec8f101 17768989 pkg-config adds unnecessary runpaths to default locations for X11 libraries
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1391
diff changeset
    67
1479
4a76cf532c2c 19978574 Need an automated, repeatable way to generate X's FOSS required source releases
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1466
diff changeset
    68
# Need to find libdrm in protodir at build time, since libGL links to it
4a76cf532c2c 19978574 Need an automated, repeatable way to generate X's FOSS required source releases
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1466
diff changeset
    69
MODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR)
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    70
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    71
# Override LDFLAGS passed to configure to not include CFLAGS, since that
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    72
# breaks building libGLU with Sun Studio C++ compiler
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    73
MODULE_CONFIG_ENV = LDFLAGS="$(DEFAULT_CONFIG_LDFLAGS) $(ARCH_FLAGS) $(MODTYPE_LDFLAGS) $(MODULE_CFLAGS) $(MODULE_LDFLAGS)"
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    74
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    75
# Add proto area to path to find makedepend
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    76
MODULE_BUILD_ENV = PATH="$(PROTODIR)/$(X11_BIN_DIR):$(PATH)"
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    77
MODULE_CONFIG_ENV += $(MODULE_BUILD_ENV)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    78
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    79
# Need to use GNU Make to build
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    80
MODULE_MAKE=$(GNUMAKE)
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    81
MODULE_MAKE_SET=yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    82
1422
4db080f5236f 17861091 Remove workarounds for old compiler bugs
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1418
diff changeset
    83
# Need to build with gcc
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    84
MODULE_COMPILER=gcc
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    85
MODULE_COMPILER_SET=yes
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    86
1630
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1479
diff changeset
    87
# Cos of 23185711 - disable parfait temporarily
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1479
diff changeset
    88
USE_PARFAIT=no
fedd05237f45 22728538 X consolidation should move to gcc 5.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 1479
diff changeset
    89
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    90
### Include common rulesets
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    91
include ../Makefile.inc
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    92
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    93
HEADERS_TO_MOVE = glu.h glu_mangle.h
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    94
HEADERS_TO_DIRECT_LINK = glu.h
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
    95
LIBRARY_TO_LINK = libGLU.so.1
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    96
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    97
# Run just once after all other install steps are done for both 32/64-bit
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    98
install: install_ogl_layout
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
    99
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   100
install_ogl_layout:
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   101
	mv -f $(PROTODIR)/usr/include/GL/glu.h \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   102
	      $(PROTODIR)/usr/include/GL/glu_mangle.h \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   103
	      $(PROTODIR)/usr/include/mesa/
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   104
	ln -s $(HEADERS_TO_DIRECT_LINK:%=../mesa/%) \
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   105
		$(PROTODIR)/usr/include/GL
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   106
	mkdir -p $(PROTODIR)/usr/lib/GL/$(SUBDIR64) \
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   107
		$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   108
	mv -f $(LIBRARY_TO_LINK:%=$(PROTODIR)/usr/lib/%) \
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   109
		$(PROTODIR)/usr/lib/mesa/
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   110
	mv -f $(LIBRARY_TO_LINK:%=$(PROTODIR)/usr/lib/$(SUBDIR64)/%) \
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   111
		$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   112
	-rm -f $(PROTODIR)/usr/lib/mesa/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   113
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/mesa/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   114
	-rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   115
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   116
	(cd $(PROTODIR)/usr/lib/GL; rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   117
	 ln -s $(LIBRARY_TO_LINK:%=../mesa/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   118
	-rm -f $(PROTODIR)/usr/lib/GL/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   119
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/GL/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   120
	(cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64); rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   121
	 ln -s $(LIBRARY_TO_LINK:%=../../mesa/$(SUBDIR64)/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   122
	-rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   123
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   124
	(cd $(PROTODIR)/usr/lib; rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   125
	 ln -s $(LIBRARY_TO_LINK:%=GL/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   126
	-rm -f $(PROTODIR)/usr/lib/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   127
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   128
	(cd $(PROTODIR)/usr/lib/$(SUBDIR64); rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   129
	 ln -s $(LIBRARY_TO_LINK:%=../GL/$(SUBDIR64)/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   130
	-rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   131
	ln -s libGLU.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   132
	(cd $(PROTODIR)/usr/X11/lib; rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   133
	 ln -s $(LIBRARY_TO_LINK:%=GL/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   134
	-rm -f $(PROTODIR)/usr/X11/lib/libGLU.so
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   135
	ln -s libGLU.so.1 $(PROTODIR)/usr/X11/lib/libGLU.so
1425
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   136
	(cd $(PROTODIR)/usr/X11/lib/$(SUBDIR64); rm -f $(LIBRARY_TO_LINK) ; \
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   137
	 ln -s $(LIBRARY_TO_LINK:%=../GL/$(SUBDIR64)/%) .)
d2b9d2006251 17915870 clean up check_rtime & ld guidance warnings in X gate
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 1422
diff changeset
   138
	-rm -f $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGLU.so 
1391
e266e6d6f657 17231372 update Mesa to 9.0.3
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff changeset
   139
	ln -s libGLU.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGLU.so