Makefile revision 606
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd###############################################################################
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Xext 1.x Makefile
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Use subject to license terms.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# Permission is hereby granted, free of charge, to any person obtaining a
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# copy of this software and associated documentation files (the
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# "Software"), to deal in the Software without restriction, including
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# without limitation the rights to use, copy, modify, merge, publish,
2e545ce2450a9953665f701bb05350f0d3f26275nd# distribute, and/or sell copies of the Software, and to permit persons
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# to whom the Software is furnished to do so, provided that the above
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# copyright notice(s) and this permission notice appear in all copies of
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# the Software and that both the above copyright notice(s) and this
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# permission notice appear in supporting documentation.
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Except as contained in this notice, the name of a copyright holder
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# shall not be used in advertising or otherwise to promote the sale, use
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# or other dealings in this Software without prior written authorization
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# of the copyright holder.
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh#
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh# @(#)Makefile 1.2 08/08/08
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh#
8b7e19de6d547ab1ad4256316fbf0d2497f724f8humbedooh
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Package name used in tarballs
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_NAME=libXext
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh# Version number (used in path names)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_VERSION=1.0.4
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Patches to apply to source after unpacking, in order
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndSOURCE_PATCHES = \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd shm.patch \
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd sun-exts.patch
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Library name (used for specfiles/mapfiles)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndLIBNAME=Xext
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Man pages to apply Sun footer to & attributes to list
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndSUNTOUCHED_MANPAGES=man/*.man
20f499565e77defe9dab24dd85c02f38a1175855ndSUN_PACKAGE=SUNWxwplt
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohMODULE_STABILITY=Committed
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndLIB_MAN_SUFFIX=3Xext
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# pkg-config files that need to have -R added
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndFIX_PC_FILES=xext.pc.in
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Enable Solaris-specific code
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndMODULE_CPPFLAGS = -DSUNSOFT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
4aa603e6448b99f9371397d439795c91a93637eand# Link with version mapfile and libraries that contain sources that used
e41ae559e8408edb1c949c1237034f277d423eccminfrin# to be in libXext
e41ae559e8408edb1c949c1237034f277d423eccminfrinMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
4aa603e6448b99f9371397d439795c91a93637eand
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh# Regenerate Makefile.in's from Makefile.am's after patching them
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndAUTORECONF=yes
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd# Merge in additional sources from sun-src directory
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndADDITIONAL_SOURCE_DIR=sun-src
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd### Rules specific to this directory:
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndDESTDIR=$(PROTODIR)
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndINSTDIR=$(DESTDIR)$(X11_INCLUDES_DIR)/X11/extensions
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndinstall_gen::
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd mkdir -p $(INSTDIR)
20f499565e77defe9dab24dd85c02f38a1175855nd cp -pf sun-src/include/X11/extensions/*.h $(INSTDIR)/
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndinclude ../Makefile.inc
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd