Makefile revision 943
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson###############################################################################
de283bda6a902c2102a795192eeab3a769001c7dTinderbox User#
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# SM 1.x Makefile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson#
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# Permission is hereby granted, free of charge, to any person obtaining a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# copy of this software and associated documentation files (the "Software"),
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# to deal in the Software without restriction, including without limitation
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and/or sell copies of the Software, and to permit persons to whom the
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# Software is furnished to do so, subject to the following conditions:
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews#
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# The above copyright notice and this permission notice (including the next
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson# Software.
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox User# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox User# DEALINGS IN THE SOFTWARE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Package name used in tarballs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_NAME=libSM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Version number (used in path names)
b46346eb3026ba4bebc093bc93cfe159131e541eTinderbox UserMODULE_VERSION=1.0.3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Checksums for upstream tarball
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinTARBALL_MD5 = 184cbf502b3cd5d7ba5f9d1290a99606
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox UserTARBALL_SHA1 = ccf38d4575da92b750640525af55d770b85765e1
de283bda6a902c2102a795192eeab3a769001c7dTinderbox User
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox User# Patches to apply to source after unpacking, in order
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Library name (used for specfiles/mapfiles)
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox UserLIBNAME=SM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Man pages to apply Sun footer to & attributes to list
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox UserSUNTOUCHED_MANPAGES=
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinSUN_PACKAGE=SUNWxwplt
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_STABILITY=Committed
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox UserMODULE_MTLEVEL=Unsafe
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinLIB_MAN_SUFFIX=3SM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Command line options to GNU autoconf configure script
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_CONFIG_OPTS = --enable-unix-transport \
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --enable-tcp-transport \
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox User --enable-IPv6
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Link with version mapfile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# pkg-config files that need to have -R added
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox UserFIX_PC_FILES=sm.pc.in
03c0efc6892ef2ed17338b2ecbb2c5f23fbad0c9Tinderbox User
3afd0ff6628df1e7e20161e4afa99469a1195a5bTinderbox Userinclude ../Makefile.inc
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User