Makefile revision 963
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews###############################################################################
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews#
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews#
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# copy of this software and associated documentation files (the "Software"),
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# to deal in the Software without restriction, including without limitation
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Software is furnished to do so, subject to the following conditions:
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews#
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# The above copyright notice and this permission notice (including the next
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Software.
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews#
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# DEALINGS IN THE SOFTWARE.
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews#
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsMODULE_NAME=xmakemap
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# No upstream sources for these files, since they're Sun created
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsMODULE_VERSION=src
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsSOURCE_TARBALL_NAME=NONE
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsSOURCE_TARBALL_NAME_SET=yes
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsADDITIONAL_SOURCE_DIR=sun-src
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Don't need default targets for configure, build, or install, since there's
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# nothing to build, and the install rule follows here
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsCONFIGURE_TARGETS =
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsCONFIGURE_TARGETS_SET=yes
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsBUILD_TARGETS =
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsBUILD_TARGETS_SET=yes
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsINSTALL_TARGETS = install_xmakemap
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsINSTALL_TARGETS_SET=yes
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews# Man pages to apply Sun footer to & attributes to list
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsSUNTOUCHED_MANPAGES=*.man
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsSUN_PACKAGE=SUNWxwman
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsMODULE_STABILITY=Committed
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews### Include common rulesets
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrewsinclude ../Makefile.inc
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark AndrewsDESTDIR=$(PROTODIR)
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrewsinstall_xmakemap: $(SOURCE_TARGETS) $(INSTALL_DEPS)
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews mkdir -p $(DESTDIR)$(X11_BIN_DIR) \
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews $(DESTDIR)$(X11_MAN_DIR)/man1
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews $(INSTALL_SCRIPT) -m 0555 $(SOURCE_DIR)/xmakemap \
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews $(DESTDIR)$(X11_BIN_DIR)
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/xmakemap.man \
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews $(DESTDIR)$(X11_MAN_DIR)/man1/xmakemap.1
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews
620508359f9bb21cd5df7fdf2e6f4677903fb539Mark Andrews