Makefile revision 1422
7199N/A############################################################################### 7199N/A# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. 7199N/A# Permission is hereby granted, free of charge, to any person obtaining a 7199N/A# copy of this software and associated documentation files (the "Software"), 7199N/A# to deal in the Software without restriction, including without limitation 7199N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense, 7199N/A# and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice (including the next # paragraph) shall be included in all copies or substantial portions of the # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # Package name used in tarballs # ARC cases that covered this module # LSARC/2005/109 MESA, Open Source OpenGL clone # PSARC/2013/264 Mesa 9.0.3 # Version number (used in path names) # Checksums for upstream tarball # Download site for source # Directory created by unpacking source # Patches to apply to source after unpacking, in order # File created by running configure script # delibtoolize does not get along with Mesa 9.0.3 # 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