Makefile revision 919
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico###############################################################################
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Xmu 1.x Makefile
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Use is subject to license terms.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Permission is hereby granted, free of charge, to any person obtaining a
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# copy of this software and associated documentation files (the "Software"),
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# to deal in the Software without restriction, including without limitation
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# and/or sell copies of the Software, and to permit persons to whom the
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Software is furnished to do so, subject to the following conditions:
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# The above copyright notice and this permission notice (including the next
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# paragraph) shall be included in all copies or substantial portions of the
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# DEALINGS IN THE SOFTWARE.
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Package name used in tarballs
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Version number (used in path names)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Checksums for upstream tarball
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoTARBALL_SHA1 = e7ff5960f2374852b941f909cdbdeafe7d29322f
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Patches to apply to source after unpacking, in order
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Library name (used for specfiles/mapfiles)
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Man pages to apply Sun footer to & attributes to list
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico#SUNTOUCHED_MANPAGES= no man pages in upstream package
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Merge in additional sources from sun-src directory
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# pkg-config files that need to have -R added
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Command line options to GNU autoconf configure script
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNicoMODULE_CONFIG_OPTS = --with-lint --enable-lint-library
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Work around libtool brokenness that adds -R `pwd` to libXmu build
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Regenerate Makefile.in's from Makefile.am's after patching them
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Additional rules beyond what upstream provides
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico# Additional files we need to install
1df8cf8012766394a0ec6b36010e236e9a9415b1JazzyNico mkdir -p $(PROTODIR)$(X11_INCLUDES_DIR)/X11/Xmu $(MANDIR) \