Makefile revision 943
0N/A###############################################################################
0N/A#
0N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
0N/A# copy of this software and associated documentation files (the "Software"),
0N/A# to deal in the Software without restriction, including without limitation
0N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0N/A# and/or sell copies of the Software, and to permit persons to whom the
0N/A# Software is furnished to do so, subject to the following conditions:
0N/A#
0N/A# The above copyright notice and this permission notice (including the next
0N/A# paragraph) shall be included in all copies or substantial portions of the
0N/A# Software.
0N/A#
0N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
119N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0N/A# DEALINGS IN THE SOFTWARE.
0N/A#
0N/A
65N/AMODULE_NAME=sun-aliases
125N/A
125N/A# No upstream sources for these files, since they're Solaris-specific
125N/AMODULE_VERSION=NONE
125N/ASOURCE_TARBALL_NAME=NONE
58N/ASOURCE_TARBALL_NAME_SET=yes
77N/A
125N/ASOURCE_TARGETS =
125N/ASOURCE_TARGETS_SET=yes
125N/A
125N/ACONFIGURE_TARGETS =
261N/ACONFIGURE_TARGETS_SET=yes
261N/A
312N/ABUILD_TARGETS =
312N/ABUILD_TARGETS_SET=yes
126N/A
58N/AINSTALL_TARGETS = install_aliases
394N/AINSTALL_TARGETS_SET=yes
8N/A
77N/A### Include common rulesets
0N/Ainclude ../Makefile.inc
0N/A
0N/ADESTDIR=$(PROTODIR)
0N/AINSTDIR=$(DESTDIR)$(X11_FONT_DIR)
0N/A
0N/AALIAS_DIRS = Type1 misc 75dpi 100dpi \
0N/A misc-ISO8859-1 75dpi-ISO8859-1 100dpi-ISO8859-1
312N/AALIAS_FILES = $(ALIAS_DIRS:%=$(INSTDIR)/%/fonts.alias)
312N/A
320N/Ainstall_aliases: $(ALIAS_FILES)
312N/A
312N/A$(INSTDIR)/%-ISO8859-1/fonts.alias.all: $(INSTDIR)/%/fonts.alias.all
312N/A -rm -f $@
312N/A cp -pf $< $@
65N/A
65N/A$(INSTDIR)/%/fonts.alias.all: fonts.alias.%
65N/A -rm -f $@
65N/A @if [[ -f $(@:.all=) ]] ; then \
0N/A $(START_CMD_ECHO) ; \
30N/A cat $(@:.all=) > $@ ; \
58N/A fi
312N/A cat $< >> $@
312N/A
260N/A$(INSTDIR)/%/fonts.alias: $(INSTDIR)/%/fonts.alias.all
112N/A (cd $(@:fonts.alias=) ; \
0N/A LD_LIBRARY_PATH="$(FONT_LIBS_PATH)" $(INSTALLALIAS) fonts.alias.all .)
376N/A