Makefile revision 970
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews###############################################################################
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# SM 1.x Makefile
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater#
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater#
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# Permission is hereby granted, free of charge, to any person obtaining a
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# copy of this software and associated documentation files (the "Software"),
0519188c8e1ae76978fc4e0f799620cd36eba07aAutomatic Updater# to deal in the Software without restriction, including without limitation
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and/or sell copies of the Software, and to permit persons to whom the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Software is furnished to do so, subject to the following conditions:
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# The above copyright notice and this permission notice (including the next
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# paragraph) shall be included in all copies or substantial portions of the
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# Software.
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater#
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# DEALINGS IN THE SOFTWARE.
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Package name used in tarballs
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterMODULE_NAME=libSM
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Version number (used in path names)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterMODULE_VERSION=1.0.3
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Checksums for upstream tarball
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterTARBALL_MD5 = 184cbf502b3cd5d7ba5f9d1290a99606
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterTARBALL_SHA1 = ccf38d4575da92b750640525af55d770b85765e1
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# Patches to apply to source after unpacking, in order
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterSOURCE_PATCHES = libsm.globals.h.patch libsm.SMlibint.h.patch libsm.sm_client.c.patch libsm.sm_manager.c.patch
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Library name (used for specfiles/mapfiles)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLIBNAME=SM
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Man pages to apply Sun footer to & attributes to list
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterSUNTOUCHED_MANPAGES=
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic UpdaterMODULE_STABILITY=Committed
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntMODULE_MTLEVEL=Unsafe
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_MTLEVEL_SET=yes
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLIB_MAN_SUFFIX=3SM
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Command line options to GNU autoconf configure script
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_CONFIG_OPTS = --enable-unix-transport \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater --enable-tcp-transport \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater --enable-IPv6
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Link with version mapfile
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# pkg-config files that need to have -R added
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsFIX_PC_FILES=sm.pc.in
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Compatibility links from /usr/X11/lib to /usr/lib
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterMODULE_X11_LIBCOMPAT_LINKS = libSM.so libSM.so.6
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterinclude ../Makefile.inc
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater