Makefile revision 299
2454dfa32c93c20a8522c6ed42fe057baaac9f9aStephan Bosch###############################################################################
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Xrandr 1.x Makefile
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
41e51b972f02e8b16c19fab9160294ea0a07c343Timo Sirainen# Use subject to license terms.
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# copy of this software and associated documentation files (the
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# "Software"), to deal in the Software without restriction, including
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# without limitation the rights to use, copy, modify, merge, publish,
55d33f807765482eb47374aaaced1fe714e0b256Timo Sirainen# distribute, and/or sell copies of the Software, and to permit persons
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# to whom the Software is furnished to do so, provided that the above
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# copyright notice(s) and this permission notice appear in all copies of
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# the Software and that both the above copyright notice(s) and this
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# permission notice appear in supporting documentation.
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
f97c983e7a742e1d54ec60e502093abbb3ad2907Timo Sirainen#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Except as contained in this notice, the name of a copyright holder
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# shall not be used in advertising or otherwise to promote the sale, use
47255691575e06a1c95ce78ff0a1b502199de3abTimo Sirainen# or other dealings in this Software without prior written authorization
45af47783693b3ba2768c5ad34eeff68132382d0Timo Sirainen# of the copyright holder.
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen#
69a71891361b2b27ff68ed84b29278486628464aAki Tuomi# @(#)Makefile 1.4 07/07/27
69a71891361b2b27ff68ed84b29278486628464aAki Tuomi#
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen# Package name used in tarballs
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenLIB_MODULE=libXrandr
3d651cf1a2171471bf6f0a41dcf7388d43206636Timo Sirainen
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Version number (used in path names)
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenLIB_VERS=1.2.1
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Patches to apply to source after unpacking, in order
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenSOURCE_PATCHES = CrtcChange.patch,-p1
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen
a75d470c9223a75801418fcdda258885c36317e0Timo Sirainen# Library name
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenLIBNAME=Xrandr
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainen
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# Man pages to apply Sun footer to & attributes to list
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenSUNTOUCHED_MANPAGES=man/*.man
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenSUN_PACKAGE=SUNWxorg-clientlibs
41e51b972f02e8b16c19fab9160294ea0a07c343Timo SirainenLIB_STABILITY=Volatile
41e51b972f02e8b16c19fab9160294ea0a07c343Timo SirainenLIB_MAN_SUFFIX=3Xrandr
41e51b972f02e8b16c19fab9160294ea0a07c343Timo Sirainen
41e51b972f02e8b16c19fab9160294ea0a07c343Timo Sirainen# Library built in tree
55d33f807765482eb47374aaaced1fe714e0b256Timo SirainenLIB_BUILT=$(SOURCE_DIR)/src/.libs/libXrandr.so.1.0.0
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen# pkg-config files that need to have -R added
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo SirainenFIX_PC_FILES=xrandr.pc.in
7bd5b1c64cc987715bdaf8cc4907c3c37d5d7b29Timo Sirainen
ce0e25f26d6e67480ee39b5ca0ad634fa60c4605Timo Sirainen# Link with version mapfile
ce0e25f26d6e67480ee39b5ca0ad634fa60c4605Timo SirainenLIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
0dffa25d211be541ee3c953b23566a1a990789dfTimo Sirainen
0dffa25d211be541ee3c953b23566a1a990789dfTimo Siraineninclude ../Makefile.inc
0dffa25d211be541ee3c953b23566a1a990789dfTimo Sirainen