open-src/lib/libXp/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Thu, 18 Feb 2010 16:03:08 -0800
changeset 907 3c35d611cdaa
parent 535 903fe8bb7012
child 911 a3e7e197651c
permissions -rw-r--r--
6927784 Remove SCCS ident tags from X gate
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
535
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     2
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     3
# Xp 1.x Makefile
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     4
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     5
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     7
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    17
# 
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    27
# 
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    32
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    33
#
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    34
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    35
# Package name used in tarballs
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    36
MODULE_NAME=libXp
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    37
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    38
# Version number (used in path names)
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    39
MODULE_VERSION=1.0.0
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    40
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    41
# Patches to apply to source after unpacking, in order
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    42
SOURCE_PATCHES = solaris-abi.patch 6724993.patch
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    43
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    44
# Since we're patching src/Makefile.am in solaris-abi.patch,
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    45
# we need to autoreconf
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    46
AUTORECONF=yes
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    47
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    48
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    49
# Library name
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    50
LIBNAME=Xp
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    51
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    52
# Man pages to apply Sun footer to & attributes to list
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    53
SUNTOUCHED_MANPAGES=man/*.man
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    54
SUN_PACKAGE=SUNWxwplt
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    55
MODULE_STABILITY=Committed
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    56
LIB_MAN_SUFFIX=3Xp
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    57
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    58
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    59
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    60
# pkg-config files that need to have -R added
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    61
FIX_PC_FILES=xp.pc.in
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    62
903fe8bb7012 6724993 Replacing the libXp with open source version from X.Org tree
Sam Lau <Sam.Lau@Sun.COM>
parents:
diff changeset
    63
include ../Makefile.inc