Makefile revision 1366
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein###############################################################################
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# to deal in the Software without restriction, including without limitation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# the rights to use, copy, modify, merge, publish, distribute, sublicense,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and/or sell copies of the Software, and to permit persons to whom the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Software is furnished to do so, subject to the following conditions:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The above copyright notice and this permission notice (including the next
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# paragraph) shall be included in all copies or substantial portions of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# DEALINGS IN THE SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package name used in tarballs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package metadata
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_LICENSE = Mesa License (Mixed: MIT, LGPLv2, others)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# ARC cases that covered this module
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# LSARC/2005/109 MESA, Open Source OpenGL clone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# PSARC/2013/264 Mesa 9.0.3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Version number (used in path names)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Checksums for upstream tarball
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox UserTARBALL_SHA1 = c4d88d83d8dbe243e30dc07195888e19ddb1c402
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Source tarball
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSOURCE_TARBALL_NAME=MesaLib-$(MODULE_VERSION).tar.bz2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Download site for source
5fa6a064b8301e4f274bd132fd577def59e4fb4cTinderbox UserSOURCE_URL=ftp://ftp.freedesktop.org/pub/mesa/$(MODULE_VERSION)/$(SOURCE_TARBALL_NAME)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Directory created by unpacking source
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Patches to apply to source after unpacking, in order
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# File created by running configure script
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic UpdaterDRI_DRIVER_LIST= $(DRI_DRIVER_LIST_$(MACH)) swrast
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater# Command line options to GNU autoconf configure script
60c29cf21affb5243753e22f9ff43347013ae8ebTinderbox UserMODULE_CONFIG_OPTS = --with-driver=dri --disable-egl --disable-gallium \
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater --with-dri-driverdir='$(X11_SERVERMODS_DIR)/dri$(ARCHLIBSUBDIR)' \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Build mesa with this define (CR 7032292)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Override LDFLAGS passed to configure to not include CFLAGS, since that
60c29cf21affb5243753e22f9ff43347013ae8ebTinderbox User# breaks building libGLU with Sun Studio C++ compiler
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_CONFIG_ENV = LDFLAGS="$(DEFAULT_CONFIG_LDFLAGS) $(ARCH_FLAGS) $(MODTYPE_LDFLAGS) $(MODULE_CFLAGS) $(MODULE_LDFLAGS)"
60c29cf21affb5243753e22f9ff43347013ae8ebTinderbox User# Add proto area to path to find makedepend
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_BUILD_ENV = PATH="$(PROTODIR)/$(X11_BIN_DIR):$(PATH)"
60c29cf21affb5243753e22f9ff43347013ae8ebTinderbox User# Need to use GNU Make to build
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater# To build with gcc, uncomment these lines and comment out the MODULE_CFLAGS
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Tell Sun compiler to not apply optimizations that increase binary sizes
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Without this flag, Studio 12 binaries are almost 2x bigger (CR 6808868)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#MODULE_CFLAGS = -xspace
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Add include paths and linker paths needed for DRM modules
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_CPPFLAGS = -I$(PROTODIR)/usr/include/libdrm
71c66a876ecca77923638d3f94cc0783152b2f03Mark AndrewsMODULE_LDFLAGS= -L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) -z ignore
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Merge in additional sources from sun-src directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# pkg-config files that need to have -R added
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinFIX_PC_FILES=src/*/*.pc.in src/mesa/drivers/dri/dri.pc.in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein### Include common rulesets
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews# Mesa makefiles use a different variable name/method for pkgconfig path
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein echo 'INSTALL_PC_DIR=$(PKGCONFIG_DIR)' >> $(AUTOCONF_TARGET)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Move installed files to mesa subdirs and make links back
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinLIBRARIES_TO_LINK = libGL.so.1.2.0 libdricore9.0.3.so.1.0.0 libglapi.so.0.0.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMESA_LIBDIR = $(PROTODIR)/usr/lib/mesa$(ARCHLIBSUBDIR)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinHEADERS_TO_RUNTIME_LINK = gl.h glext.h glx.h glxext.h
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Run just once after all other install steps are done for both 32/64-bit
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein mkdir -p $(PROTODIR)/system/volatile/opengl/include
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein mkdir -p $(PROTODIR)/system/volatile/opengl/lib/$(SUBDIR64)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein mv $(HEADERS_TO_MOVE:%=$(PROTODIR)/usr/include/GL/%) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein mv $(PROTODIR)/usr/include/GL/internal/dri_interface.h \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -rm -f $(HEADERS_TO_DIRECT_LINK:%=$(PROTODIR)/usr/include/GL/%) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(HEADERS_TO_RUNTIME_LINK:%=$(PROTODIR)/usr/include/GL/%)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(HEADERS_TO_RUNTIME_LINK:%=../../../system/volatile/opengl/include/%) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -rm -f $(PROTODIR)/usr/lib/GL/64 $(PROTODIR)/usr/lib/mesa/64
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -rm -f $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/%) \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/%)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews mv $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/%) \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews mv $(LIBRARIES_TO_LINK:%=$(PROTODIR)/usr/lib/$(SUBDIR64)/%) \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -rm -f $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGLU.so.1
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGLU.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/libGL.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1 $(PROTODIR)/usr/lib/mesa/libGL.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/mesa/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/mesa/libdricore9.0.3.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/mesa/libglapi.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1.2.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libGL.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libdricore9.0.3.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/mesa/$(SUBDIR64)/libglapi.so
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libglapi*
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libdricore*
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/*libGL.*
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/*.la
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/xorg/modules/dri/$(SUBDIR64)/*.la
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater (cd $(PROTODIR)/usr/lib/GL; ln -s $(LIBRARIES_TO_LINK:%=../mesa/%) .)
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater rm -f $(PROTODIR)/usr/lib/GL/libGL.so.1.2.0
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater ln -s libGL.so.1 $(PROTODIR)/usr/lib/GL/libGL.so
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/GL/libdricore9.0.3.so.1
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/GL/libdricore9.0.3.so
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/GL/libglapi.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../../mesa/$(SUBDIR64)/%) .)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein rm -f $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so.1.2.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libGL.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libdricore9.0.3.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/GL/$(SUBDIR64)/libglapi.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (cd $(PROTODIR)/usr/lib; ln -s $(LIBRARIES_TO_LINK:%=GL/%) .)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s GL/libGL.so.1 $(PROTODIR)/usr/lib/libGL.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/libdricore9.0.3.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/libglapi.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (cd $(PROTODIR)/usr/lib/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein rm -f $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1.2.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s ../GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libGL.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libGL.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/lib/$(SUBDIR64)/libdricore9.0.3.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so.0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libglapi.so.0 $(PROTODIR)/usr/lib/$(SUBDIR64)/libglapi.so
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s ../../../system/volatile/opengl/lib/libGL.so.1 \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s ../../../../system/volatile/opengl/lib/$(SUBDIR64)/libGL.so.1 \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -rm -f $(PROTODIR)/usr/X11/lib/GL $(PROTODIR)/usr/X11/lib/mesa
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s ../../lib/mesa $(PROTODIR)/usr/X11/lib/mesa
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews (cd $(PROTODIR)/usr/X11/lib; ln -s $(LIBRARIES_TO_LINK:%=GL/%) .)
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s ../../lib/GL/libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so.1
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libGL.so.1 $(PROTODIR)/usr/X11/lib/libGL.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/X11/lib/libdricore9.0.3.so.1
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/X11/lib/libdricore9.0.3.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/libglapi.so.0
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libglapi.so.0 $(PROTODIR)/usr/X11/lib/libglapi.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews (cd $(PROTODIR)/usr/X11/lib/$(SUBDIR64); ln -s $(LIBRARIES_TO_LINK:%=../GL/$(SUBDIR64)/%) .)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein rm -f $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1.2.0
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s ../../../lib/GL/$(SUBDIR64)/libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so.1
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libGL.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libGL.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libdricore9.0.3.so.1.0.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libdricore9.0.3.so.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s libdricore9.0.3.so.1 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libdricore9.0.3.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libglapi.so.0.0.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libglapi.so.0
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews ln -s libglapi.so.0 $(PROTODIR)/usr/X11/lib/$(SUBDIR64)/libglapi.so
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews -rm -f $(PROTODIR)/usr/X11/include/GL $(PROTODIR)/usr/X11/include/mesa
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ln -s ../../include/GL ../../include/mesa $(PROTODIR)/usr/X11/include/