Makefile revision 919
9174efb969475801d0dc88eee35aae40c748d450nd###############################################################################
87d944bf70927764edf8ef69e46d3b4b8fa09131pquerna#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2a90918318af50d5712ae7159e5625476332c184pquerna# Use is subject to license terms.
f07ae092933846055c4ca046c5a65de83d79c9c6pquerna#
f07ae092933846055c4ca046c5a65de83d79c9c6pquerna# Permission is hereby granted, free of charge, to any person obtaining a
f07ae092933846055c4ca046c5a65de83d79c9c6pquerna# copy of this software and associated documentation files (the "Software"),
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquerna# to deal in the Software without restriction, including without limitation
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquerna# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9b88ec397b4155f3ff79bf7c08de5f15d21765b3pquerna# and/or sell copies of the Software, and to permit persons to whom the
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquerna# Software is furnished to do so, subject to the following conditions:
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquerna#
a42c13195a5c68d55f6b2bbf5b5e1e66ab45d5d4pquerna# The above copyright notice and this permission notice (including the next
2a90918318af50d5712ae7159e5625476332c184pquerna# paragraph) shall be included in all copies or substantial portions of the
2a90918318af50d5712ae7159e5625476332c184pquerna# Software.
2a90918318af50d5712ae7159e5625476332c184pquerna#
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquerna# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquerna# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquerna# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
ede0584e7ec53cc1ea832c5c50281431d9ecc576pquerna# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82d2a5debc5a6ed2118ac5916d9ba36ad0b5d78btrawick# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe# DEALINGS IN THE SOFTWARE.
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwrowe#
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwroweMODULE_NAME=sun-aliases
4ec8ec67d57d820b15807fa4a23ddd0c351fa9efwrowe
4d3ee33c1047b89e2860fbf095c77ad245910983wrowe# No upstream sources for these files, since they're Solaris-specific
b59ae7ab0c7b5c37f145e416d61add8fd433be04wroweMODULE_VERSION=NONE
b59ae7ab0c7b5c37f145e416d61add8fd433be04wroweSOURCE_TARBALL_NAME=NONE
b59ae7ab0c7b5c37f145e416d61add8fd433be04wroweSOURCE_TARBALL_NAME_SET=yes
b59ae7ab0c7b5c37f145e416d61add8fd433be04wrowe
4d3ee33c1047b89e2860fbf095c77ad245910983wroweCONFIGURE_TARGETS =
b59ae7ab0c7b5c37f145e416d61add8fd433be04wroweCONFIGURE_TARGETS_SET=yes
42167da203d969a1402cf7ce09c14586c04af1dfjim
42167da203d969a1402cf7ce09c14586c04af1dfjimBUILD_TARGETS =
42167da203d969a1402cf7ce09c14586c04af1dfjimBUILD_TARGETS_SET=yes
81ebf4d4f943d1ec988dd10105354e510c2da1d8jim
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquernaINSTALL_TARGETS = install_aliases
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquernaINSTALL_TARGETS_SET=yes
e62b34b26eb8e82bf6f06ff99a08e304b48792ecpquerna
27420b7ba57bf78f7a85b19fb0155053a3aff80dwrowe### Include common rulesets
27420b7ba57bf78f7a85b19fb0155053a3aff80dwroweinclude ../Makefile.inc
27420b7ba57bf78f7a85b19fb0155053a3aff80dwrowe
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrinDESTDIR=$(PROTODIR)
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrinINSTDIR=$(DESTDIR)$(X11_FONT_DIR)
ceeb4b77f172b9d0125f1b4b323675d700b2c43bminfrin
9152b0c4366af633c4b7982af01bd9a821f410d5pquernaALIAS_DIRS = Type1 misc 75dpi 100dpi \
9152b0c4366af633c4b7982af01bd9a821f410d5pquerna misc-ISO8859-1 75dpi-ISO8859-1 100dpi-ISO8859-1
9152b0c4366af633c4b7982af01bd9a821f410d5pquernaALIAS_FILES = $(ALIAS_DIRS:%=$(INSTDIR)/%/fonts.alias)
9152b0c4366af633c4b7982af01bd9a821f410d5pquerna
87d944bf70927764edf8ef69e46d3b4b8fa09131pquernainstall_aliases: $(ALIAS_FILES)
87d944bf70927764edf8ef69e46d3b4b8fa09131pquerna
424c1a743525e9c5008e29b39a99363723409a1dtrawick$(INSTDIR)/%-ISO8859-1/fonts.alias.all: $(INSTDIR)/%/fonts.alias.all
424c1a743525e9c5008e29b39a99363723409a1dtrawick -rm -f $@
424c1a743525e9c5008e29b39a99363723409a1dtrawick cp -pf $< $@
4375cabac8fc22b3717687ffdbce9bbdf095f255trawick
4375cabac8fc22b3717687ffdbce9bbdf095f255trawick$(INSTDIR)/%/fonts.alias.all: fonts.alias.%
4375cabac8fc22b3717687ffdbce9bbdf095f255trawick -rm -f $@
39dbd3f60b93f5e0fbf46d9ae237f6742e113442pquerna @if [[ -f $(@:.all=) ]] ; then \
39dbd3f60b93f5e0fbf46d9ae237f6742e113442pquerna $(START_CMD_ECHO) ; \
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna cat $(@:.all=) > $@ ; \
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna fi
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna cat $< >> $@
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna$(INSTDIR)/%/fonts.alias: $(INSTDIR)/%/fonts.alias.all
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna (cd $(@:fonts.alias=) ; \
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna LD_LIBRARY_PATH="$(FONT_LIBS_PATH)" $(INSTALLALIAS) fonts.alias.all .)
89211a3153be8b03353c3bfbca45fed67cb80f0bpquerna