open-src/lib/liblbxutil/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Thu, 18 Feb 2010 16:03:08 -0800
changeset 907 3c35d611cdaa
parent 905 d2b59d5a79ed
child 910 0a08683bf637
permissions -rw-r--r--
6927784 Remove SCCS ident tags from X gate
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     1
###############################################################################
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     2
# lbxutil 1.x Makefile
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     3
#
905
d2b59d5a79ed 6926932 Removal of Xsun on SPARC [PSARC 2008/033]: X consolidation portion
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
     4
# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
     5
# Use is subject to license terms.
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     6
#
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     7
# Permission is hereby granted, free of charge, to any person obtaining a
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     8
# copy of this software and associated documentation files (the
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
     9
# "Software"), to deal in the Software without restriction, including
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    10
# without limitation the rights to use, copy, modify, merge, publish,
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    11
# distribute, and/or sell copies of the Software, and to permit persons
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    12
# to whom the Software is furnished to do so, provided that the above
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    13
# copyright notice(s) and this permission notice appear in all copies of
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    14
# the Software and that both the above copyright notice(s) and this
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    15
# permission notice appear in supporting documentation.
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    16
# 
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    17
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    18
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    19
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    20
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    21
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    22
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    23
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    24
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    25
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    26
# 
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    27
# Except as contained in this notice, the name of a copyright holder
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    28
# shall not be used in advertising or otherwise to promote the sale, use
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    29
# or other dealings in this Software without prior written authorization
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    30
# of the copyright holder.
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    31
#
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    32
#
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    33
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    34
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 456
diff changeset
    35
MODULE_NAME=liblbxutil
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    36
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    37
# Version number (used in path names)
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    38
MODULE_VERSION=1.1.0
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    39
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    40
# Patches to apply to source after unpacking, in order
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    41
SOURCE_PATCHES = 
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    42
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    43
# Library name (used for specfiles/mapfiles)
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    44
LIBNAME=lbxutil
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    45
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    46
# Man pages to apply Sun footer to & attributes to list
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    47
#SUN_PACKAGE=SUNWxwplt
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    48
#LIB_STABILITY=Committed
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    49
#LIB_MAN_SUFFIX=3lbxutil
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    50
905
d2b59d5a79ed 6926932 Removal of Xsun on SPARC [PSARC 2008/033]: X consolidation portion
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    51
# Only need 32-bit since we only ship lbxproxy as 32-bit
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    52
BUILD_TYPES=32
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    53
BUILD_TYPES_SET=yes
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    54
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    55
# pkg-config files that need to have -R added
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    56
FIX_PC_FILES=lbxutil.pc.in
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    57
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    58
# Install in private subdir for use by lbxproxy
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    59
MODULE_ADD_LIB_SUBDIR=/X11/lbxproxy
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    60
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    61
# Link with mapfile to allow referring to symbols defined in callers
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    62
MODULE_LD_OPTIONS = -M $(PWD)/mapfile-externs
503
6027ccee6286 6736977 ld.so.1: Xsun: fatal: liblbxutil.so.1: open failed: No such file or directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    63
456
c1f45bb21b9e 6718029 Update lbxproxy to the open-src version
Niveditha Rau <Niveditha.Rau@Sun.COM>
parents:
diff changeset
    64
include ../Makefile.inc
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    65
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    66
# Clean up old 64-bit builds from before we stopped building them
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 503
diff changeset
    67
clean:: clean_64