open-src/app/xhost/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Fri, 07 Mar 2008 15:12:44 -0800
changeset 355 a3a81e9c227d
parent 294 2c88146a951a
child 493 f43507b5737d
permissions -rw-r--r--
6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
294
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     1
###############################################################################
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     2
#
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     3
# xhost 1.x Makefile
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     4
#
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     5
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     7
#
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    17
# 
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    27
# 
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    32
#
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    33
#
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    34
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    35
# Package name used in tarballs
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    36
APP_NAME=xhost
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    37
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    38
# Version number (used in path names)
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    39
APP_VERS=1.0.2
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    40
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    41
# Patches to apply to source after unpacking, in order
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    42
SOURCE_PATCHES = xhost.patch
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    43
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    44
# Man pages to apply Sun footer to & attributes to list
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    45
SUNTOUCHED_MANPAGES=*.man
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    46
SUNTOUCH_MAN_FLAGS= \
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    47
 -a '{Availability, SUNWxwplt} {Interface Stability, Committed}'
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    48
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    49
include ../Makefile.inc
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    50
355
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 294
diff changeset
    51
install_gen:: install_po
294
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    52
install_po:
2c88146a951a 6654375 Import the open source version of xhost
Jay Cotton <Jay.Cotton@Sun.COM>
parents:
diff changeset
    53
	mkdir -p $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
355
a3a81e9c227d 6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 294
diff changeset
    54
	cp -f xhost.po $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES