Makefile revision 963
456N/A###############################################################################
456N/A#
456N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
905N/A#
851N/A# Permission is hereby granted, free of charge, to any person obtaining a
456N/A# copy of this software and associated documentation files (the "Software"),
456N/A# to deal in the Software without restriction, including without limitation
456N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
456N/A# and/or sell copies of the Software, and to permit persons to whom the
456N/A# Software is furnished to do so, subject to the following conditions:
456N/A#
456N/A# The above copyright notice and this permission notice (including the next
456N/A# paragraph) shall be included in all copies or substantial portions of the
456N/A# Software.
456N/A#
456N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
456N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
456N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
456N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
456N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
456N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
456N/A# DEALINGS IN THE SOFTWARE.
456N/A#
456N/A#
456N/A
456N/A# This makefile simply creates a number of compatibility links in the
456N/A# proto area that we include in our packages
456N/A
456N/A# Package name used in tarballs
456N/AMODULE_NAME=compat-links
456N/A
456N/A# No sources
456N/AMODULE_VERSION=NONE
456N/ASOURCE_TARBALL_NAME=NONE
493N/ASOURCE_TARBALL_NAME_SET=yes
456N/A
456N/A# Don't need default targets for configure, build, or install, since there's
851N/A# nothing to build, and the install rule follows here
456N/ACONFIGURE_TARGETS =
911N/ACONFIGURE_TARGETS_SET=yes
911N/ABUILD_TARGETS =
911N/ABUILD_TARGETS_SET=yes
911N/AINSTALL_TARGETS = install_links
456N/AINSTALL_TARGETS_SET=yes
851N/A
456N/A### Include common rulesets
456N/Ainclude ../Makefile.inc
456N/A
456N/ADESTDIR=$(PROTODIR)
456N/A
456N/A# Even though we deliver all our files to /usr/{bin,lib} now, other
456N/A# consolidations still deliver to /usr/X11, so we have to maintain
456N/A# /usr/X11, which means leaving symlinks there to our programs & libraries
456N/A# to avoid breaking existing scripts and binaries
905N/A$(DESTDIR)/usr/X11:
851N/A mkdir -p $@
851N/A
851N/A# The SVID ABI established the X->X11 link
456N/A# PSARC 2004/187 established the X11R6->X11 link for compatibility with Linux
456N/A# PSARC 2008/405 removed /usr/openwin and replaced it with a link to /usr/X11
456N/AINSTALL_LINKS = $(DESTDIR)/usr/X $(DESTDIR)/usr/X11R6 $(DESTDIR)/usr/openwin
851N/A
851N/A$(INSTALL_LINKS): $(DESTDIR)/usr/X11
851N/A @rm -f $@
851N/A ln -s X11 $@
851N/A
503N/Ainstall_links: $(INSTALL_LINKS)
456N/A