Makefile revision 910
883N/A############################################################################### 883N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 883N/A# Use is subject to license terms. 883N/A# Permission is hereby granted, free of charge, to any person obtaining a 883N/A# copy of this software and associated documentation files (the 883N/A# "Software"), to deal in the Software without restriction, including 883N/A# without limitation the rights to use, copy, modify, merge, publish, 883N/A# distribute, and/or sell copies of the Software, and to permit persons 883N/A# to whom the Software is furnished to do so, provided that the above 883N/A# copyright notice(s) and this permission notice appear in all copies of 883N/A# the Software and that both the above copyright notice(s) and this 883N/A# permission notice appear in supporting documentation. 883N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 883N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 883N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 883N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 883N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 883N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 883N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 883N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 883N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 883N/A# Except as contained in this notice, the name of a copyright holder 883N/A# shall not be used in advertising or otherwise to promote the sale, use 883N/A# or other dealings in this Software without prior written authorization 883N/A# of the copyright holder. 883N/A# Build 32-bit or 64-bit? 883N/A# Package name used in tarballs 956N/A# Version number (used in path names) 883N/A# Patches to apply to source after unpacking, in order 883N/A# *** Moved to patch-list file so they can be shared between Xorg & Xvnc builds 883N/A# Man pages to apply Sun footer to & attributes to list # Command line options to GNU autoconf configure script # Need to override LD setting to add -xarch flags that libtool strips # pkg-config files that need to have -R added # Remove compiler specific visibility flag that breaks builds of drivers # Additional install targets beyond the defaults # Have to avoid dependency loop between install_pc_copy and # install_pkgconfig_uninstalled # Merge in additional sources from sun-src directory sed -e
's%#define XF86DRI 1%/* #define XF86DRI 1 */%' \
# Workaround bug in installing pkgconfig file to wrong directory in 64-bit printf '# Functions exported by Xorg server to loadable modules\n\n' > $@
# Build & install mdb modules & scripts that aren't integrated to # Since configure options aren't used to build the mdb modules, pass # those variables at build tie