open-src/lib/libXcomposite/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Thu, 03 May 2007 14:00:57 -0700
changeset 151 c48c1b804c80
child 493 f43507b5737d
permissions -rw-r--r--
6552916 libXcomposite [PSARC 2007/240]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
151
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     3
# Xcomposite 1.x Makefile
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     4
#
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
#
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
# 
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
# 
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
#
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    33
# @(#)Makefile	1.3	07/05/03
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
#
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
# Package name used in tarballs
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    37
LIB_MODULE=libXcomposite
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
# Version number (used in path names)
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    40
LIB_VERS=0.3.2
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    43
SOURCE_PATCHES = 
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    44
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
# Library name
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
LIBNAME=Xcomposite
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
# Man pages to apply Sun footer to & attributes to list
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
SUNTOUCHED_MANPAGES=man/*.man
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
SUN_PACKAGE=SUNWxorg-clientlibs
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
LIB_STABILITY=Volatile
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
LIB_MAN_SUFFIX=3Xcomposite
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
# Library built in tree
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXcomposite.so.1.0.0
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
# pkg-config files that need to have -R added
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
FIX_PC_FILES=xcomposite.pc.in
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
# Link with version mapfile
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
LIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
# Use proto area for building on older machines without /usr/X11/lib/libXfixes
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
LIB_ADD_LD_OPTIONS += -L$(PROTODIR)$(X11_DIR)/lib$(LIBSUBDIR)
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
c48c1b804c80 6552916 libXcomposite [PSARC 2007/240]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66
include ../Makefile.inc