open-src/app/xmakemap/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Thu, 15 Oct 2009 20:19:43 -0700
changeset 810 6f94d3da0552
parent 542 c1e5b2e442fc
child 851 d428083dbbdd
permissions -rw-r--r--
6889793 enable parallel builds of the X consolidation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
542
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
810
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
     3
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
     4
# Use is subject to license terms.
542
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
#
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
# Permission is hereby granted, free of charge, to any person obtaining a
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
# copy of this software and associated documentation files (the
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# "Software"), to deal in the Software without restriction, including
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
# without limitation the rights to use, copy, modify, merge, publish,
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
# distribute, and/or sell copies of the Software, and to permit persons
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
# to whom the Software is furnished to do so, provided that the above
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
# copyright notice(s) and this permission notice appear in all copies of
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
# the Software and that both the above copyright notice(s) and this
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
# permission notice appear in supporting documentation.
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
# 
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
# 
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
# Except as contained in this notice, the name of a copyright holder
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
# shall not be used in advertising or otherwise to promote the sale, use
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
# or other dealings in this Software without prior written authorization
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# of the copyright holder.
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
#
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
MODULE_NAME=xmakemap
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    33
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
# No upstream sources for these files, since they're Sun created
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
MODULE_VERSION=src
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
SOURCE_TARBALL_NAME=NONE
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    37
SOURCE_TARBALL_NAME_SET=yes
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
ADDITIONAL_SOURCE_DIR=sun-src
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
810
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
    40
# Don't need default targets for configure, build, or install, since there's
542
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
# nothing to build, and the install rule follows here
810
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
    42
CONFIGURE_TARGETS = 
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
    43
CONFIGURE_TARGETS_SET=yes
6f94d3da0552 6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 542
diff changeset
    44
BUILD_TARGETS = 
542
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
BUILD_TARGETS_SET=yes
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
INSTALL_TARGETS =
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
INSTALL_TARGETS_SET=yes
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
# Man pages to apply Sun footer to & attributes to list
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
SUNTOUCHED_MANPAGES=*.man
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
SUN_PACKAGE=SUNWxwman
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
MODULE_STABILITY=Committed
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
### Include common rulesets
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
include ../Makefile.inc
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
DESTDIR=$(PROTODIR)
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
INSTDIR=$(DESTDIR)/$(X11_DIR)
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
install_gen::
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
	mkdir -p $(INSTDIR)/bin $(INSTDIR)/share/man/man1
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
	$(INSTALL_SCRIPT) -m 0755 $(SOURCE_DIR)/xmakemap \
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
		$(PROTODIR)$(X11_DIR)/bin
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
	$(INSTALL_SCRIPT) $(SOURCE_DIR)/xmakemap.man \
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
		$(PROTODIR)$(X11_DIR)/share/man/man1/xmakemap.1
c1e5b2e442fc 6749652 Move xmakemap to open-src & /usr/X11
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66