open-src/lib/libXrender/Makefile
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Tue, 03 Apr 2007 18:06:19 -0700
changeset 137 5bc8ece4fa11
child 345 796cf122ee89
permissions -rw-r--r--
6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
137
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
###############################################################################
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
#
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     3
# Xrender 1.x Makefile
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     4
#
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
# Use subject to license terms.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
#
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
# Permission is hereby granted, free of charge, to any person obtaining a
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
# copy of this software and associated documentation files (the
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
# "Software"), to deal in the Software without restriction, including
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
# without limitation the rights to use, copy, modify, merge, publish,
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
# distribute, and/or sell copies of the Software, and to permit persons
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
# to whom the Software is furnished to do so, provided that the above
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
# copyright notice(s) and this permission notice appear in all copies of
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
# the Software and that both the above copyright notice(s) and this
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
# permission notice appear in supporting documentation.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
# 
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
# 
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
# Except as contained in this notice, the name of a copyright holder
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
# shall not be used in advertising or otherwise to promote the sale, use
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
# or other dealings in this Software without prior written authorization
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
# of the copyright holder.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
#
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    33
# @(#)Makefile	1.3	07/04/03
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
#
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
# Package name used in tarballs
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    37
LIB_MODULE=libXrender
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
# Version number (used in path names)
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    40
LIB_VERS=0.9.2
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    42
# Patches to apply to source after unpacking, in order
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    43
SOURCE_PATCHES = 
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    44
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
# Library name
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
LIBNAME=Xrender
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
# Man pages to apply Sun footer to & attributes to list
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
#SUNTOUCHED_MANPAGES=man/*.man
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
SUN_PACKAGE=SUNWxorg-clientlibs
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
LIB_STABILITY=Volatile
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
LIB_MAN_SUFFIX=3Xrender
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
# Environment variable options to GNU autoconf configure script
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
LIB_ADD_CFLAGS=-I../include
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
# Link with version mapfile
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
LIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
# Library built in tree
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXrender.so.1.3.0
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
# pkg-config files that need to have -R added
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
FIX_PC_FILES=xrender.pc.in
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66
include ../Makefile.inc
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    67
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    68
# xc/lib/X11/region.h is equivalent to modular <X11/Xregion.h> so use 
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    69
# this hack to get Xregion.h until modular libX11 is integrated.
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    70
source_gen:: 
5bc8ece4fa11 6541746 X Render Extension update: Protocol 0.10 / API 0.9 [LSARC 2007/193]
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    71
	(cd $(SOURCE_DIR)/include/X11 ; ln -s $(TOP)/../xc/lib/X11/region.h Xregion.h)