Makefile revision 1339
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein###############################################################################
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Permission is hereby granted, free of charge, to any person obtaining a
8f5dca296674091bd47a7846d0cc16ce5bbc272ejerenkrantz# copy of this software and associated documentation files (the "Software"),
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz# to deal in the Software without restriction, including without limitation
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# the rights to use, copy, modify, merge, publish, distribute, sublicense,
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# and/or sell copies of the Software, and to permit persons to whom the
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# Software is furnished to do so, subject to the following conditions:
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# The above copyright notice and this permission notice (including the next
571760de5e60c0b459cb11be45507b923cd023eejwoolley# paragraph) shall be included in all copies or substantial portions of the
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# DEALINGS IN THE SOFTWARE.
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# This makefile simply creates a number of compatibility links in the
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# proto area that we include in our packages
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# Package name used in tarballs
af4c982a7cf4515f124935f99a329744035fc699slive# pkg(5) name we deliver the files in (override default)
af4c982a7cf4515f124935f99a329744035fc699slive# Package metadata
7fe18c15b669db9d191859695901dc4fcf3829dawrowe# Dates to show in Oracle copyright notice in pkg license file
7fe18c15b669db9d191859695901dc4fcf3829dawrowe# Earliest & latest of the copyrights in the Oracle files in this pkg
7fe18c15b669db9d191859695901dc4fcf3829dawrowe# Package classification (override default)
976501adbc040220270f7d1d77c4b8373033be69wrowe# ARC cases that covered this module
976501adbc040220270f7d1d77c4b8373033be69wrowe# PSARC/2004/187 Xorg Server For Solaris
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# PSARC/2008/405 Removal of /usr/openwin
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb# No sources
b84f66c93f820824b1d5455181f55598b766319cwrowe# Don't need default targets for configure, build, or install, since there's
b84f66c93f820824b1d5455181f55598b766319cwrowe# nothing to build, and the install rule follows here
976501adbc040220270f7d1d77c4b8373033be69wrowe### Include common rulesets
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# Even though we deliver all our files to /usr/{bin,lib} now, other
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# consolidations still deliver to /usr/X11, so we have to maintain
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# /usr/X11, which means leaving symlinks there to our programs & libraries
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# to avoid breaking existing scripts and binaries
7bce59d998f2e5ca1cb60038ef6c1d0817605d62stoddard# The SVID ABI established the X->X11 link
38b116de532efb28defc6a0aaa71fb8c46487190gstein# PSARC 2004/187 established the X11R6->X11 link for compatibility with Linux
38b116de532efb28defc6a0aaa71fb8c46487190gstein# PSARC 2008/405 removed /usr/openwin and replaced it with a link to /usr/X11
38b116de532efb28defc6a0aaa71fb8c46487190gsteinINSTALL_LINKS = $(DESTDIR)/usr/X $(DESTDIR)/usr/X11R6 $(DESTDIR)/usr/openwin
abf9f8824312153040e1ee588a50058c67a4081ajerenkrantz# Link directory for Xserver private libraries and data files for
abf9f8824312153040e1ee588a50058c67a4081ajerenkrantz# compatibility with Xnewt binaries built for Solaris 10
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantzXSERVER_LIB_LINKPATH = $(XSERVER_LIB_LINKDIR)/xserver
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantz# Font links so that Java fontconfig.properties can find the fonts they use
d90f6d052b76ed4cf5e27e8292a22c2c97bb5134jerenkrantz# (see CR 6905518 & 6972032)
38b116de532efb28defc6a0aaa71fb8c46487190gstein$(FONT_LINKDIR)/75dpi $(FONT_LINKDIR)/100dpi: $(FONT_LINKDIR)
28a8a81ca24adf72631caa248b2d37a8f0f645c2aaron# /usr/lib/64 link needed for check_rtime to find binaries using the */64
28a8a81ca24adf72631caa248b2d37a8f0f645c2aaron# paths that gcc inserts in runpaths, even though we don't package the link.