Makefile revision 390
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews###############################################################################
2f072c2982861ec2e86e97f8a3ed199fe45c1f70Michael Graff# ICE 1.x Makefile
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Use subject to license terms.
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Permission is hereby granted, free of charge, to any person obtaining a
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# copy of this software and associated documentation files (the
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# "Software"), to deal in the Software without restriction, including
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# without limitation the rights to use, copy, modify, merge, publish,
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# distribute, and/or sell copies of the Software, and to permit persons
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# to whom the Software is furnished to do so, provided that the above
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# copyright notice(s) and this permission notice appear in all copies of
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# the Software and that both the above copyright notice(s) and this
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# permission notice appear in supporting documentation.
6e482e595d2b04e65f17851626a61a82efc4bd12David Lawrence# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
854d0238dbc2908490197984b3b9d558008a53dfMark Andrews# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
4529cdaedaf1a0a5f8ff89aeca510b7a4475446cBob Halley# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d981ca645597116d227a48bf37cc5edc061c854dBob Halley# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# Except as contained in this notice, the name of a copyright holder
0e8cf9a887c70f96ac448b06c069d90b830215ccMark Andrews# shall not be used in advertising or otherwise to promote the sale, use
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# or other dealings in this Software without prior written authorization
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# of the copyright holder.
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# @(#)Makefile 1.1 08/02/21
96594ea32eecb2b75dd0e588f5491079328ce339Andreas Gustafsson# Package name used in tarballs
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Version number (used in path names)
d981ca645597116d227a48bf37cc5edc061c854dBob Halley# Patches to apply to source after unpacking, in order
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Library name (used for specfiles/mapfiles)
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Man pages to apply Sun footer to & attributes to list
2bc0da0cd874b15593d65338ba96e90ceed13072Mark AndrewsLIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(LIB_STABILITY)} {MT-Level, Unsafe}'
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Command line options to GNU autoconf configure script
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Library built in tree
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# libICE specific flags needed for Xtrans
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark AndrewsLIB_ADD_CFLAGS = -DTCPCONN -DUNIXCONN -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -ULOCALCONN
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# Use specfile to make mapfile & link with it
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark AndrewsLIB_ADD_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
2bc0da0cd874b15593d65338ba96e90ceed13072Mark Andrews# pkg-config files that need to have -R added