Makefile revision 1379
372N/A############################################################################### 372N/A# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. 943N/A# Permission is hereby granted, free of charge, to any person obtaining a 372N/A# copy of this software and associated documentation files (the "Software"), 372N/A# to deal in the Software without restriction, including without limitation 919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense, 919N/A# and/or sell copies of the Software, and to permit persons to whom the 919N/A# Software is furnished to do so, subject to the following conditions: 919N/A# The above copyright notice and this permission notice (including the next 919N/A# paragraph) shall be included in all copies or substantial portions of the 919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 919N/A# DEALINGS IN THE SOFTWARE. 372N/A# Package name used in tarballs 541N/A# ARC cases that covered this module 372N/A# LSARC/2005/109 MESA, Open Source OpenGL clone 911N/A# PSARC/2013/264 Mesa 9.0.3 372N/A# Version number (used in path names) 372N/A# Checksums for upstream tarball 372N/A# Download site for source 837N/A# Directory created by unpacking source 372N/A# Patches to apply to source after unpacking, in order 372N/A# File created by running configure script 970N/A# Command line options to GNU autoconf configure script # Build mesa with this define (CR 7032292) # Override LDFLAGS passed to configure to not include CFLAGS, since that # breaks building libGLU with Sun Studio C++ compiler # Add proto area to path to find makedepend # Need to use GNU Make to build # To build with gcc, uncomment these lines and comment out the MODULE_CFLAGS # Tell Sun compiler to not apply optimizations that increase binary sizes # Without this flag, Studio 12 binaries are almost 2x bigger (CR 6808868) # Add include paths and linker paths needed for DRM modules # Merge in additional sources from sun-src directory # pkg-config files that need to have -R added ### Include common rulesets # Mesa makefiles use a different variable name/method for pkgconfig path # Move installed files to mesa subdirs and make links back # Run just once after all other install steps are done for both 32/64-bit