Makefile revision 380
340N/A###############################################################################
340N/A#
340N/A# SM 1.x Makefile
340N/A#
340N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
340N/A# Use subject to license terms.
340N/A#
340N/A# Permission is hereby granted, free of charge, to any person obtaining a
340N/A# copy of this software and associated documentation files (the
340N/A# "Software"), to deal in the Software without restriction, including
340N/A# without limitation the rights to use, copy, modify, merge, publish,
340N/A# distribute, and/or sell copies of the Software, and to permit persons
340N/A# to whom the Software is furnished to do so, provided that the above
340N/A# copyright notice(s) and this permission notice appear in all copies of
340N/A# the Software and that both the above copyright notice(s) and this
340N/A# permission notice appear in supporting documentation.
340N/A#
340N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
340N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
340N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
340N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
340N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
340N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
340N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
340N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
340N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
340N/A#
340N/A# Except as contained in this notice, the name of a copyright holder
340N/A# shall not be used in advertising or otherwise to promote the sale, use
340N/A# or other dealings in this Software without prior written authorization
340N/A# of the copyright holder.
340N/A#
340N/A# @(#)Makefile 1.2 08/02/09
340N/A#
340N/A
340N/A# Package name used in tarballs
340N/ALIB_MODULE=libSM
340N/A
340N/A# Version number (used in path names)
340N/ALIB_VERS=1.0.3
340N/A
340N/A# Patches to apply to source after unpacking, in order
340N/ASOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
340N/A
340N/A# Library name (used for specfiles/mapfiles)
340N/ALIBNAME=SM
340N/A
340N/A# Man pages to apply Sun footer to & attributes to list
340N/ASUNTOUCHED_MANPAGES=
340N/ASUN_PACKAGE=SUNWxwplt
340N/ALIB_STABILITY=Committed
340N/ALIB_MAN_SUFFIX=3SM
340N/ALIB_SUNTOUCH_MAN_FLAGS= -a '{Availability, $(SUN_PACKAGE)} {Interface Stability, $(LIB_STABILITY)} {MT-Level, Unsafe}'
340N/A
340N/A# Command line options to GNU autoconf configure script
340N/ALIB_ADD_CONFIG_OPTS = --disable-libtool-lock \
340N/A --enable-unix-transport \
340N/A --enable-tcp-transport \
340N/A --enable-IPv6 \
340N/A --with-pic \
340N/A --with-release-version="1.0.3"
340N/A
340N/A# Library built in tree
340N/ALIB_BUILT=$(BUILD_DIR)/.libs/libSM.so.6.0.0
340N/A
340N/A# Use specfile to make mapfile & link with it
340N/ALIB_ADD_BUILD_DEPS = $(BUILD_DIR)/$(SPECMAP)
340N/A
340N/ALIB_ADD_LD_OPTIONS = -M $(PWD)/$(BUILD_DIR)/$(SPECMAP)
340N/A
340N/ALIB_ADD_LDFLAGS = -lsocket -lnsl
340N/A
340N/A# pkg-config files that need to have -R added
340N/AFIX_PC_FILES=sm.pc.in
340N/A
340N/Ainclude ../Makefile.inc
340N/A