Makefile revision 1360
791N/A###############################################################################
791N/A#
791N/A# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
791N/A#
791N/A# Permission is hereby granted, free of charge, to any person obtaining a
791N/A# copy of this software and associated documentation files (the "Software"),
791N/A# to deal in the Software without restriction, including without limitation
791N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
791N/A# and/or sell copies of the Software, and to permit persons to whom the
791N/A# Software is furnished to do so, subject to the following conditions:
791N/A#
791N/A# The above copyright notice and this permission notice (including the next
791N/A# paragraph) shall be included in all copies or substantial portions of the
791N/A# Software.
791N/A#
791N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
791N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
791N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
791N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
791N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
791N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
791N/A# DEALINGS IN THE SOFTWARE.
791N/A#
791N/A
791N/AMODULE_NAME=sun-aliases
791N/A
791N/A# Default package name for bitmap font packages
791N/AMODTYPE_PKGHIER=system/font/xorg
791N/AMODTYPE_PKGHIER_SET=yes
791N/A
791N/A# Dates to show in Oracle copyright notice in pkg license file
791N/A# Earliest & latest of the copyrights in the Oracle files in this pkg
791N/AORACLE_COPYRIGHT_YEARS = 1994, 2008
791N/ALICENSE_FILE = NONE
791N/ALICENSE_FILE_SET = yes
791N/A
791N/A# No upstream sources for these files, since they're Solaris-specific
791N/AMODULE_VERSION=src
791N/AUPSTREAM=NONE
791N/AUPSTREAM_SET=yes
791N/AUPSTREAM_PROJECT=NONE
791N/AUPSTREAM_PROJECT_SET=yes
791N/ASOURCE_TARBALL_NAME=NONE
791N/ASOURCE_TARBALL_NAME_SET=yes
791N/A
791N/ASOURCE_TARGETS =
791N/ASOURCE_TARGETS_SET=yes
791N/A
791N/ACONFIGURE_TARGETS =
791N/ACONFIGURE_TARGETS_SET=yes
791N/A
791N/ABUILD_TARGETS =
791N/ABUILD_TARGETS_SET=yes
791N/A
791N/AINSTALL_TARGETS = install_aliases
791N/AINSTALL_TARGETS_SET=yes
791N/A
791N/ABUILD_TYPES = core ISO8859-1
791N/ABUILD_TYPES_SET = yes
791N/A
791N/A# Special rules for pkg manifest generation
791N/AMANIFEST_TARGETS=$(BUILD_TYPES:%=manifest_%)
791N/AMANIFEST_TARGETS_SET=yes
791N/AMODULE_PKGTAIL_core = xorg-core
791N/AMODULE_PKGTAIL_ISO8859-1 = iso8859-1
791N/AMODULE_PKGTAIL = $(MODULE_PKGTAIL_$(BUILD_TYPES))
791N/A
791N/A### Include common rulesets
791N/Ainclude ../Makefile.inc
791N/A
791N/ADESTDIR=$(PROTODIR)
791N/AINSTDIR=$(DESTDIR)$(X11_FONT_DIR)
791N/A
791N/AALIAS_DIRS_core = Type1 misc 75dpi 100dpi
791N/AALIAS_DIRS_ISO8859-1 = misc-ISO8859-1 75dpi-ISO8859-1 100dpi-ISO8859-1
791N/AALIAS_DIRS = $(ALIAS_DIRS_$(BUILD_TYPE))
791N/AALIAS_FILES = $(ALIAS_DIRS:%=$(INSTDIR)/%/fonts.alias)
791N/A
791N/Ainstall_aliases: $(ALIAS_FILES)
791N/A
791N/A$(ALIAS_DIRS:%=$(INSTDIR)/%):
791N/A mkdir -p $@
791N/A
791N/A$(INSTDIR)/%-ISO8859-1/fonts.alias.all: $(INSTDIR)/%/fonts.alias.all $(INSTDIR)/%-ISO8859-1
791N/A -rm -f $@
791N/A cp -pf $< $@
791N/A
791N/A$(INSTDIR)/%/fonts.alias.all: fonts.alias.% $(INSTDIR)/%
791N/A -rm -f $@
791N/A @if [[ -f $(@:.all=) ]] ; then \
791N/A $(START_CMD_ECHO) ; \
791N/A cat $(@:.all=) > $@ ; \
791N/A fi
791N/A cat $< >> $@
791N/A
791N/A$(INSTDIR)/%/fonts.alias: $(INSTDIR)/%/fonts.alias.all $(INSTDIR)/%/fonts.dir
791N/A (cd $(@D) ; \
791N/A LD_LIBRARY_PATH="$(FONT_LIBS_PATH)" $(INSTALLALIAS) fonts.alias.all .)
791N/A
791N/A$(INSTDIR)/%/fonts.dir: $(INSTDIR)/%
791N/A $(MKFONTDIR) $(@D)
791N/A
791N/Amanifest_%:
791N/A $(MAKE) $(MAKEFLAGS) manifest-per-type \
791N/A BUILD_TYPES="$(@:manifest_%=%)" \
791N/A ALIAS_DIRS='$(@:manifest_%=$$(ALIAS_DIRS_%))' \
791N/A MODULE_PKGTAIL_SET="yes"
791N/A