Makefile revision 424
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk###############################################################################
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Xau 1.x Makefile
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Use subject to license terms.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Permission is hereby granted, free of charge, to any person obtaining a
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# copy of this software and associated documentation files (the
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# "Software"), to deal in the Software without restriction, including
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# without limitation the rights to use, copy, modify, merge, publish,
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# distribute, and/or sell copies of the Software, and to permit persons
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# to whom the Software is furnished to do so, provided that the above
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# copyright notice(s) and this permission notice appear in all copies of
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# the Software and that both the above copyright notice(s) and this
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# permission notice appear in supporting documentation.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Except as contained in this notice, the name of a copyright holder
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# shall not be used in advertising or otherwise to promote the sale, use
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# or other dealings in this Software without prior written authorization
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# of the copyright holder.
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# @(#)Makefile 1.4 08/03/19
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk#
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Package name used in tarballs
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_MODULE=libXau
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Version number (used in path names)
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_VERS=1.0.3
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Patches to apply to source after unpacking, in order
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukSOURCE_PATCHES =
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Library name (used for specfiles/mapfiles)
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIBNAME=Xau
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Man pages to apply Sun footer to & attributes to list
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukSUNTOUCHED_MANPAGES=Xau.man
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukSUN_PACKAGE=SUNWxwplt
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_STABILITY=Committed
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_MAN_SUFFIX=3Xau
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(LIB_STABILITY)} {MT-Level, Unsafe}'
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Command line options to GNU autoconf configure script
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_ADD_CONFIG_OPTS = --enable-xthreads --with-lint --enable-lint-library
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Library built in tree
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_BUILT=$(BUILD_DIR)/.libs/libXau.so.6.0.0
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# Use specfile to make mapfile & link with it
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_ADD_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukLIB_ADD_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk# pkg-config files that need to have -R added
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek PinchukFIX_PC_FILES=xau.pc.in
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchukinclude ../Makefile.inc
ed81dd52230eff1a7c7625caad21af232c36f6cbAlek Pinchuk